14  The Threat Modelling Process

Scope, Threats, Mitigations, and Evidence Records

security
threats
iot
Keywords

IoT threat modelling, threat model review, mitigation evidence, STRIDE review, trust boundaries, residual risk

14.1 Start Simple: Draw One Flow Before Choosing Controls

Before selecting a control, draw one IoT flow in plain words: device sends telemetry to gateway, gateway forwards an alert to service, service sends a command back, or device installs an update. The threat model begins when the flow names its asset, trust boundary, actor, assumption, and expected evidence.

This keeps mitigation grounded. Encryption, authentication, authorization, logging, monitoring, rollback, and recovery all matter, but each one answers a different threat. A useful model chooses the control after it has named the threat and can show the evidence behind the decision.

14.2 A Threat Model Is an Evidence Record

Threat modelling is a structured review of what the system protects, how data and control actions move, where trust changes, what could go wrong, and which mitigations reduce the most relevant risks. A useful threat model is not a long list of fears. It is an evidence record that links assets, flows, assumptions, threats, controls, owners, and retest triggers.

Mitigation is the step after threat identification. The review should explain why a control fits a specific threat, what evidence shows the control is present, what risk remains, and what change would reopen the model.

For an IoT gateway, the protected assets might be device identity, telemetry history, configuration commands, update packages, audit records, and operator roles. The flows might include device-to-gateway telemetry, service-to-gateway commands, operator dashboard changes, and firmware updates. Each place where authority changes is a trust boundary: device enrollment, local network access, cloud API authorization, update signing, or operator role assignment. A threat model makes those boundaries explicit before choosing controls.

That sequence matters because the same control can mean different things in different places. Encryption on a network path may protect confidentiality and integrity in transit, but it does not prove the device identity is enrolled, the operator is authorized for the action, the update is accepted by the bootloader, or the audit record names the actor. A useful model keeps the control claim attached to the asset, flow, and threat it actually reduces.

If you only need the intuition, this layer is enough: a threat model is a repeatable record. It starts with scope and flows, names threats by category, selects mitigations that fit, attaches evidence, and records residual risk and retest triggers.

The model is intentionally iterative. A new data flow, device identity scheme, update path, management role, or monitoring change can make a previous model incomplete, which is why the loop is meant to be re-run rather than written once.

Threat modelling review loop showing scope, flows, boundaries, threats, mitigations, evidence, residual risk, and retest triggers.
Figure 14.1: The review loop: scope, flows, boundaries, threats, mitigations, evidence, residual risk, and retest triggers.

The One-Minute View

Scope first

Name the system, assets, data paths, control actions, and assumptions before naming any control.

Threats before controls

Identify threats by category, then select mitigations that fit the named threats, not the other way around.

Evidence and retest

A control claim needs configuration, logs, tests, or records, plus residual risk and a trigger to reopen the model.

Beginner Examples

  • A threat model that lists controls before assets cannot show which threat each control addresses.
  • “Weak device identity could allow unauthorized telemetry” is a usable threat note; a step-by-step misuse recipe is not needed and should be avoided.
  • A model written once and never reopened becomes stale after the first architecture or identity change.

Overview Knowledge Check

If you can describe a threat model as an evidence record, you can stop here. Continue to Practitioner to build one for a real system.

14.3 Build the Model and Match Mitigations

Start by deciding what is inside the review. Scope should be narrow enough to reason about and broad enough to include the paths that matter.

Walkthrough: Scope, Threats, Mitigations

  1. Define scope. Which device, gateway, service, broker, or store is included, and what is the review question?
  2. Map flows and boundaries. Data flows, control actions, and the points where identity, network, or service context changes.
  3. List assumptions. What must stay true for the model to remain valid.
  4. Identify threats by category. Use STRIDE prompts as questions for each path.
  5. Select mitigations. Choose controls that fit each named threat.
  6. Attach evidence and retest triggers. Configuration, logs, tests, owners, and the change that reopens the model.
Threat model scope map showing asset, data flow, trust boundary, actor, control point, evidence, and assumption.
Figure 14.2: The scope map keeps the model grounded: every threat ties to an asset, flow, boundary, or assumption.

STRIDE Prompts and Matching Mitigations

STRIDE maps common threat questions to security properties. Use each as a question, then match a mitigation to the named threat.

Category
Review Question
Typical Mitigation
Evidence to Request
Spoofing
Could an actor or device be mistaken for another identity?
Stronger identity, enrollment, certificate status, revocation.
Enrollment record and rejected-identity test.
Tampering
Could data, firmware, or commands be changed undetected?
Integrity checks, signed records, startup and update verification.
Signature or digest verification logs.
Repudiation
Could an action lack reliable accountability?
Audit logs, signed events, reviewed time source.
Audit record of actor, action, target, outcome.
Disclosure / DoS / EoP
Could data leak, a function fail, or a role be exceeded?
Access control and minimization; segmentation and rate limits; least privilege and separation of duties.
Access policy, isolation, recovery, and denied-action evidence.

Avoid procedure detail. Describe the threat condition and affected property, not step-by-step misuse instructions. Mitigation records should also name assumptions: if segmentation is selected, state which boundary it protects and which flows remain allowed.

Mitigation review workflow showing threat statement, affected property, candidate controls, selected mitigation, evidence, residual risk, and retest trigger.
Figure 14.3: The mitigation workflow keeps control selection separate from threat identification.

Worked Review

A building gateway receives sensor telemetry, forwards commands to devices, and lets operators change device settings. Scope assets: telemetry, management commands, device identity, configuration, and audit records. Boundaries: sensor-to-gateway, gateway-to-service, operator-to-dashboard, and service-to-gateway.

Threat notes

