Tor Browser

A VPN hides your IP from websites, but your VPN provider still sees everything. For true anonymity—where no single entity can see both who you are and what you’re doing—you need Tor.

Tor (The Onion Router) routes your traffic through multiple volunteer-operated relays. Each relay only knows the relay before and after it. No single point sees the complete picture.

This week, you’ll understand how Tor works, install Tor Browser, and learn when to use Tor versus your VPN.


Understanding Tor

How Tor Works

Tor routes your traffic through three relays:

You → Guard → Middle → Exit → Website

Guard (Entry) Relay:

  • Knows your real IP
  • Doesn’t know your destination
  • You use the same guard for ~2-3 months (protects against timing attacks)

Middle Relay:

  • Only knows the guard and exit
  • Doesn’t know your IP or destination
  • Provides separation between entry and exit

Exit Relay:

  • Knows the destination website
  • Doesn’t know your real IP
  • Sees unencrypted traffic (if not HTTPS)

No single relay knows both who you are AND what you’re doing.

Onion Routing

Your traffic is encrypted in layers, like an onion:

  1. You encrypt for Exit relay (innermost)
  2. You encrypt for Middle relay
  3. You encrypt for Guard relay (outermost)

Each relay peels one layer:

  • Guard sees: encrypted blob + next hop
  • Middle sees: encrypted blob + next hop
  • Exit sees: your actual request + destination

This is why it’s called “The Onion Router.”

Tor vs VPN

FeatureVPNTor
SpeedFastVery slow
Trust requiredVPN providerNo single entity
IP hidden fromWebsitesEveryone
Daily browsing✅ Suitable❌ Too slow
AnonymityPseudonymousAnonymous
Cost$5-10/monthFree
Blocked by sitesRarelyOften

Key difference: With a VPN, you trust your provider. With Tor, you don’t need to trust anyone.

When to Use Tor

Use Tor for:

  • Sensitive research (journalism, activism, whistleblowing)
  • Accessing .onion sites
  • When you can’t trust any VPN provider
  • Maximum anonymity requirements
  • Circumventing censorship in hostile countries

Don’t use Tor for:

  • Daily browsing (too slow)
  • Logging into personal accounts (de-anonymizes you)
  • Torrenting (overwhelms the network, not anonymous)
  • Streaming video (too slow)

Part 1: Tor’s Threat Model

What Tor Protects Against

Tor protects against:

  • ✅ Websites knowing your IP
  • ✅ Your ISP knowing what sites you visit
  • ✅ Any single entity seeing the full picture
  • ✅ Basic traffic analysis

Tor does NOT protect against:

  • ❌ Global adversaries (NSA-level) doing traffic correlation
  • ❌ You logging into personal accounts
  • ❌ Malicious exit relays (use HTTPS!)
  • ❌ Browser fingerprinting (mitigated by Tor Browser)
  • ❌ JavaScript exploits (keep security level high)

Understanding Exit Relay Risks

Exit relays see your unencrypted traffic. A malicious exit could:

  • Read HTTP traffic (not HTTPS)
  • Modify unencrypted downloads
  • Inject malicious content

Protection: Always use HTTPS. Tor Browser enables HTTPS-Only mode by default.

Traffic Correlation Attacks

A powerful adversary watching both your connection to Tor AND the website’s connection FROM Tor could correlate timing to identify you.

This requires:

  • Monitoring ISP-level traffic globally
  • Sophisticated timing analysis
  • Significant resources

Practical concern level: Low for most users, high for those facing nation-state adversaries.


Part 2: Installing Tor Browser

The Tor Browser is a hardened Firefox specifically configured for Tor. Never use regular Firefox with Tor—it leaks data.

Install via Package Manager

sudo apt update
sudo apt install torbrowser-launcher -y

Then launch:

  1. Menu → Internet → Tor Browser
  2. First launch downloads and verifies Tor Browser automatically
  3. Click Connect

Tor Browser’s “Establishing a Connection” first-run screen

Manual Installation (Alternative)

  1. Go to https://www.torproject.org/download/

Tor Project official download page

  1. Download Linux version
  2. Verify the signature (important!):
    # Download the signature file (.asc) alongside the tar.xz
    gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]
    gpg --verify tor-browser-linux-x86_64-*.tar.xz.asc
    
  3. Extract: tar -xf tor-browser-linux-x86_64-*.tar.xz
  4. Run: ./tor-browser/start-tor-browser

First Launch

  1. Tor Browser opens and connects to Tor network
  2. You’ll see onion icon in URL bar
  3. Default page shows “Congratulations. This browser is configured to use Tor.”

check.torproject.org confirming “Congratulations. This browser is configured to use Tor” — the IP it shows is a Tor exit relay, not your real one

Verify Connection

Check that Tor is working:

  1. Visit https://check.torproject.org/
  2. Should say: “Congratulations. This browser is configured to use Tor.”
  3. Your IP shown will be a Tor exit relay, not your real IP

Part 3: Configuring Tor Browser

Security Levels

