Chapters

11 Attack Scenarios: Defensive Method

security
threats
iot

11.1 Overview

This first route defines a defensive scenario review and builds the record structure used to test expected controls.

This is part 1 of 2. Continue with Attack Scenarios: Records and Retest for the second focused route.

11.2 Start Simple: Test One Expected Block

Write the Refusal Before the Threat Story

Picture a warehouse temperature sensor that may send readings for its own zone. It must not issue a door command or send a reading under another zone’s name. The defensive review begins with those expected refusals, not with a dramatic attacker story.

An actuator is a device that changes the physical world. Telemetry means readings and status sent by a remote device. A gateway is the device that carries local traffic into another service path. Name the protected record or action, the identity being tested, the boundary, the allowed request, the refused neighbour, and the owner of the rule.

Try the valid reading, a wrong zone, a changed message shape, a repeated old message, a door command, and a rule outage. Keep allowed and denied records. Check that refusal stays closed, the reason is useful, and urgent local safety does not depend on a distant response.

This scenario does not prove every defence or describe misuse steps. The deeper sections add assets, conditions, controls, residual risk, evidence limits, and retest triggers to the bounded review packet.

Start with one expected refusal. A sensor identity should publish telemetry, but it should not change an actuator command route or publish outside its assigned topic. A defensive scenario asks whether that refusal is actually shown by policy, logs, and denied-case evidence.

That is why this chapter treats scenarios as review packets. The scenario does not need a misuse recipe; it needs a condition, a boundary, a control that should respond, evidence for both allowed and denied cases, residual risk, and a retest trigger.

11.3 A Scenario Is a Defensive Review Packet

An attack scenario is useful when it tests whether a threat model is specific enough to act on. It is not a misuse recipe. A good scenario record names the protected asset, the condition that makes harm plausible, the trust boundary involved, the control that should reduce the risk, the evidence that supports the control, and the trigger that requires retest.

The important shift is from narrative to evidence. A dramatic story about an attacker is not a review. A scenario record asks a bounded question: what condition is being reviewed, what evidence would confirm or weaken the control claim, what mitigation fits the condition, and what residual risk remains.

For example, a warehouse gateway might review the condition "an enrolled sensor identity can publish readings outside its assigned zone." The packet names telemetry and the dispatch record as assets, the device-to-gateway publish boundary, the expected topic or route authorization, the schema validation rule, accepted-message evidence, denied out-of-zone evidence, and residual risk if only the gateway enforces the rule. Retest is triggered by a topic change, schema change, gateway rule change, or dispatch-decision change.

If you only need the intuition, this layer is enough: a scenario is a compact defensive packet. It states a plausible condition, marks the boundary, names the expected control, lists the evidence for the allowed and denied cases, and records residual risk and a retest trigger.

Think of a fire drill. The point is not to set a real fire; it is to test whether the alarm sounds, the exits open, and people respond, and to record what failed. A scenario does the same for security controls: it checks whether the expected control and its evidence exist, without performing the attack.

The reader is about to apply A Scenario Is a Defensive Review Packet; first the relevant roles must be distinguishable. Figure 11.1 distinguishes them while showing how “The scenario loop: asset, condition, boundary, expected control, evidence, mitigation decision, residual risk, and retest trigger” is explicit in the diagram.

Defensive attack-scenario review loop from asset and condition to boundary, control, evidence, mitigation decision, residual risk, and retest trigger.
Figure 11.1: The scenario loop: asset, condition, boundary, expected control, evidence, mitigation decision, residual risk, and retest trigger.

At Figure 11.1, Condition is not interchangeable with allowed and denied, and when it changes shows why the distinction matters. That specific contrast demonstrates “The scenario loop: asset, condition, boundary, expected control, evidence, mitigation decision, residual risk, and retest trigger” is explicit in the diagram. Carry it into A Scenario Is a Defensive Review Packet as the criterion for the next decision.

The One-Minute View

A condition, not a recipe

State the reviewed condition defensively. "An identity can publish outside its assigned topic" is enough to drive review.

Evidence over narrative

