On October 2, 2013, a 29-year-old resident of San Francisco named Ross Ulbricht was sitting in the science fiction section of the Glen Park Public Library, his laptop open, when FBI agents approached and arrested him before he could close it.

The open laptop was central to what came next. It held an authenticated session to the administrative interface of Silk Road. That was the most prominent online marketplace running on the Tor anonymized network.

With the session open, agents could seize the server's cryptographic keys and the two-year-old marketplace - which had processed approximately 1.2 billion dollars in Bitcoin transactions - was shut down within hours.

What is notable about the arrest is not what it revealed about the power of surveillance technology. It revealed the opposite. Ulbricht was not identified by cracking Tor's encryption. He was not identified through traffic analysis that traced his connections across anonymizing relays.

He was identified because in the earliest days of Silk Road's promotion, he had posted about the site on a drug forum under an account connected to his real Gmail address, and because he had later searched for a programming question on Stack Overflow while simultaneously logged into an account connected to his alias.

The anonymity network itself had not failed. The person operating it had.

This sequence shows a microcosm of what the dark web really is, how it really works and why so much of what the public thinks about it is wrong.


Key Definitions

Surface web - the portion of the World Wide Web indexed by commercial search engines (Google, Bing, DuckDuckGo) and accessible to any user with a standard browser; includes publicly accessible news sites, social media platforms, e-commerce, and most sites most people visit.

Deep web. All internet content not indexed by search engines goes there. Email inboxes, online banking portals, medical records, private corporate intranets, subscription databases (academic journals, legal databases), password-protected material and dynamically generated pages are included. About 90 to 96 percent of total internet content is thought to be in the deep web and it is not in itself secretive.

Dark web. This is a small part of the deep web that is deliberately made anonymous and needs special software to get in. Servers and users have their physical locations and identities hidden on networks that host the content and .onion sites are included that can be reached via Tor.

Tor (The Onion Router). This is a free, open-source anonymity network and browser that routes internet traffic via a series of volunteer-operated relay nodes and encrypts it at each step. The U.S. Naval Research Laboratory developed it originally in the mid-1990s.

Onion routing. This is the encryption and routing protocol that Tor runs on. Traffic gets encrypted in many layers and each relay decrypts only its own layer and reveals only the next destination. The idea of peeling an onion comes from stripping one layer of encryption at each relay node.

.onion address - a special-use domain name suffix available only within the Tor network, identifying a "hidden service" whose physical server location is concealed; examples include the BBC (bbcnewsd73hkzno2.onion) and the New York Times (nytimesn7cgmftshazwhfgzm37qxb44r64ytbb2dj3x62d2lljsciiyd.onion).

Exit node - the final relay in a Tor circuit, which connects to the destination website on the user's behalf; the exit node sees the unencrypted destination and content (unless HTTPS is used) but not the origin of the request.

Guard node (entry node) - the first relay in a Tor circuit; knows the user's real IP address but not the destination or content of the traffic.

I2P (Invisible Internet Project) - an alternative anonymizing network architecture; uses a different routing approach (garlic routing) and is designed primarily for anonymous communication within the network rather than anonymous access to the regular internet.

Operational security (OpSec) - the practices and behaviors that determine whether an individual's anonymity is maintained in practice; technical anonymity (Tor) is necessary but not sufficient - OpSec failures are the primary cause of de-anonymization.


Three Layers of the Internet

Though the boundaries between them are not always clean, the conceptual framework most often used to explain the dark web divides internet content into three layers.

The Surface Web

The surface web is the internet most people experience: websites that search engines crawl, index, and return in response to queries.

A search for "annual rainfall in Peru" brings up Wikipedia articles, meteorological databases and news stories. Search engine crawlers have found their URLs, their content has been analyzed and they have been put into searchable indexes.

The surface web is, by number of pages and content volume, actually a minority of the total internet.

It is estimated that Google's index covers somewhere between 4 and 10 billion pages - a substantial number but, according to estimates by computer scientists including Michael Bergman, representing approximately 4% of total internet content.

The Deep Web