Click the shield icon next to URL bar → Settings:

Standard:

  • All features enabled
  • JavaScript works everywhere
  • Use for: Low-risk browsing, sites that require JS

Safer:

  • JavaScript disabled on non-HTTPS sites
  • Some fonts and media disabled
  • Use for: Most anonymous browsing

Safest:

  • JavaScript disabled everywhere
  • Many features disabled
  • Use for: Maximum security, sensitive activities

Tor Browser’s “Change security level” dialog — Standard, Safer, and Safest

Recommendation: Start with Safer. Switch to Safest for sensitive tasks. Only use Standard when a site absolutely requires JavaScript.

Essential Settings

Check these settings (Hamburger menu → Settings):

Privacy & Security:

  • HTTPS-Only Mode: Enable in all windows
  • Cookies: Delete when Tor Browser is closed
  • History: Never remember history

Connection:

  • If you’re in a censored country, configure bridges here
  • Otherwise, leave default

NoScript Extension

Tor Browser includes NoScript (pre-configured). The security level controls it:

  • Standard = JavaScript enabled
  • Safer = JS disabled on HTTP
  • Safest = JS disabled everywhere

Generally, let the security level control NoScript rather than manually configuring it.


Part 4: Using Tor Browser Safely

Do’s and Don’ts

Do:

  • ✅ Use HTTPS everywhere (exit relays can see HTTP traffic)
  • ✅ Keep browser window default size (fingerprinting protection)
  • ✅ Use security level “Safer” or higher
  • ✅ Let Tor Browser manage Tor (don’t use system Tor)
  • ✅ Use “New Identity” to reset all state between activities

Don’t:

  • ❌ Maximize the window (unique screen size fingerprints you)
  • ❌ Install additional extensions (can fingerprint or leak)
  • ❌ Log into personal accounts (links your identity to Tor session)
  • ❌ Open downloaded files while online (can reveal IP)
  • ❌ Use for torrenting (slow, not anonymous, overwhelms network)
  • ❌ Enable Flash or other plugins (disabled for good reason)

New Identity vs New Circuit

New Circuit for this Site (right-click → New Tor Circuit):

  • Changes the exit relay for current site
  • Keeps other tabs/state intact
  • Use when: Site is slow, need different exit location

New Identity (Hamburger menu → New Identity):

  • Closes all tabs
  • Clears all state (cookies, logins, cache)
  • Gets new entry/middle/exit relays
  • Use when: Starting new activity, switching contexts

Window Size Fingerprinting

Tor Browser opens to a specific default size. This makes all Tor users look similar.

Don’t maximize. Your unique screen resolution becomes a fingerprint.

If you need more space, resize to common sizes (1920x1080, 1280x720).


Part 5: Accessing .onion Sites

.onion addresses are only accessible through Tor:

What Are .onion Sites?

  • Hosted within the Tor network
  • No exit relay needed (end-to-end encryption through Tor)
  • True hidden services—even the server’s IP is hidden
  • Addresses are long random strings (based on cryptographic keys)

The Safest Way to Find a Site’s Onion: Let the Site Tell You

The most reliable way to reach a site’s .onion is to let the site hand it to you — don’t hunt for onion addresses on the open web; that’s how people land on phishing clones.

Many privacy-respecting sites publish an Onion-Location header. Visit their normal site in Tor Browser and a purple .onion available button appears in the address bar:

Tor Browser’s “.onion available” button and the “Try Onion Services” prompt

Click it (or Visit the .onion) and Tor Browser redirects you to that operator’s own verified onion service — no copy-pasting, no guessing:

The same site now loaded at its official .onion address

Because the redirect comes from the site itself over an authenticated connection, you know the onion is genuinely theirs — far safer than pasting an onion string you found somewhere, since these addresses are long and random by design, which makes look-alike phishing addresses easy to miss.

Legitimate .onion Sites

Many legitimate services offer .onion versions for enhanced privacy:

Search:

  • DuckDuckGo: https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/

Email:

  • ProtonMail: https://protonmailrmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd.onion/

News:

  • BBC: https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/
  • New York Times: https://www.nytimesn7cgmftshazwhfgzm37qxb44r64ytbb2dj3x62d2lljsciiyd.onion/

Social:

  • Facebook: https://www.facebookwkhpilnemxj7asber7w6cknlom23jnbqugr3iwzwg2pxcnqfqd.onion/

Whistleblowing:

  • SecureDrop (various organizations have their own)

Benefits of .onion Sites

  1. No exit relay: Traffic stays entirely within Tor
  2. End-to-end encryption: No risk of exit relay snooping
  3. Mutual anonymity: Server doesn’t know your IP, you don’t know server’s IP
  4. Self-authenticating: Address is derived from cryptographic key

Verifying .onion Addresses

⚠️ Phishing is common. Always get .onion addresses from trusted sources:

SecureDrop directory of verified instances

  • Verified lists from trusted sources

Never trust .onion addresses from:

  • Random internet searches
  • Unverified forums
  • Direct messages

