THRM-1Lesson 1 of 38 min

The four questions

Attackers look for what can go wrong. Defenders should look first. Doing this on purpose, with a method, is called threat modelling. It does not need special tools: four questions and a drawing are enough to start.

Four questions

The four questions come from Adam Shostack, author of Threats, one of the books this course uses. They are also the basis of the Threat Modeling Manifesto, written by a group of practitioners in 2020.

Figure THRM-1.1Four questions about a canteen app

↻ Back to 1 when the system changes

1/5

Threat modelling means thinking about what could go wrong with a system before an attacker does. Adam Shostack, who wrote one of this course's books, sums it up in four questions.

Step 1 of 5

Start with a picture

The first question is easiest to answer with a simple drawing: boxes for the people and devices, arrows for where data goes. Most security problems sit on the arrows, where data passes from one place to another, and at the boundaries where something you control meets something you do not, such as a student’s phone.

When to ask them

Ask the questions early, while a system is still being planned, because changes are cheap then. Ask them again whenever the system changes: a new feature, a new kind of user, a new connection to another service. Threat modelling is a habit, not a single event.

THRM-1 counts as completed once you step through the figure to its last step.