Mutual legal assistance

Which countries' law enforcement are data hungry?

One of the trends from the industry-wide transparency report that’s worth looking at more closely is which countries are making requests for user data, to which companies, and on what scale.  This post will break down these statistics and suggest some of the trends behind the numbers. As I mentioned in the last post, the figures in transparency reports only refer to requests that foreign law enforcement make directly to companies, not requests through the mutual legal assistance treaty process.  Requests that come through the MLAT process are treated like requests from US law enforcement, and are bundled into the statistics for the US.  This means that the US figures are artificially inflated and I have therefore removed the figures for US requests from this analysis.

When it rains, it pours

number of requests by company
number of requests by company

The first thing to note is that the number of direct foreign requests is still low for most internet companies.  Dropbox and Pinterest did not receive any direct foreign requests.  However, the big four companies are being inundated with requests, with Microsoft receiving almost 30,000 requests in the last six months of 2013.  Twitter is barely in the scene, with less than 723 requests (Twitter’s numbers are given as a range if they fall below 10, so this figure is only approximate).

Some companies, such as Twitter, LinkedIn, Pinterest and Wordpress are not likely to experience the same scale of requests as the big four companies.  This is because most of their content is intended to be publicly accessible.   Law enforcement therefore should not need to contact the companies to access user content; they are more likely only to need to contact the companies in order to access subscriber information to identify anonymous account holders, or to seek preservation of account information before it is deleted.  Other factors that can influence the number of requests from foreign law enforcement that a company receives include a company’s international presence, criminals’ preferences for particular platforms, and law enforcement’s familiarity with the particular company.

I have included Yahoo! in this analysis, but it is very important to note that the data in Yahoo!'s transparency report is quite different from the data in the other companies' reports.  There is still value in looking at Yahoo!'s data, but this is definitely a case of comparing apples with oranges.  Yahoo! only reports on requests that are made by countries in which they have a legal subsidiary.  This means that the requests referred to in Yahoo!'s report are made within those countries and are governed by each country's domestic laws, not US law.  For this reason, these requests can result in handing over content as well as subscriber details.  The big question is what about the countries in which Yahoo! does not have a legal subsidiary - where are those statistics?  Presumably there are Yahoo! users in countries in which Yahoo! does not have a legal subsidiary, and local law enforcement would try to request that data directly from Yahoo! in the US.  However, Yahoo! does not seem to publish any information on the number of those requests and how they responded.   Accordingly, we do not have an accurate figure to compare between Yahoo! and the other companies.

The data-hungry countries

Microsoft top 10
Microsoft top 10
Google top 10
Google top 10
Facebook top 10
Facebook top 10
Yahoo top 10
Yahoo top 10

The next breakdown that is interesting to consider is which countries are making requests to which companies.  These charts show the top 10 requesting countries to Microsoft, Google, Yahoo! and Facebook.  Some of this is unsurprising; Brazil, France, India and Germany have noticeable and reasonably consistent representation across the companies.  Australia seems to punch above its weight, with requests from its law enforcement officers comprising about 5-6% of each company’s total requests.  Singapore also makes a surprise entry in the Google statistics.

Some of the factors that could explain the different levels of requests from countries include:

  • the penetration levels of these companies’ products in particular markets;
  • local law enforcement’s level of awareness and competence in requesting online data; and
  • whether law enforcement feel more able to make direct requests to companies (rather than going through the slower, more cumbersome process of mutual legal assistance).

Taiwan and Hong Kong figure in Yahoo!'s top ten, but not the other companies'.  It is likely that this not only reflects the increased presence of Yahoo! in these countries, but also the skewed nature of the data set that Yahoo! provides because it only provides figures for countries in which there is a Yahoo! subsidiary.

Perhaps the standout issue in these statistics is the large number of requests to Microsoft from Turkey.  Turkey does not even make it into the top 10 for other companies, but accounts for 21% of requests to Microsoft.  This is particularly interesting given the political turmoil in Turkey during this period.  Of course, the next interesting statistic to consider is how the companies respond to the requests that they receive.  I will delve more into this issue in the next post.

International data privacy: what we need is an industry transparency report

Cross-posted from https://cyberlaw.stanford.edu/blog/2014/05/international-data-privacy-what-we-need-industry-transparency-report  GoogleYahoo!, MicrosoftTwitterAppleDropboxLinkedIn, and Pinterest all publish transparency reports.  Wordpress is the latest company to join the party, recently publishing their first transparency report.   However, it’s difficult to see trends and anomalies when the information is scattered across multiple individual company reports.  In order to get a comprehensive view of what is happening, we need to pull all of these fragments into a comprehensive picture.  We need an internet industry-wide transparency report.

