Concepts / Security foundations

Security foundations

Threat modelling

Also called threat modeling, threat model, STRIDE, data-flow diagram

A review of a design before it goes into use: draw how data moves, mark where trust changes, ask a fixed list of questions at each crossing, and decide what to do about each answer.

Ask the questions where trust changes
Ask the questions where trust changes

The six STRIDE questions are asked at each data flow that crosses a trust boundary. Each answer then gets a decision: mitigate, avoid, transfer or accept.

Threat modelling is a review of a design for weak spots before it goes into use. Draw a data-flow diagram: the programs, data stores, people and every path data takes. Mark each trust boundary, where trust changes. At every flow crossing one, ask the six STRIDE questions: spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege. Each finding gets a decision: mitigate ([[security-control-types]]), avoid, transfer or accept. Redraw when the system changes.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab