Whistleblowing: the routes, the law, and the line between a protected report and a leak treats disclosure as a legal and ethical act. This article treats it as an event in the history of engineering. Two sets of documents, the military and diplomatic files that gave to in 2010 and the National Security Agency (NSA) archive that gave to journalists in 2013, changed what network engineers encrypt, how standards bodies write protocols, how a national standards institute treats advice from a signals-intelligence agency, and how organizations watch their own administrators. The legal and political aftermath of 2013 (the 's reports, the court rulings on bulk collection, the USA FREEDOM Act of 2015, the European court decisions on data transfers and Brazil's protest at the United Nations) is told in Surveillance capability and restraint; the arguments over the people involved are in Who counts as a whistleblower?; and whether more inspection is the price of a safer internet is the question of the blog post Is total surveillance unavoidable for the future of a safe Internet?. After this article the reader will be able to explain why traffic between a company's own data centres is now encrypted, why forward secrecy matters against an adversary who records today and steals keys tomorrow, what changed in the standards process, and what an insider-threat programme is supposed to catch and to protect.
What the documents described, in the official words
Much of what the 2013 documents described was later confirmed or described by the United States (US) government itself, and that official description is the safest starting point. The Privacy and Civil Liberties Oversight Board (PCLOB) wrote in July 2014 that Section 702 of the Foreign Intelligence Surveillance Act has "two types of Section 702 acquisition: what has been referred to as 'PRISM' collection and 'upstream' collection". In PRISM collection, "the government (specifically, the FBI on behalf of the NSA) sends selectors, such as an email address, to a United States-based electronic communications service provider ... and the provider is compelled to give the communications sent to or from that selector to the government"; upstream collection, received only by the NSA, also acquired so-called "about" communications, "in which the selector of a targeted person ... is contained within the communication but the targeted person is not necessarily a participant" (PCLOB, Report on the Surveillance Program Operated Pursuant to Section 702, 2 July 2014). The board concluded that "PRISM collection is clearly authorized by the statute" (same source). That collection was lawful, compelled and directed at providers is the first thing an engineer needs to know about it, because it means encryption between a user and a provider does not stop it; the provider hands over what it holds.
What the industry reacted to in late 2013 was something different: reports, which the companies treated as credible, that traffic was being intercepted without legal process as it travelled between their own data centres. Microsoft's general counsel, Brad Smith, put it this way on 4 December 2013: "recent press stories have reported allegations of governmental interception and collection - without search warrants or legal subpoenas - of customer data as it travels between customers and servers or between company data centers in our industry. If true, these efforts threaten to seriously undermine confidence in the security and privacy of online communications. Indeed, government snooping potentially now constitutes an 'advanced persistent threat,' alongside sophisticated malware and cyber attacks" (Brad Smith, Protecting customer data from government snooping, Microsoft, 4 December 2013). The phrase "advanced persistent threat" was the industry's name for state hacking groups (see Advanced persistent threats); applying it to a government's own intelligence agency was new.
Encryption between data centres, and by default
The 2013 to 2016 commitments
Microsoft's post set out three areas of action, starting with "expanding encryption across our services": encryption of customer data moving between its data centres and customers, "best-in-class industry cryptography to protect these channels, including Perfect Forward Secrecy and 2048-bit key lengths", all "in place by the end of 2014", encryption of stored customer content in some services, and a network of "transparency centers" building on a programme that gives "government customers with an appropriate ability to review our source code, reassure themselves of its integrity, and confirm there are no back doors". The post was careful about what Microsoft knew: "While we have no direct evidence that customer data has been breached by unauthorized government access, we don't want to take any chances" (Microsoft, 4 December 2013). Google's Gmail announced on 20 March 2014 a change summed up in the title of its post: "HTTPS-only", that is, mail reachable only over Hypertext Transfer Protocol Secure (HTTPS) (Gmail Blog, Staying at the forefront of email security and reliability: HTTPS-only and 99.978% availability, 20 March 2014; the body of the post did not load for automated reading). WhatsApp announced on 5 April 2016 that encryption was "on by default and all the time", so that nobody can see inside a message, "Not cybercriminals. Not hackers. Not oppressive regimes. Not even us" (WhatsApp, End-to-end encryption, 5 April 2016).
Where it stands today
A decade later, encryption between a cloud provider's own machines is documented as a default, not a feature. Google's current description of Google Cloud says that its encryption in transit uses "transport layer security (TLS), BoringSSL, application layer transport security (ALTS), and the PSP security protocol", that connections between Google services are authenticated and encrypted with ALTS, and that virtual machine () to VM traffic within a customer's network is encrypted with session keys negotiated over an ALTS-protected control channel and "rotated periodically". The same document gives the design principle in one sentence: encryption in transit "defends your data against potential attackers and removes the need for Google, Google Cloud customers, or end users to trust the lower layers of the network" (Google Cloud, Encryption in transit). The phrase "the lower layers of the network" is the lesson of 2013 in engineering language: the fibre, the switches and the leased lines between buildings are not trusted, whoever owns them.
For the open web, the same years produced free, automated certificates; how that worked and what it changed is told in Let's Encrypt, and how much of the web is now encrypted is measured in Is total surveillance unavoidable for the future of a safe Internet?.
Worked example: why forward secrecy was on the list
Microsoft's list named "Perfect Forward Secrecy". The reason is an adversary who records encrypted traffic today and obtains the server's long-term private key later, by theft, compulsion or a flaw. If the session key was sent across the wire encrypted under that long-term key, every recorded session can be decrypted once the key is obtained. If instead each session's key comes from a fresh exchange whose secrets are thrown away, the long-term key only proves who the server is; it never protects the session key, and stealing it later opens nothing. A toy exchange with numbers small enough to do by hand (real systems use numbers hundreds of digits long or elliptic curves):
- Public parameters: prime p = 23, generator g = 5.
- The client picks a secret a = 6 and sends A = 5^6 mod 23. Since 5^6 = 15,625 and 23 × 679 = 15,617, A = 15,625 − 15,617 = 8.
- The server picks a secret b = 15 and sends B = 5^15 mod 23. Working in steps: 5^2 = 25 ≡ 2; 5^4 ≡ 2^2 = 4; 5^8 ≡ 4^2 = 16; 5^15 = 5^8 × 5^4 × 5^2 × 5^1 ≡ 16 × 4 × 2 × 5 = 640, and 640 − 23 × 27 = 640 − 621 = 19. So B = 19.
- The client computes B^a = 19^6 mod 23. Since 19 ≡ −4: (−4)^2 = 16; (−4)^4 = 256 ≡ 256 − 253 = 3; (−4)^6 = 3 × 16 = 48 ≡ 48 − 46 = 2.
- The server computes A^b = 8^15 mod 23: 8^2 = 64 ≡ 18; 8^4 ≡ 18^2 = 324 ≡ 324 − 322 = 2; 8^8 ≡ 4; 8^15 = 8^8 × 8^4 × 8^2 × 8 ≡ 4 × 2 × 18 × 8 = 1,152 ≡ 1,152 − 1,150 = 2.
Both sides hold the shared secret 2; a recorder saw only 23, 5, 8 and 19. When the session ends and both sides discard a = 6 and b = 15, nothing stored anywhere can rebuild the 2, not even the server's certificate key. That is the property a "record now, decrypt later" adversary cannot get around, and it is why the term appears in the glossary as forward secrecy.
Standards: the IETF declares pervasive monitoring an attack
The Internet Engineering Task Force () discussed pervasive monitoring at the technical plenary of its November 2013 meeting and in May 2014 published its consensus as a Best Current Practice, (RFC) 7258, whose abstract is one sentence: "Pervasive monitoring is a technical attack that should be mitigated in the design of IETF protocols, where possible." The document defines pervasive monitoring as "widespread (and often covert) surveillance through intrusive gathering of protocol artefacts, including application content, or protocol metadata such as headers", including "active or passive wiretaps and traffic analysis" and "subverting the cryptographic keys used to secure protocols", and says it "is distinguished by being indiscriminate and very large scale, rather than by introducing new types of technical compromise". It is careful about motive: "the term 'attack', used technically, implies nothing about the motivation of the actor", because "we cannot defend against the most nefarious actors while allowing monitoring by other actors no matter how benevolent some might consider them to be" (S. Farrell and H. Tschofenig, RFC 7258, Pervasive Monitoring Is an Attack, May 2014).
The Internet Architecture Board (IAB) followed with a statement on 14 November 2014 that "it is important for protocol designers, developers, and operators to make encryption the norm for Internet traffic", that "even protocols providing confidentiality without authentication are useful in the face of pervasive surveillance", that "newly designed protocols should prefer encryption to cleartext operation", and that it urged "firewall policy administrators to permit encrypted traffic" (IAB Statement on Internet Confidentiality, 14 November 2014). In August 2015 the IAB's RFC 7624 set out the threat model: "Since the initial revelations of pervasive surveillance in 2013, several classes of attacks on Internet communications have been discovered ... We assume an attacker that is interested in undetected, indiscriminate eavesdropping. The threat model is based on published, verified attacks" (R. Barnes and others, RFC 7624, Confidentiality in the Face of Pervasive Surveillance: A Threat Model and Problem Statement, August 2015).
The IETF had refused to build wiretapping into its protocols in 2000; Lawful interception: the architecture, the standards and the law quotes that refusal. RFC 7258 went a step further: it treated monitoring that the protocols did not design in as something the protocols should design against. The tension with network operators who inspect traffic for security is real and is the subject of The crypto wars.
Standards: NIST, the NSA and Dual_EC_DRBG
The most direct effect on a standard was on a random-number generator. On 10 September 2013 the National Institute of Standards and Technology () published a statement: "Recent news reports have questioned the cryptographic standards development process at NIST ... NIST would not deliberately weaken a cryptographic standard." It explained that "the National Security Agency (NSA) participates in the NIST cryptography development process because of its recognized expertise. NIST is also required by statute to consult with the NSA", and that it had "reopened the public comment period for Special Publication 800-90A" and two related drafts (NIST, Cryptographic Standards Statement, September 2013).
In April 2014 NIST removed the algorithm from its draft guidance. Its announcement says that "in September 2013, news reports prompted public concern about the trustworthiness of Dual_EC_DRBG", that NIST "immediately recommended against the use of the algorithm", that "some commenters expressed concerns that the algorithm contains a weakness that would allow attackers to figure out the secret cryptographic keys and defeat the protections provided by those keys" Officially attributed commenters on the draft, as NIST reported them, and that "based on its own evaluation, and in response to the lack of public confidence in the algorithm, NIST removed Dual_EC_DRBG from the Rev. 1 document"; it advised users to "transition to one of the three remaining approved algorithms as quickly as possible" and told agencies and buyers "to ask vendors if their cryptographic modules rely on Dual_EC_DRBG" (NIST removes cryptography algorithm from random number generator recommendations, April 2014).
NIST then had its process reviewed. Its Visiting Committee on Advanced Technology (VCAT), which the NIST director had tasked in February 2014, convened a Committee of Visitors of outside experts and reported in July 2014. On the NSA its recommendation was blunt: "NIST may seek the advice of the NSA on cryptographic matters but it must be in a position to assess it and reject it when warranted", and NIST's senior management should review "the current requirement for interaction with the NSA" and request changes "where it hinders its ability to independently develop the best cryptographic standards" (VCAT, Report on NIST Cryptographic Standards and Guidelines Development Process, July 2014). In March 2016 NIST published its rules for the process as NIST Interagency Report (NISTIR) 7977, which lists the principles that now govern it, starting with "Transparency: All interested and affected parties have access to essential information regarding standards and guidelines-related activities throughout the development process" and "Openness: Participation is open to all interested parties" (NISTIR 7977, NIST Cryptographic Standards and Guidelines Development Process, March 2016).
For a practitioner the lesson is not about one generator. It is that a cryptographic component can lose trust faster than products can be changed, and the advice NIST gave in 2014 (find out which modules use it, ask the , reconfigure) is the procedure every organization needs for the next such event: an inventory of where each algorithm is used.
Insider-threat practice: from WikiLeaks to Vault 7
The programme that WikiLeaks started
The US government's insider-threat machinery predates 2013. The National Task Force (NITTF), its fact sheet says, "was established after the WikiLeaks release of thousands of classified documents through the global media and internet"; Executive Order 13587 of 7 October 2011 created it and the programme it runs, "for deterring, detecting, and mitigating insider threats, including the safeguarding of classified information from exploitation, compromise, or other unauthorized disclosure", integrating "security, counterintelligence, user audits and monitoring" (NITTF, Mission Fact Sheet; Executive Order 13587, 13 October 2011). The fact sheet describes detection as "authorized insider threat personnel gathering information from many sources and analyzing that information for clues or behavior of concern", warns that "a single indicator may say little", and says that "an individual may have no malicious intent, but is in need of help". It also requires the programmes to protect "employees' civil liberties/civil rights, privacy or protections" (NITTF fact sheet). Snowden's disclosures came two years into that programme.
What the House committee said had not been fixed
The House Permanent Select Committee on Intelligence (HPSCI) 2016 review, contested by Snowden on other points (see the blog post), recorded that "in the aftermath of Snowden's disclosures, NSA compiled a list of [redacted] security improvements for its networks", that "in August 2016, more than three years after Snowden's first disclosures, four of the [redacted] initiatives remained outstanding", that the Department of Defense Inspector General had found that the NSA "needed to take additional steps to effectively implement the privileged access-related Secure the Net initiatives", and that a Central Intelligence Agency (CIA) Inspector General report had found the CIA "has not yet implemented multi-factor authentication controls such as a physical token for general or privileged users" (HPSCI, Review of Edward Snowden Disclosures, highlights, 2016). Privileged access, the access that system administrators have, was where the committee saw the gap.
Clearances and continuous evaluation
In the autumn of 2013 the President directed the Office of Management and Budget (OMB) to conduct a 120-day review of suitability and security-clearance procedures; its February 2014 report found that "5.1 million employees and contractors were eligible for security clearances as of October 2013", despite policy that "expressly directs agencies to minimize the number" of people with such eligibility, and recommended accelerating "a standardized program of Continuous Evaluation (CE)" fully integrated "with agency Insider Threat Programs" (Suitability and Security Processes Review, Report to the President, February 2014). The report cited a Department of Defense pilot of an Automated Continuous Evaluation System (ACES) that "sampled 3,370 Army service members, civilian employees, and contractor personnel, and identified that 21.7 percent of the tested population had previously unreported derogatory information that had developed since the last investigation, and 3 percent had serious derogatory information" (same source). Worked from those percentages: 3,370 × 0.217 ≈ 731 people with new unreported information, and 3,370 × 0.03 ≈ 101 with serious information, in a sample of people all of whom held or were eligible for clearances.
Vault 7: the lesson in the CIA's own words
In March 2017 WikiLeaks began publishing CIA hacking tools under the name . A CIA WikiLeaks Task Force report of October 2017, released in redacted form by Senator Ron Wyden in June 2020, found, as CBS News reported, that day-to-day security at the agency's Center for Cyber Intelligence "had become woefully lax", that its staff "focused on building cyber weapons and neglected to also prepare mitigation packages if those tools were exposed", and that "had the data been stolen for the benefit of a state adversary and not published, we might still be unaware of the loss - as would be true for the vast majority of data on Agency mission systems"; the task force estimated that "up to 34 terabytes, or 2.2 billion pages" may have been taken (CBS News, Internal CIA review finds woefully lax security, June 2020). Joshua Schulte, the former CIA software engineer convicted of providing the material, was sentenced on 1 February 2024 to 40 years for crimes including espionage (US Department of Justice, Southern District of New York, February 2024). The sentence that should worry any security team is the one about not knowing: the agency learned of its largest data loss from the publication.
The tension that remains
These programmes exist to detect unauthorized disclosure, and the same government's law protects lawful disclosure through official routes. The NITTF fact sheet's requirement to protect whistleblowers is the hinge between the two. A private organization that copies the government's insider-threat model should copy that sentence too, and the Learn article on sets out what keeping the two functions apart means in practice.
The Snowden effect and the chilling effect
Two "effects" entered the vocabulary in these years.
The . The press critic Jay Rosen defined it on 5 July 2013 as "direct and indirect gains in public knowledge from the cascade of events and further reporting that followed Edward Snowden's leaks of classified information about the surveillance state in the U.S." (Jay Rosen, The Snowden Effect: definition and examples, PressThink, 5 July 2013). It is a term about knowledge, not about technology: the official confirmations, court documents and further reporting that followed the first stories. The technical changes above are sometimes put under the same name, but Rosen's definition does not include them.
The . A legal term for the deterrence of lawful activity by fear of consequences, it was given an empirical test after 2013 by Jonathon Penney, who studied traffic to 48 Wikipedia articles on topics that raise privacy concerns and found "a statistically significant immediate decline in traffic for these Wikipedia articles after June 2013", together with "a change in the overall secular trend", "suggesting not only immediate but also long-term chilling effects" (Jonathon W. Penney, Chilling Effects: Online Surveillance and Wikipedia Use, Berkeley Technology Law Journal, 2016). How much weight that finding can bear in the argument over surveillance is discussed in Is total surveillance unavoidable for the future of a safe Internet?, which cites the same study; the glossary entries Snowden effect and chilling effect carry the definitions and their history.
The Brazilian angle
Brazil treated the 2013 disclosures as a matter for its own institutions. The Senate created a parliamentary inquiry commission (Comissão Parlamentar de Inquérito, CPI), the CPI da Espionagem, on a request dated 10 July 2013, to investigate "the allegation of the existence of an espionage system structured by the United States government with the aim of monitoring e-mails, telephone calls, digital data" (our translation, as for every quotation from Portuguese in this article); it approved its final report on 9 April 2014 (Senado Federal, Requerimento nº 811/2013; minutes of the 15th meeting, 9 April 2014). Presenting the report, the rapporteur, Senator Ricardo Ferraço, said that the vulnerabilities "identified and exploited by the NSA and its allies, can be exploited by criminals of every kind", compared the 2012 budget of the Agência Brasileira de Inteligência (ABIN), about R$528 million, with the US intelligence community's US$53 billion "as disclosed by Snowden", and recommended a proposed constitutional amendment (Proposta de Emenda à Constituição, PEC), PEC 67/2012, that would give the oversight of intelligence constitutional status and create a council to support Congress in it (same minutes). It is a practitioner's conclusion as much as a political one: the same weaknesses that a state agency exploits are available to criminals.
The other Brazilian thread runs through a British court: the stop of David Miranda, a Brazilian citizen carrying encrypted Snowden material at Heathrow in August 2013, and the Court of Appeal's 2016 ruling on journalistic material, told in the blog post and in the Learn article on whistleblowing. Brazil's diplomatic response, President Dilma Rousseff's speech at the United Nations General Assembly in September 2013, is in Surveillance capability and restraint.
What defenders can do
- Encrypt east-west traffic. Treat links between your own sites, data centres and cloud regions as untrusted, as Google's documentation does for "the lower layers of the network"; use authenticated encryption on internal service-to-service calls, not only at the edge.
- Prefer forward-secret key exchange. Configure TLS and virtual private networks (VPNs) for ephemeral key exchange, so that a key stolen later does not open traffic recorded earlier.
- Keep a cryptographic inventory. Know which modules and libraries implement which algorithms, so that the next Dual_EC_DRBG is a configuration change, as NIST's 2014 advice assumed, and not a forensic project.
- Watch the administrators, with rules. Privileged-access management, multi-factor authentication for privileged and general users, and detection of bulk copying: the controls the House committee and the CIA's own task force found missing.
- Know what you would not see. The CIA task force's sentence about being "unaware of the loss" is a test to run on your own monitoring: would a large, slow copy of your most sensitive repository raise an alert?
- Write the whistleblower carve-out into the insider-risk programme. The NITTF requires it of the US government; the companion Learn article explains how to keep the reporting channel out of the monitoring.
What to remember
- PRISM, as the oversight board described it, was compelled collection from providers under Section 702; the industry's technical reaction in 2013 was to reports of interception between data centres.
- Microsoft (December 2013), Gmail (March 2014) and WhatsApp (April 2016) made encryption a default; Google Cloud today documents encryption between its machines so that nobody has to "trust the lower layers of the network".
- Forward secrecy protects recorded traffic against later theft of the server's key; the toy exchange with p = 23 and g = 5 shows why.
- The IETF declared pervasive monitoring "a technical attack" in RFC 7258 (May 2014); the IAB asked to make "encryption the norm" (November 2014).
- NIST withdrew Dual_EC_DRBG in 2014, accepted that it must be able to "assess" and "reject" NSA advice (VCAT, 2014), and published its process principles in NISTIR 7977 (2016).
- The US insider-threat programme began after WikiLeaks (2011); the Snowden review found privileged-access fixes outstanding in 2016; the CIA's Vault 7 review found security "woefully lax".
- The Snowden effect (Rosen, 2013) is about public knowledge; the chilling effect has empirical support in Penney's Wikipedia study (2016).
Sources
- Privacy and Civil Liberties Oversight Board, Report on the Surveillance Program Operated Pursuant to Section 702 of the Foreign Intelligence Surveillance Act, Washington, 2 July 2014, PDF: PRISM and upstream collection described (accessed 23 November 2026)
- Brad Smith, Protecting customer data from government snooping, Microsoft On the Issues, Redmond, 4 December 2013, web page: the commitments and the "advanced persistent threat" phrase (accessed 23 November 2026)
- Google, Staying at the forefront of email security and reliability: HTTPS-only and 99.978% availability, Gmail Blog, 20 March 2014, web page: title and date only, the body did not load (accessed 23 November 2026)
- WhatsApp, End-to-end encryption, WhatsApp Blog, 5 April 2016, web page: encryption on by default (accessed 23 November 2026)
- Google Cloud, Encryption in transit, documentation, web page: TLS, ALTS and VM-to-VM encryption, the design principle (accessed 23 November 2026)
- S. Farrell and H. Tschofenig, RFC 7258, Pervasive Monitoring Is an Attack, BCP 188, IETF, May 2014, text: the definition and the consensus (accessed 23 November 2026)
- Internet Architecture Board, IAB Statement on Internet Confidentiality, 14 November 2014, web page: encryption as the norm (accessed 23 November 2026)
- R. Barnes, B. Schneier, C. Jennings, T. Hardie, B. Trammell, C. Huitema and D. Borkmann, RFC 7624, Confidentiality in the Face of Pervasive Surveillance: A Threat Model and Problem Statement, IAB, August 2015, text: the abstract (accessed 23 November 2026)
- National Institute of Standards and Technology, Cryptographic Standards Statement, Gaithersburg, September 2013, web page: the statement on the NSA and SP 800-90A (accessed 23 November 2026)
- National Institute of Standards and Technology, NIST Removes Cryptography Algorithm from Random Number Generator Recommendations, April 2014, web page: the removal of Dual_EC_DRBG and the advice to users (accessed 23 November 2026)
- Visiting Committee on Advanced Technology, NIST Cryptographic Standards and Guidelines Development Process: report and recommendations, July 2014, PDF: the recommendation on the NSA (accessed 23 November 2026)
- National Institute of Standards and Technology, NISTIR 7977, NIST Cryptographic Standards and Guidelines Development Process, March 2016, PDF: the principles (accessed 23 November 2026)
- National Insider Threat Task Force, Mission Fact Sheet, Office of the Director of National Intelligence, PDF saved by a fetch tool: the origin, definition and safeguards of the programme (accessed 23 November 2026)
- Executive Order 13587, Federal Register, 13 October 2011, PDF: the insider-threat programme (accessed 23 November 2026)
- House Permanent Select Committee on Intelligence, Review of Edward Snowden Disclosures: highlights, 2016, PDF: the outstanding security initiatives (accessed 23 November 2026)
- Office of Management and Budget, Suitability and Security Processes Review, Report to the President, February 2014, PDF: clearance numbers and continuous evaluation (accessed 23 November 2026)
- Olivia Gazis, Internal CIA review finds "woefully lax" security led to massive data theft, CBS News, June 2020, web page: the WikiLeaks Task Force findings (accessed 23 November 2026)
- US Department of Justice, Former CIA Officer Joshua Adam Schulte Sentenced To 40 Years In Prison, Southern District of New York, February 2024, press release read through the DOJ press-release interface: the sentence (accessed 23 November 2026)
- Jay Rosen, The Snowden Effect: definition and examples, PressThink, New York University, 5 July 2013, web page: the definition (accessed 23 November 2026)
- Jonathon W. Penney, Chilling Effects: Online Surveillance and Wikipedia Use, Berkeley Technology Law Journal, vol. 31, 2016, PDF: the study and its findings (accessed 23 November 2026)
- Senado Federal, Requerimento nº 811, de 2013, Brasília, web page: the request and the commission's conclusion (accessed 23 November 2026)
- Senado Federal, CPI da Espionagem, minutes of the 15th meeting, 9 April 2014, Brasília, document: the rapporteur's presentation (accessed 23 November 2026)