STRIDE is a foundational threat modeling framework created by Microsoft that categorizes potential security risks into six vectors: Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege. It helps engineering and security teams proactively identify and mitigate design flaws during the earliest stages of the Microsoft Security Development Lifecycle.
The most effective way to use STRIDE for applications and platforms is by mapping these six threat categories directly to a system’s Data Flow Diagrams (DFDs) and Trust Boundaries.
The STRIDE Framework
Each threat vector in STRIDE corresponds to a core principle of information security:
| Threat Category [1, 2, 3, 4, 5] | Security Principle | Definition & Target for Platforms |
|---|---|---|
| Spoofing | Authenticity | Impersonating a legitimate user or system component (e.g., stealing session tokens, forging OAuth credentials). |
| Tampering | Integrity | Unauthorized, malicious modification of data in transit or at rest (e.g., modifying database records, altering API payloads). |
| Repudiation | Non-Repudiation | When an actor denies performing an action, and the system lacks the proof to prove otherwise (e.g., deleting transaction logs). |
| Information Disclosure | Confidentiality | The unintended exposure of sensitive data to unauthorized parties (e.g., data breaches, leaking configuration details in error messages). |
| Denial of Service | Availability | Disabling or degrading a system/platform so legitimate users cannot access it (e.g., overwhelming a service with requests). |
| Elevation of Privilege | Authorization | Gaining higher access rights than intended by exploiting a vulnerability or logic flaw (e.g., a normal user getting admin access). |
Threat Modeling Process
Performing STRIDE threat modeling follows a straightforward, structured approach:
- Define Scope & Objectives: Determine exactly what part of the application or platform you are analyzing.
- Decompose the System: Create a Data Flow Diagram (DFD) outlining processes, external actors, data stores, and data flows.
- Identify Trust Boundaries: Mark the locations where trust levels change (e.g., unauthenticated users versus internal application services).
- Apply STRIDE: Brainstorm how attackers could spoof, tamper, repudiate, expose, disrupt, or elevate privileges across each data flow or trust boundary.
- Mitigate & Validate: Devise security controls for each identified threat and verify they are correctly implemented.
Common Mitigations for Platforms
Platform architectures—like cloud applications, microservices, and SaaS environments—require specific defenses against STRIDE threats:
- Spoofing: Implement strong authentication mechanisms (e.g., Multi-Factor Authentication (MFA)) and enforce mutual TLS (mTLS) for inter-service communication.
- Tampering: Use cryptographic hashing, digital signatures, and Input Validation to preserve data integrity.
- Repudiation: Establish centralized, tamper-proof logging and audit trails.
- Information Disclosure: Enforce encryption both in transit (TLS) and at rest, and implement rigorous Role-Based Access Control (RBAC).
- Denial of Service (DoS): Use rate limiting, load balancers, and traffic filtering.
- Elevation of Privilege: Enforce the Principle of Least Privilege (PoLP) and maintain up-to-date, patched systems.