To create a kind of hacked industry transparency report, I have consolidated the July-December 2013 transparency data from the main internet companies.  There is such a wealth of information to pore over and slice and dice in different ways that I will separate the analysis into a series of blog entries.  My interest is the international aspect, so I will focus on requests from foreign law enforcement.  This post will outline some of the key themes emerging from my comparison.Combined law enforcement data table

Only part of the picture

The first thing to note is that the transparency reports only show requests from foreign law enforcement that are made directly to the company.  As I have previously noted, there are at least three main ways in which foreign law enforcement can access user data that is held by a US company:

1.     through the US government via the mutual legal assistance treaty (MLAT) process;

2.     directly asking the company; or

3.     asking the FBI to obtain the data on their behalf.

The transparency reports only show requests made via method (2).  This is not the companies’ fault; by the time an MLAT request filters down to companies’ inhouse lawyers and paralegals, it simply looks like a search warrant issued by the US District Court.  For this reason, any requests that go through the MLAT system show up as US requests.  This has the unfortunate consequence of over inflating the statistics for US government requests and hiding where the requests are really coming from.

Same-same but different

The companies’ reports are similar, but not the same.  As the pioneer in this field, Google has set the template that many of the other companies now use.  The Google-inspired template includes (1) number of requests (2) percentage of requests for which data was provided and (3) number of accounts/users affected.   However, there are subtle differences in layout and content, which make it difficult to draw meaningful comparisons across companies.

For example, Microsoft divides their responses into percentages for content and non-content, which means that you can’t easily do a direct comparison with the percentages listed by companies that use the Google template.  Of course, with some 8th grade algebra, you can overcome this, but it slows down the comparison process.  A couple of other notable anomalies are that Twitter does not give a specific number for countries for which there were fewer than 10 requests.  This could be because when the numbers of requests are small, criminal suspects may be tipped off that they are under suspicion.  Dropbox does not break down their foreign requests by country at all (intriguingly, although 90 foreign requests were made, 0 accounts were affected – I can only imagine that this means that they refused all 90 requests).

There isn’t necessarily anything sinister going on here; it just makes direct comparison across companies difficult.  It would be great to see consistent reporting across the internet companies (or even some consolidating reporting!).

Content vs non-content

One of the differences in the transparency reports that reveals a more substantive issue is that the Yahoo! and Microsoft reports indicate whether content or non-content has been handed over to foreign countries.  This is more than just a question of template consistency; Yahoo! and Microsoft are notable exceptions in that they will accept jurisdiction for data requests in certain countries outside of the US.  The other companies will generally only provide content through their US headquarters, in response to a US court order (eg through the MLAT process) or in emergency situations.

It’s harder to see overseas

There is an increase in the granularity of Google’s data with each year since 2010 and other companies are starting to follow suit. The improved transparency of national security requests is also a new development.  However, when it comes to foreign requests, the level of detail takes a nosedive.  There are at least two areas where this is important:  legal process; and user notification.

Legal process

Google, LinkedIn and Dropbox break down the number of US requests according to which process was used eg subpoena, court order, or search warrant.  This is not possible for foreign requests - as noted above, the only foreign law enforcement requests that are separately shown in the transparency reports are those that are made directly to the companies and this means that there has not been any US legal process.  As I’ve noted [previously], the Electronic Communications Privacy Act does not apply to foreign governments, so they cannot use US legal process and companies have unfettered discretion about whether or not to provide non-content information to them.  Some companies take this responsibility very seriously and apply their own due diligence processes before handing over user records.  However, there is no visibility of what these standards and processes are.  As I will discuss in a later post, there are notable differences between different companies’ compliance rates for requests from the same countries, which suggests that the companies may be exercising this discretion quite differently.

User notification

In the domestic context, Dropbox and Pinterest show whether they notified the user that their records had been accessed by US law enforcement.  Apple, Google, Microsoft, and Facebook are all apparently updating their policies to increase their rate of user notification.  Depending on the legal process used, ECPA establishes different obligations with respect to notification for access by law enforcement.  This is quite an interesting statistic but it would arguably be more important to see the statistics for foreign requests.  The fact that ECPA does not apply to foreign governments means that there is no obligation on companies to notify users if foreign law enforcement accesses their records.  Since there is no legal obligation on companies, it is entirely a matter of policy as to whether or not they notify users and we have no visibility of how this plays out in practice.

I have attached the raw data from my unified industry transparency report, but will be sharing charts and diagrams that break up the data into more intelligible chunks over the next week or so.

ECPA reform is not just a U.S. issue