The value is the evidence requested at the boundary, not the drama of the story around it.

Denied case and residual risk

A scenario closes only with denied-case evidence, recorded residual risk, and a retest trigger.

Beginner Examples

Taken together, these checks make the section reviewable. That order prevents a control name from being treated as proof and connects the visual to the chapter's evidence-led review sequence.

Overview Knowledge Check

If you can describe a scenario as a defensive evidence packet, you can stop here. Continue to Practitioner to build one and match a mitigation.

11.4 Build a Scenario Record and Match Mitigations

Start with the asset and a reviewed condition stated in defensive terms. Then mark the boundary, name the control expected there, and collect evidence for both the allowed case and the denied case before deciding on a mitigation.

Walkthrough: From Asset to Retest Trigger

Taken together, these checks make the section reviewable. That order prevents a control name from being treated as proof and connects the visual to the chapter's evidence-led review sequence.

Scenario Families and Their Evidence

Scenarios group by the security question they test. The families below are prompts for evidence-bound review, not a list of every possible threat. Select a mitigation because it fits the condition, not because it is generally good.

Scenario Family
Reviewed Condition
Security Property
Evidence and Mitigation Direction
Credential and identity misuse
An identity is accepted for an action it should not perform.
Authentication, authorization, accountability.
Enrollment and role policy, denied-action log, revocation; scoped identity and least privilege.
Telemetry or sensor data manipulation
Data is accepted outside the expected source, format, range, or integrity.
Integrity, availability, sometimes safety.
Source and schema validation, integrity records, rejected-message logs; reasonableness checks for high-impact decisions.
Command authorization gap
A path proves identity but not that the actor may invoke the specific command.
Integrity, availability, accountability.
Command catalog with allowed roles, action-level authorization, audit outcomes; separation of privilege for sensitive commands.
Update or configuration path weakness
Firmware, configuration, or policy can change behavior without enough acceptance evidence.
Integrity, accountability, recovery.
Signed artifact or approval record, install or config state, denied-change and rollback records; protected configuration.
Data disclosure or privacy exposure
Data is visible, retained, combined, or shared beyond the intended audience or purpose.
Confidentiality, privacy.
Access policy for views and exports, transport and storage protection, retention and purpose record; data minimization.
Availability pressure
A shared path or service loses an important function under load, failure, or misuse.
Availability, recovery.
Allowed-flow and rate behavior, overload monitoring, isolation, degrade, and recovery records; quotas and graceful degradation.

Availability scenarios include denial-of-service conditions where a service cannot answer legitimate devices or users. In a simple DoS review, one source or path overwhelms capacity or sends malformed traffic that the receiver cannot handle safely. In a DDoS review, many compromised devices send the pressure at once; when those devices are centrally controlled they form a botnet. The Mirai lesson is the defensive pattern: default or weak credentials plus reachable services can turn ordinary IoT devices into attack traffic, so the evidence should cover unique credentials, constrained remote access, rate behavior, monitoring, isolation, and recovery.

Scenario Mechanisms: Entry, Cascade, Concealment, and Power-State Error

Threat names become actionable when the review distinguishes their mechanisms. A protocol vulnerability is normally an entry condition, not the final objective: malformed or unexpected protocol state reaches vulnerable code, and a successful exploit may create a foothold for credential theft, persistence, data access, or a later availability attack. Evidence therefore has two layers—proof that malformed state is rejected or patched, and proof that post-compromise behavior such as new processes, changed firmware, or unusual outbound traffic is detected.

A privileged command path creates a different cascade. The first device accepts a console or management action beyond the caller's authority; its stored credentials, neighbor reachability, or management role can then put peer devices at risk. The denied-case test is not only “does this command fail for an ordinary user?” but also “can one compromised node invoke the same action on another?” Least privilege, per-device credentials, administrative segmentation, and peer-to-peer denial logs break that chain at different boundaries.

A stepping-stone host changes attribution. The intermediary is already compromised and relays later traffic, so the visible source is not necessarily the origin. Review synchronized logs at ingress, egress, identity, and target boundaries; preserve request identifiers or other correlation evidence; and constrain outbound traffic from systems that do not need arbitrary Internet access. The goal is to recover the path and contain the relay, not to trust the nearest source address.

