Threat Modelling (original) (raw)

Last Updated : 12 Dec, 2025

Threat modelling is a structured method to identify, analyze, and mitigate potential threats in systems, applications, or organizations. It helps teams uncover vulnerabilities early and build security into the design before attackers exploit weaknesses.

threat_modeling

It can be applied to a wide range of targets such as:

The Purpose of Threat Modeling

The purpose of threat modeling is to identify, communicate, and understand threats and mitigations for the organization's stakeholders as early as possible.

Key Components of a Threat Model

Process of Threat Modeling

This process ensures that security is integrated into the design phase and maintained throughout the application’s lifecycle.

process_of_threat_modeling

1. Define Scope & Objectives

Clarify what part of the system you're analyzing and why.

2. Diagram the System

Create a visual map of components and data flows.

3. Identify Threats

Determine what can go wrong in the system.

4. Analyze & Prioritize Risks

Rank threats based on impact and likelihood.

5. Design Mitigations

Plan security measures to reduce or eliminate threats.

6. Review & Iterate

Continuously refine the model as the system evolves.

Threat Modelling Methodologies

The development team will be able to implement application security as part of the design and development process by using threat modeling to identify threats, risks, and mitigation during the designing phase.

threat_modeling_methodologies

1. STRIDE

A Microsoft model that categorizes threats into six major security areas.

2. DREAD

A risk-rating system used to score threats based on severity and impact.

3. PASTA (Process for Attack Simulation and Threat Analysis)

A 7-stage methodology focused on attacker behavior and real-world attack scenarios.

4. Trike

A risk-management–oriented model that defines acceptable risk levels for assets.

5. VAST (Visual, Agile, and Simple Threat Modeling)

A scalable approach designed for large enterprises and agile teams.

6. Attack Tree

A visual diagram showing all possible ways an attacker can reach a goal.

7. CVSS (Common Vulnerability Scoring System)

A standardized scoring method to rate vulnerability severity (0–10).

8. T-MAP

A modeling method used for COTS systems using UML diagrams.

These tools help automate and streamline the threat modeling process, enabling teams to identify, assess, and mitigate security risks more efficiently throughout the software development lifecycle.

  1. Microsoft's Threat Modelling Tool
  2. MyAppSecurity
  3. IriuRisk
  4. securiCAD
  5. SD Elements by Security Compass
  6. Modeling Attack Trees
  7. CVSS 3.0
  8. Tiramisu

**How To Create a Threat Model

All threat modeling processes start with creating a visual representation of the application or system being analyzed. There are two ways to create a visual representation:

1. Visual Representation Using Data Flow Diagrams (DFD)

DFDs show how data moves, is stored, and is processed within a system.

DFD Based Threat Modeling

2. Visual Representation using Process Flow Diagram

PFDs were introduced in 2011 to overcome DFD limitations and better support Agile teams. They focus on how attackers move through the application, not just data flow.

PFD-based threat models view applications from the perspective of user interactions. Following are the steps for PFD-based threat modelling:

  1. Designing application's use cases
  2. The communication protocols by which individuals move between use cases are defined
  3. Including the various technical controls – such as forms, cookies, etc
  4. PFD-based threat models are easy to understand and don't require any security expertise.
  5. Creation of process map -showing how individuals move through an application. Thus, it is easy to understand the application from the attacker's point of view.

Threat Modelling Best Practices

Threat modelling fosters a shared understanding of security across the entire team and serves as the first step toward making security a collective responsibility. To get the most value from it, follow these five key best practices when creating or updating your threat model.