In this post
What questions does it answer?
Adam Shostack frames it as four questions: What are we working on? What can go wrong? What are we going to do about it? Did we do a good enough job? The Threat Modeling Manifesto uses the same four questions.
How do you describe what you are working on?
Draw a simple data flow diagram: the people and systems involved, the processes, the data stores, and the flows between them. Mark trust boundaries, the places where data crosses from something you control to something you do not, such as the internet, a third-party API or another team’s service. Most threats sit on those boundaries.
How do you find what can go wrong?
STRIDE, developed at Microsoft, gives six prompts: spoofing identity, tampering with data, repudiation, information disclosure, denial of service and elevation of privilege. Walk each flow that crosses a trust boundary and ask which of the six apply.
What do you do with the threats you find?
For each one, decide to mitigate it, remove the feature that creates it, transfer it, or accept it with a named owner. Turn mitigations into tickets in the normal backlog, so they are tracked like other work, and record accepted risks so they are revisited.
When should a team do it?
When designing a new feature or service, and when a change moves a trust boundary: a new external integration, a new kind of user, new sensitive data. An hour with the right people and a whiteboard is often enough. It pairs well with DevSecOps and the OWASP Top 10.
Sources and further reading
- Shostack, A. Threat Modeling: Designing for Security. Wiley, 2014.
- Threat Modeling Manifesto. threatmodelingmanifesto.org, 2020.
- OWASP. Threat Modeling Cheat Sheet. cheatsheetseries.owasp.org.
Go deeper: CTP™ credential · the TPBOK™ standard · Check your experience
IICTP is an independent technical credentialing body.