Botnet DDoS separates victim and compromised fleet. Vulnerable IoT devices are recruited first, often automatically, and only later receive a coordinated instruction that floods a different service. This creates two protected assets: the device estate must not become attack infrastructure, and the external or internal target must remain available. Unique credentials, closed management exposure, patching, egress policy, fleet-behavior analytics, rate limits, and target-side capacity controls address different halves of that scenario.

Battery telemetry shows how a small data-integrity failure becomes a control failure. A false-high state suppresses conservation while the real charge falls, so the node can deplete unexpectedly and shut down without completing its final report. A false-low state triggers conservation too early, reducing sample rate, radio duty cycle, actuator availability, or user-facing performance despite adequate energy. Review physical supply access and the software measurement path separately, compare reported charge with voltage/current/coulomb evidence, bound impossible state jumps, and make the application record which degraded mode each threshold activates.

IP Control-Plane and Session Cases

An IoT path often crosses a low-power network, a translating gateway, an enterprise network, and a cloud service. Each boundary changes the available security evidence. The low-power link may have small frames and constrained key management; the gateway terminates one protocol and originates another; enterprise routing decides where packets can travel; and the application layer carries the identity or session that authorizes the final action.

Figure 11.2 sketches that path and pins each of this section’s cases to the boundary it exploits, so the table that follows can be read as a walk from left to right along the same pipeline.

A four-zone path — sensor network, IoT gateway, enterprise network, cloud application — separated by a link edge, a translation edge, and an Internet edge. Callouts anchor weak link security to the low-power link, translation trust to the gateway, ICMP and control-plane abuse and source-address spoofing to the enterprise network, on-path alteration to the Internet edge, and session-token replay to the cloud application.
Figure 11.2: Six IP-layer threat callouts anchored to the boundaries of a sensor-to-cloud path.

Anchoring matters more than naming in Figure 11.2. SOURCE-ADDRESS SPOOFING hangs off the enterprise network because that is where ingress filtering can catch an impossible prefix, and SESSION-TOKEN REPLAY attaches to the cloud application because no link-layer control can revoke a stolen bearer token. The figure’s footer — review gateway outward — is the same order the closing paragraph of this section prescribes.

CaseProtocol mechanicsEvidence and control
ICMP reconnaissance or floodingICMP carries a Type, Code, checksum, and type-specific data. Echo messages, Destination Unreachable, and Time Exceeded responses can reveal reachable hosts and path structure; excessive diagnostic traffic can also consume bandwidth or state.Permit the ICMP functions needed for path MTU discovery and diagnostics, rate-limit where justified, alert on sweeps or abnormal volumes, and avoid the false fix of blocking every ICMP message.
ICMP redirect manipulationAn IPv4 Redirect asks a host to use a different next hop. Acceptance can change a host route and create an on-path position; many modern systems disable or tightly scope redirects for this reason.Disable redirect acceptance where routing is centrally managed, authenticate the network edge, and monitor route-table changes rather than treating a valid checksum as authority.
Source-address spoofingThe IP source-address field identifies the claimed sender but does not cryptographically authenticate it. A packet can therefore claim the gateway's address unless the network filters impossible source prefixes.Use ingress/egress filtering and feasible-path checks, then authenticate the device or message above IP. A familiar source address is routing context, not device identity.
Rogue on-path deviceA device positioned between peers forwards traffic while reading, delaying, replaying, or altering it. Transparent forwarding can leave endpoints apparently connected.Mutual authentication and integrity-protected transport expose alteration and impersonation; certificate validation, topology monitoring, and endpoint checks preserve evidence of the peer and route.
Application-session hijackingA valid web or API token represents an already authenticated session. If it is exposed through an unprotected link, script access, logs, or a compromised endpoint, replay can inherit that session's authority.Use TLS, Secure and HttpOnly cookie attributes where applicable, short lifetimes, rotation after privilege change, CSRF defenses, token-safe logging, and revocation. Test that a copied expired or revoked token is denied.