The deep web is simply everything not in a search engine's index. This is an enormous category that encompasses almost all of the internet's actual content, and it is largely benign. When you log into your bank account, you are accessing the deep web - your account balance is not in Google's index.

When a doctor looks up your medical records, they are accessing the deep web. When a researcher accesses a paywalled journal article through a university database, they are accessing the deep web. When a company employee reads internal documents on the corporate intranet, they are accessing the deep web.

Most web content comes out dynamically in response to specific queries as a search result page, a product listing or a streaming video and is accessible only via forms or authenticated sessions or is intentionally kept out of search indexing. That is what gives the deep web its size and reflects the structure of the web.

None of this is mysterious or criminal; it is simply content that was not designed to be universally discoverable.

As a persistent and significant error, media coverage keeps mixing up "deep web" with "dark web".

Confusing deep web (mundane, enormous and largely uninteresting) with dark web (small, specifically anonymized and deserving the scrutiny it gets), a news story that says the deep web is 500 times bigger than the surface web and full of illegal material most often gets things wrong.

The Dark Web

The dark web is a small, specifically architected portion of the deep web that is designed for anonymity. The defining feature is not that it is illegal or secret in general, but that the architecture of the networks hosting it obscures the location and identity of both servers and users.

The primary technology enabling the dark web is Tor. A secondary network, I2P (Invisible Internet Project), provides similar capabilities through a different technical approach. Secondary systems including Freenet and ZeroNet provide still other architectures for anonymous communication and content hosting.


How Tor Works

The Origin

Beginning in 1995, mathematicians David Goldschlag, Michael Reed and computer scientist Paul Syverson at the United States Naval Research Laboratory built up the technical foundation for Tor. The original design goal was specifically military and intelligence.

It was to give U.S. intelligence personnel a way to get online resources and to communicate without giving away their physical location or identity to foreign adversaries, to domestic or foreign surveillance or to hostile state actors.

The foundational paper, "Hiding Routing Information" by Goldschlag, Reed, and Syverson, was presented at the Information Hiding Workshop in Cambridge in 1996.[1]

The project was subsequently expanded by Roger Dingledine and Nick Mathewson, who worked at the Naval Research Laboratory as contractors and designed the actual Tor protocol and software.[2] Tor was first released publicly in 2002.

In 2006, the Tor Project was incorporated as a nonprofit organization to maintain and develop the software. It is funded by a mixture of grants from the U.S. State Department, the National Science Foundation, private foundations, and individual donors.

The U.S. government continues to give financial support and that is not contradictory. A strong global anonymity infrastructure works for American interests by making it harder for authoritarian governments to monitor American intelligence assets and diplomatic communications operating abroad.

The Onion Routing Mechanism

Standard internet traffic works as follows: your computer sends a request to a destination server, revealing your IP address (your internet identifier) to the destination and to every router that handles the traffic in between.

With HTTPS, the content of the request is encrypted, but the routing information (who is talking to whom) remains visible to your internet service provider, to network-monitoring authorities, and to the destination.

Tor's onion routing addresses the routing information problem. When you use the Tor browser:

  1. Your computer downloads a current list of Tor relay nodes from directory servers.
  2. Three nodes make up the circuit that your Tor client chooses. They are a guard node, a middle relay and an exit node.
  3. Your traffic is encrypted three times: once with the exit node's key, then with the middle relay's key, then with the guard node's key. This creates three nested layers of encryption - the "onion."
  4. Your computer sends the triple-encrypted traffic to the guard node.
  5. The guard node decrypts the outermost layer (using its own key), revealing only the address of the middle relay. It cannot read the inner content or the final destination. It forwards the doubly-encrypted traffic to the middle relay.
  6. Decryption of the next layer happens by the middle relay that reveals only the address of the exit node. What remains gets forwarded to the exit node by the middle relay.
  7. At the same time, the exit node decrypts the last layer and shows what the actual destination is. The connection goes on from there for the exit node to connect to the destination server on your behalf and sends the response back through the circuit reversed.

