An intelligence officer wants to look something up on the web without anyone learning who is asking. In the mid-1990s, three employees of the US Naval Research Laboratory take on that problem: Paul Syverson, Michael G. Reed and David Goldschlag. Their system, called onion routing, is meant to protect American intelligence communications online.
The trio's first insight is to split up what each point on the network can know. A relay that sees where a message came from must never see where it is going, and a relay that sees the destination must never see the source. The website on the receiving end learns even less. It sees only the last relay on the path, the exit node, and that relay appears to be the originator of the request. The officer who sent it stays out of view. Encryption at each hop makes it hard to link a person to any particular activity.
Then Syverson, Reed and Goldschlag see the flaw in their own plan. Suppose the network carries only officers. A single officer browsing through it is easy to spot, because every message on the network comes from the Navy and the lone user stands out like a flag on a bare hill. That raises an awkward question for a military laboratory: why would it need strangers on its secret tool? And if it does, what exactly do Syverson and his colleagues have to build?

Wrapping a message in layers
Syverson, Reed and Goldschlag settle on a way to build the secrecy into the message itself. The sender's software encrypts a message once for every relay on its path, stacking one coat of encryption on top of another like the layers of an onion. The scheme works in the application layer, the level where programs such as a web browser do their work, and it gives the idea its name: onion routing.
Every relay that receives the bundle can unwrap exactly one layer. Inside, it finds only an instruction to pass the rest along to the next relay. It knows who handed it the package and who should get it next, and nothing else about the journey.
The team also counts what the design costs. A message that travels through several relays, each peeling and forwarding, arrives more slowly than one sent straight to a website, so browsing through the system drags. Plugins such as Flash and QuickTime are blocked. A Navy researcher who wants secrecy may be willing to wait and do without a video player. An ordinary user, used to a fast web, may find the trade harder to swallow.
Syverson and his colleagues promise only what the design can deliver. The system is not meant to solve web anonymity completely. Its aim is to lower the odds that a website can trace an action back to the person who took it. Some tracking will survive, and they say so.
Yet the layers only hide the path a message takes. They say nothing about who else is on the network when the lone officer logs on. If the crowd is still missing, the onion protects the route and leaves the flag standing on its bare hill.
The September 2002 launch
On September 20, 2002, the alpha version of Tor went live. An alpha is a rough first build, offered to people willing to put up with its flaws, and the public release was still a year away.
Two more people joined the Navy side of the effort: Roger Dingledine and Nick Mathewson. The pitch they carried outward was an odd one for a military lab. At its launch, Tor stressed protecting users' privacy from corporations rather than from governments. A tool born to hide Navy traffic from foreign eyes was now being described to ordinary people as a shield against the companies that watch them online.
Andrew Lewman later put the ambition in plain terms. The aim, he said, was to put research into practice and give users control over their information. The wording matters. A research prototype can sit in a laboratory forever and satisfy its authors. A tool that hands control to users has to survive how those users handle it, what habits they bring and how many of them there are.
The design kept growing while the alpha ran. Onion services were first specified in 2003 and have been deployed since 2004, which meant the system's ideas already reached beyond its first simple use of hiding one person's browsing.
Yet the pieces that made Tor attractive to strangers also made it awkward for its builders. Syverson's original problem was still unsolved: a lone officer on a network of officers is a flag, and the only cure is a crowd. A crowd, however, brings costs that no laboratory budget line was written to cover. Servers need running, code needs maintaining, and someone has to answer when the wrong people turn up. Once the public arrives, who pays for all of it, and who gets to say the tool belongs to them?
The Navy lets go in 2004
In 2004 the Naval Research Laboratory did something a military lab rarely does with a working tool: it let go. The lab released the Tor code under a free license, which meant anyone could read it, copy it and change it. Around the same time the Electronic Frontier Foundation (EFF) began paying Dingledine and Mathewson to keep building.
Now the answer was leaving the building. A secret tool, once published, could be run by anyone, and the Navy would have to live with that.
Two years later the arrangement took a legal shape. In 2006 Dingledine and Mathewson, together with five others, founded The Tor Project, a nonprofit based in Massachusetts. The code no longer sat inside a Navy program. It had an organization of its own, with a board of founders and a need for money.
The money came from an odd assortment of hands. Early supporters included US government bureaus, Human Rights Watch, the University of Cambridge, Google and the Dutch foundation NLnet. Later the list grew to include the EFF, the Knight Foundation and Sida, the Swedish aid agency.
Even the people paid to watch Tor sometimes lost track of who stood behind it. A presentation at GCHQ, the British signals intelligence agency, said the EFF maintained the software. The Guardian later pointed out that Tor is maintained by an independent foundation that once received EFF funding.
A tool that belongs to everyone also belongs to people who despise its funders. Its government critics could use it too, and so could the agencies that wanted to break it.

