Threat modeling
Threat modeling
Threat modeling is a review of a system's architecture before or during development, asking "what can go wrong here and what will we do about it".
It is the earliest and cheapest check. No scanner will find an architectural flaw, and fixing one after release is expensive.
How it works
- A data flow diagram: components, stores, trust boundaries.
- Threat search with a methodology such as STRIDE: spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege.
- A decision for each threat: eliminate, reduce, transfer or accept.
- Repeat after significant architecture changes.
Tools
OWASP Threat DragonMicrosoft Threat Modeling Toolwhiteboard and marker