Cross-posted from https://cyberlaw.stanford.edu/blog/2014/04/ecpa-reform-not-just-us-issue If US law enforcement officers want to access your private emails, they need to follow the requirements in the Electronic Communications Privacy Act.  ECPA is an old and imperfect piece of legislation.  Industry and civil society have long been pushing to update ECPA so that it is “technology neutral”; just as government agencies require a warrant to compel disclosure of a person’s locally-stored documents, government should have to obtain a warrant to access private documents stored in the cloud.  While this argument may seem self-evident, reform has been frustratingly slow.  Today, blogs have fired up (such as herehere, and here) with arguments in favor of reform and criticising the Securities and Exchange Commission's opposition to reform.  However, what is missing in the current debate is that ECPA has implications beyond US borders. Technology neutrality is an important principle that should underpin the reform of ECPA.  However, I believe that the ECPA discussion should also include the question of “location neutrality” ie. foreign law enforcement officers' access to user data should be based on the same principles as access by US law enforcement.

How is foreign access to non-content regulated?

It doesn’t matter where in the world a police officer is, if he or she wants to access an individual’s Gmail or Facebook records (or many other US-based products), that access is governed by ECPA.  ECPA providessome limits on US law enforcement access to non-content information by requiring at least an administrative subpoena.  However, ECPA completely overlooks access by foreign governments because it defines “government entities” to mean only US government agencies.  This means that when foreign law enforcement officers ask for a user’s subscriber details or email contacts, it is up to the companies to decide whether or not they hand over that information.  Some companies refuse to provide any information voluntarily and insist on a request under a mutual legal assistance treaty (MLAT), supported by a court order.  Other companies will hand over information if they feel that it is appropriate in the circumstances.  In practice, there is no consistency, transparency, or oversight into when non-content information is handed over to foreign law enforcement.

What about content?

Foreign law enforcement must go through the MLAT process in order to access user content held in the US.  Before you get too excited in thinking that this provides good legal and procedural protections, you need to look a little more closely.  The current MLAT-based system for content access is basically due to a legislative oversight, not because of a well-reasoned policy decision.  ECPA doesn't mention whether or not a foreign law enforcement officer should be able to obtain either a subpoena or court order directly from a US court.  In order to overcome this, a foreign government can make an MLAT request, which effectively asks the US Government to obtain a warrant on behalf of the foreign government.

When it comes to the content of users’ emails, the current system might seem good on first glance because it only allows foreign governments to access user data through the MLAT system, which involves a US warrant process.  However, the MLAT system is not designed to cope with the large volume of requests for online data that are now being made or the tight timeframes that cyber-investigations demand (the President’s Review Group found that MLAT requests for online records take an average of 10 months!).  This means that either (1) legitimate criminal investigations and prosecutions are compromised because the evidence cannot be obtained quickly enough or (2) police find “creative” work-arounds and “informal” means to obtain the data, which undermines transparency, accountability and user protections.  Neither of these is a good outcome.

Where to from here?

In the context of ECPA, technology neutrality means that a user should have the same protections for their personal data, regardless of whether it is stored in physical format, in a locally-based electronic format, or in the cloud.  I suggest that another principle for ECPA should be location neutrality – ie a user’s personal data should have the same protections from all law enforcement agencies, regardless of whether that agency is based in the US or abroad.

The reform of ECPA is certainly not just a US issue; it impacts millions of users outside of the US.  It would be a great step forward to protect users’ data from unwarranted US law enforcement snooping.  However, this is only half the picture; we need to start talking about foreign law enforcement access to electronic communications as part of the ECPA reforms.

Trust us, we're the Government - sharing evidence internationally

It’s the nature of academic articles that by the time they’re published you’ve almost forgotten that you wrote them, particularly if the journal is an annual.  It is therefore pleasantly surprising that as my article on ‘Sharing Evidence Across Borders:  the human rights challenge’ is published ((2012) 30 Aust YBIL 161), I find that the topic is still very much current and the questions raised are still relevant, possibly even more so than when I wrote it a couple of years ago. Being able to transfer evidence between countries is essential for cross-border investigations and prosecutions.  Even aside from crime types that are obviously transnational in nature such as drug trafficking or international money laundering, everyday crimes are easily given a ‘transnational’ aspect if the criminals use international email providers, have a foreign bank account or if a key witness lives in another country.  Clearly, public policy dictates that investigations and prosecutions can’t be allowed to stop at the border.  To fill this gap Mutual Legal Assistance Treaties (MLATs), law enforcement cooperation and letters rogatory have developed.  However, transferring evidence into another jurisdiction can have significant human rights implications.

