Book an Appointment

Threat Modeling: Anticipating Attacks Before Code Is Written

How to identify security risks as early as the design phase using the Four Question Framework, STRIDE, PASTA and attack trees – and how to anchor threat modeling permanently in the SDLC and agile teams.

Last updated: July 2026 · Valeri Milke, ISO 27001 & ISO 42001 Lead Auditor

4questions structure the process (Shostack, 2014)
6STRIDE threat classes — each violates a security property
7stages in the risk-centric PASTA method
15experts published the Threat Modeling Manifesto in 2020

The most expensive vulnerabilities are rarely coding errors but design decisions: a missing trust boundary, an unprotected data flow, an abuse case nobody considered. Threat modeling analyzes representations of a system to surface such security and privacy issues in a structured way before they are implemented. What was long regarded as an expert discipline is now methodologically well charted: the Four Question Framework provides the structure, methods such as STRIDE and PASTA supply the systematic approach, and tools from OWASP Threat Dragon to pytm lower the barrier to entry. At the same time, frameworks such as the NIST Secure Software Development Framework explicitly anchor threat modeling in the secure development process.

The Essentials at a Glance

Six topic blocks — tap to expand.

Method Explorer: STRIDE, PASTA, Attack Trees

Three methods that complement each other in practice — systematic breadth, risk perspective and in-depth analysis.

6 classes
  • Formulated in 1999 by Loren Kohnfelder and Praerit Garg at Microsoft, later a core element of the Microsoft Security Development Lifecycle.
  • Categorizes threats into six classes, each violating a security property — from Spoofing to Elevation of Privilege.
  • In practice, the method for systematic breadth.
SpoofingTamperingRepudiationInformation DisclosureDenial of ServiceElevation of Privilege

Standards & Sources

The content on this page is based on the following publicly available guides and studies.

Threat Modeling Manifesto Working Group · 2020

Threat Modeling Manifesto

Defines threat modeling, references the Four Question Framework and formulates five values, four principles as well as patterns and anti-patterns as method-neutral guardrails.

Adam Shostack / Wiley · 2014

Threat Modeling: Designing for Security

The standard work behind the Four Question Framework that most modern threat modeling approaches follow.

Tony UcedaVélez, Marco M. Morana / Wiley · 2015

Risk Centric Threat Modeling: Process for Attack Simulation and Threat Analysis

Original source of the seven-stage, risk-centric PASTA methodology that links simulated attacks to business impact.

Bruce Schneier / Dr. Dobb's Journal · 1999

Attack Trees

The original article on attack trees: attack goal as root node, AND/OR-linked attack paths, assessable by cost or probability of success, for example.

NIST · 2022

NIST SP 800-218: Secure Software Development Framework (SSDF) Version 1.1

Anchors risk modeling – explicitly including threat modeling – as task PW.1.1 of the practice “Produce Well-Secured Software”.

Cloud Security Alliance · 2025

Agentic AI Threat Modeling Framework: MAESTRO

Seven-layer threat modeling framework for agentic AI systems that addresses gaps in classic methods such as STRIDE and PASTA.

Ready to establish threat modeling in your team?

We support you in building a threat modeling process that works in practice – from the first workshop to automation in the pipeline. Talk to us.