August 2013: the crowd arrives, and so does the NSA
In late August 2013, the people who watched Tor's network saw the line on their charts bend upward. In eight days, daily use more than doubled, to 2.25 million. Strangers who had never heard of Syverson's onion layers were suddenly the crowd he had spent years arguing a lone officer needed.
One of the people watching the charts kept refreshing the page, waiting for the line to stall. It didn't. By mid-September it had pushed past every mark on the graph and settled near 6 million. Scrolling back across the year, the watcher saw how small the starting point looked. Reports said Tor had grown from a fraction of that to more than 4 million daily users, and the line looked like a hill that had turned into a wall.
Another audience was watching too. The US government paid for about 60% of Tor's budget, mostly through the State Department and the Department of Defense. Inside the NSA, analysts were building an attack on Tor's users and gave it a codename: EgotisticalGiraffe. It targeted the browser, the one piece of the system that ran on the user's own machine.
The attack had a flaw of timing. The vulnerabilities it relied on had been fixed, by accident, in Firefox 17, which Mozilla released in November 2012. An NSA presentation also admitted that the agency would never be able to de-anonymize all Tor users all the time. The crowd Syverson needed was also the one thing the NSA could not fully penetrate.
Lewman, who was then running the organization, laid out the odds in plain numbers. Tor's team had about 30 people. The NSA and GCHQ had tens of thousands of staff between them. He added that one part of GCHQ tries to break Tor while another relies on it working.
Yet the same cover that shielded dissidents and officers shielded everyone else. A crowd cannot choose who stands in it, and some of the people in this one were the ones the police wanted.
400 sites down, 17 arrests
On December 8, 2012, FBI agents took down a child pornography website that ran on Tor. The site had counted on the network's cover, the same cover Syverson's team had spent years arguing that ordinary people needed.
The next target was bigger. In August 2013, Freedom Hosting went offline after the FBI sought the extradition of a 28-year-old Irish man. Five months later, a site administrator named Aaron McGrath stood in court and heard a sentence of 20 years.
The Europeans moved next. Police from 16 European countries joined US agents in one coordinated operation, and when it ended, Silk Road 2.0 was gone along with 400 other sites. Troels Oerting of Europol said the operation had hit Tor services where criminals had thought themselves beyond reach.
The score looked lopsided, though. Hundreds of sites had been closed, and only 17 people had been arrested. Alan Woodward, a security expert, read the action as proof that Tor is neither invisible nor untouchable. They had gone after the people inside it.
The government's own paperwork hinted at why. When the FBI filed its complaint against Ross Ulbricht, the man behind the original Silk Road, it acknowledged that Tor has known legitimate uses. Ulbricht's site had a stranger side, too. Its administrator, the Dread Pirate Roberts, hosted a political book club there, so readers of one forum might share a relay with someone who was breaking the law.
That left a question for everyone else on the network. Where did an ordinary community stand when the police came looking?
The library that would not switch off
The ordinary community turned out to be a public library. Nima Fatemi of the Tor Project had an idea: put Tor exit relays, the last stops where traffic leaves the network and reaches the open internet, inside libraries. The Library Freedom Project announced the plan as a collaboration with the Tor Project, and Fatemi was its main partner on the work.
Kilton Library in New Hampshire became the pilot. A relay in a reading room was about as far from a Navy laboratory as the idea could travel, and the pilot did not stay quiet for long. The Department of Homeland Security and New Hampshire police stepped in and tried to shut it down.
The library now faced the choice every crowd member eventually faces. It could switch the relay off and let the matter fade, or it could hold its ground and see who came to stand beside it.
People came quickly. A petition supporting the library gathered over 1,700 signatures within 24 hours. Nobody reading the list could say who the signers were, which suited a tool built on not knowing.
The pressure that was meant to end the pilot also advertised it. The Library Freedom Project said the incident prompted more libraries to ask about the exit relay project, and it gave the effect a name: the Streisand Effect, in which an attempt to suppress something only draws more eyes to it.
Syverson's team had learned in a Navy lab that one officer alone on a network of officers is a flag. Now a small town library had found the opposite lesson in public: a crowd forms around whatever someone tries to hide. What nobody could yet say was how large that crowd really was, or who stood in it.
Counting the crowd
To find out how big the crowd was, a team of researchers did something the network's design makes hard: they counted. They set up their own guards, the entry nodes where a user's connection first touches Tor, enough to make up 1 percent of them, and then they sat back and watched who came through the door. They kept watching from the last day of 2018 until mid-August. When they wrote it up for PNAS, they said Tor was the largest anonymity network in operation.
The average day in that stretch brought 2,231,334 connections from around the world. The researchers then asked the question that the raids, the petitions and the Navy's own history had all circled. About 6.7% of those users, they concluded, likely had malicious aims on an average day. The authors did not wave the number away in either direction. They called Tor inherently dual use, a tool that serves the dissident and the dealer alike, and they asked whether its benefits are worth its costs.
Since Snowden's disclosures, the researchers found, the daily count has settled between 2 and 2.5 million users and stayed there. Somewhere in that steady stream sits the institution that started it all, because the US Navy is still a key user of Tor. Syverson's team learned long ago that a lone officer on a network of officers is a flag, and the Navy needs civilians because the crowd is the cover. Today an officer sits down, opens a browser window, and it looks like every other window on the hill.

Cover: Antony-22 · CC BY-SA 4.0 · Wikimedia Commons. Layout and headline text by Signal Titans.
Source: Hiding in the Crowd: How the US Navy's Onion Routing Became Tor · The potential harms of the Tor anonymity network cluster disproportionately in free countries – PMC · Former Acting HHS Cyber Security Director Sentenced to 25 Years in Prison for Engaging in Child Pornography Enterprise | OPA | Department of Justice · New York Man Sentenced to Six Years in Prison for Receiving and Accessing Child Pornography | OPA | Department of Justice · Library Freedom Project · NSA and GCHQ target Tor network that protects anonymity of web users | The NSA files | The Guardian · What is Tor? A beginner's guide to the privacy tool | Internet | The Guardian · NSA and GCHQ agents 'leak Tor bugs', alleges developer – BBC News · Huge raid to shut down 400-plus dark net sites – BBC News

Leave a Reply