Module 00 · Start here

Hardening

When you move into a new apartment, you still suspect that the previous tenant might have a key, so you change the locks. That same mentality needs to be applied to your phone and laptop, because the company that sold you the device still has the key. Hardening is changing those locks.

01 Why now
Your carrier records which cell towers your phone connects to, retains that data for years, and provides it to law enforcement on request.2 A basic search of your devices at the border requires no warrant.4648
02 What they use
On the cellular network, a cell-site simulator, or IMSI catcher, impersonates a cell tower; nearby phones connect to it, and it collects their location, calls, and texts.439 At a checkpoint, commercial extraction tools image a seized phone through its USB port; what they get depends on the state you left the phone in.14
03 Overview
This module has nine units. They cover a threat model, device leaks, phone lockdown, account security, laptop hardening, SSH keys, and verification, and they end with a field exercise and a test.
On this page
01

Threat modeling

Nothing is ever fully secure, and the more secure something is, the more restricting or inconvenient it generally is.6 Since it is impossible to protect against every attacker, you focus on the most probable threats. That list of the most probable threats is your threat model.

Privacy and anonymity are not the same. The Hitchhiker's Guide puts it plainly: "Privacy is about people knowing who you are but not knowing what you are doing," and "Anonymity is about people knowing what you are doing but not knowing who you are."7 Total anonymity is for whistleblowers and journalists whose lives depend on it; most people do not need to go that far.3 What you need is a threat model: a short list of the threats most likely to affect you, because you cannot defend against every attacker.6

You rank your adversaries by capability and by risk. Privacy Guides pairs the two: risk is the likelihood a threat "will actually occur," and it "goes hand-in-hand with capability."6 At the bottom are the ones who collect data from everyone by default: advertising networks like Google and Facebook and the data brokers behind them.3 Above them are the ones who target you in particular: a security service that has taken an interest in you, or an attacker on the network you are on.6 At the top sit government agencies, which "might have stronger capabilities"6 than any other adversary but are the least probable threat for most people. This module defends against the middle tier: the adversaries who target you in particular but are not government agencies.

Check on learning
Which of the following best defines a threat model?
02

What your device reveals

Surveillance reaches you on four distinct layers. The lowest is the carrier layer, the SIM and the cellular baseband, which runs below the operating system and reports your location to the carrier no matter what you change. Above it sits the device layer, the OS and the applications it runs, leaking telemetry, hardware identifiers, and radio broadcasts by default. On the network layer, DNS queries, routing, and IP addresses reveal what you access even when the contents are encrypted. The service layer is everything you hand over to a platform; it sits on the platform's servers, and a court order or a breach hands it to an adversary.

The tool below reads what your browser exposes: your IP address, your location, and your device fingerprint.

Open any page and your browser hands the site a list of details about your device, no login required: the browser and version you run, the size of your screen, the fonts you have installed, and the exact way your graphics chip draws a hidden test image.34 No single detail identifies you, but if that combination is unique it becomes your fingerprint, and a tracker can recognize you on your next visit.34 A cookie is the small file a site saves in your browser to recognize you next time, and you can block it or delete it; a fingerprint leaves no such file, so there is nothing to clear, and changing your IP address with a VPN does not change it.34 Brave blocks fingerprinting scripts by default, though that does not stop all fingerprinting, and Mullvad Browser and Tor Browser go further: they make every user hand over the same answers, the only way to thwart advanced tracking scripts, because you blend into a crowd.35

Your browser can also reveal your real IP address while a VPN is running. WebRTC is a browser feature for real-time voice, video, and data. To open a direct connection between two browsers, it discovers the device's own IP addresses, including the local network address and the public one, and a web page can run this discovery with no permission prompt and no visible call. If the VPN routes only part of the device's traffic, or runs as a browser extension rather than for the whole device, this discovery can report the real public address the VPN is meant to hide. You confirm your own browser does not leak this way with a WebRTC leak test in Unit 07.

Fingerprinting is not limited to what a page's JavaScript reads. The TLS handshake that begins every HTTPS connection follows a pattern specific to the browser and its version, recorded as a value called a JA3 or JA4 fingerprint. The set and order of the HTTP headers, the User-Agent string, and the Client Hints the browser sends each describe the browser and the operating system. The parameters of the TCP/IP packets describe the operating system as well. Blocking JavaScript, clearing cookies, or opening a private window changes none of these. This is the reason Mullvad Browser and Tor Browser make every user identical: they normalize these lower layers too, so you match the crowd at each layer and not only in JavaScript.

Your ISP can still see that you connect to the Tor network, and ISPs and governments may compile lists of Tor users from that visibility, so a lone Tor user on a low-traffic connection stands out.36 Tor Browser ships with bridges for that visibility, and you leave it unmodified, because any non-standard setting pushes you out of the very crowd you are hiding in.36 Bridges carry a limit of their own: they may provide adequate censorship circumvention, but that is a transient benefit. They do not adequately protect you from your ISP discovering you connected to Tor in the past through historical traffic-log analysis, because bridge IPs are discovered and blocked, just not immediately.44