The result: the guard node knows your IP address but not where you are going. The middle relay knows nothing about you or your destination. The exit node knows the destination but not your IP address. No single node has both pieces of information. The destination site sees the exit node's IP address, not yours.

Strong anonymity against passive observation is what this architecture gives. Active attacks are where its weaknesses lie. An adversary who can watch both the entry and exit points of the network at once can use timing correlations to connect traffic. This is a known weakness that sophisticated state-level adversaries may be able to exploit though there is no public record of routine successful exploitation.

Hidden Services and .onion Addresses

Tor's hidden service protocol allows servers, not just clients, to be anonymized. A server operating as a Tor hidden service selects a set of "introduction points" in the Tor network and publishes a public key derived address - the .onion address - to Tor's distributed hash table.

Through the Tor network, both sides set up connections to a rendezvous point that they choose together and once established, communication goes on without either side knowing the other's IP address. That is what happens when a client wants to connect to the hidden service.

This is why the BBC (bbcnewsd73hkzno2.onion), the New York Times, Facebook, and hundreds of legitimate organizations operate .onion versions of their sites.

These hidden services allow users in censored countries to access their journalism without revealing to local authorities that they are doing so, and without the censors being able to easily block the connection.


What Is Actually on the Dark Web

Exclusively linked in the popular mind to criminal marketplaces, contract killers, child abuse material and weapons dealers is the dark web. The picture is misleading in how much it shows but it is not altogether wrong about what it shows.

The Legitimate Majority

Academic studies of dark web content have consistently found that the majority of dark web traffic and sites involve legal activities:

  • Privacy forums and secure communication platforms
  • News organizations around the world use the SecureDrop platform to get documents from sources and it functions as a Tor hidden service. Whistleblowing infrastructure works that way.
  • .onion versions of major legitimate websites including the BBC, New York Times, Facebook, Wikipedia, and the CIA's own recruitment site (ciadotgov4sjwlzihbbgxnqg3xiyrg7so2r2o3lt5wz5ypk4sxyjstad.onion)
  • Political dissident communication and censorship circumvention
  • Legal drug harm-reduction information and forums
  • Privacy-focused email and file-sharing services

Analysis by researchers at King's College London and Carnegie Mellon University of .onion sites published in 2016 research found that about 47% of dark web sites hosted content that was not illegal. About 29% were about drugs and the rest consisted of a mix of cybercrime services, fake documents and other illegal material.[3]

A 2020 follow-up study found that illegal content had decreased as a proportion.

Drug Marketplaces

The dark web's most commercially significant use has been online drug marketplaces. Following the Silk Road model, dozens of successor platforms have emerged and been shut down: Silk Road 2.0 (2014), Agora (2015), AlphaBay (2017), Hansa (2017), Dream Market (2019), and many others.

These marketplaces function similarly to eBay or Amazon (with vendor ratings, escrow systems, dispute resolution, and customer reviews) applied to Schedule I substances and other controlled items.

The economic scale is substantial. The United Nations Office on Drugs and Crime put the figure at about 315 million dollars in cryptocurrency from darknet drug markets in its 2019 estimate and growth continued.

Still, that figure is large but small compared to the total illicit drug economy estimated by the UN at hundreds of billions of dollars a year.[6]

Existing demand moves to a different distribution method in the dark web rather than total drug use expanding.

Cybercrime Services

Cybercrime services such as markets for stolen financial credentials, ransomware-as-a-service platforms, DDoS-for-hire services, fake identity documents and access to compromised networks can be found on dark web markets.[5] The services there are real, active and significant.

They represent genuine harm and are a primary focus of law enforcement operations.

What Does Not Exist

Several categories of dark web content are significantly overblown in public discourse:

  • There is no documented case for "red rooms." These are live-streamed torture and murder that persist as an urban legend
  • Hitman services are almost uniformly exit scams (collecting payment and disappearing) or law enforcement operations
  • Though exploitation-related content exists, human trafficking auctions as commonly described do not appear as an organized dark web institution in the documentation.

Silk Road: The Demonstration Case

