Glossary

Threat modelling

Threat modelling is a structured analysis of a system's design to identify security threats before the system is built. Conducted at design time, it examines the architecture, traces how data flows through it, and applies frameworks like STRIDE to enumerate threats, so that flaws can be fixed on a diagram — where they cost minutes — rather than in production code, where they cost far more.

Threat modelling exists because the cheapest moment to fix a security flaw is before any code is written. A flaw found in design is fixed by moving a box on a diagram; the same flaw found after deployment is fixed by re-architecting a running system, often under time pressure, with migration plans and backward-compatibility constraints. The economics are overwhelming, yet threat modelling is consistently underused because it requires a different skill — thinking about how a system could be attacked rather than how it should work — and because the activity is unfamiliar to many teams. The result is that architectural flaws, which are among the most damaging because they affect the whole system, routinely reach production because nobody modelled the threats at design.

The process typically follows a defined shape. The system is diagrammed as a data-flow or architecture model, showing the components, trust boundaries, data stores, and data flows. Each element is then analysed for threats using a structured framework — STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) is the most common — which ensures the analysis is systematic rather than dependent on the modeller remembering every category. The identified threats are evaluated, prioritised, and addressed with design changes or controls, and the model is maintained as the system evolves. The output is a documented set of threats and mitigations that travels with the system through its lifecycle.

Threat modelling pays off across the development lifecycle, not just at design. The model is the basis for security requirements — if a threat is identified, the control that addresses it becomes a requirement. It informs test cases — the threats modelled at design become the scenarios tested at verification. It guides code review — reviewers know which architectural assumptions matter and which flows are sensitive. And it accelerates incident response — when an incident occurs, the model helps the team understand what the attacker could be after and where the system is most exposed. An organisation that threat-models consistently produces more secure systems not just because of the modelling session itself, but because the model propagates forward into everything that follows.

The practical barriers to threat modelling are real, which is why many organisations that try it do not sustain it. The activity requires security expertise that development teams often lack. It requires time at a point in the project — design — when teams are under pressure to start building. It produces artifacts that need to be maintained or they go stale. And it requires a facilitator who can lead a productive session rather than a generic checklist exercise. These barriers are why facilitated threat modelling, where an external expert runs the sessions and produces the models, is often the model that succeeds — it brings the expertise, maintains consistency across teams, and keeps the practice alive long enough to become institutional.

Passeca delivers threat modelling on the ThreatModeler platform, with sessions facilitated by Passeca security architects who bring the threat-analysis expertise that development teams typically lack. Engagements range from one-off models for a critical system to an embedded practice where Passeca facilitates modelling across an organisation's projects and trains internal teams to sustain it. The output — documented models, prioritised threats, and design-level mitigations — is the input to the rest of a secure development lifecycle, from requirements through testing. It is, in the phrase, the cheapest security control an organisation will buy.

Related Passeca serviceThreat Modelling Services
Learn more