Why this module exists. Threat modelling is referenced in every security architecture guide and practised by few engineering teams. The reason: it sounds like a workshop without a clear deliverable. This module makes the deliverable concrete.
What threat modelling produces
- A documented list of threats relevant to the system being built.
- For each threat: the asset at risk, the threat actor, the attack vector, the impact.
- For each threat: existing controls and gaps.
- For each gap: a treatment decision (mitigate, transfer, accept, avoid).
- The architecture is updated to address the threats that require mitigation.
The artefact is a one-pager per architecture; the discussion that produced it is the value.
STRIDE — the most-used method
Microsoft’s STRIDE categorises threats into six types:
| Threat | Property violated | Example |
|---|---|---|
| Spoofing | Authentication | Attacker impersonates a user |
| Tampering | Integrity | Attacker modifies a database record |
| Repudiation | Non-repudiation | User denies a transaction; system cannot prove |
| Information Disclosure | Confidentiality | Sensitive data exposed |
| Denial of Service | Availability | Service unreachable |
| Elevation of Privilege | Authorisation | User gains admin rights |
The STRIDE workshop — operational pattern
- Draw a data-flow diagram. Components, external entities, data stores, processes, trust boundaries.
- For each trust boundary, enumerate threats by STRIDE category.
- For each threat, identify existing controls.
- For each threat without adequate controls, decide treatment.
- Document; architecture-updates feed into the build plan.
The workshop takes 2-3 hours for a moderately complex service. Repeat as the architecture evolves.
PASTA — the risk-centric method
PASTA (Process for Attack Simulation and Threat Analysis) is more comprehensive but heavier. Seven stages:
- Define business objectives.
- Define technical scope.
- Application decomposition.
- Threat analysis.
- Vulnerability and weakness analysis.
- Attack modelling.
- Risk and impact analysis.
Use PASTA when the business / regulatory context is the dominant factor — e.g., a new financial product, a regulator-driven architecture. STRIDE is faster for component-level threats.
LINDDUN — for privacy threats
LINDDUN focuses specifically on privacy threats — useful for DPDP-relevant architectures. Categories:
- Linkability (linking previously-unlinked data records)
- Identifiability (re-identifying individuals from anonymised data)
- Non-repudiation (privacy harm from inability to deny)
- Detectability (knowing whether data about a person exists)
- Disclosure of information
- Unawareness (people unaware of data collection)
- Non-compliance (with applicable privacy law)
Run LINDDUN alongside STRIDE for systems handling personal data; it surfaces threats STRIDE misses.
Attack trees — for deep-dive on specific assets
Attack trees diagram the ways an attacker can reach a specific goal. The root is the attacker’s goal; child nodes are sub-goals; leaves are concrete attack actions.
Use attack trees for high-value assets where comprehensive enumeration of attack paths matters — credit-card processing, customer authentication, key management.
Operational integration — making threat modelling routine
- Design-review checkpoint. Every new service or major change has a threat-model review before build. No exceptions for “small” changes — small changes accumulate into large surfaces.
- Threat-model templates — standard structure so the artefact is consistent across teams.
- Reusable threat libraries — known threats for known patterns (OAuth, file upload, financial transaction, etc.) avoid re-deriving from scratch.
- Outputs feed engineering tickets. Each gap becomes a Jira ticket; closed before launch.
- Annual review of in-flight threat models; threats evolve.
Tools
- Microsoft Threat Modeling Tool — free, STRIDE-focused, generates diagram-driven threat models.
- OWASP Threat Dragon — open-source, web-based, STRIDE.
- IriusRisk — commercial, threat-library-driven, automates against patterns.
- Whiteboard + spreadsheet — most-used approach in mature teams; tooling is not the constraint.
Common failure modes
- Threat modelling done once at project start; never updated as architecture evolves.
- Workshop without an architecture-savvy facilitator; degenerates into generic risk discussion.
- Outputs not connected to engineering backlog; gaps never closed.
- Done only at major-version boundaries; small-change drift accumulates threats.
Key takeaways
- Threat modelling produces a documented list of threats, controls, gaps, and treatment decisions.
- STRIDE for component-level (most-used); PASTA for risk-centric heavy lifts; LINDDUN for privacy; attack trees for deep-dive.
- 2-3 hours per moderately complex service; integrate into design-review checkpoint.
- Threat libraries for known patterns avoid re-deriving from scratch.
- Outputs feed engineering tickets, not slides.
Custom team training + practitioner advisory
Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.