12 Attack Scenarios: Records and Retest
12.1 Start With the Situation
The review method is agreed, but the team still needs records that another defender can inspect. Each case must show the boundary, expected denial, observed evidence, remaining risk, and the condition that triggers a retest.
12.2 Overview
This route applies the review method to concrete records and closes each case with bounded evidence and residual risk.
This is part 2 of 2. Review Attack Scenarios: Defensive Method when you need the first route.
12.3 Learning Objectives
By the end of this chapter, you will be able to:
- build defensive scenario review records
- match mitigations to observed denied-case evidence
- record residual risk and retest conditions
12.4 Chapter Roadmap
Follow the original sections below in order. They begin at the reviewed split boundary and keep every worked example, figure, check, and supporting banner with the section that owns it.
12.4.1 Critical Scenario Review Records
When a scenario is judged critical, keep the record defensive and evidence-led. An administration-system compromise review should ask whether one management foothold could take over devices, gateways, software, phones, tablets, or sensitive information across the IoT environment. The evidence is not a misuse procedure; it is the control record: device and component inventory, constrained administration paths, signed code or runtime integrity checks, authenticated software installation, restore-to-secure-state capability, default-credential removal, least privilege, strong authentication, event logging, behavior monitoring, and product-lifecycle ownership.
For an availability scenario at a TCP listener, the bounded state is the asset under pressure. Step through the listener-backlog preset below: attack SYNs occupy half-open entries before a legitimate client arrives, expiry later releases them, and SYN-cookie mode moves the pre-authentication state boundary without removing unwanted traffic.
Use the occupancy, drop, expiry, and cookie-check counters in the denied-case record. They make the mitigation claim testable while keeping the lesson defensive: the goal is to prove bounded service behavior and legitimate-client outcome, not to provide an attack recipe.
12.4.1.1 Administration-Compromise Worksheet
| Review field | Recorded judgment |
|---|---|
| Impact | Crucial: the management plane can alter behavior, software, configuration, data access, and recovery across multiple devices. |
| Detectability | Medium when administration, update, identity, and network events are centrally logged and reviewed; low when endpoints keep only local or volatile logs. |
| Cascade risk | High: one trusted administration path can distribute configuration or software to peers and can suppress the same monitoring used to detect it. |
| Affected assets | Managed devices and components; administration software and credentials; firmware/update artifacts; gateways and supporting infrastructure; operational and sensitive information. |
| Stakeholders | Device owner and users; product manufacturer; firmware/application team; fleet, network, cloud, and support operators; incident response and data-protection owners. |
| Closeout evidence | Stage-specific prevention or detection, a tested containment boundary, restore-to-known-good proof, credential and signing-key recovery, and fleet-wide hunt results. |
The progression has eight review transitions. At each one, ask what control should stop it, what observable would reveal it, and which owner receives the alert.
Figure 12.1 lays the eight transitions out as two phases and pairs each stage with the observable a defender would see and the gate that should answer, then restates the worksheet’s six review fields beneath the chain.
Notice where Figure 12.1 changes colour: the handoff from 4 · Initial exploitation to 5 · Management expansion is the moment a single-host incident becomes a fleet risk, which is why its gate reads least-privilege zones rather than yet another detection control. The review card’s CASCADE RISK — High entry says the same thing in worksheet language; the numbered walkthrough below expands each transition in turn.
- Infrastructure reconnaissance: unusual discovery traffic or inventory queries test whether network exposure and monitoring reveal the management surface.
- Device identification and selection: asset inventory, service banners, and management metadata can make a high-value device distinguishable; minimize unnecessary disclosure and alert on broad enumeration.
- Vulnerability discovery: patch state, configuration weakness, or exposed administrative functions become the hypothesized entry condition; the evidence is a current vulnerability and hardening record.
- Initial exploitation: the boundary fails and unauthorized execution or privileged access appears; application control, exploit protection, and authentication logs should expose the transition.
- Network or management-plane expansion: the foothold reaches credentials, peers, or control services; segmentation and per-device authority should limit the blast radius.
- Persistence: an unauthorized service, account, scheduled action, or equivalent backdoor survives restart; secure configuration baselines and integrity monitoring should detect it.
- Software or firmware control: the attacker attempts to make the state durable through an update path; signed artifacts, anti-rollback policy, approval separation, and installation logs must reject or reveal it.
- Remote control and collection: commands, device data, or fleet actions are now available to the unauthorized operator; containment revokes credentials, isolates affected nodes, preserves evidence, and restores a known-good image.
Do not collapse the worksheet into “enable logging.” A log that stays on the compromised administration host may be erased with the host. The evidence path needs independent collection, synchronized time, protected retention, and a tested alert that crosses the same trust boundary the scenario is reviewing.
A sensor-value manipulation review should focus on the accepted data path. For an industrial robot or actuator system, the condition is that calibration parameters, thresholds, or sensor values can be changed or accepted in a way that drives wrong decisions. The review should request configuration-control records, tamper-detection evidence, data input validation, output filtering, safety-aware design limits, behavior monitoring, and training or operating procedures for the people who maintain those values.
Before carrying Critical Scenario Review Records into implementation, check the visual evidence for this claim: “An eight-step attack flow for calibration-value manipulation on an industrial robot, from sensor calibration through attacker tampering to erratic robot motion” is explicit in the diagram. That is the reason Figure 12.2 appears at this point in the narrative.
Figure 12.2 first identifies 1. Sensing equipment, then distinguishes wrong values accepted, before reaching or unexpectedly. This is not a generic flow: the three labels show “An eight-step attack flow for calibration-value manipulation on an industrial robot, from sensor calibration through attacker tampering to erratic robot motion” is explicit in the diagram. That sequence connects Critical Scenario Review Records to evidence a reviewer can name and retest.
A botnet or privileged command-injection review should focus on exposed management paths, weak or default credentials, debug modes, and whether a compromised device can reach command-and-control infrastructure or recruit peers. Evidence should cover closed or justified ports, unique credentials, disabled insecure defaults, least-privilege command permissions, signed software, constrained outbound traffic, monitoring for unusual device behavior, isolation, and recovery. The point is to show whether the system can prevent, detect, contain, and recover from the condition before it cascades.
12.4.1.2 Defensive Botnet Propagation Chain
The sequence below is deliberately written from the defender’s side. It preserves the state transitions needed for containment without supplying commands or payloads.
Before the full table, Figure 12.3 draws the recruitment spine: seven device states falling from an exposed management service to a botnet under command, with the tell-tale observable on the left of every arrow and the control that breaks the transition on the right.
The colour ramp of Figure 12.3 is the containment argument: the amber states — Internet-exposed service, Credentials under attack — are cheap to break with removed exposure and unique credentials, while everything below Privilege gained demands progressively heavier controls, ending at egress caps + DDoS protection once a fleet is already obeying someone else. Each row of the table below matches one arrow in the figure, so use the table for evidence wording and the figure for the order.
| State transition | Observable | Control that can break the chain |
|---|---|---|
| 1. An Internet-reachable management service is discovered. | Sequential connection attempts across addresses or ports; unsolicited requests to a service that should be private. | Remove public exposure, filter at the edge, maintain a justified-service inventory. |
| 2. Unchanged or shared credentials are attempted. | Repeated authentication failures or the same account used across unrelated devices. | Unique per-device credentials, lockout or throttling, disabled defaults, certificate-based enrollment. |
| 3. The service accepts an unauthorized privileged action. | New administrator session, unexpected command audit event, changed account or configuration. | Least privilege, authenticated administration, command allow-list, protected audit export. |
| 4. The device initiates an unexpected outbound control connection. | New destination, periodic beacon, unusual DNS, or traffic outside the device’s declared service set. | Egress allow-listing, DNS policy, network detection, rapid isolation. |
| 5. Unapproved code enters memory and executes. | Unsigned process or image, memory-integrity alert, unexpected child process, changed runtime measurement. | Signed code, measured/secure boot, application allow-listing, memory protection. |
| 6. On-disk traces disappear while behavior continues. | Active network or process state with no matching approved artifact; logging gaps after execution. | Remote telemetry, runtime attestation, memory-aware incident capture, reboot into known-good recovery. |
| 7. The device begins probing peers. | Fan-out to local or Internet addresses, repeated service attempts, fleet-wide correlated anomalies. | Segmentation, peer isolation, east-west rate limits, automated quarantine. |
| 8. Coordinated commands drive many devices toward a target. | Synchronized traffic bursts, common destination, abrupt duty-cycle or bandwidth change across the fleet. | Fleet command authentication, egress caps, sinkholing or blocking under incident authority, target-side DDoS protection. |
Containment speed changes the outcome. If the mean detection-and-isolation delay is longer than the recruitment interval, infected population can grow before each response cycle completes. Measure both times during an exercise, then test whether unique-credential coverage, segmentation, and egress policy keep one compromised device from becoming a fleet event.
A grid-connected metering or control-system review should treat financial-motivated and time-synchronization conditions as distinct from generic sensor-value manipulation. A time-synchronization attack targets the timestamp a measurement unit attaches to a reading rather than the reading itself, so a plausible value can still drive a wrong control decision if the time reference is manipulated. A closed-loop replay condition is a further variant: an attacker who has learned normal sensor outputs can repeat them while injecting a different real value, so the observable telemetry stays plausible while the true system state becomes unobservable to operators. Physical conditions on generators, substations, transmission equipment, or meters, including tampering for energy theft, sit alongside the digital path and warrant the same asset-and-boundary discipline as a compromised gateway. Evidence should cover time-source integrity and cross-checks, price- or measurement-source authentication, detection for a valid-looking but repeated data stream, and physical tamper evidence on field equipment, alongside the general availability evidence described above.
Worked Scenario Review
A gateway receives device telemetry, forwards selected commands, and can install signed configuration bundles. The condition under review: telemetry from an enrolled device can influence a service decision, but the review has not shown rejected-message evidence for malformed or out-of-scope messages.
Asset and boundary
Stored telemetry, the service decision record, and the publishing device identity. Boundary: the device-to-gateway publish path and the gateway-to-service forwarding path. Property: integrity of accepted telemetry and accountability for publish decisions.
Evidence needed
Enrollment record, topic or route authorization, message schema and validation rule, a log of accepted telemetry from the assigned identity, and a log of rejected out-of-scope or invalid messages.
Decision and residual risk
Do not close until validation and denied-action evidence exist. If gateway validation exists but service validation does not, revise control placement. The claim covers only the reviewed path; retest on schema, route, transformation, or decision-rule change.
Practitioner Knowledge Check
If you can build a scenario record and match a fitting mitigation, you can stop here. Continue to Under the Hood for denied-case reasoning, residual risk, and scope discipline.
12.5 Denied-Case Evidence, Residual Risk, and Scope
The deeper layer is where scenario discipline matters. A scenario fails as a review tool when it closes on allowed behavior alone, picks a generic control, or overstates what the evidence proves.
Why Denied-Case Evidence Matters
Allowed-case evidence shows the happy path works. It does not show the boundary blocks the unwanted action, which is the boundary's actual job. A rejected-identity log, a denied-command audit record, or a dropped out-of-policy message is the evidence that the control enforces a limit, not just permits the expected flow. A scenario that records only success has tested convenience, not security.
Choosing a Control That Fits the Condition
The most common control error is reaching for a familiar control regardless of the condition. Transport protection does not satisfy a command-authorization gap, because the gap is about whether the recognized actor may invoke the command, not whether the channel is confidential. Match the control to the affected property: identity and authorization for misuse conditions, integrity and validation for data-manipulation conditions, segmentation and quotas for availability conditions.
Residual Risk Without Overclaiming
Evidence supports only the reviewed path. A scenario that validated one telemetry schema has not proven every future message type, topic, or analytics rule is protected. Record residual risk plainly: what remains possible, why it is accepted for now, who owns it, and what change reopens the review. An honest "covers the reviewed path only" is stronger than a broad "the gateway is secure."
Include the Operations Path
Provisioning, support, update, monitoring, and recovery paths can change a scenario's outcome. A command path that is well authorized in normal operation may have an emergency-override route with weaker checks; a data path may be protected in production but exported by a support tool. Scenarios should include these operational paths whenever they touch the asset.
Keeping It Defensive
State the condition and the affected property, not step-by-step misuse. "A viewer role can change settings if authorization is only checked at login" is enough to drive review. The discipline keeps the chapter useful to defenders and avoids turning a scenario record into an operational playbook for misuse.
Common Mistakes
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.
Under-the-Hood Knowledge Check
At this depth a scenario is a continuous defensive record: asset and condition lead to a boundary, an expected control, allowed and denied evidence, a fitting mitigation, residual risk with an owner, and a retest trigger. The scenario tests whether the threat model is specific enough to act, without ever becoming a misuse guide.
12.6 Summary
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.
Attack scenarios should trace the path from condition to impact and show which controls detect, block, or limit each step, with denied-case evidence and a retest trigger, never as step-by-step misuse instructions.
12.7 See Also
Threat Modelling and Mitigation
Trace a scenario back to scope, assets, boundaries, and the mitigation record it tests.
Cyber Security Defense in Depth
Check whether a scenario's mitigations depend on one control or several independent controls.
Threats STRIDE Framework
Use category prompts to find the conditions a scenario should review.