Part 6: Tor with VPN

Tor over VPN

You → VPN → Tor → Website

What each party sees:

  • Your ISP: VPN connection only
  • VPN provider: Tor traffic (but not destination)
  • Tor entry: VPN IP (not your real IP)
  • Website: Tor exit IP

When to use:

  • Your ISP blocks Tor
  • You don’t want ISP to know you use Tor
  • Extra layer of separation

How to do it:

  1. Connect to VPN first (Mullvad from Week 7)
  2. Then open Tor Browser

VPN over Tor

You → Tor → VPN → Website

More complex setup. Use when:

  • Need to access sites that block Tor
  • Need consistent IP for logged-in sessions

Requires special configuration. Not recommended for beginners.

Neither (Tor Only)

For most anonymous activities, Tor Browser alone is recommended:

  • Adding VPN adds trusted party
  • Adds complexity without clear benefit for most users
  • Tor was designed to work alone

Privacy Checkpoint

You now have both VPN and Tor for different threat levels:

What changed:

  • Tor Browser installed and configured
  • You understand when to use Tor vs VPN
  • Access to .onion sites available
  • Maximum anonymity option ready

What you gained:

  • True anonymity when needed (Tor)
  • No single party sees full picture
  • Access to hidden services
  • Censorship circumvention capability

What you traded:

  • Speed (Tor is slow by design)
  • Convenience (many sites block Tor)
  • Some functionality (JavaScript often disabled)

When to use what:

  • Daily browsing: VPN (Week 7)
  • Sensitive research: Tor
  • Maximum anonymity: Tor with Safest level
  • Censored environment: Tor with bridges

Troubleshooting

Tor Browser won’t connect

Try:

  1. Wait a moment—initial connection can be slow
  2. Click “Tor Network Settings” and try connecting again
  3. If in censored country, configure bridges
  4. Check your internet connection works without Tor
  5. Restart Tor Browser

Tor is extremely slow

Normal behavior. Traffic routes through 3 relays worldwide.

Improve slightly:

  1. Try “New Circuit for this Site” (right-click)
  2. Accept that Tor is slow by design
  3. Use VPN for non-sensitive tasks
  4. Close other tabs (each site uses different circuit)

Website won’t load or blocks Tor

Solutions:

  1. Try “New Identity” for fresh circuit
  2. Some sites intentionally block Tor exit IPs
  3. Check if site has .onion version
  4. Accept that not all sites work with Tor

“Something Went Wrong” page

Common causes:

  1. JavaScript required but disabled (try Standard security)
  2. Site blocks Tor exits
  3. Network issues—try New Identity
  4. Site is actually down

Captchas everywhere

Many sites show captchas to Tor users because:

  • Exit IPs are shared by many users
  • Abuse comes from Tor exits

Solutions:

  1. Complete the captcha
  2. Try different site
  3. Try New Identity for different exit

Going Further (Optional)

Tor Bridges

If Tor is blocked in your country, use bridges:

  1. Tor Browser → Connection Settings
  2. Select “Use a bridge”
  3. Options:
    • Built-in bridges (obfs4)
    • Request bridge from torproject.org
    • Enter custom bridges

Bridges are unlisted entry points, harder to block.

Tails OS

Tails (The Amnesic Incognito Live System):

  • Complete OS designed for anonymity
  • Boots from USB drive
  • Routes all traffic through Tor
  • Leaves no trace on host computer
  • Includes built-in security tools

Use for: High-risk activities, extreme threat models

Website: https://tails.net/

Whonix

Whonix runs Tor in a dedicated VM:

  • Tor traffic isolated in separate VM
  • Even malware can’t leak your real IP
  • More complex setup than Tails
  • For long-term anonymous work

Website: https://www.whonix.org/

Running a Tor Relay

Support the Tor network by running a relay:

  • Guard/Middle relay: Safe, helps network
  • Exit relay: More complex legally
  • Requires stable internet and bandwidth

Guide: https://community.torproject.org/relay/


What’s Next

You now have both VPN for daily privacy and Tor for when you need true anonymity. Next, we’ll protect the data stored on your computer with encryption—because privacy isn’t just about network traffic.

Week 9 covers encrypted storage with VeraCrypt, LUKS, and Cryptomator.


Summary

This week you:

  • Understood how Tor provides anonymity through onion routing
  • Installed and configured Tor Browser
  • Learned the security levels and when to use each
  • Practiced safe Tor browsing habits
  • Learned to access .onion sites
  • Understood when to use Tor vs VPN

You now have the ability to browse with true anonymity when needed. Combined with your VPN (Week 7), encrypted messaging (Week 6), and hardened browser (Week 3), you have comprehensive protection for your online activities.


💻 Ready for the command line? Cypherpunk 101 covers Tor with terminal tools and deeper control—onion routing internals, bridges, relays, and SSH-over-Tor: Cypherpunk 101 Week 7: Tor & Onion Routing →

← Back to Week 7: VPNs Done Right

Continue to Week 9: Encrypted Storage →