STRIDE threat modeling
Best for Startup to Growth
Use it when
You are designing or changing a software system and need its threats found category by category from a data flow diagram, while design changes are still cheap.
Skip it when
- One attacker goal needs every route to it and the cheapest one. Use Attack trees (Schneier), which can take each threat found here as a root.
- You need the security work for a whole release, from requirements to the ship decision. Use Product security framework, whose threat step takes this list.
- You need to know which attacker techniques you can detect or block today. Use MITRE ATT&CK.
- The main risk is how the system collects and uses personal data. Use Privacy by design (Cavoukian).
What to apply first and what to use instead are listed below.
Approaches
STRIDE per element
Each element on the diagram is checked for the threat types that apply to its kind. Processes get all six, data flows and data stores get tampering, information disclosure and denial of service, and external entities get spoofing and repudiation.
- Pro It is simple, uses a short chart and suits teams with little security experience.
- Con Threats that appear only when components are combined can be missed.
STRIDE per interaction
Each interaction, meaning an origin, a destination and the flow between them, is visited in turn and checked against the threats listed for that kind of interaction.
- Pro Attention goes to the interactions, where many threats show up.
- Con It uses a larger mapping chart and is hard to run without the chart at hand.
Inputs
- Scope and use casesThe business functions, user roles, outside systems, data processed and stored, and legal or contract requirements for the release, from product and engineering.
- Data sensitivityThe harm from losing the confidentiality, integrity or availability of each data type, agreed with the product owner and security.
- Draft data flow diagramProcesses, data stores, data flows, external entities and trust boundaries for the current design, with each flow labeled by data and protocol, from the architects.
- Session groupEngineers, the product owner, a security specialist, a tester and a note taker, booked for about two hours per part of the system.
- Known weaknessesOptionalThreat trees, past security bugs and public weakness lists such as the CWE Top 25 for the technologies in use, from the security team.
Steps
- Write the use cases, assets and security requirements in scope, with the harm from losing each data type's confidentiality, integrity or availability.
- Correct the data flow diagram so every data store has a reader and a writer, every flow passes through a process, and similar elements inside one trust boundary are merged. Mark every trust boundary.
- Walk the diagram element by element or interaction by interaction, ask each STRIDE question that applies, and record each threat with its actor, precondition, action, consequence and the element affected. Look hardest at flows that cross a trust boundary.
- Prompt for threats the group missed with threat trees and known attack patterns for each technology, then rate the severity of every threat.
- Choose a response for each threat (mitigate, eliminate, transfer or accept) and record the reason. Prefer standard, well-understood mitigations, and log each one as a work item with a security test.
- Review the model with the group to confirm the diagram matches the design and every threat has a response, then update it whenever the design changes.
Output
A threat model for one release, made of the data flow diagram and a threat list linked to work items in the team's tracker.
- Diagram version and trust boundaries
- Element or interaction
- STRIDE category
- Threat, with actor, precondition, action and consequence
- Severity
- Response (mitigate, eliminate, transfer or accept) and reason
- Mitigation, work item and test
- Owner and status
Done when
- Every element on the diagram, or every interaction in the per interaction approach, has been checked against each STRIDE category that applies to it.
- Every flow that crosses a trust boundary has at least one recorded threat or a written reason why none applies.
- Every threat has a severity and a response, and every transferred or accepted threat names who holds the remaining risk.
- Every mitigation is a work item with a linked security test.
- The group has confirmed the diagram matches the current design version.
Measure
For the next three or four releases, log every security bug found in testing, penetration tests or production, and mark whether the threat model listed it. Compare the share of design-level bugs the model missed, and how late they were found, with releases before you started. It worked when that share falls and each missed bug becomes a new threat or checklist item.
Hypothetical example
Tallyfield's team modeled a new expense approval feature. The diagram showed employees and managers as external entities, an API and an approval service as processes, a receipt store and a ledger as data stores, and a trust boundary between the internet and the cloud. Per element, the group recorded 14 threats. A manager could deny approving a claim, so approvals went to a signed audit log. An employee could replay an approved claim, so each claim got a unique ID. Receipts in the store could leak, so the store was encrypted with access limited to the approval service. Uploads could be flooded, so the API got rate limits. Eleven threats were mitigated, two were accepted with reasons and one was transferred to the payment provider with an owner named.
Common mistakes
- Drawing a diagram with data stores nobody reads or data that moves without a process. Fix the diagram before asking any STRIDE question.
- Stopping at the six prompts. Follow with threat trees, past bugs and known attack patterns for each technology, since the categories alone can miss design flaws.
- Treating a transferred threat as solved. Record the risk that remains and who owns it.
- Ranking threats on likelihood and impact alone. Weigh the effort to fix each one when you plan the work.
- Modeling once at the start. Update the diagram and threat list whenever the design changes.
Sources
- Uncover Security Design Flaws Using The STRIDE Approach (MSDN Magazine, November 2006) · Shawn Hernan, Scott Lambert, Tomasz Ostwald and Adam Shostack, 2006
- Practice 3: Perform secure design review and threat modeling · Microsoft Security Development Lifecycle
- Threats, Microsoft Threat Modeling Tool · Microsoft, 2026
Show all 6 sources
- Threat Modeling Cheat Sheet · OWASP Cheat Sheet Series team
- A replication of a controlled experiment with two STRIDE variants · Winnie Mbaka and Katja Tuma, 2022
- Threat Modeling: Designing for Security · Adam Shostack, 2014
By company stage
Apply first
Nothing. You can start here.
Use instead
- Attack trees (Schneier)
use STRIDE to cover threat categories systematically during system design; use attack trees to analyse one attacker goal in depth, with costs and probabilities.
- Product security framework
You need the security work for a whole release, from requirements to the ship decision. Use Product security framework, whose threat step takes this list.
- MITRE ATT&CK
You need to know which attacker techniques you can detect or block today. Use MITRE ATT&CK.
- Privacy by design (Cavoukian)
The main risk is how the system collects and uses personal data. Use Privacy by design (Cavoukian).
Where it sits
Open the risk roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account