The review sequence is gateway outward. Confirm the low-power link's peer and freshness checks, then the gateway's translation and authorization rules, then routing and ICMP policy, and finally the application session. Encrypting only the last hop cannot repair a spoofed field message already accepted by the gateway, while link security alone cannot stop a stolen cloud-session token.

Use Taxonomies to Check Coverage

Threat taxonomies are useful after the scenario family is named because they reveal missing assets or paths. A broad taxonomy may group threats as physical, resource, personnel, and technical conditions. In IoT reviews the technical bucket often expands into credential discovery, privilege escalation, cryptanalysis, denial of service, data capture or manipulation in transit, and application exploitation through code injection, reverse engineering, input manipulation, or API abuse. Those labels are prompts for review evidence; they are not findings until they are tied to a concrete asset and boundary.

An IoT asset pass should cover more than the device. Include infrastructure such as routers, gateways, power supply, firewalls, access brokers, IDS or IPS, and authentication systems; platform and backend services such as web services, cloud infrastructure, data mining, data processing, device management, and usage records; information at rest, in transit, and in use; device hardware, firmware, software, sensors, and actuators; companion ecosystem devices such as phones, tablets, management consoles, and embedded systems; and communications assets such as LAN, WAN, VPN, PAN, Bluetooth LE, Zigbee, Z-Wave, Wi-Fi, MQTT, CoAP, LoRaWAN, 6LoWPAN, and NB-IoT.

A threat pass can then look for nefarious activity or abuse, eavesdropping and hijacking, outages, IT-asset loss, failures or malfunctions, disasters, and physical attacks. Typical rows include malware, exploit kits, targeted attacks, DDoS, counterfeit devices, privacy attacks, information modification, man-in-the-middle paths, IoT communication protocol hijacking, interception, network reconnaissance, session hijacking, replayed messages, software vulnerabilities, third-party failures, device modification, and sabotage. The scenario record should state which affected assets are in scope and which are deliberately out of scope.

For impact ranking, use the scenario wording to keep the review concrete: controller-to-actuator link compromise, sensor value or threshold manipulation, actuator setting sabotage, administration-system takeover, protocol-vulnerability exploitation, privileged command injection through a system console, stepping-stone hosts, botnet DDoS, power-source or battery-reading manipulation, and ransomware. Rank these by the protected action and consequence in the local system; "high" or "crucial" only matters when the evidence shows which people, processes, devices, or services would be affected.

Threat Impact Is a Consequence Claim

A useful impact scale separates consequence from likelihood and detectability. Crucial means the scenario can compromise safety, essential operation, privileged control, or large amounts of sensitive information. High means serious confidentiality or trust damage with bounded operational scope. Medium still requires treatment, but the immediate consequence is narrower or recovery is more practical. The inherited baseline below is a coverage prompt; every project must rerank it against its own assets and operating context.

Baseline impactThreat familiesQuestion that confirms or changes the rank
CrucialSensitive-data leakage or modification; malware; exploit kits; weak or default passwords; DDoSCan this expose protected data, create privileged control, disable an essential service, or cascade across a fleet?
HighPrivacy attacks; eavesdroppingWhat people, locations, behaviors, or credentials can be inferred, and can the captured information enable a second attack?
MediumNetwork outage; advanced persistent threat as a broad label; counterfeit or malicious devicesIs the consequence truly bounded? Promote the rank when the outage is safety-relevant, persistence reaches privileged control, or a counterfeit device crosses a trusted boundary.

The rank labels stay abstract until they sit next to each other. Figure 11.3 places the ten inherited families around one smart-building estate, so a reviewer can see at a glance that DDoS starts at CRUCIAL while Network outage starts only at MEDIUM — and then ask whether local evidence supports either rank.

Radial map with a smart-building IoT estate at the centre and ten threat families around it: DDoS, malware, exploit kits, weak or default passwords, and data leakage and modification ranked crucial; attacks on privacy and eavesdropping ranked high; network outage, advanced persistent threat, and counterfeit devices ranked medium. A legend defines the three consequence levels.
Figure 11.3: Ten threat families around one smart-building IoT estate, coloured by baseline consequence: crucial, high, or medium.

