Containment, eradication, recovery
SecOT+ SOT-001 · Lesson 33 of 33 · 5:26:20
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the SecOT+ SOT-001 exam (CompTIA SecOT+). In this lesson: containment, eradication, recovery, lessons learned, and mandatory reporting, with Saltbrook Chemicals, a fictional maker of specialty chemicals, as the running example. Includes three original practice questions.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Back to normal, safely
Tuesday at Riverside: the evidence is safe, and the attacker's path is known, from the vendor account, through the IDMZ, to two HMIs. Now the team must cut that path, remove what the attacker left, and bring the batch reactors back, without causing a new trip. Meanwhile, a regulator, the insurer, and a customer all expect to hear from Saltbrook. This lesson covers containment, eradication, recovery, lessons learned, and mandatory reporting.
Isolate and quarantine
Containment stops the spread, without creating a worse incident than the attack itself. NIST warns that shutdowns and disconnects can hurt operations, so their effects are understood and shared with operations first. To isolate a device or a zone means cutting it off the network, while it keeps running under local control. To quarantine it means moving it to a restricted segment, where the response team can still examine it, but it reaches nothing else.
Disconnect, block, suspend
Disconnecting IT and OT opens the link between them at the IDMZ, so an infection on one side stays there. Before that, the team knows what the plant needs from IT, such as recipes, orders, and shipping labels, and has manual workarounds ready. Blocking traffic is narrower: firewall rules deny chosen addresses, ports, or protocol functions, such as writes from outside the control zone. Suspending accounts disables the compromised vendor account and any account the attacker used, without deleting them, so their logs and history stay for the investigation.
Eradication
Eradication removes what the attacker left behind. Compromised components that cannot be trusted, such as a gateway with altered firmware, are removed and replaced with clean ones. Malware is removed from critical systems, along with its persistence, and the controller logic is compared with the known good version. Compromised credentials are reset: the vendor account, shared HMI accounts, service accounts, and any password or key the attacker could have seen.
When possible
The objectives say when possible, and in OT that matters. A controller in the middle of a batch campaign cannot always be wiped, some devices have no tool to clean them, and some components have no spare. The team then keeps containment in place, monitors closely, and plans the cleanup for the next shutdown, as a documented risk that the process owner accepts.
Restoration and bare metal
Recovery brings each system back to a known good state, in the order that the process needs. Restoration of affected devices uses verified backups, from a time before the compromise: controller logic and configurations, HMI projects, and historian data, each checked against its hash. Bare metal recovery rebuilds a machine from nothing, with a clean OS from trusted media, then the applications and the backup, so nothing from the infected system survives. After NotPetya, Maersk reinstalled about forty five thousand PCs and four thousand servers.
Hot swap, process validation
Hot swap replaces a module while the system keeps running, such as one controller of a redundant pair, a power supply, or an I/O card, so the process never stops. With a redundant pair, the team replaces the standby side, checks it, switches over, and then does the other side. Process validation proves the plant works as designed before production restarts: interlocks, alarms, and setpoints are checked, safety functions are tested, and the first batches run at low rates against normal historian values.
Redesign
Redesign fixes the weakness that let the attacker in, so the same path cannot be used again. It can mean new zones and conduits, a stronger remote access design, or replacing a system that cannot be secured. Redesign takes time, so short term fixes hold the line until the new design is in place.
Hot wash and postmortem
Lessons learned turn the incident into improvements. A hot wash, or debrief, happens right after the response, while memories are fresh, with everyone who took part, from operators to the vendor: what worked, what did not, and what surprised the team. A postmortem comes later, once the analysis is done: a written, blameless review with the timeline, the root cause, the decisions and their reasons, the costs, and actions with an owner and a due date. NIST adds that recovery steps should be documented as they happen, so the review rests on facts, not memories.
Mandatory reporting
Mandatory reporting comes from four directions, each listed in the response plan with its contacts and deadlines. Regulatory reports go to the authorities of the sector, such as the NIS2 early warning within twenty four hours for an entity in scope. Insurance reports follow the policy: notify the insurer early, use its approved firms, and keep the evidence, or the claim may be denied. Emergency notifications go to fire services, neighbors, and authorities whenever people or the environment are at risk, such as a chlorine release, and they come before any cyber report. Contract obligations come from customers, vendors, and partners, such as a supply contract that requires notice of any incident that could delay deliveries.
Riverside, running again
Back to Riverside. The vendor account is suspended, the link from the IDMZ to the HMIs is blocked, and the two HMIs are quarantined, then rebuilt from bare metal, with every exposed credential reset. After process validation, the reactors restart at low rates, and the vendor now connects only through the bastion, with MFA and time limits. The hot wash took place on Wednesday, the postmortem is due in two weeks, and every required report was sent on time.
Recap
Let's recap. Containment isolates, quarantines, disconnects IT from OT, blocks traffic, and suspends accounts, without creating a worse incident. Eradication, when possible, removes compromised components and malware, and resets credentials. Recovery restores devices from verified backups, rebuilds from bare metal, hot swaps redundant modules, validates the process, and redesigns what failed. A hot wash comes right after the response, and a postmortem follows with actions and owners. Mandatory reports go to regulators, insurers, emergency services, and partners under contract.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
An infected engineering workstation must stay reachable by the response team, but must reach nothing else. Which containment action fits?
- Isolate it
- Disconnect IT and OT
- Suspend its accounts
- Quarantine it
Show the answer
Quarantine it
Quarantine moves the workstation to a restricted segment, where the team can still examine it, but it reaches nothing else. “Isolate it” would cut it off completely, from the response team too. “Disconnect IT and OT” would cut every link between the two networks, far more than one workstation needs. And “Suspend its accounts” would stop the accounts, while the infected workstation stays on the network.
The attacker altered a gateway's firmware, the vendor has no tool to check or clean it, and a spare gateway is in stock. What should the team do?
- Reset the gateway's password
- Swap in the spare gateway
- Scan it with anti-malware
- Block its internet traffic
Show the answer
Swap in the spare gateway
When a component cannot be checked or cleaned, eradication removes it, and the spare restores its function. “Reset the gateway's password” would leave the altered firmware in place. “Scan it with anti-malware” would rely on a tool that cannot see inside the firmware. And “Block its internet traffic” would contain the gateway, without removing what the attacker changed.
The latest full image of an infected HMI was taken after the compromise, and the team wants nothing from that system to survive. What should it do?
- Restore the latest disk image
- Remove the tool, keep the disk
- Rebuild it from bare metal
- Hot swap its network card
Show the answer
Rebuild it from bare metal
A bare metal rebuild starts from a clean OS and trusted media, then adds the verified HMI project, so nothing from the infected system survives. “Restore the latest disk image” would bring the infection back with the image. “Remove the tool, keep the disk” would trust a disk that the attacker controlled. And “Hot swap its network card” is for replacing a module in a running system, not for removing an infection.