Glossary termSecurity practice

Threat Modeling

Also known as: Threat model, Threat modelling

A structured process for identifying what could go wrong with a system, who might cause it and which defenses matter most before problems occur.

Threat modeling is a systematic way of thinking about security risks before they are exploited. It is often summarized as four questions: what is being worked on, what can go wrong, what will be done about it and whether the analysis was good enough. The result, a threat model, describes valuable assets, likely adversaries and their capabilities, entry points and the controls that reduce risk. It can be applied to software designs, networks, whole organizations or the circumstances of a single person.

In software engineering, teams commonly diagram how data flows between components and examine each part for threats. Microsoft's STRIDE mnemonic, developed in the late 1990s, groups threats into spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. Other approaches include attack trees, popularized by Bruce Schneier, and risk-centric methods such as PASTA. Security author Adam Shostack's work helped bring threat modeling into mainstream development practice, and knowledge bases such as MITRE ATT&CK catalog real adversary behavior to inform the analysis.

Threat modeling is equally valuable outside large organizations. In personal OPSEC and digital safety guidance, such as the Surveillance Self-Defense guides of the EFF, it means asking what needs protecting, from whom, how likely a threat is and how severe the consequences would be. A journalist protecting sources, a person leaving an abusive relationship and a small business facing ransomware need different measures. This framing keeps security proportionate, avoids both paralysis and false confidence and directs limited time and money where they help most, a principle that also underlies defense in depth.

Key points

  • Threat modeling asks what is being protected, what can go wrong, what to do about it and whether that worked.
  • STRIDE, attack trees and data flow diagrams are common techniques in software threat modeling.
  • Personal threat modeling keeps security measures proportionate to a person's real risks.
  • Considering threats early in design is cheaper than fixing security flaws after deployment.

Related entries

Glossary term

OPSEC

OPSECCybersecurity

The practice of protecting critical information by denying adversaries insight into one's activities, intentions, capabilities or vulnerabilities.

Glossary term

Attack Surface

Cybersecurity

The total set of points where an unauthorized party could try to enter, extract data from or otherwise attack a system, network or organization.

Glossary term

Defense in Depth

Cybersecurity

Security strategy that layers multiple independent safeguards so that if one control fails, others still protect systems and data.

Person

Bruce Schneier

CybersecurityOPSEC

American cryptographer and security technologist known for "Applied Cryptography", the Blowfish and Twofish ciphers and writing on security and society.

Organization

Electronic Frontier Foundation

Ideas and CultureOPSECCybersecurity

Nonprofit organization founded in 1990 that defends civil liberties online through litigation, policy advocacy, technology projects and public education.

Organization

MITRE

Cybersecurity

American not-for-profit organization that operates federally funded research centers and created widely used security resources such as CVE and ATT&CK.

Glossary term

Penetration Testing

Cybersecurity

An authorized, simulated attack on a system, network or application, performed to find and fix security weaknesses before real attackers do.

Glossary term

Privacy by Design

OPSECProgramming

Approach to building systems and organizations in which privacy protections are embedded from the outset and enabled by default rather than added later.

Featured in guides

Referenced by

Other entries that discuss or point to Threat Modeling.