The question: What can go wrong here, and what should we worry about first? By the end you can: model a system, find and rank threats, and turn them into defensive priorities. Before you start: nothing is required. Foundations stages 1 and 5 help. Time: about 47–76 hours across 8 stages (rough ranges for studying alone).
What threat modelling is#
Threat modelling is a structured way of asking four questions: what are we working on, what can go wrong, what are we going to do about it, and did we do a good enough job? It applies to software, infrastructure and whole organisations. The output is small and practical: a picture of the system, a ranked list of what could go wrong, and a decision about each item, with a test or a detection where one is needed. It replaces "be secure" with a list a team can check.
This roadmap teaches the method, the main techniques for finding threats, how to rank them and decide, how to run it in real teams, and how to connect a threat model to what defenders build, hunt for and test. It sits before and around the other roadmaps: it is where you decide what is worth detecting, hunting for and emulating first.
Who it is for#
- Beginners to security who want a method rather than a checklist.
- Developers, architects and platform engineers who design systems and want to find design flaws early.
- SOC analysts, detection engineers and hunters who want to justify what they cover first.
- Security engineers who run or review design sessions.
You need no security background. Being able to read a simple architecture diagram helps.
Skills you will build#
- Scoping a system and drawing a data-flow diagram with trust boundaries.
- Finding threats with STRIDE, attack trees, abuse cases, kill-chain and ATT&CK prompts, LINDDUN and PASTA, and choosing between them.
- Rating threats honestly, and choosing to mitigate, eliminate, transfer or accept each one.
- Turning decisions into security requirements with tests, and keeping a risk register that records residual risk.
- Running lightweight per-feature modelling and workshops with development teams.
- Adapting the method to cloud, Kubernetes, CI/CD and supply chain, APIs, identity systems and AI systems.
- Building a threat profile and turning a model into detection, hunting and emulation backlogs.
Tools you will meet#
A whiteboard and Mermaid for diagrams. OWASP Threat Dragon, pytm, the Microsoft Threat Modeling Tool, Threagile and AWS Threat Composer for models. MITRE ATT&CK, ATT&CK Navigator and Attack Flow for the adversary view. Card games (Elevation of Privilege, OWASP Cornucopia) for workshops. A spreadsheet or a Git repository for the risk register. A whiteboard and a text editor are enough to learn the craft; the tools are conveniences.
Portfolio projects#
- A threat model of a real system. One page per question for a system you built or know well: scope, a data-flow diagram, 20 or more threats with ratings and responses, requirements with tests, and residual risk.
- A threat model as code. A pytm or Threat Dragon model in a Git repository, with a rule for updating it in pull requests and a CI job that regenerates the diagram and report.
- A feature-modelling kit. A one-page template, a "does this need a model?" checklist, a workshop agenda, and a write-up of one mock session with the tickets it produced.
- A specialised model. A model of a cloud pipeline, an API or an LLM application, with each threat mapped to the relevant catalogue (an OWASP list, ATT&CK or ATLAS).
- A threat-informed backlog. A threat profile, an attack path and ten ranked backlog items for detection, hunting and emulation, with an ATT&CK Navigator layer showing the gaps.
Where it connects#
- Detection Engineering uses a threat model to decide what to detect first.
- Threat Hunting uses it to choose hypotheses worth testing.
- Threat Emulation uses it to choose which behaviours to test.
- SOC & Incident Response feeds incident lessons back into the model.
- Threat Intelligence supplies the evidence about which adversaries matter.