Spoofing: unauthorized device submits telemetry. Tampering: commands changed in transit. Repudiation: disputed management changes. Disclosure: telemetry visible beyond the assigned site. EoP: a viewer role changes settings if authorization is only checked at login.

Mitigation record

Device identity required before telemetry is accepted; command integrity plus action-level authorization; audit records with actor, action, target, outcome; dashboard access limited to assigned sites; segmented, monitored gateway paths; viewer roles denied config changes, with denied attempts logged.

Residual risk and retest

Reopen after changes to enrollment, routing, dashboard roles, command format, monitoring rules, or update behavior. Record accepted residual risk with an owner and review date.

Practitioner Knowledge Check

If you can scope a model and match mitigations to threats, you can stop here. Continue to Under the Hood for evidence quality, residual risk, and assessment findings.

14.4 Evidence Quality, Residual Risk, and Findings

The deeper layer is where a threat model becomes an assessment. Threat models fail when they stop at “control should exist.” A mitigation needs evidence, and a finding needs an owner, a decision, and a retest path.

Evidence and Residual Risk

Useful evidence includes an architecture diagram with named trust boundaries, an identity enrollment or certificate-status record, an access-control rule or denied-action log, a signed update or startup verification record, a packet trace or broker policy for an allowed path, a monitoring rule with a sample alert, and a recovery or rollback test. Residual risk should be recorded plainly: what remains possible, why it is accepted for now, who owns it, and what change reopens the decision.

Evidence quality should be graded, not just collected. Direct evidence shows the control in the reviewed system: a denied-role log for the dashboard action, a certificate rejection record for an unenrolled device, or an update verification result from the target boot path. Indirect evidence supports the claim but needs caution, such as a design diagram, a policy statement, or a test from a different environment. Missing evidence is also a finding when the model depends on the claim. A threat model is stronger when it says which evidence is direct, which is assumed, and which remains open.

Residual risk is not a failure by itself. Some risk may be accepted because the affected path is isolated, monitored, rate-limited, or operationally recoverable. The record still needs the acceptance owner, the reason, the compensating control, the monitoring signal, and the retest trigger. For example, accepting delayed telemetry during a network outage is different from accepting unauthenticated management commands. One affects freshness and recovery; the other affects authorization and accountability for physical changes.

From Threat Notes to Assessment Findings

When threat-model notes become findings in a formal assessment, specificity is required. A vague finding cannot be assigned an owner or closed with evidence.

Weak finding

“The gateway is insecure.” No path, evidence, or affected property, so nobody can own it or close it.

Reviewable finding

“The gateway accepts management commands from the service path without evidence of action-level authorization; this affects authorization and accountability for configuration changes.” Names path, missing evidence, and properties.

When prioritizing findings, use context rather than a generic score alone:

  • Which asset or control action is affected?
  • Is the finding about identity, authorization, integrity, confidentiality, availability, accountability, recovery, or monitoring?
  • Is the evidence direct, indirect, missing, or contradicted by another source?
  • Is a compensating control already present and tested?
  • What decision is needed now: mitigate, monitor, accept with owner, or gather more evidence?
  • What retest would change the status from open to closed?

A finding is not complete when it is written. It is complete when the decision, owner, and retest path are clear.

A reviewable closure path should say what proof changes the finding status. If the finding is missing action-level authorization on a command path, closure may require the authorization rule, a denied-action test for a viewer role, an allowed-action test for the maintainer role, and an audit record showing actor, action, target, and outcome. If the decision is to monitor instead of change design immediately, the record should name the alert, threshold, owner, and review date. Without that closure path, the assessment becomes a backlog of labels rather than a risk decision record.

Finding Completeness

Field
Question
Complete When
Incomplete If
Specificity
Which path and asset are affected?
The finding names the path, asset, and property.
It says only that something is insecure.
Evidence quality
Is the evidence direct or assumed?
Direct or indirect evidence is cited, with gaps noted.
The claim rests on a diagram alone.
Decision
What happens now?
Mitigate, monitor, accept with owner, or gather evidence.
No decision or owner is assigned.
Retest
What reopens or closes it?
A named retest moves it from open to closed.
No retest trigger is recorded.

Common Mistakes

  1. Starting with controls. Name assets, flows, and boundaries first.
  2. Treating a diagram as evidence. Check configuration, logs, or tests behind it.
  3. Writing threats too broadly. A finding with no owner or control cannot be assigned or closed.
  4. Selecting encryption for every threat. Identity, authorization, monitoring, or recovery is often the real fit.
  5. Closing without residual risk or a retest trigger. The model then expires silently.

Under-the-Hood Knowledge Check

At this depth, threat modelling and assessment are one continuous record: scope and flows lead to category-based threats, mitigations that fit, evidence of varying quality, residual risk with an owner, and findings that close only when a named retest supports the decision.

14.5 Summary

  • Threat modelling turns security concerns into a reviewable record of assets, flows, boundaries, threats, mitigations, evidence, and retest triggers.
  • STRIDE prompts help find threats systematically, but each finding must still tie to a concrete path and asset.
  • Mitigation selection follows threat identification and explains why the chosen control fits the threat.
  • Evidence ranges from diagrams to logs, signed records, and tests; quality should be judged, not assumed.
  • A finding closes only when its decision, owner, and retest path are clear.
Key Takeaway

Threat modelling is most useful when assets, actors, entry points, trust boundaries, mitigations, and residual risks stay linked, and when each finding is specific enough to assign an owner, a decision, and a retest.

14.6 See Also

Threats STRIDE Framework

Expand category-based threat identification with STRIDE review prompts.

Cyber Security Defense in Depth

See how layered mitigations reduce dependence on a single control.

Security-by-Design Principles

Connect principles such as least privilege and fail-secure behavior to mitigation choices.