While a SIM is in the phone and its radio is on, the phone registers with the cell towers around it, and the carrier records which towers it connects to; that record is your location over time.11 The cellular baseband that does this runs below the operating system, so no app permission or setting on the phone reaches it. Airplane mode is a software command to those radios to stop transmitting; while it is set, the phone no longer registers with towers and, by default, stops actively scanning the Wi-Fi access points and Bluetooth devices around it that Apple and Google map to a location more precise than GPS.7 But it is a setting the operating system asks the closed baseband to honor, not a hardware cut, and a powered-off phone is not necessarily silent: iPhones, recent Samsung phones, and Macs keep broadcasting an identifier over Bluetooth Low Energy so the Find My network can locate them while offline,7 and an iPhone 11 or later on iOS 15 or later holds its Bluetooth chip in an ultra-low-power state that pings the Find My network for up to twenty-four hours after you turn it off.41 Neither airplane mode nor power-off erases the location history already collected, and the only way to be certain a device emits nothing is to seal the device in a Faraday bag, which blocks all radio frequency signals.7

Your laptop, your wireless earbuds, your smartwatch, your fitness tracker, and the key finder clipped to your bag each broadcast a wireless identifier of its own. Your phone does the same, sending out Wi-Fi and Bluetooth probe requests that carry its identifiers even when it connects to nothing.8 A system sold to law enforcement, Leonardo's ELSAG SignalTrace, pairs sensors with license-plate cameras to capture those Bluetooth, Wi-Fi, and RFID signals and bundle them into a single electronic signature.2728 Seventy cars in a hundred may carry an iPhone, but only one carries that iPhone plus an Audi radio, a pair of Bose headphones, a Garmin sports watch, a key finder, and one specific license plate. That combination of devices is the electronic signature that identifies the vehicle.27

Every application, website, and service begins with a DNS lookup: your device asks a name server to translate a hostname to an IP address, and by default that query goes in plaintext to your ISP's resolver before the connection opens. The ISP sees the domain name of every site you visit.9 That record does not stay with the ISP: the FTC found that ISPs in its study use web browsing data to target ads, combine it with app-usage and personal information, and share real-time location data with third parties.49 Leaked NSA documents published by Le Monde show the agency ran MORECOWBELL, a covert program monitoring DNS lookups at scale, with a companion program able to intercept and rewrite DNS answers.10 One detail worth knowing now, because it undoes work you do later: a hardened browser resolves DNS through its own encrypted channel by default, which sends its lookups to a provider the browser chose rather than to any resolver on your network. That is fine until Module 01, where you build your own resolver. At that point you turn the browser's own setting off, or it bypasses the resolver you just stood up.

Your messages raise a separate question: who can read the contents at each hop, not just who you contacted and when. The answer depends on which layer of encryption the service uses.

Do it now

You install a fingerprint-resisting browser. Brave blocks trackers and scrambles the canvas, WebGL, and audio signals that fingerprinting scripts read, though Brave itself warns a determined, targeted attacker can still beat it;42 Mullvad Browser and Tor Browser make every user report the same traits when you need to be unlinkable.

You route your connection through a VPN. Mullvad replaces the IP address and location the check showed with its own, and takes cash or Monero so the account does not tie to your name. A VPN moves the record of what you reach from your ISP to the VPN, so you pick one that publishes a no-logs audit. The replacement address is recognizable as a VPN: it belongs to a hosting provider's range rather than a residential one, and a site can look it up and see that. Some sites block or challenge these ranges. A VPN hides your traffic from your ISP; it does not make you anonymous.

For messaging, you keep the keys and the server in your hands. Privacy Guides points to Matrix, the network behind Element, as a censorship-resistant platform that "doesn't have a centralized account authority that can close accounts arbitrarily."3 Module 01 builds that Matrix server on hardware you run, so the encrypted content and the machine that relays it are both yours.

Check on learning
You open a news site through a VPN, in a private window, without logging in. A week later you do the same thing from the same laptop. Can the site connect the two visits?
Law enforcement serves your carrier with a court order for your location history. You run a VPN, you use a hardened browser, and no app on your phone has location permission. What does the carrier hand over?
You type a website's address into your browser at home. You have not set up encrypted DNS. What does your internet provider see before the secure connection to the site opens?
03

Lock down the phone

The interactive below maps each exposure point on the phone, and on what you carry with it, to what closes it, in three categories: red is the exposure no phone setting reaches, amber is the exposure a setting closes, and green is the exposure that only a different operating system closes. The carrier and SIM are red because the baseband that registers your phone with the towers runs on its own processor below the operating system, outside any app permission or toggle. DNS is amber: every connection opens with a name lookup that, by default, leaves the phone unencrypted on UDP port 53 to the resolver your ISP assigned, where it can be surveilled or modified in transit; the fix is to point the phone at an encrypted resolver, over DNS over TLS or HTTPS, now, and to run your own in Module 01.9

Physical access to the phone creates a threat distinct from remote collection. Law enforcement and intelligence agencies use commercial extraction tools that connect through the phone's USB port and image device storage directly. Cellebrite UFED is one of the most widely documented.14 Leaked Cellebrite capability documents from October 2025 show how much the device state matters: per the published reporting, locked stock Pixels yield some information even before first unlock, while every locked Pixel 9 running current GrapheneOS was listed as inaccessible, and older GrapheneOS builds yielded only partial results.45 What those tools can pull depends on the phone's encryption state. A phone that has not been unlocked since it last booted is in the Before First Unlock (BFU) state: the disk encryption keys have not been loaded into memory, and extraction tools find no usable key material. Once you unlock the phone after boot, it enters the After First Unlock (AFU) state: the keys sit in memory and some tools can recover them without knowing your PIN.12 Advanced Protection on Android and Lockdown Mode on iPhone both block USB data transfer while the phone is locked, which closes the extraction path.1516 If you anticipate a stop, search, or seizure, powering the phone off instead of locking the screen restores BFU state. EFF's border guidance says the same for the checkpoint specifically: enable full-disk encryption, not just a screen lock; disable biometric unlocks in favor of a strong passcode; and power down your devices. How far you can refuse depends on status: U.S. citizens must be let back into the country, lawful permanent residents generally must be as well, and other non-citizens who refuse to comply may be denied entry.46

