Threat modelling for testers
Draw the feature, mark where trust changes, and ask what could go wrong at each step. The answers become test ideas before anyone attacks anything.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: walking round a house asking where a burglar would try. You stand outside with a notepad. You look at each door, window and shed. At each one you ask, "How could someone get in here?" You do this before any burglar does.
Daily List is a to-do list app. Lily can share a list with a friend by e-mail. Tom, the tester, and Nina, the product owner, sit down before sharing is built. They draw a simple picture of how a shared list travels.
Then they walk round the picture. At each arrow they ask what could go wrong. Could the wrong person get the link? Could someone change a list that is not theirs? Could an say too much?
This is . It records how a system works, what could go wrong and what to do about it. A simple picture helps this team; a written model can also work. Nobody attacks anything. People only ask questions.
The picture has a limit. A house stays still, but software changes every release. So the walk is repeated.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- burglar
- a person who breaks into a place to steal
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Identifying threats, responses and verification for a system before and throughout change.
- Draw the parts
- Mark the boundaries
- Ask six questions
- Write the checks
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The house and its doors | The system and its arrows |
| The fence line | A trust boundary |
| The six questions at each door | The six STRIDE questions |
| The notepad | The list of threats and tests |
WHERE THIS PICTURE STOPS
- A house is fixed. Software changes each release, so the walk is repeated.
- A burglar is one kind of visitor. Threats also come from mistakes and from trusted people.
- A walk finds only what the walkers think of.
- The house picture is optional: written models can also support the four threat-modelling questions.
HOOK
Walk the picture, ask at every arrow.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
At each arrow in the picture, ask three things: could the wrong person get in, could someone change a list that is not theirs, could an error say too much.
| In the trick | What it stands for |
|---|---|
| Wrong person | the wrong person get the link |
| Not theirs | change a list that is not theirs |
| Too much | an error message say too much |
TELL A FRIEND
A walk round a house with a notepad. At each door you ask how someone could get in, before anyone does.
OFTEN MIXED UP WITH Security testing ideas and the OWASP Top 10. The Open Worldwide Application Security Project (OWASP) lesson is a map of common weaknesses. This lesson asks what could go wrong in your own feature.
PRACTISE AND KEEP
Sources for this topic — 6 sources
- Market practice
Open Worldwide Application Security Project (OWASP) Threat Modeling Project ↗ — Open Worldwide Application Security Project · Four questions: what are we working on, what can go wrong, what are we going to do about it, did we do a good job; the project defines no single official method (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Threat Modeling Again, STRIDE (Larry Osterman, Microsoft blog archive) ↗ — Microsoft · The six STRIDE categories; the categories overlap, so STRIDE is not a strict classification (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Blog post, archived. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Threat Modeling Manifesto ↗ — Threat Modeling Manifesto authors · Threat modelling is done early and often, in small steps that fit how the team works (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Attack surface analysis cheat sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project (OWASP) · Actual official cheat sheet: entry/exit paths, guarding code, valuable data and changed attack surface; retrieved6 November2026.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
V34 review, 6 November 2026: Read the official repository sheet in full: entry/exit paths, guarding code, valuable data, roles and changed attack surface.
- Market practice
Abuse Case Cheat Sheet (Historical) ↗ — OWASP Cheat Sheet Series · OWASP Abuse Case Cheat Sheet, marked Historical on the page. Search excerpt, page not opened.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Threat modeling cheat sheet (Open Worldwide Application Security Project cheat sheet series) ↗ — Open Worldwide Application Security Project · Actual official cheat sheet: system model, four questions, STRIDE, response and review sections; retrieved6 November2026.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
V34 review, 6 November 2026: Read the official repository sheet in full: system models, four questions, STRIDE table, response options and review. A picture is useful but not mandatory.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.