Software-focused threat modeling

A threat modeling strategy that starts from the design of the system being built, its components, data flows and trust boundaries, and asks how each part could fail or be abused.

Software-focused threat modeling is one of three starting points for a threat model, alongside asset-focused and attacker-focused approaches. Adam Shostack sets out the three strategies in Threat Modeling: Designing for Security (2014) and argues that a focus on software is usually the most appropriate of them. The team begins with a model of the system under design, commonly a data flow diagram, and examines each process, data store, data flow and trust boundary for the ways it could be attacked or misused.

The appeal is that developers already understand the system they are building, so they can reason about it without guessing at attacker motives or debating which assets matter most. A checklist such as STRIDE is often applied element by element, which is why the approach sits naturally inside a secure development lifecycle and in proactive threat modeling during design. The trade-off is that the model covers only what has been drawn: a component or external dependency missing from the diagram is not examined.

Exam relevance: a scenario that describes developers decomposing an application into components and data flows before release is likely to be describing a software-focused approach. Candidates are expected to tell it apart from starting with what is valuable (asset-focused) or with who might attack (attacker-focused).