Read Figure 11.3 by colour before reading it by name. The five CRUCIAL families — Malware, Exploit kits, Weak / default passwords, DDoS, and Data leakage & modification — share one property: each can reach privileged control, essential operation, or bulk sensitive data. The MEDIUM band is the one to challenge hardest; the figure’s own footer says to rerank every family against local assets, which is exactly what the hospital-gateway example below does to an APT label.

The last row illustrates why labels are not universal scores. An advanced persistent compromise of a hospital gateway would not remain “medium” merely because a generic taxonomy placed APT there. Preserve the baseline for traceability, then record the local consequence, affected population, duration, recovery path, and evidence that justified the final rank.

Affected-Assets Matrix: Abuse, Interception, and Hijacking

Read each row from mechanism to asset. A checked category is not proof that every instance is affected; it is a prompt to trace the concrete path and either include that asset in the scenario or state why it is out of scope.

Fourteen prose rows are hard to hold in working memory, so Figure 11.4 compresses the abuse and interception families into one dot grid: a filled dot means the asset class is in scope for that threat, a small grey dot means it usually is not.

Matrix of ten threats against seven asset classes. Malware marks device, ecosystem device, and platform/backend; DDoS adds infrastructure; privacy attack and information modification add information; on-path relay, protocol hijacking, network reconnaissance, and message replay cluster on information, communications, and device, with protocol hijacking and message replay also reaching decision-making.
Figure 11.4: Abuse and interception threats as a dot matrix across seven asset classes, from device to decision-making.

Two contrasts in Figure 11.4 carry the section’s argument. Malware fills the Platform / backend column but leaves Comms empty, while On-path relay (MitM) does the opposite — the code-execution threat lives in endpoints and services, the interception threat lives in the channel. And only Protocol hijacking and Message replay reach the Decision-making column: a hijacked session or a replayed authentic message can flip an automated action without damaging any single device.

ThreatAffected asset classesWhy the mapping matters
MalwareIoT devices; ecosystem devices; platform/backendCode can alter endpoint behavior and use its trusted service relationship to reach management or data services.
Exploit kitsIoT devices; ecosystem devices; infrastructureA reusable vulnerability chain turns exposed software into an entry point and may destabilize the target even when privilege gain fails.
Targeted attacksInfrastructure; platform/backend; informationThe target is chosen for valuable control or data, so persistence and selective collection matter more than noisy breadth.
DDoSIoT devices; ecosystem devices; platform/backend; infrastructureCompromised endpoints may be the traffic sources, while shared gateways, brokers, or services absorb the availability loss.
Counterfeit or malicious devicesIoT devices; ecosystem devices; infrastructureAn impostor that passes enrollment can introduce false data, backdoors, or attack traffic inside an otherwise trusted segment.
Privacy attackIoT devices; ecosystem devices; platform/backend; informationDevice observations become personal information when linked to identity, place, routine, or purpose.
Information modificationIoT devices; ecosystem devices; platform/backend; informationThe attacker may leave devices apparently healthy while changing the record that decisions consume.
On-path relay or alterationInformation; communications; IoT devicesThe communications position allows observation, delay, replay, or modification before the endpoint sees the message.
IoT protocol-session hijackingInformation; communications; IoT devices; decision-makingTaking over a live protocol context can make malicious messages inherit valid session state and influence an automated action.
InterceptionInformation; communications; IoT devicesPassive capture exposes content and metadata even if the device continues operating normally.
Network reconnaissanceInformation; communications; IoT devices; infrastructureAddresses, services, versions, and topology become preparation data for later targeting.
Session hijackingInformation; communications; IoT devicesA valid application session token or state is reused to impersonate the established peer.
Information gatheringInformation; communications; IoT devicesEven non-secret inventory and protocol facts can reveal operating patterns and weak boundaries.
Message replayInformation; IoT devices; decision-makingAn authentic old message can still be unsafe when freshness is part of the command or measurement meaning.