Do it now

You update the device and confirm it still receives updates. Android: Settings → System → Software update. iPhone: Settings → General → Software Update; you turn on Automatic Updates. A phone past its support window stops getting fixes and becomes the weak point.

You set a strong lockscreen. You choose a six-digit-or-longer PIN or passphrase and a short auto-lock. A fingerprint is convenient, but someone can press your finger to the phone while you are stopped or detained. A PIN stays in your head, and they cannot lift it the same way. If that is your threat, set a PIN and turn the fingerprint off. Android: Settings → Security & privacy. iPhone: Settings → Face ID & Passcode.

You turn on the high-risk protection mode. On Android 16, Advanced Protection (Settings → Security & privacy → Advanced Protection) disables 2G, blocks app sideloading, and blocks USB data while the phone is locked. On iPhone, Lockdown Mode (Settings → Privacy & Security → Lockdown Mode) limits risky message attachments and web features and blocks wired connections while the phone is locked. You turn on whichever your phone offers.

You turn on theft and identity protection. Android: Theft Protection and Identity Check. iPhone: Stolen Device Protection (Settings → Face ID & Passcode). These require biometrics for high-risk changes even if a thief knows the PIN.

You set a SIM PIN. This locks the SIM card itself, so a thief who takes your phone cannot move the SIM into another device to receive your calls and one-time codes. iPhone: Settings → Cellular → SIM PIN. Android: Settings → Security & privacy → SIM card lock. You change it from the carrier's default. Wrong entries lock the SIM until the carrier supplies a PUK unlock code, so you do not guess it.30 A carrier-side swap, where the carrier is tricked into issuing the attacker a new SIM for your number, is a separate attack; you ask your carrier to add a port-out PIN or number lock to block it.

You trim permissions and the ad ID. You set location and similar permissions to "while using" per app, then you reset the advertising ID and turn off personalized ads. Android: Settings → Security & privacy → Privacy. iPhone: Settings → Privacy & Security (turn off Allow Apps to Request to Track).

You turn off Wi-Fi and Bluetooth when not in use, because both broadcast identifiers that can track the device.

You use a secondary profile for high-risk apps. Android encrypts each user profile with its own key, so apps in one profile cannot reach the data, contacts, or accounts in another, and even the device owner cannot read another profile without its password.13 A banking or social app kept in a secondary profile has no reach into your primary profile's files. Settings → System → Users.

You switch the phone to encrypted DNS so your provider stops logging the domains you visit. Android: Settings → Network & internet → Private DNS → Private DNS provider hostname, then enter a free resolver like Mullvad's: dns.mullvad.net, or adblock.dns.mullvad.net to block ads and trackers, no account needed. iPhone and macOS: install the encrypted-DNS profile your resolver provides. This hides the lookups from your ISP; the resolver you run yourself in Module 01 closes the rest.

Verify: your phone reports it is up to date, the lockscreen requires your PIN (or biometric) after a short idle, and the high-risk mode shows as on.

The stronger option On a Google Pixel, GrapheneOS replaces the stock operating system and adds verified boot, sandboxed Google Play, and per-app network and sensor controls. You install it yourself from the browser: the official web installer and install guide walk you through every decision. Two settings to know on it: the USB-C port already blocks new connections as soon as the device is locked, and you can set it to charging-only, so a forensic tool plugged into a locked phone pulls no data; and Auto reboot returns an idle phone to the locked, keys-out-of-memory state on a timer set to 18 hours by default, adjustable from 10 minutes to 72 hours.47 The steps above secure any phone; GrapheneOS is the option for those who want more.
Check on learning
You turned on Advanced Protection before your trip. A customs agent plugs your locked Android phone into an extraction device. What happens at the USB port?
Police seize two identical phones. Both are encrypted and use the same PIN. One was powered off. The other was locked but asleep after use. Which phone is harder to extract data from?
Public networks If you must use a public network, treat it as hostile. The access point sees your MAC address and your traffic, and a rogue one can clone the network and its captive portal to sit in the middle of your connection.7 Three steps keep it usable: turn on MAC randomization so the network cannot pin the hardware to you; send everything through a VPN, or a VPN into Tor, so the access point carries only traffic it cannot read;7 and sign into no account tied to your real name, because one login re-links the session to you. DNS is only as private as the resolver you point it at: the encrypted-DNS setting above keeps your ISP from reading the domains you visit, but the resolver you chose still sees them, and a VPN covers DNS only if it routes those queries itself.
04

Secure your accounts

Most account takeovers start with a reused password rather than an elaborate hack. An attacker takes the username-and-password pairs exposed in past breaches and tries each against every other service, a technique called credential stuffing.1819 If your email shares a password with a breached forum, both are compromised at once. A password manager with unique generated passwords removes that attack surface.

SMS two-factor authentication does not add the protection most people assume. SS7, the Signaling System No. 7 that carriers still use to route calls and texts between operators, was built to trust interconnected networks, so a party with SS7 access, a rogue or leased carrier interconnect or a compromised node, can send signaling that reroutes your texts and queries your location, intercepting the texted codes.5 Moving to 4G or 5G does not fix it: 4G's Diameter signaling and 5G's interconnect carry the same interception and location flaws, their optional protections are usually left off, the networks still interwork with SS7 for roaming, and an attacker can downgrade your phone to 2G, where GSM's weak or absent encryption exposes the SMS outright.3239 The weak link is the SMS, not your connection. A SIM-swap attack achieves the same result without any protocol access: the attacker convinces your carrier to move your number to their SIM, and the code goes to them instead. An authenticator app generates codes on the device. A passkey goes further: it is bound to the domain of the real site, so a phishing page that mimics your email login receives nothing when you authenticate.17

