SOC 2 Readiness
24/7 Security Monitoring
Canadian-Based SOC
Back to Glossary
Assessment & Testing

What Is Threat Modeling?

Definition

Threat Modeling is a structured approach for identifying, quantifying, and addressing security threats to a system by analyzing its architecture, data flows, and trust boundaries to proactively design security controls.

People Also Ask

Common questions about Threat Modeling answered by our security experts.

Threat Modeling in Practice

Threat modelling is the highest-value security activity that requires no tooling and no budget, and it is the one most consistently skipped. An hour with a design and a whiteboard catches the authorisation flaw that no scanner will ever find, at the point where fixing it costs a conversation rather than a release.

The whole discipline reduces to four questions.

The four questionsThe four questions1What are we building?Question 1A diagram good enough to argue about. Components, data stores, trust boundaries.2What can go wrong?Question 2Walk each flow crossing a trust boundary and ask how it could be abused.3What are we doing about it?Question 3A control, a design change, or an explicit decision to accept the risk.4Did we do a good enough job?Question 4Review the model when the design changes, not once at project start.
Everything else in threat modelling is a method for answering these more consistently.

Where the value actually comes from

Not from the methodology. STRIDE, PASTA, attack trees and the rest are scaffolding for the second question; any of them beats none of them, and arguing about which to adopt is a common way to never start.

The value comes from trust boundaries. Every place data crosses from something you control to something you do not — or from a less trusted context to a more trusted one — is where the interesting failures live:

  • A user-supplied identifier reaching a database query
  • A file upload reaching a parser
  • A third-party callback reaching an internal service
  • An administrative function reachable by a normal session
  • Content from outside your organisation reaching a system that can take action on it

What scanners cannot find, and modelling can

Flaw classFound by tooling?
Injection where input reaches a sinkUsually
Hardcoded secretsUsually
Broken authorisation between accountsNo
Business logic abuseNo
Missing rate limits on a costly operationNo
Trust placed in a client-supplied valueRarely

The bottom four are design questions. They are visible on a whiteboard and invisible to a scanner, which is the entire argument for doing this at design time.


STRIDE, as a prompt rather than a process

The most widely used prompt list is STRIDE. Treated as a checklist it is bureaucratic; treated as six questions to ask of each trust boundary it is genuinely useful:

PromptThe question at a boundary
SpoofingCan something claim to be something it is not?
TamperingCan data be altered in transit or at rest?
RepudiationCould someone deny having done this, credibly?
Information disclosureCan data leak to a party that should not see it?
Denial of serviceCan this be made expensive or unavailable?
Elevation of privilegeCan a lower-trust actor gain higher-trust capability?

Fitting it into how teams actually work

Threat modelling fails when it is scheduled as a separate workshop requiring a facilitator and a full day. It succeeds when it is attached to something already happening — design review, or the first refinement of a feature that touches sensitive data.

Keep the output small and durable: the diagram, the threats considered, the decisions taken, and the ones explicitly accepted. A model nobody can find in six months was a conversation, not an artefact.

Model the feature, not the system
Teams that set out to threat model the whole platform produce a diagram nobody finishes and a document nobody reads. Model the next feature that touches sensitive data, in an hour, and repeat. The coverage accumulates and the habit survives.

Where to start

Take one upcoming feature that touches customer or patient data. Draw it, mark the trust boundaries, and walk the four questions. It requires no procurement and it will surface something.

The habit matters more than the artefact. A team that asks the four questions informally at every design discussion will find more than one that produces an immaculate model once a year and never revisits it.

See building security into the development lifecycle and risk assessment methodologies. GuardsArm runs security risk assessments.

Need Help With Threat Modeling?

Our certified security professionals can help you implement the right threat modeling strategy for your organization. Get a free assessment today.

Book a Free Consultation