Affected-Assets Matrix: Outages, Loss, Failure, Disaster, and Physical Attack

The second matrix family is about reach rather than intent. Figure 11.5 keeps the same seven asset columns and shows how far each outage, malfunction, disaster, or physical attack travels.

Continuation dot matrix: network outage marks infrastructure and communications; device failure marks only the device column; loss of support services carries a full-width band reading affects every asset class; software vulnerabilities and third-party failure each fill four columns; disasters, device modification, and sabotage fill their own column sets.
Figure 11.5: Outage, loss, malfunction, disaster, and physical-attack threats across the same seven asset layers.

The extremes of Figure 11.5 teach the lesson. Device failure fills exactly one column — a local fault with a local fix — while Loss of support services is drawn as a full-width band because identity, DNS, time, power, update, or cloud support can silently underpin every other asset. Between those poles, Third-party failure spans four columns, which is why the rows below ask about propagation paths rather than single points of damage.

ThreatAffected asset classesPropagation path to review
Network outageInfrastructure; communicationsA failed segment or upstream service removes reachability; consequence depends on redundancy, recovery time, and local autonomy.
Device failureIoT devicesA local hardware malfunction can become a system event when no redundant measurement or safe state exists.
System or application failureIoT devices; ecosystem devices; platform/backendSoftware or service failure propagates through clients and managed endpoints that depend on it.
Loss of support servicesAll assetsIdentity, time, DNS, power, update, logging, or cloud support can be a hidden common dependency across the estate.
Sensitive-information leakageIoT devices; ecosystem devices; platform/backend; informationData can escape at collection, synchronization, storage, export, support, or disposal.
Software vulnerabilitiesIoT devices; ecosystem devices; platform/backend; infrastructure; applications/servicesThe same vulnerable component or default configuration can span device, gateway, management, and service layers.
Third-party failureIoT devices; ecosystem devices; platform/backend; infrastructure; applications/servicesA directly connected vendor service or component becomes a transitive dependency whose error crosses the integration boundary.
Natural disasterIoT devices; ecosystem devices; platform/backend; infrastructureFlood, fire, wind, snow, or landslip can remove both field equipment and its supporting backend or network path.
Environmental disaster at deploymentEcosystem devices; platform/backend; infrastructureHeat, moisture, contamination, or other site conditions can make shared equipment inoperable without visibly destroying each endpoint.
Device modificationCommunications; IoT devicesExposed ports, configuration, or hardware changes alter what the device sends and which paths it trusts.
Device destruction or sabotageIoT devices; ecosystem devices; platform/backend; infrastructureTheft, vandalism, or deliberate damage removes the component and can also remove the service or evidence it hosted.

Use the matrices twice. First, sweep across a threat row and confirm every affected asset has an owner, boundary, control, and recovery claim. Then sweep down an asset class and confirm it has scenarios for abuse, interception, outage, failure, and physical loss. Those two directions expose different omissions: a threat with an unowned consequence, or an important asset with no scenario at all.

The long asset and threat lists become useful only when a reviewer can test their coverage systematically. Figure 11.6 supplies that check: it links each STRIDE category to the property at risk and then to a mitigation family, so an omitted scenario or unsupported control is easier to spot.

STRIDE threat classification: spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege, each mapped to the security property it threatens and its mitigations.
Figure 11.6: STRIDE gives six threat categories to check coverage against, each tied to the security property it violates and its mitigations.

Work across Figure 11.6 by matching a category, its consequence, and the control beneath it. Spoofing means “pretending to be someone or something else” and points to Authentication; Tampering means unauthorized modification and points to Integrity. Farther right, Denial of Service threatens Availability, whereas Elev. of Privilege threatens Authorization. The mitigation strip then names evidence directions such as S: MFA, PKI, T: Hashing, MAC, and D,E: Controls. Carry those pairings into the critical-scenario records below, where each taxonomy label must be attached to a real asset, boundary, consequence, and testable mitigation.

11.5 Continue to Part 2

Continue with Attack Scenarios: Records and Retest.