Do it now

You install a password manager and give every account a unique generated password, so a breach of one service cannot be reused against the others. The real choice is where the vault lives. KeePassXC on the laptop with KeePassDX on the phone keeps the vault a file you hold yourself. You keep the laptop and phone copies in step with Syncthing, which syncs them device-to-device with no server in between, or over your own VPN once Module 01 is up. Bitwarden is the lower-friction option, end-to-end encrypted but synced through its own servers; if you want that convenience on infrastructure you control, you self-host Vaultwarden in Module 01, the way you run your own chat and resolver there.

You turn on passkeys wherever a service offers them (your email, Apple, Google, Microsoft, and many others). A passkey is tied to your device, has no password to phish or steal, and is phishing-resistant by design. NIST's Digital Identity Guidelines now require services at their second authentication assurance level (AAL2) to offer at least one phishing-resistant option.

For accounts without passkeys, you add multi-factor authentication with an authenticator app (Aegis or 2FAS on Android, Ente Auth on iPhone and desktop) or a hardware key such as a YubiKey, and you remove SMS as a factor where you can, since SMS codes fall to SIM-swap attacks.

You use a separate email alias for each service, so a leak at one does not expose your real address or tie your accounts together. A real aliasing service beats plus-addressing like you+shop@, which advertisers and trackers strip in seconds to recover your true address.37

You move your important accounts onto a private email provider. Email controls every account tied to it: whoever holds the inbox can reset those passwords. Proton Mail and Tuta encrypt the mail they store.29 Proton also takes payment in cash or Monero, so the account need not trace back to you.31 You point your bank, your password manager, and your account recovery at it, not at the address every existing account already uses.

You store your recovery codes offline. Turning on multi-factor authentication hands you one-time recovery codes. You keep them out of the password manager, on paper or an encrypted drive, so one breach does not hand over both your passwords and the way around your second factor.18 You also lock down the recovery email and phone number on your top accounts, because the reset path is what an attacker reaches for first.

Verify: your most important account signs in with a passkey or app-based factor, your manager shows no reused passwords, and your recovery codes are stored off the manager.

Getting these apps on GrapheneOS GrapheneOS ships with no Google Play, so you install from a few vetted sources instead. Accrescent, in the built-in Apps store, is the first stop: developer-signed and auto-updating, and the source for 2FAS, your authenticator. For an app not on it, Obtainium installs the developer's own release straight from GitHub (KeePassDX, Bitwarden), or you sideload the developer's APK by hand. Sandboxed Google Play works too, but it requires a Google account, which a clean phone should not carry, and GrapheneOS recommends against F-Droid.
Check on learning
A phishing page imitates your email provider. It forwards everything you type to the real site as you type it, and it has already captured your password. Which second factor still keeps the attacker out of your account?
A forum you joined years ago is breached. An attacker takes every leaked email and password pair and tries them against Gmail, PayPal, and dozens of other services. What decides whether your Gmail account is compromised?
What you already shared carries history Files you shared before today keep their metadata at the recipient: photos hold GPS coordinates and a device-model identifier, and documents hold author names and edit history from before any hardening step. Going forward you strip that before you share: a phone's share sheet drops a photo's location, and a tool like MAT2 clears images and documents.25 The public record is the part you cannot pull back: public records stay in commercial databases regardless of what you request, and data already in broker profiles persists. An opt-out shrinks a profile, but nothing erases it.2640
05

Harden the laptop

Full-disk encryption stops anyone who boots the laptop from a USB stick from reading the drive, but it adds a condition: the encryption keys must not be in memory. When a laptop sleeps, RAM stays powered and the keys remain loaded. A Thunderbolt or USB4 port supports Direct Memory Access, which lets a connected device read system RAM without involving the operating system. Apple Silicon Macs and PCs with Kernel DMA Protection wall kernel memory off from that port; an older laptop without it stays exposed to a few minutes with a DMA device, which can lift the disk encryption keys from a sleeping, previously unlocked machine.20 Cold boot attacks reach the keys by another path on any machine: RAM holds its contents for several seconds after power is cut, and chilling the chips stretches that window long enough to read them.38 Powering the laptop off clears RAM entirely. When you leave a machine unattended where physical access is a real possibility, powered off means the encrypted drive is scrambled data, with no key left in memory to unlock it.

Why this unit covers Linux and macOS, not Windows Windows collects diagnostic data you can reduce but not fully turn off on Home and Pro,1 it steers you to sign in with a Microsoft account that ties the machine to your identity, and its Recall feature saves a snapshot of your screen every few seconds once enabled.22 Recall is opt-in and the snapshots stay on the device today, but because the code is closed, you cannot verify what runs. macOS lets you turn analytics off; Linux lets you decline telemetry outright and read the code. This unit hardens those two. If you must run Windows, set the machine up with a local account, turn telemetry to the minimum under Settings → Privacy & security, leave Recall off, and encrypt the drive. BitLocker does that on Pro; Home offers the simpler Device Encryption toggle (Settings → Privacy & security → Device encryption) but requires a Microsoft account to hold the recovery key. Weigh that against the local-account advice, or buy the Pro upgrade and keep the recovery key on paper.43 Auto-lock, the firewall, automatic updates, a standard daily account, and encrypted backups from the list below apply on Windows the same way.
Do it now

