Free module
Threat modelling
Learn threat modelling hands on: data flow diagrams, STRIDE, attack trees, ranking threats, abuse cases and a threat model kept as code.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Container lab
Drawing a system as a data flow diagram
I can draw a system as a data flow diagram with its trust boundaries.
Read the lesson2 · Container lab
Finding threats with STRIDE
I can use STRIDE to list the threats to each part of a data flow diagram.
Read the lesson3 · Container lab
Planning attacks with attack trees
I can build an attack tree and find the cheapest attack in it.
Read the lesson4 · Container lab
Ranking threats and deciding what to do
I can rank threats by risk and choose a response for each one.
Read the lesson5 · Container lab
Writing abuse cases as tests
I can turn an abuse case into a test that fails until the system is fixed.
Read the lesson6 · Container lab
Keeping a threat model as code
I can write a threat model as code that fails a build on a new finding.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.