Skip to main content
Dark Web, Anonymity Networks and Threat Monitoring
Lesson 6 of 11

Dark Web, Anonymity Networks and Threat Monitoring

Distinguish the Surface Web, Deep Web, and Dark Web, explain how Tor onion routing and I2P work, and apply legal and defensive precautions when studying dark web threats.

Beginner 20 min Fundamentals

Learning objectives

  • Distinguish the Surface Web, Deep Web, and Dark Web by access method and indexing
  • Explain how Tor onion routing hides client and destination metadata across Guard, Middle, and Exit relays
  • Compare Tor with alternative overlay networks such as I2P and Freenet
  • Identify legitimate privacy uses, criminal abuse, law enforcement investigation methods, and analyst safety rules

Recommended first: Cybercrime: Threat Actors, Attack Models, and Defence

#Why this matters

Security analysts and OSINT practitioners often encounter mentions of leaked credentials, stolen cards, and extortion blogs on the Dark Web. Popular myths blur the line between private everyday systems (like online banking) and anonymous overlay networks. Knowing how these layers actually work lets defenders separate fact from hype, monitor leaks safely, and stay inside legal boundaries.

#Three layers of the internet

The web is divided into three conceptual layers by indexing and access method. Exact percentages in popular infographics are unverified estimates because private databases cannot be counted directly. What matters is the structural difference:

  1. 1Surface WebIndexed by search engines (news, Wikipedia, public portals)
  2. 2Deep WebVast majority of web data, legal but behind login (banking, email, medical)
  3. 3Dark WebSmall encrypted overlay requiring Tor or I2P (.onion and .i2p services)
  • Surface Web holds public pages indexed by Google and Bing, open in any regular browser.
  • Deep Web makes up the vast majority of online content. It is legal and ordinary: webmail, online banking, university intranets, academic databases, and medical records behind authentication.
  • Dark Web consists of encrypted overlay networks on top of the regular internet. Accessing .onion or .i2p services requires dedicated software such as Tor Browser or an I2P router.

#How Tor onion routing and alternative networks work

Tor (The Onion Router) originated from 1990s U.S. Naval Research Laboratory work to protect communications. Instead of connecting directly, Tor builds a three-hop circuit through volunteer relays and wraps each packet in three encryption layers, like onion skins.

  1. YouRequest wrapped in three encryption layers
  2. G1Guard node peels outer layer and hides your IP
  3. MMiddle relay peels second layer and forwards traffic
  4. ExExit node peels final layer and sends request to destination
  5. TargetRegular site (example.test) or internal .onion service

Each relay peels only one layer: the Guard node knows your IP but not the destination, the Middle relay knows neither end, and the Exit node knows the destination but not your IP. For .onion services, traffic stays entirely inside Tor using cryptographic rendezvous points without an exit node. Modern v3 .onion addresses are 56-character base32 strings derived from the service's public key, such as placeholder example56charplaceholderaddress0000000000000000000000000.onion.

Tor has trade-offs: multiple hops reduce speed, some countries block direct Tor connections, malicious exit nodes can inspect unencrypted clearnet traffic, and browser JavaScript exploits can expose a user's identity.

Network Routing model Primary focus
Tor Onion routing (3-hop circuits) Anonymous web browsing and .onion services
I2P Garlic routing (peer-to-peer tunnels) Internal .i2p services and file sharing
Freenet Decentralized distributed storage Censorship-resistant publishing and storage

Before running privacy tools in a lab, defenders verify checksums rather than trusting random mirrors.

Verifying a downloaded checksum in a defensive lab
$ sha256sum tor-browser-linux-x86_64.tar.xz
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  tor-browser-linux-x86_64.tar.xz
$ curl -sI https://example.test | head -n 1
HTTP/2 200

#Legitimate uses, illegal markets, and law enforcement

Anonymity technology is dual-use. Legitimate uses include journalists protecting anonymous sources, activists communicating in censored states, whistleblowers exposing corruption safely, researchers studying threats, and citizens reducing surveillance.

Illegal uses include markets for narcotics, stolen credit cards, leaked credentials, attack-for-hire services, and money laundering. However, anonymity is never absolute: agencies such as the FBI, Europol, and national police shut down major illegal markets including Silk Road, AlphaBay, and Hydra Market.

Investigators typically combine several methods:

  • Opsec mistakes: criminals reuse usernames, emails, or hosting linked to their real identities.
  • Blockchain analysis: tracing public Bitcoin ledgers toward regulated exchanges.
  • Exit node monitoring and traffic correlation: analyzing timing patterns and unencrypted exit traffic.
  • Vulnerabilities and undercover operations: exploiting misconfigured .onion servers and international undercover work.

#Defending / Common mistakes

Organizations should monitor leaks through vetted breach-monitoring services and authorized intelligence feeds rather than sending untrained staff into underground forums.

When an authorized analyst inspects an untrusted page in Tor Browser inside an isolated lab, set Tor Browser to "Safest" mode to disable JavaScript, verify HTTPS so exit nodes cannot read plaintext, keep the browser updated, and never enter personal or corporate data.

Common mistakes: confusing Deep Web with Dark Web, assuming Tor makes crime untraceable, leaving JavaScript enabled on untrusted sites, downloading executables onto a host machine, or assuming a VPN alone replaces Tor.

#Summary

  • The web comprises the indexed Surface Web, the private legal Deep Web (the vast majority), and the small encrypted Dark Web.
  • Tor uses onion routing across Guard, Middle, and Exit relays; I2P uses peer-to-peer garlic routing for internal .i2p services.
  • The Dark Web serves both legitimate privacy users and illegal markets.
  • Law enforcement dismantles criminal markets via opsec mistakes, blockchain analysis, exit monitoring, vulnerabilities, and undercover operations.
  • Defenders rely on authorized leak monitoring, strict legal boundaries, and Tor Browser's "Safest" mode.

Knowledge check

Sign in to take the test, complete lessons and save your progress. Log in

Practice: test your knowledge