You turn on full-disk encryption. macOS: System Settings → Privacy & Security → FileVault. Linux: LUKS, set at install. Encryption only protects a powered-off device, because the keys live in memory while it runs. You record the recovery key on paper, stored away from the laptop.

You do not leave an encrypted device in sleep mode at a border crossing, checkpoint, or anywhere it leaves your direct control. Sleep keeps the key in memory; powered off does not. On an Apple Silicon Mac the Secure Enclave holds the FileVault key and the hardware blocks a Thunderbolt device from reading kernel memory, so a powered-off Mac needs nothing more.20 The older pmset destroyfvkeyonstandby standby tweak applied to Intel Macs only and has no effect on Apple Silicon.21 On Linux, powering the machine fully off is the close.

You set the screen to lock by itself. macOS: System Settings → Lock Screen, require a password immediately after the screen saver or display sleeps. Linux (GNOME): Settings → Privacy & Security → Screen Lock, automatic lock on with a short delay. A short auto-lock plus a strong login password keeps someone with brief physical access to an open laptop out of your session.

You turn the firewall on and block incoming connections. macOS: System Settings → Network → Firewall, then Options → Block all incoming connections. Linux: sudo ufw default deny incoming && sudo ufw enable.

You turn on automatic updates, including firmware where offered.

You use a standard, non-administrator account for daily work, so a bad click cannot take the whole machine.

You turn off the built-in telemetry. macOS: System Settings → Privacy & Security → Analytics & Improvements (off), and Apple Advertising → Personalized Ads (off).20 Ubuntu: decline "send system info" during install, or opt out afterward; its telemetry is opt-in and aggregate, and builds no personal profiles.23

You make an encrypted backup, so a lost or wiped laptop is an inconvenience, not a catastrophe. macOS: Time Machine to an external drive with Encrypt Backups turned on.20 Linux: Déjà Dup or Borg to an external drive, encryption on. You keep one copy off-site and store its key on paper, separate from the laptop.

Verify: the disk shows as encrypted, the screen locks on its own, the firewall shows as on, your daily account is not an administrator, and a recent encrypted backup exists.

Check on learning
Two identical encrypted laptops are taken at a checkpoint. One was asleep with the lid closed. The other was powered off. Which laptop keeps the data on its drive protected?
06

Create your keys

An SSH keypair is two matching files: the private key stays on this laptop, and the public key is the half you hand out, so any server holding it trusts the laptop that holds its match. This is the credential the rest of the series runs on: in Networking you put the public key on your first server, and the laptop logs in with no password to steal. You open a terminal and run:

$ ssh-keygen -t ed25519

The -t ed25519 flag picks the modern key type, introduced in OpenSSH 6.5 in 2014: an elliptic-curve scheme that "offers better security than ECDSA and DSA and good performance."24 You accept the default location and set a passphrase. The passphrase encrypts the private key file, so a copied file is useless without it. Your two files land in ~/.ssh/: id_ed25519 (private) and id_ed25519.pub (public). The file ending in .pub is the only one you ever share.

Verify: ls ~/.ssh lists both files, and you set a passphrase when prompted.

Check on learning
You want to log in to a new server with your SSH keypair instead of a password. Two files sit in your ~/.ssh/ directory. Which one goes onto the server?
07

Verify your setup

You confirm each item on the checklist across your devices.

  • Phone: updated and still supported, strong lockscreen, high-risk mode on, theft and identity protection on, permissions trimmed, advertising ID reset, unused radios off, encrypted DNS set.
  • Accounts: a manager with unique passwords, passkeys where offered, app or hardware MFA, aliases per service.
  • Browser & network: a fingerprint-resisting browser installed, and a no-logs VPN for the connections you want off your ISP.
  • Laptop: disk encrypted with the recovery key on paper, screen auto-locks, firewall on, automatic updates on, daily use on a standard account, telemetry off, a recent encrypted backup made.
  • Keys: both files in ~/.ssh/, the passphrase set.
Do it now

You measure your exposure, then confirm your hardening changed it. Open BrowserLeaks, a site that reports what your browser and connection reveal, and run the three tests below. Record each result with your VPN off, then turn on your VPN and your hardened browser and run them again. Compare the two.

  • IP address (browserleaks.com/ip): with the VPN off, this shows your ISP and city. With it on, it shows the VPN's address and provider, not yours.
  • WebRTC (browserleaks.com/webrtc): the Local IP Address and Public IP Address fields must not show your real address. A result of No Leak means the browser is not exposing an address around the VPN.
  • DNS (browserleaks.com/dns): the DNS servers listed must not belong to your ISP. After Module 01 they show the resolver you run.

A pass is all three at once: the IP address is the VPN's, WebRTC reports no leak, and the DNS servers are not your ISP's. You run this test again at the end of Module 01, after you build your own resolver and route traffic through the server you control.

This module does not make you anonymous, and it does not close the carrier layer; unit two covers why. Hardening is not one-time either. Automatic updates stay on because they patch the vulnerabilities attackers use, but a major update can switch settings back on, reset app permissions, or add a feature that collects by default. After one, you check your settings again.33

The next module, Networking, builds on this. You SSH into a server with the keypair you just generated, configure WireGuard, and self-host Matrix and AdGuard Home on a Raspberry Pi. That resolver encrypts your DNS lookups, so your ISP no longer sees them. The private key on this laptop is the only credential that opens the server, and it never leaves this machine.

08

Field exercise