After authorities in one country hand evidence over to another country, they may lose control and visibility of how that evidence is used.  And yet, instinctively, it seems like a country should not be able to wash its hands of all responsibility after handing over evidence.  When legal cooperation is used to move people rather than evidence (ie extradition), there are very clear human rights protections.  An abolitionist country cannot extradite or deport a person to a country if there is a real risk that he or she may be subject to the death penalty.  Similar obligations arise if a country wishes to extradite a person to a country where there is a real risk of a person being subject to torture or to cruel, inhuman or degrading treatment or punishment.  However, there is no such obligation if one country provides evidence to another country and that country then uses the information to impose the death penalty, torture or other cruel, inhuman or degrading treatment or punishment on an individual.

Many see this as unjust and there is a temptation to extend the international law that applies to extradition to MLATs and law enforcement cooperation.  After all, the consequences for individuals can be just as dire when countries share evidence as when they cooperate for extradition.  However, if you carefully analyse the extradition jurisprudence and try to apply it to evidence-sharing, you encounter a number of significant logical and legal problems.

In order to be practical and politically-palatable, there must be limits on a country’s human rights obligations.  International human rights law obligations are therefore generally limited to persons within that country’s jurisdiction.  When evidence is provided to foreign countries, it usually affects individuals in the foreign country.  It is difficult to find a logical way to argue that those individuals are within the ‘jurisdiction’ of the country providing evidence.  There are a couple of unique situations in which international human rights law has been found to apply to individuals extraterritorially.  These include where an individual is under that country’s effective control (eg prisons operated in Iraq by allied forces) or for particular rights such as the issuing of a passport or the enforcement of a judgment in absentia.  When you analyse these extraterritorial situations, they seem to be fundamentally different from a person about whom a foreign country facilitates providing evidence.

I therefore argue that international human rights law does not create any obligations with respect to law enforcement cooperation or mutual legal assistance.  This is not to say that there should not be legal obligations, just that they do not currently exist under international human rights law.  Any attempt to create obligations needs to engage with the complexity of the issue, not just assume that the same rules that apply to extradition can be applied to evidence-sharing.

The treaties that create evidence-sharing relationships provide some protections by specifying situations in which the requested country may refuse to provide evidence.  Such situations include where the death penalty would be imposed or there is a real risk of torture.  However, this is permissive rather than mandatory.  Moreover, MLATs and agreements on law enforcement cooperation are negotiated on an ad hoc basis and there is no uniformity in approach.  In the end, it all comes down to the particular policies of the administration that negotiated the treaty and the policies in place at the time that it is asked to provide the evidence.

The government makes decisions about which countries it is appropriate to enter into evidence-sharing relationships with and on what terms.  There is also scope to make decisions about specific requests.  For example, the requested country may specify that evidence will only be provided if the other country gives certain assurances (eg not to impose the death penalty).  Enforcement of such undertakings is a diplomatic matter.  In this way, the responsibility to make the right decisions about who to do business with and on what terms is largely a matter for the executive.

The system is further complicated when third parties hold the requested evidence, and these parties have their own relationship with the owner of the information.  The most pressing current example is online records.  Companies such as Google and Facebook hold large amounts of user data and many of their users reside in foreign jurisdictions.  The relationship of trust between these companies and their users is a valuable part of their business.  Being a good corporate citizen and cooperating with law enforcement to combat crime may also be important, but the priorities are not necessarily always compatible.

This somewhat changes the assumption that evidence-sharing can be handled adequately on a purely diplomatic basis because you have an additional party with a different set of interests.  This is not a new problem; for many years, countries have been sharing bank and telephone records.  However, the scale of the issue has certainly grown, with users storing more and more personal data online and increasing numbers of these users being in different jurisdictions from the tech companies.

These companies can scrutinize the requests that flow through from the Department of Justice or law enforcement to ensure that the legal requirements have been met.  However, where the discretion is a matter for the executive, the companies have limited options.  It is for the government to decide whether the other country’s justice system is adequate or undertakings are sufficient.  Provided that the other legal requirements are met, the company is obliged to hand over their user’s information.  Essentially, the system is based on trust that governments will do the right thing.

The increasing role of third party holders of information brings another dimension to the question of civil liberties protections in international evidence sharing.  It means that there is a new voice in the debate.  While governments have tended to keep evidence sharing confidential, tech companies are increasingly going public about government requests for user data.  Companies may challenge government requests in the courts on behalf of their users and raise public awareness about any perceived deficiencies in the laws.  What has tended to be an obscure area of government practice where the lack of legal protections has gone largely unnoticed now has the potential to become an issue of public discussion and concern.

