STRIDE — Threat Modeling Framework
Six categories of security threats. For every element in your system, ask: what can go wrong here?
Spoofing
Pretending to be something or someone other than yourself
QUESTIONS TO CONSIDER
- Can an attacker pretend to be another user?
- Can credentials be stolen or forged?
- Is authentication properly implemented?
- Are there session hijacking vulnerabilities?
COMMON MITIGATIONS
MITRE ATT&CK
OWASP
CWE
REAL-WORLD: Colonial Pipeline (2021)
A single leaked VPN credential with no MFA let attackers in, halting fuel supply to the US East Coast.
Tampering
Modifying data or code without authorization
QUESTIONS TO CONSIDER
- Can data be modified in transit?
- Can stored data be altered?
- Is input validation properly implemented?
- Can code or configuration be modified?
COMMON MITIGATIONS
MITRE ATT&CK
OWASP
CWE
REAL-WORLD: SolarWinds (2020)
Attackers tampered with the build pipeline and shipped signed-but-malicious Orion updates to ~18,000 organizations.
Repudiation
Claiming to not have performed an action
QUESTIONS TO CONSIDER
- Are all actions properly logged?
- Can audit logs be tampered with?
- Is there non-repudiation for critical actions?
- Are timestamps accurate and protected?
COMMON MITIGATIONS
MITRE ATT&CK
OWASP
CWE
REAL-WORLD: APT log-clearing (NotPetya & others)
Intruders routinely clear or disable logs to deny their actions and blind forensics — undetected dwell time is often months.
Information Disclosure
Exposing information to unauthorized parties
QUESTIONS TO CONSIDER
- Is sensitive data properly encrypted?
- Are error messages revealing too much?
- Is data classification properly implemented?
- Are there data leakage vulnerabilities?
COMMON MITIGATIONS
MITRE ATT&CK
OWASP
CWE
REAL-WORLD: Capital One (2019)
SSRF reached the IMDSv1 endpoint, stole an over-privileged role, and exfiltrated 106M records from S3.
Denial of Service
Denying or degrading service to users
QUESTIONS TO CONSIDER
- Can the system be overwhelmed with requests?
- Are there resource exhaustion vulnerabilities?
- Is rate limiting implemented?
- Are there single points of failure?
COMMON MITIGATIONS
MITRE ATT&CK
OWASP
CWE
REAL-WORLD: Mirai / Dyn DNS (2016)
An IoT botnet pushed ~1 Tbps at Dyn, taking down Twitter, GitHub, Netflix and Reddit for hours.
Elevation of Privilege
Gaining capabilities without proper authorization
QUESTIONS TO CONSIDER
- Can users access unauthorized resources?
- Is the principle of least privilege followed?
- Are there privilege escalation vulnerabilities?
- Is authorization properly checked at all levels?
COMMON MITIGATIONS
MITRE ATT&CK
OWASP
CWE
REAL-WORLD: Dirty Pipe — Linux LPE (CVE-2022-0847)
A kernel flaw let any local user overwrite read-only files and escalate to root; least privilege + patching limit blast radius.
STRIDE per element
Not every threat applies to every element. Map each part of your data-flow diagram to the categories that fit it.
| Element | S | T | R | I | D | E |
|---|---|---|---|---|---|---|
| External Entity | · | · | · | · | ||
| Process | ||||||
| Data Store | · | · | ||||
| Data Flow | · | · | · | |||
| Trust Boundary | · | · | · | · | · | · |