On October 4, 2013, The Guardian published an NSA presentation with the title "Tor Stinks". It's an odd document to have become famous, because what it mostly says is that the agency was having a hard time.
The slides, dated to 2012 and drawn from the archive Edward Snowden had taken from the agency, laid out what the NSA and its British partner GCHQ could and couldn't do against Tor users. The most quoted line is a blunt one: "We will never be able to de-anonymize all Tor users all the time." The deck goes on to say that with manual analysis they could de-anonymize a very small fraction of users, and that they had no success de-anonymizing a user in response to a specific request.
For a lot of people, that was the first credible evidence of how Tor fared against a well-funded intelligence agency. It fared rather well.
What the slides actually described
"Tor Stinks" was a working document, not a boast. It listed approaches the analysts were exploring, with their limitations:
- Running their own relays, which the slides admitted produced little because they didn't have many and couldn't count on users picking them.
- Exploiting mistakes users made outside Tor, such as logging into the same accounts with and without it, and linking identities through cookies.
- Looking at timing and patterns of traffic where they could observe both ends, which is the classic correlation attack.
- Degrading the network or influencing users' path selection in ways that might push traffic toward relays they could watch.
Nothing in it suggested a cryptographic break. The approaches were the ones academic researchers had been writing about for years, and the frustration came through clearly.
Attacking the browser instead
A second set of documents published the same day, along with an explanatory piece by security researcher Bruce Schneier, described a programme the NSA called EgotisticalGiraffe. Instead of going after Tor's routing, it targeted the Firefox code that the Tor Browser Bundle was built on. The documents describe exploiting a vulnerability in an older Firefox version that had since been patched, and refer to the NSA's broader infrastructure for this kind of work, with names like Quantum (servers positioned on the internet backbone to respond faster than a legitimate site) and FoxAcid (servers that delivered exploits to targeted browsers).
In other words, the agency had come to the same conclusion as the FBI in the Freedom Hosting case a couple of months earlier: the network was hard, so go after the software on the user's machine. The Tor Project's response was similar too. Keep the browser updated, reduce attack surface, and make it harder for any single exploit to reveal a real IP address. That logic is behind Tor Browser's security levels and behind operating systems like Tails and Whonix that force everything through Tor.
XKeyscore and the "extremist" label
In July 2014, the German broadcasters NDR and WDR published source code they said came from XKeyscore, the NSA's system for searching intercepted internet traffic. The rules in it flagged people who visited the Tor Project website, searched for privacy tools like Tails, or connected to Tor directory authorities. Comments in the code described Tails as a tool "advocated by extremists on extremist forums".
Two details caused a lot of anger. One was that simply looking up information about Tor or Tails could get your traffic flagged for retention. The other was that one of the directory authorities named in the rules was run by a German student, Sebastian Hahn, at a university in Germany. It made the surveillance feel very concrete.
Whether these rules came from the Snowden archive or another source has never been settled publicly. Some journalists who handled the material suggested they might have come from a second leaker.
Snowden as a Tor user
There's a personal side to this story. Snowden used Tor himself, and in December 2012, before he left Hawaii, he co-organised a CryptoParty in Honolulu where he and Runa Sandvik, then a Tor Project developer, taught attendees about Tor and encryption. Sandvik later wrote about the event for Forbes, without having known who he was at the time.
The journalists he worked with, including Laura Poitras and Glenn Greenwald, used Tails to handle the material. When Poitras's documentary Citizenfour came out in 2014, the credits thanked the Tails, Tor and other free software projects. For a small, volunteer-heavy project like Tails, that was a remarkable endorsement.
What changed afterwards
Usage rose, though the effect is easier to describe than to measure precisely, since Tor's user graphs were also distorted around that time by a large botnet that started using Tor in August 2013. More concretely, the Snowden material shifted the conversation. Large websites started treating encryption by default as normal. Facebook launched an onion address in 2014, and other organisations followed in later years; we look at why in Why Facebook, the BBC and the NYT Run Onion Sites.
The lasting lesson from the documents isn't that Tor is invincible. The slides themselves say the NSA could catch some users, and they explain how: user mistakes and browser bugs. That's still where most real-world deanonymisation comes from, and it's why the advice to keep things updated and keep identities separate sounds boring but keeps showing up.