What is the greatest risk to online rights - government, companies or anarchy?

Nick Merrill is building an internet service provider called Calyx. Calyx will be designed to encrypt user's data in such a way that it'll be inaccessible to anyone but that user. Which means that if the government asks for your browser history or emails, Calyx will be technologically unable to hand them over.’. When I stumbled across this, I was horrified.  As a civil servant and government lawyer, I bridled at the blatant attempt to undermine the criminal justice process.  But then I read on and watched videos of Nick Merrill telling his story of fighting a national security letter requiring him to disclose details about one of the clients of his ISP company.  It is quite compelling to hear of his 6 year battle for recognition of his entitlement to speak with his attorney and his right to tell others that he was issued with a national security letter.  So Nick Merrell’s encrypted ISP project started to sound less like paranoia and more like a rational reaction.

Just this week, I read that at the recent Black Hat Conference, when the room full of internet and security professionals was asked who they trusted less, Google or the government, the majority raised their hands for Google.  This surprised me, given the deeply ingrained distrust of big government and led me to wonder whether we were sliding into a situation in which the public will not trust anyone with regulation of online activities.  Is the web to become a wild west of anarchy because we are too afraid to trust anyone with any form of monitoring or enforcement?

FEAR OF THE GOVERNMENT

The US PATRIOT Act has a lot to answer for.  One part of the post-9/11 legislative reforms was provisions extending the FBI’s ability in certain circumstances to request records from ISPs, financial institutions and credit providers without the need for a court-issued warrant.  Moreover, recipients of national security letters were unable to challenge the request and were prohibited from telling anyone that they had received a letter (let alone the content of the letter) for an indeterminate period. Nick Merrell was the first person to challenge the constitutionality of the regime.  The personal and financial toll that the battle has taken on him makes you question whether the 9/11 terrorists were more successful at undermining the most highly-prized values in our system than we will ever care to admit.

Meanwhile, media attention on the ‘great firewall of China’ and the role of internet censorship in the Arab Spring has brought home the power of the internet internationally as a tool of oppression in the hands of an unscrupulous government.

Domestically, the fear that the government will exploit the power of the internet has found a focal point in the campaign against the Cybersecurity Act 2012.  Alarm bells are ringing for privacy advocates as the Cybersecurity Act seeks to expand the ability for ISPs to share user information with the government outside of the current judicial oversight mechanism.

Internationally, many civil society bodies seem to see the upcoming 2012 World Conference on International Telecommunications in December as an opportunity for governments to seize control of the internet for their own purposes.  The WCIT seeks to renegotiate the International Telecommunications Regulations with a view to expanding the ITU’s mandate to include regulation of the internet.  Distrust of the intention behind this move has led to the creation of a wikileaks-style site that posts the preparatory reports and proposals.

FEAR OF COMPANIES

While the public might have been willing to cut Google some slack over the ‘inadvertent’ capturing of private data in the UK during its street view operations (everyone makes mistakes, right?), their subsequent failure to follow through on their undertaking to delete the data might start to undermine the credibility of the ‘don’t be evil’ mandate.

I suspect that the friendly glow of social networking and web companies is also fading as the public confronts the fact that these companies are not benevolent societies established to help us share information and stay in touch with friends, but are businesses that ultimately need to make money.  Facebook’s much-analysed IPO and disappointing profits underscore the imperative for companies to find ways in which to capitalise on all that ‘big data’ that they have amassed from their user base.  The popularity of the ‘do not track’ movement, which allows users to request that websites not collect information about their online browsing habits reveals a growing distrust of web companies and their moves to use our personal data for profit.

FEAR OF ANARCHY?

It seems we’re at risk of descending into a Mad-Eye Moody state of ‘constant vigilance’, unwilling to trust anyone.  But short of finding a real life Dumbledore, this is not a sustainable approach.  Without effective policing of the internet, it becomes a modern wild west; a safe haven for criminals and a dangerous place for the rest of us.  But when there is no public visibility of the many times when police or security authorities’ access to online information has helped thwart criminal activities and protect users’ rights, it is difficult to assess the value of government access to online records.

At the risk of sounding like a government stooge, I think the answer lies not in efforts to circumvent government access to information, but in better systems for managing government access to our information.  Law enforcement and security authorities need quick and effective access to the information held by web companies in order to enforce the criminal laws.  Of course, all governmental power needs appropriate checks and safeguards.   This is where the national security letter scheme went wrong and this is where we should be focusing our attentions.  While I can't deny the logic of Nick Merrill's latest encrypted ISP project, I hope that this is not the direction that we end up taking.  I still hope that we can work to fix the system, rather than taking ourselves outside of the system.