A threat modelling team at a parcel delivery firm has walked its tracking app's data flow diagram and written down six threats.
Match each threat to the security property it attacks.
Choose the match for each entry. Every match has to be right.
A threat modelling session needs a way to think of threats systematically, a way to rank them, and a way to decide what to do with each. Named methods supply all three, much as a checklist helps a pilot not to forget a step. No background is assumed beyond what a threat model is. A security professional must recognise each method by name, know what it is for, and choose the one that fits the question being asked.
An illustrative example
An independent cinema is building a phone app. Customers will choose a film, pick seats, pay and show a code on their screen at the door. The developer, the cinema manager and a security adviser stand at an empty whiteboard with the app's data flow diagram pinned beside it.
The manager writes the first worry that comes to mind: someone might copy another customer's ticket code. Then the room goes quiet. Nobody knows what to look for next, or whether that worry matters more than the next one.
What would help the team think of threats in an orderly way, and then decide which to deal with first?
STRIDE is a list of six kinds of threat, developed at Microsoft. Each letter is one kind. The team walks through every element of the data flow diagram and asks, for each letter, whether that threat could happen there. Each threat attacks one security property, and the property points to the kind of control that answers it.
| Threat | Property attacked | At the cinema | Typical control |
|---|---|---|---|
| Spoofing: pretending to be someone or something else | Authentication | Signing in as another customer to use their saved card | Strong sign-in, such as a password and a code sent to the phone |
| Tampering: changing data or code without permission | Editing a ticket code so that it admits five people instead of one | A or on the ticket code, checked at the door | |
| Repudiation: denying an action that was taken | A customer claims never to have bought tickets that were bought | Records of each purchase that cannot be altered afterwards | |
| Information disclosure: exposing data to people not entitled to it | Another customer's name and booking history shown on screen | Access checks on every request, and | |
| Denial of service: making the system unavailable | A flood of fake requests stops sales on a Friday night | Filtering of traffic, spare capacity, limits on requests | |
| Elevation of privilege: gaining more rights than were granted | Authorisation | An ordinary customer reaches the staff screen that issues free tickets | Checking rights on every action, and giving each account only the rights it needs |
Microsoft's guidance adds which threats apply to which element. A process can suffer all six. A data flow or a data store can suffer tampering, information disclosure and denial of service. An external entity can be spoofed, and can repudiate.
STRIDE produces a list. It says nothing about which threat matters most. Ranking is a separate step, and three ways of doing it are in common use.
Risk of a threat
Risk = Probability × Damage potential
Copying a ticket code: probability 6, damage 3, risk 18. Reaching the free-ticket screen: probability 2, damage 9, risk 18. The two rank equally.
Scores run from 1 to 100 and are cut into three bands. A simpler method skips the numbers and rates each threat high, medium or low straight away. High threats are dealt with first.
Teams often disagree about a single score. DREAD splits the judgement into five questions, each answered with a rating.
In Microsoft's example each answer scores 1 to 3, giving a total of 5 to 15. Totals of 12 to 15 rank high, 8 to 11 medium and 5 to 7 low.
Common misconception
“STRIDE ranks threats by how serious they are.”
STRIDE only sorts threats into six kinds so that none is forgotten. Ranking needs a separate judgement, such as probability times damage, high, medium and low, or DREAD.
PASTA, the Process for Attack Simulation and Threat Analysis, starts from what the business needs and ends with to the business. STRIDE starts from the diagram. PASTA wraps the diagram inside a wider risk exercise, which suits a manager who must justify spending.
PASTA runs from business to technology and back to business: objectives, scope, decomposition, threats, weaknesses, attacks, risk.
| Name | What it is | Use it when |
|---|---|---|
| VAST (Visual, Agile and Simple Threat modelling) | A method built to scale across a large organisation, with separate models for applications and for operations | Many teams must model many systems quickly |
| Trike | An open-source method that starts from a requirements model: which actors may take which actions on each | Stakeholders must agree that the risk to each asset is acceptable |
| OCTAVE | A risk assessment method from Carnegie Mellon University's Software Engineering Institute, centred on critical assets | The organisation's own risk and security strategy is the subject |
| LINDDUN | A threat method from KU Leuven, a university in Belgium | The worry is harm to people's privacy, not only to security |
| Attack tree | A diagram with the attacker's goal at the top and the ways of reaching it branching below | One goal must be broken into every path to it |
| MITRE ATT&CK | A public catalogue of the techniques real attackers have been seen to use | A team wants to check its model against real attacker behaviour |
| Cyber Kill Chain | Lockheed Martin's seven phases of an intrusion, from first research to the final goal | Defences are planned to break an attack at some phase |
LINDDUN takes its name from seven privacy threats: linking, identifying, non-repudiation, detecting, data disclosure, unawareness and unintervenability, and . In privacy, non-repudiation is a threat: proof that a particular person did something can itself harm them, as it would a whistle-blower.
The Kill Chain's phases, in order, are reconnaissance, weaponisation, delivery, exploitation, installation, command and control, and actions on objectives. Its authors' point is that breaking any one phase stops the intrusion.
A ranked list is still only a list. Each threat gets one of four responses, the same family as the responses to any risk.
Each decision is written into the and checked once the work is done. Microsoft summarised the aim as software that is secure by design, secure by default and secure in deployment. Threat modelling serves the first of these.
A council is building an online service for residents to report missed bin collections. The team has drawn its data flow diagram and listed 40 threats under the six STRIDE headings. The project board will fund fixes for only the most serious threats this year, and it wants each choice explained in terms the board can check.
What should the team do NEXT?
Answer: A. Score each threat with DREAD and rank them by their totals
Apply each STRIDE letter to the web shop's diagram, then rank what you find and choose a response for each.
Loading the preview.
3 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 3
A threat modelling team at a parcel delivery firm has walked its tracking app's data flow diagram and written down six threats.
Match each threat to the security property it attacks.
Choose the match for each entry. Every match has to be right.
Spoofing (authentication), tampering (integrity), repudiation (non-repudiation), information disclosure (confidentiality), denial of service (availability), elevation of privilege (authorisation).
Damage potential, reproducibility, exploitability, affected users and discoverability. It rates threats that a method such as STRIDE has found, so that the most serious are dealt with first.
Define objectives; define technical scope; decompose the application; analyse threats; analyse vulnerabilities and weaknesses; model attacks; analyse risk and impact.
LINDDUN is for privacy threats. Trike starts from a requirements model and aims for risk to each asset that every stakeholder finds acceptable. MITRE ATT&CK catalogues techniques attackers have been seen to use, and the Cyber Kill Chain sets out seven phases of an intrusion.