Task: Collect what an adversary could obtain about you without a warrant, reduce it, and confirm the reduction.
Condition: Given your own phone, laptop, home network, and online accounts, an internet connection, and a two-week window for mailed and emailed replies. You work only against your own identity, devices, and home.
Standard: Baseline exposure documented across four vectors (data held, identity brokers, home and RF, browser fingerprint) and scored. The listed hardening actions and opt-outs completed and dated. The re-measured score brought below baseline on the fingerprint and the identifiable-device count, and the adversary summary written.

Download the field exercise worksheet (PDF)

09

Module test

Task: Complete the Module 00 test.
Condition: Given ten questions covering units one through seven, without reference to the module units or notes.
Standard: Answer at least eight of ten questions correctly. For each question missed, reread the unit named in the feedback and retake the test until the standard is met.

Module test — 10 questions
You publish your writing under a pen name. Anyone in the world can read the writing, but no one can tie the pen name back to you. Are you working with privacy or with anonymity?
A roadside sensor logs your license plate and every Bluetooth and Wi-Fi identifier broadcasting inside your car. Most of the cars around you also carry an iPhone. What makes your car recognizable the next time it passes that sensor?
You need to carry a phone through an area you believe is monitored by wireless sensors. The phone must emit nothing along the way. What gives you that certainty?
A thief steals your phone, moves the SIM card into another handset, and starts receiving your calls and one-time codes. Which setting would have stopped this?
You must use an app that demands more access than you trust it with. You want it to run with no reach into your files, contacts, or accounts. What does Android offer for this?
You give a store the address [email protected] so you can trace who leaks it. Why does the module consider this weaker than a real aliasing service?
You turn on multi-factor authentication, and the service hands you a set of one-time recovery codes. Where do you store them?
You do your daily work in a standard account and save the administrator account for setup. What does this separation protect you from?
You generate your SSH keypair, and ssh-keygen asks you to set a passphrase. What does the passphrase protect you against?
You complete every step in this module and verify the checklist. Which surveillance layer is still open?

Glossary

advertising ID
A resettable identifier the operating system gives apps so trackers can follow you across them. You reset or remove it in the phone's privacy settings.
Advanced Protection / Lockdown Mode
One-switch high-risk modes that shrink the attack surface. Android's Advanced Protection disables 2G, blocks sideloading, and blocks USB data when the phone is locked; iOS Lockdown Mode limits risky message attachments and web features and blocks wired connections when locked.
anonymity
Acting with no persistent identifier that ties activity back to you. Hardening does not provide it.
BFU / AFU
Before First Unlock and After First Unlock: a phone that has not been unlocked since boot holds no usable encryption keys in memory; once unlocked, the keys sit in memory where some extraction tools can reach them. Powering off restores BFU.
baseband
The chip that runs cellular. It runs closed, vendor-supplied firmware below the operating system, and no setting on the phone fully controls it. Airplane mode asks it to stop transmitting rather than cutting its power.
cold boot attack
Reading disk encryption keys out of a machine's RAM by cutting power and cooling the chips, which slows how fast the memory loses its contents. A related attack reads RAM directly over a Thunderbolt port (direct memory access) while the machine sleeps; modern hardware such as Apple Silicon walls that off. Either way, a powered-off machine whose RAM has cleared has no key left to read.
credential stuffing
Trying username-and-password pairs leaked from one breach against many other services, betting that you reused the password. A unique password per service makes a leaked pair useless everywhere else.
data broker
A company that aggregates and resells personal data. Opt-outs reduce, but do not erase, what is held.
DNS
The Domain Name System: the protocol that translates hostnames to IP addresses. By default, DNS queries leave your device in plaintext to your ISP's resolver, exposing every domain name you visit to the ISP and to any program monitoring that resolver.
fingerprint
The combination of traits your browser and device expose (screen, fonts, timezone, and more) that identifies you with no cookie.
full-disk encryption
Encrypts the whole drive at rest, so a powered-off device reads as noise without the passphrase. FileVault, BitLocker, LUKS.
GrapheneOS
A hardened, de-Googled Android for Pixel phones, adding verified boot, sandboxed Google Play, and per-app network and sensor controls.
IMSI-catcher
A device that impersonates a cell tower to collect the subscriber identifier (IMSI) your SIM broadcasts. Sold by a range of commercial manufacturers.
MFA
Multi-factor authentication: a second factor beyond a password. App and hardware-key factors resist phishing; SMS does not.
metadata
Data about data: who communicated with whom, when, for how long, and from where, without the message content. File metadata includes GPS coordinates, author, and edit history.
passkey
A login credential tied to your device, with no password to phish or steal. Phishing-resistant by design.
RFID
Radio-frequency identification, the technology in contactless cards, access badges, transit cards, car keys, and passports. Readers can log tags passing by; the mitigation is carrying fewer tags or shielding them.
SIM swap
Moving your phone number to an attacker's SIM to intercept texted codes. The reason SMS is a weak second factor.
SS7
The legacy signaling protocol that links phone networks. An attacker with access to it can intercept calls and texts, including SMS two-factor codes, and track a phone's location. The reason SMS is a weak second factor.
SSH keypair
Two matching files: a private key that stays on your laptop and a public key you put on a server, so the laptop logs in without a password.
threat model
Your answers to what you protect, from whom, how likely the threat is, how bad the consequences are, and how much effort is justified.
verified boot
The device confirming on every start that its operating system is the signed, unmodified one.

