SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Threat modeling

Threat modeling is the practice of analysing a representation of a system to find what could go wrong with its security and privacy and to decide what to do about it. The Threat Modeling Manifesto, written by a working group of practitioners, defines it as "analyzing representations of a system to highlight concerns about security and privacy characteristics" and says it asks four questions at the highest level: what are we working on, what can go wrong, what are we going to do about it, and did we do a good enough job 1.

The question that gives the practice its shape is the second one, and it needs an opponent. Bruce Schneier opened his 1999 article on attack trees by observing that the word "security" has no meaning unless one knows things like "Secure from whom?" or "Secure for how long?", and argued that a way to model threats was needed 2. Earlier work already worked this way. Needham and Schroeder's 1978 authentication protocols began from an explicit assumption that an intruder can interpose a computer in all communication paths 3, and Anderson's 1980 report sorted penetrators by their authorisation to use the machine and its data 4.

Methods differ in what they enumerate. STRIDE, set out in a Microsoft memo by Loren Kohnfelder and Praerit Garg dated 1 April 1999, lists six threat categories to apply to a product design, and the memo calls identifying threats the first step of a proactive security analysis 5. Attack trees start from an attacker's goal and decompose it into ways to reach it 2. A 2006 Microsoft article by Hernan, Lambert, Ostwald and Shostak describes threat modeling as "the methodical review of a system design or architecture to discover and correct design-level security problems", built on data flow diagrams with trust boundaries to which STRIDE is applied. The same article says there are multiple approaches, that no one method is the only right one, and that there are no well-established ways to measure the quality of a threat model 6.

The Manifesto states values and principles and says it is methodology-agnostic and not a how-to. Among the values are finding and fixing design issues over checkbox compliance, and continuous refinement over a single delivery. Among its anti-patterns are the "hero threat modeler" and a "tendency to overfocus", which it explains as exaggerating attention on adversaries, assets or techniques 1. It also advises creating more than one representation of a system, because there is no single ideal view 1.

Source · Threat Modeling Manifesto (opens in a new tab) · Threat Modeling Manifesto working group

References

  1. Threat Modeling Manifesto (opens in a new tab) · Threat Modeling Manifesto working group ↩ ↩ ↩
  2. Attack Trees: Modeling security threats (opens in a new tab) · Bruce Schneier, Dr. Dobb's Journal · December 1, 1999 ↩ ↩
  3. Using Encryption for Authentication in Large Networks of Computers (opens in a new tab) · Roger M. Needham and Michael D. Schroeder, Communications of the ACM 21(12) · December 1, 1978 ↩
  4. Computer Security Threat Monitoring and Surveillance (opens in a new tab) · James P. Anderson Co., via NIST Computer Security Resource Center · February 26, 1980 ↩
  5. The Threats to Our Products (opens in a new tab) · Loren Kohnfelder and Praerit Garg, Microsoft (copy hosted by Adam Shostack) · April 1, 1999 ↩
  6. Uncover Security Design Flaws Using The STRIDE Approach (opens in a new tab) · MSDN Magazine, Microsoft Learn · November 1, 2006 ↩

Research articles

See what connects to it on the map of ideas →

See also