Archive-Opsec

Search

/ to open · ↑↓ to move · Enter to open

Indexes guides, archive entries, news, resources and sources. Nothing is sent to a third party.

Guide categories

OPSEC & Threat Modeling

Define Your Threat Model

Work out who you are protecting something from before you install anything, using a written, revisable model.

A threat model is a written answer to three questions: what am I protecting, from whom, and what happens if I fail? It is not a document you publish. It is a short note that stops you from buying the wrong tool.

The three questions

What am I protecting? A device, an account, a relationship, a document, your physical safety, your right to say something. “My privacy” is not an answer, because it does not imply a single control.

From whom? Name a category, and be honest about capability:

AdversaryTypical capabilityRealistic goal
Automated crawlersYour browser fingerprint, IP address, cookiesStop fingerprinting, block third parties
Data brokersRecords bought and sold legallyOpt out, reduce footprint, avoid new disclosures
A curious networkSees DNS, TLS SNI, timing, volumeEncrypted DNS, encrypted transport, Tor
A service you depend onSees everything you do on its platformMinimise what you give it
A targeted attackerPhishing, malware, persistent accessMFA, updates, backups, compartmentalisation
A state actor with legal processSubpoenas, warrants, bulk programmesCompartmentalisation, encryption, Tor, reducing what exists
A physical attackerYour unlocked deviceFull-disk encryption, screen lock, remote wipe

What is failure? If the answer is “someone reads my messages”, the control is encryption. If it is “someone follows me home”, the control is different. If it is “I cannot log in”, the control is a recovery method you have tested.

Assets, adversaries, capabilities, exposure

The four columns work for almost anything:

  • Asset — the thing: a specific account, a device, a location pattern, a set of files.
  • Adversary — who wants it, from the table above.
  • Capability — what they can reach: your device only, your accounts, your network path, a legal order, a supply chain.
  • Exposure — how they get in: phishing, a reused password, an unpatched browser, a plaintext file, a rogue USB device, a shared document.

Then, for each combination, a decision: accept, reduce, transfer, or avoid. Accepting a risk explicitly is a legitimate outcome; it is what stops you from spending a week on a threat you will never meet.

Review it, and keep it in the repository

Threat models go stale the moment your life changes: a new job, a new city, a new device, a new dependency. Keep it in your notes or your repository next to the thing it describes, and revisit it when any of those change.

Sources

Next: common threats, and which of them are worth doing anything about.

Sources

  1. Surveillance Self-Defense: Your Security Plan Electronic Frontier Foundation non-profit EFF renamed this module from "Threat Modeling"; it is the same guide. Accessed
  2. NIST SP 800-30 Rev. 1: Guide for Conducting Risk Assessments National Institute of Standards and Technology standard Accessed
  3. OWASP Threat Modeling Cheat Sheet OWASP docs Accessed