Sources

  1. Microsoft Learn: Configure Windows diagnostic data in your organization
  2. FCC report / CNN: Wireless carriers keep your location data for years and provide it to the police (2022)
  3. Privacy Guides: Common Threats (CC BY-SA 4.0)
  4. EFF Street Level Surveillance: Cell-Site Simulators / IMSI Catchers
  5. Puzankov: “Bypassing GSMA Recommendations on SS7 Networks” (Light Fighter Library, Communicate/Cellular-5G): on the SS7 signaling network an attacker can “Track your location” and “Intercept your data, calls and SMS messages,” exposing texted one-time codes even where GSMA protections are deployed; with CISA: Mobile Communications Best Practice Guidance, version 2.0 (2025-11-24) (verified 2026-07-07)
  6. Privacy Guides: Threat Modeling (after EFF Surveillance Self-Defense, "Your Security Plan")
  7. The Hitchhiker's Guide to Online Anonymity (2022)
  8. EFF Surveillance Self-Defense: Mobile Phones: Location Tracking
  9. Privacy Guides: DNS Overview
  10. C. Grothoff, M. Wachs & M. Ermert: NSA's MORECOWBELL: Knell for DNS; documents published by Le Monde (2015)
  11. Carpenter v. United States, 585 U.S. ___ (2018)
  12. Privacy Guides: iOS Overview (Before First Unlock; invasive telemetry)
  13. Privacy Guides: Android Overview
  14. Upturn: Mass Extraction: The Widespread Power of U.S. Law Enforcement to Search Mobile Phones (2020)
  15. Google: Advanced Protection on Android 16 (disables 2G, blocks sideloading, blocks USB data while locked)
  16. Apple: About Lockdown Mode (wired connections require the device unlocked)
  17. Privacy Guides: Multifactor Authentication (TOTP offers no phishing resistance; WebAuthn binds to the origin domain)
  18. Privacy Guides: Introduction to Passwords (credential stuffing; unique passwords)
  19. Akamai: What Is Credential Stuffing (residential proxies; scale)
  20. Privacy Guides: macOS Overview (FileVault on Secure Enclave; Apple Silicon Direct Memory Access protections)
  21. Apple Developer Forums: DestroyFVKeyOnStandby and hibernatemode on M1 Macs (the pmset standby tweak has no effect on Apple Silicon)
  22. Microsoft: Retrace your steps with Recall (a snapshot of the screen "saved every few seconds"; opt-in, stored locally)
  23. Ubuntu: telemetry on Ubuntu Desktop (opt-in; aggregate hardware/usage; never used to build personal profiles)
  24. Arch Wiki: SSH keys (Ed25519 introduced in OpenSSH 6.5, January 2014: "offers better security than ECDSA and DSA and good performance"; public/private key roles)
  25. Privacy Guides: Data and Metadata Redaction (photos carry Exif and GPS; documents carry metadata)
  26. Privacy Guides: Data Removal Services (public-record data on people-search sites; opt-outs are a per-site stop-gap)
  27. Leonardo: ELSAG SignalTrace (signal-intelligence system; captures Bluetooth, Wi-Fi, and RFID identifiers into an "electronic signature")
  28. Joseph Cox, 404 Media: "This Company Will Add Phone, AirPod, and Smartwatch Trackers to License Plate Readers" (2026-06-08; independent reporting on SignalTrace from Leonardo's product sheet)
  29. Privacy Guides: Email Services (encrypted-storage providers with anonymous payment: Proton Mail, Mailbox.org, Tuta)
  30. Consumer Reports Security Planner: Prevent SIM-swapping attacks (SIM PIN; carrier port-out lock); with Apple: Use a SIM PIN for your iPhone or iPad (wrong guesses lock the SIM; the PUK code comes from the carrier; verified 2026-07-15)
  31. Proton: payment options: cash (USD/EUR/CHF), Bitcoin, and Monero (added July 2025), so a paid account need not be tied to your identity (verified 2026-06-19). Tuta, by contrast, takes card/PayPal directly; crypto only via third-party gift cards.
  32. P1 Security: SS7, Diameter, GTP, IMS & 5G signaling risks: 4G Diameter and 5G signaling carry the same interception and location flaws as SS7 (and their optional protections are usually left off); SS7 stays active in roaming and 2G/3G fallback; and an attacker can downgrade a 4G/5G phone to 2G to intercept SMS (verified 2026-06-19)
  33. TechRadar: iOS 17 reset some users' privacy settings: a major OS update can re-enable privacy toggles you had turned off (iOS 17 re-enabled Significant Locations and iPhone Analytics; Apple acknowledged it), reset app permissions, or add on-by-default features. Re-check settings after a big update (verified 2026-06-19)
  34. EFF: Cover Your Tracks: About: browser fingerprinting is built from "the user agent string," "screen resolution and color depth," "the fonts installed," and "a hash of the image generated by canvas" and WebGL rendering; "if your browser is unique, then it's possible that an online tracker can identify you even without setting tracking cookies" (verified 2026-06-22)
  35. Privacy Guides: Desktop Browsers: Brave blocks "fingerprinting scripts (note that this does not protect you from all fingerprinting)"; Mullvad Browser and Tor Browser prevent fingerprinting "by making your browser fingerprint identical to all other… users," a "'crowd' to blend in with… the only way to thwart advanced tracking scripts" (verified 2026-06-22)
  36. Privacy Guides: Tor Browser: a casual user must weigh "your ISP collecting evidence" of Tor use, and everyday use "lowers the quality of 'lists of Tor users' that ISPs and governments may compile"; Tor Browser provides access to "the Tor network and bridges"; "browser extensions and non-standard settings make you stand out from others on the Tor network" (verified 2026-06-22)
  37. Privacy Guides: Email Aliasing: a service that generates "a new email address for every website you register for," hiding your main address; true aliasing beats plus-addressing because "websites, advertisers, and tracking networks can trivially remove anything after the + sign" to correlate you (verified 2026-06-22)
  38. Halderman, Schoen, Heninger et al., “Lest We Remember: Cold Boot Attacks on Encryption Keys” (USENIX Security 2008 / CACM 2009): DRAM "retain[s] their contents for seconds to minutes after power is lost, even at operating temperatures and even if removed from a motherboard," and "cooling the memory chips prior to cutting power dramatically prolongs data retention" (verified 2026-06-22)
  39. Shaik, Borgaonkar, Asokan, Niemi & Seifert: “Practical Attacks Against Privacy and Availability in 4G/LTE Mobile Communication Systems” (NDSS 2016; Light Fighter Library, Communicate/Cellular-5G): "fake base stations were used as 'IMSI catchers' to harvest" subscriber identities; "a semi-passive attacker can locate an LTE device within a 2 km² area in a city whereas an active attacker can precisely locate an LTE device using GPS co-ordinates"; the attacks can "silently and persistently downgrade LTE devices… (limiting them to less secure 2G/3G)" (verified 2026-06-22)
  40. Digital Exhaust Opt-Out Guide for Law Enforcement Partners and Their Families, version 2.0 (Light Fighter Library, Intelligence/OSINT): an operational-security playbook to "reduce… data aggregated about the American public," cataloguing the primary data brokers and people-search sites you must opt out of one site at a time (verified 2026-06-22)
  41. Apple: Locate a device in Find My (iPhone User Guide): on iPhone 11 and later running iOS 15 or later, the Bluetooth chip stays in an ultra-low-power state after the phone is turned off and pings the Find My network, so a powered-off iPhone can still be located for up to 24 hours (verified 2026-06-25)
  42. Brave: “Fingerprinting Defenses 2.0”: Brave randomizes the values fingerprinting scripts read from canvas, WebGL, and Web Audio, "deterministically generated using a per-session, per-eTLD+1 seed," and states these defenses "could be circumvented by motivated, targeted attacks," recommending Tor Browser against that threat (verified 2026-07-04)
  43. Microsoft: Turn on device encryption: "Unlike BitLocker Drive Encryption, which is available on Windows Pro, Enterprise, or Education editions, Device Encryption is available on a wider range of devices, including those running Windows Home"; it requires a TPM, Secure Boot, and a Microsoft or work account to store the recovery key (verified 2026-07-04)
  44. Privacy Guides: Tor Overview — Protections provided by bridges: "while bridges may provide adequate censorship circumvention, this is only a transient benefit. They do not adequately protect you from your ISP discovering you connected to Tor in the past with historical traffic log analysis… This is a very common occurrence with bridges; they are discovered and blocked relatively frequently, just not immediately" (verified 2026-07-07)
  45. Joseph Cox, 404 Media: leaked Cellebrite briefing (2025-10-30), with Android Authority's report on the same leak: the capability matrix covers Pixel 6–9; locked stock Pixels listed as giving "some information" before first unlock (passcodes not brute-forceable for full control); "every locked Pixel 9 running GrapheneOS was listed as inaccessible," with older GrapheneOS devices yielding "partial results up to 2022/2023 patch levels" (verified 2026-07-07; the primary leaked slides are paywalled/forum-hosted — figures here follow the published reporting)
  46. EFF: Digital Privacy at the U.S. Border, one-pager revised 2025-08-01: "Enable full-disk encryption, not just a screen lock… Disable biometric unlocks (face/thumb)… Power down your devices"; U.S. citizens "must be let back into the country," lawful permanent residents "generally also must be let back into the country," and for other non-citizens "refusal to comply may result in being denied entry" (verified 2026-07-07)
  47. GrapheneOS: features: Auto Reboot "timer is set to 18 hours by default, but can be set to values between 10 minutes and 72 hours, or turned off"; "by default the USB-C port and pogo pins block new connections as soon as the device is locked" (verified 2026-07-07)
  48. EFF: Digital Privacy at the U.S. Border: under United States v. Cotterman "a manual search of a digital device is 'routine' and so a warrantless and suspicionless search is 'reasonable' under the Fourth Amendment," which is why EFF argues "all border searches of digital devices should require a probable cause warrant" (verified 2026-07-15)
  49. FTC staff report: A Look At What ISPs Know About You: Examining the Privacy Practices of Six Major Internet Service Providers (2021-10-21): two ISPs in the study "use web browsing information to target ads to consumers"; "at least three ISPs in our study report combining consumers' personal information, app usage information, and/or browsing information for advertising purposes"; and "there is a trend in the ISP industry to offer real-time location data about specific subscribers to the ISPs' third-party customers" (verified 2026-07-15)
You’re viewing one module. ▸ Open the full interactive course in TG//OS
Light Fighter Manifesto
// Series · Module 00
Hardening

When you move into a new apartment, you still suspect that the previous tenant might have a key, so you change the locks. That same mentality needs to be applied to your phone and laptop, because the company that sold you the device still has the key. Hardening is changing those locks.

In this module_×
01Threat modeling
02What your device reveals
03Lock down the phone
04Secure your accounts
05Harden the laptop
06Create your keys
07Verify your setup
08Field exercise
09Module test
Open on a desktop_×

This module lives in TG//OS: the interactive course with its tools, terminal, and tests. It’s built for a desktop or laptop screen.

▸ Open this site on a computer to start.