In January 2011, Ross Ulbricht launched Silk Road. Access to the platform came only via Tor and transactions were in Bitcoin alone, then a digital currency that was still niche. Physical goods went from vendors to buyers by conventional postal service with the platform having no direct link to them.

At its peak, Silk Road listed approximately 13,000 drug products from thousands of vendors worldwide.[4] The FBI's investigation, conducted in partnership with DEA, IRS, and other agencies, ran for two years.

How dark web anonymity works in practice gets shown by the investigation's success. Ulbricht was linked to Silk Road not by breaking Tor but through.

  • A post on the forum Shroomery.org in January 2011 mentioning "Silk Road, a new anonymous online drug marketplace" and signed with an email address later connected to Ulbricht
  • A question on Stack Overflow posted under the username "frosty" on the same day, from an account connected to his real identity
  • Server logs from a VPN service he had used, subpoenaed by authorities
  • The discovery of a server in Iceland that was hosting Silk Road infrastructure, which Icelandic authorities seized through conventional law enforcement channels

After Ulbricht's arrest, prosecutors presented evidence that he had ordered murders of three people he believed to be threats to the marketplace - though no bodies were ever found and the murder-for-hire transactions themselves appear to have been fraudulent.

In February 2015 he was convicted on charges that included drug trafficking, continuing a criminal enterprise and money laundering and got a sentence of two consecutive life terms plus forty years.

Both that large-scale criminal operations on the dark web can be run. That they are mainly vulnerable through human operational security failures rather than through cryptographic attacks were established by the case.


I2P: The Alternative Architecture

I2P (Invisible Internet Project) is an alternative anonymizing network that takes a different technical approach from Tor.

While Tor is designed primarily as an overlay network for anonymous access to the regular internet (using exit nodes to reach standard web servers), I2P is designed primarily as a self-contained anonymous network for communication between I2P participants.

I2P uses "garlic routing" (bundling multiple encrypted messages together) as well as a distributed hash table for network directory information.

It does not use centralized directory servers as Tor does, making it potentially more resistant to certain attacks on the directory infrastructure. I2P sites are addressed as ".i2p" domains and are accessible only within the I2P network.

I2P has a smaller user base than Tor and is used primarily for file sharing, anonymous communication, and by a technical community interested in its different threat model. It does not have the same ecosystem of marketplaces and services as the Tor dark web.


Law Enforcement Capabilities

Without breaking Tor's cryptography, law enforcement agencies around the world have run successful operations against dark web criminal infrastructure. The methods used are these.

Operational security exploitation. This is the most common method. Mistakes by users and operators give away identifying information. Personal email addresses get used, logins come from home and usernames get reused. Purchases link back to the user's physical address.

Exit node monitoring: Exit nodes, where Tor traffic re-enters the regular internet, can be operated by law enforcement agencies or monitored with their cooperation. Traffic analysis at exit nodes can identify unencrypted content and, in some cases, correlate it with identifying information.

Server seizure: If a dark web service can be located and its hosting server seized before the operator is arrested, forensic analysis may yield private keys, logs, and other identifying information.

Undercover operations. With law enforcement agencies working as vendors and buyers on dark web marketplaces and developing cases using standard investigative techniques, undercover operations are how law enforcement operates on dark web marketplaces.

Cryptocurrency tracing: Bitcoin and most cryptocurrencies are pseudonymous, not anonymous. Every transaction is recorded permanently on the public blockchain.

By using sophisticated blockchain analysis, funds from illegal marketplaces can be traced through exchange points where users converted to regular currency. Exchanges hold Know-Your-Customer records that identify the users this way.

Operation Onymous (2014) was a joint FBI-Europol operation that took down hundreds of dark web .onion services at once and arrested seventeen people. How the operation worked technically was not made public. Researchers went on to identify what they thought was an attack that succeeded by revealing IP addresses because servers had been misconfigured.

AlphaBay and Hansa (2017) were the two largest dark web drug markets at the time of their takedown. AlphaBay was shut down after its operator, Alexandre Cazes, was identified and arrested in Thailand - again through operational security failures including using his personal email address in the site's welcome message.

