Threats, Identity and Anonymity

The Science Behind the Dark Web and Online Anonymity

What the dark web actually is, how layered routing such as Tor works, its legitimate uses, and the common myths and real limits of online anonymity.

On this page
  1. Three layers that get confused
  2. How layered routing works
  3. What “onion sites” are
  4. Legitimate uses
  5. Myths and realities
  6. Related ideas worth knowing
  7. Keeping perspective

Three layers that get confused

People often use “deep web” and “dark web” as if they were the same. They are not.

  • The surface web is what search engines index and anyone can reach: public news sites, shops, reference pages.
  • The deep web is everything not indexed by search engines. Most of it is mundane: your email inbox, online banking pages, private documents in cloud storage, company intranets, and the results pages generated when you search a database. It is hidden because it needs a login or a query, not because it is secret or illegal.
  • The dark web is a small part of the internet that can only be reached with special software and that is built to hide who is connecting and, for some sites, where they are hosted.

The dark web is therefore not “the deep web” and is nowhere near as large as popular descriptions suggest. How the broader web fits within the internet is explained in the article on the history of the web.

How layered routing works

The best-known system is Tor, short for “The Onion Router”. It grew out of research into protecting communications and is now maintained as a public project. The key idea is that no single point in the network should know both who you are and what you are doing.

In a simplified version:

  1. Your Tor software picks a path through three volunteer-run servers, usually called relays: an entry, a middle and an exit.
  2. It wraps your data in several layers of encryption, one for each relay, like the layers of an onion.
  3. The entry relay removes the outer layer. It knows your address but not your destination. It passes the data on.
  4. The middle relay removes the next layer. It knows only the entry and the exit.
  5. The exit relay removes the last layer and sends your request to the destination. It knows the destination but not who you are.

Because each relay knows only its neighbours, no single relay can link you to your activity. The path also changes periodically.

This is different from a VPN. With a virtual private network, you trust one company that sees both you and your destinations. In a layered network the trust is spread across several parties, at the cost of speed. Pages usually load more slowly, and some websites treat visitors from these networks with suspicion.

What “onion sites” are

Tor also supports services that exist only inside the network. These addresses end in “.onion” and cannot be opened with an ordinary browser. Both the visitor and the site connect through relays, so each side is hidden from the other, and the site’s physical location is not revealed. This is what most people mean by dark web sites.

Legitimate uses

Anonymity tools are not inherently suspicious. Real uses include:

  • Journalists and sources communicating safely, and news organizations offering secure ways to submit tips.
  • People living under censorship or surveillance who need to reach blocked information or communicate without being identified.
  • Activists and human rights workers protecting themselves and others.
  • Ordinary privacy-minded people who do not want their browsing profiled by advertisers or observers.
  • Researchers and security professionals studying threats.
  • Abuse survivors who need to avoid being tracked by someone dangerous.

Some mainstream organizations also run onion versions of their sites so that visitors in restrictive places can reach them.

Myths and realities

Myth: the dark web is mostly illegal. Illegal marketplaces and criminal forums do exist there, and law enforcement monitors them and has taken many down. But the technology itself is lawful in most countries, has the uses above, and the dark web is only a small share of internet activity. Using these tools to commit crimes remains illegal, and this article is not a guide to anything of the kind.

Myth: it is fully anonymous. Anonymity is a matter of degree. Weak points include:

  • Your own behavior. Logging in to a personal account, using your real name or sharing identifying details defeats the protection.
  • Browser and software flaws. Bugs or misconfiguration can leak identifying information.
  • Traffic analysis. An adversary who can watch both ends of a connection may be able to match patterns in timing and volume. This is difficult but considered a realistic concern for powerful observers.
  • Malicious or compromised relays and sites. Volunteer networks are open to abuse.
  • Human error and investigation. Many publicized arrests followed ordinary mistakes or conventional police work, not a technical break of the network.

Myth: just visiting is dangerous or illegal. In most places, simply running the software is legal, though rules differ by country, and some governments block or restrict it. Risks do exist, including scams, malicious files and disturbing content, so ordinary caution applies. Be as wary of unexpected downloads there as anywhere else, and remember that scams and fraud are common.

Myth: anonymity means safety. Hiding who you are does not protect you from malware, fraud or being tricked. Sellers and sites on any network can be dishonest, and there is generally no consumer protection.

  • Encrypted messaging protects the content of a conversation but not always who is talking to whom.
  • Ordinary tracking across the web is mostly about cookies, accounts and fingerprinting, which is a different problem from hiding a network address.
  • Strong privacy is a trade-off: the more anonymity a tool offers, the slower and less convenient it tends to be.

Keeping perspective

For most people, the realistic privacy gains come from simpler steps: limiting what accounts share, using a private browser and reviewing app permissions. Layered anonymity networks are a specialized tool for people with specific needs, such as avoiding surveillance in a hostile environment. They reflect an important idea in the design of the internet, that privacy and open communication can be built into the system rather than granted by any one company, while also showing that anonymity is hard to achieve fully and easy to lose through small mistakes.

The complete guide to threats, identity and anonymity

Understanding the Basics of Cybersecurity and Threats
Read the guide

Keep exploring

Guides from other topics

All topics →