System Design
13. Security ArchitectureAnimated
Threat Modelling
Finding threats before attackers do.
The idea
Draw the system, identify what can go wrong (for example with STRIDE), and plan mitigations.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Never trust, always verify: being "inside" the network grants nothing.
- step:
- 1/5
- at:
- User + device
1/11
The green dot is a request moving through the system.
Step by step
- 1Diagram the system
- 2List threats at each boundary
- 3Rate their risk
- 4Add mitigations
Where it is used
Design stage.
Watch out for
Do it early and revisit as the system changes.