Operated by the Dutch National Police for 27 days following its seizure before making the takedown public, Hansa was used during that time to gather information on users.


Privacy, Anonymity, and Their Limits

The practical tradeoffs of Tor anonymity are significant:

AspectStandard BrowserTor Browser
Connection speedNormal (milliseconds per request)Significantly slower (3-10x typical overhead from multi-hop routing)
Website compatibilityFullSome sites block Tor exit nodes; some JavaScript features disabled for security
Anonymity from ISPNone (ISP sees all destinations)Strong (ISP sees Tor guard node only)
Anonymity from destinationNone (site sees your IP)Strong (.onion sites); partial (exit node IP revealed for regular sites)
Anonymity against traffic analysisN/APartial; vulnerable to global passive adversaries observing both ends of connection
Resistance to malwareStandardImproved (restricted JavaScript, no plugins) but not absolute

The primary legitimate uses of Tor fall into several categories that reflect genuine threats:

  • Sources are protected by journalists (and the Freedom of the Press Foundation actively recommends that all news organizations use SecureDrop's Tor integration).
  • In countries where the internet is censored and surveilled politically dissidents make up large parts of Tor usage (Russia, Iran and China are among them)
  • Domestic abuse survivors seeking information without revealing their location or browsing history to abusers
  • Researchers, security professionals, and law enforcement personnel who need to study dark web content without revealing their institutional affiliation
  • Privacy-conscious individuals who simply do not want their ISP or advertising networks tracking their browsing behavior

Tor is recommended as a legitimate privacy tool by the Electronic Frontier Foundation, Reporters Without Borders and Amnesty International.

"Tor is a tool. A very powerful one. The argument that criminals use it is true, in the same way criminals use telephones, cars, and encryption - and in none of those cases is the correct response to ban the tool."

Roger Dingledine, Co-founder, Tor Project

The Scale Problem in Context

Daily reality shows the dark web as a small, technically complex, somewhat slow and mostly unremarkable part of the internet. It is used by journalists, privacy advocates, people in places where surveillance is oppressive and curious technologists as well as by a meaningful minority whose activities are really illegal.

As a social phenomenon its importance is real. It shows that anonymizing technology works, that criminal markets change when law enforcement puts pressure on them. That state-level surveillance is not all-powerful and it also shows that the design of communication networks sets what activities can be carried out.

Yet the dark web is not by any accurate measure a huge criminal empire. It is a small, interesting technical ecosystem where the public picture is systematically more dramatic than what its actual contents hold.

Sources

  1. Goldschlag, D., Reed, M., & Syverson, P. (1996). Hiding routing information. In Proceedings of Information Hiding: First International Workshop, Lecture Notes in Computer Science, vol. 1174. Springer. View source
  2. Dingledine, R., Mathewson, N., & Syverson, P. (2004). Tor: The second-generation onion router. In Proceedings of the 13th USENIX Security Symposium.
  3. Moore, D., & Rid, T. (2016). Cryptopolitik and the darknet. Survival, 58(1), 7-38. View source
  4. Christin, N. (2013). Traveling the Silk Road: A measurement analysis of a large anonymous online marketplace. In Proceedings of the 22nd International Conference on World Wide Web, pp. 213-224. View source
  5. Baravalle, A., Lopez, M. S., & Lee, S. W. (2016). Mining the dark web: Drugs and fake IDs. In Proceedings of the 2016 IEEE 16th International Conference on Data Mining Workshops. View source
  6. United Nations Office on Drugs and Crime. (2020). World Drug Report 2020. United Nations. DOI: 10.18356/def49545-en

Further Reading

  • Maddocks, S. (2020). A 'dark web' of radical right networks? Political communication and online infrastructure of the far-right. New Media & Society, 22(10), 1728-1753. DOI: 10.1177/1461444820915905
  • Jardine, E., Lindner, A. M., & Owenson, G. (2020). The potential harms of the Tor anonymity network cluster disproportionately in free countries. Proceedings of the National Academy of Sciences, 117(50), 31716-31721. View source