Threat modelling is a structured way to ask what can go wrong with a system and what you should do about it.
What you will learn
- Turn a system model into specific threat scenarios.
- Use structured prompts without mistaking them for completeness.
- Link threat decisions to controls, requirements and review triggers.
A repeatable approach
- Describe the system, assets, intended use and assumptions.
- Draw components, data flows and trust boundaries.
- Identify threats for each component and flow.
- Assess consequences and prioritise treatment.
- Define controls and verifiable requirements.
- Review the model when the system or its environment changes.
Use prompts to broaden your thinking
STRIDE offers six useful prompts: spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. It helps identify threats; it does not replace risk assessment.
Make findings actionable
“The gateway might be hacked” is too vague. “An unauthenticated network client can change the measurement destination through the administration API” identifies a path, an action and an affected function.
Try the connected-sensor exerciseUse questions to expose assumptions
Begin with what you are building, what can go wrong, what you will do about it and how you will check the result. The answers should be grounded in the current system model and operating context. Invite people who understand the interfaces, deployment, users and maintenance process; an isolated analyst may miss an important recovery or support route.
Structured prompts such as STRIDE help review spoofing, tampering, repudiation, information disclosure, denial of service and elevation of privilege. Apply them to actual elements and crossings rather than generating a generic list. Not every prompt produces a credible scenario, and a completed category checklist does not prove that every relevant threat has been found.
Write scenarios that lead to decisions
Describe the actor or event, access, weakness, affected asset, action and consequence. For an update, distinguish an altered package, an authorised but unsuitable release, a compromised signing key and interrupted installation. Those scenarios require different controls even though all relate to firmware.
Separate observations from assumptions. If the gateway is assumed to reject replay after restart, identify the design and evidence supporting that claim. Record control status and risk decisions explicitly. A threat register should help a reviewer understand why a scenario matters and what action follows, rather than present unexplained ratings beside vague labels.
Maintain the model as engineering evidence
Assign scenario identifiers and link treatment to requirements and verification. Identify unresolved questions with owners. When a test exposes a bypass, return to the scenario and assess whether the control or the model needs revision. When a dependency changes, revisit affected assumptions before relying on old evidence.
Use bounded workshops and focused reviews rather than waiting for a perfect diagram. Start with high-authority flows such as enrolment, administration and updates, then expand coverage. Review the completeness of the system boundaries as well as the threat list. Operational change can create a new attack path without changing a line of device firmware.
Apply the ideas
Threat-model an installer enrolling a sensor into a customer account. Consider impersonation, misassignment, reused enrolment material and an interrupted process. Select one scenario and define a control, requirement and verification result.
Compare your approach
A reused enrolment credential may associate an unauthorised sensor with the customer. Limit the credential’s authority and lifecycle, authenticate the actor and device as required by the design, and require a controlled customer association. Specify behaviour for reuse and interruption so a partial operation does not leave an unintended identity active. Test an authorised enrolment and the rejected reuse case, then confirm device and customer state after interruption.
Review your work
- Does every scenario identify a concrete path and consequence?
- Are assumed controls backed by design and evidence?
- Do changes trigger reassessment of the affected model?
Keep this output: A prioritised threat set with linked treatment, verification and open questions.
