Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · Security · Think Like an Attacker · about 18 min to read

Play it as a journeyTutor comes with a plan

Draw it, then break it: threat modelling by method

The Security Mindset
The Security Mindset · Open board

An ordinary system redrawn with every door an attacker could use marked on it. This lesson gives you the method for drawing that picture the same way every time, and for choosing which marked door to fix first.

Before you start. The Security Mindset gave you the threat model, a written list of the ways a system could be made to misbehave, and a six-letter checklist called STRIDE, walked at each trust boundary, the line where data passes from a less trusted place to a more trusted one. The shop you secure (defence in a real app) walked STRIDE once on a small shop. The risk register (security as a programme) gave you risk as likelihood times impact, each scored 1 to 5. This lesson turns those three into one method you can run on any system, in an hour, on paper.

Lesson 37 of 39 in Security

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 1 April 1999: a list of threats that two people wrote down
  • Four kinds of piece: the data-flow diagram
  • Fewer questions for each shape: STRIDE per element
  • Walking the list: what the 48 questions find
  • Ranking: a score that settles the argument
  • The diagram, drawn
  • What the table is based on
  • The code that did the counting
  • Edge cases and limits
  • The four questions around the method
  • Real systems that use it

Terms it explains: external entity, process, data store, data flow, data-flow diagram, trust boundary, STRIDE per element, likelihood, impact, risk score, Common mistakes, assume breach, attack surface, authenticity, CIA triad, complete mediation, defense in depth, fail secure, least privilege, no security through obscurity (Kerckhoffs), non-repudiation, security mindset, stride, threat model.

Related paper

Review Security