Skip to content

Lesson 7 of 9 · 22m

The First Hour: Contain Without Destroying Evidence

Make the first-hour decisions deliberately — isolate, preserve, coordinate, and avoid actions that make recovery worse.

The first hour of ransomware response is controlled chaos. Someone wants every machine powered off, someone else wants the ransom note opened, and leadership wants a completion time. Your job is to slow the attacker without erasing volatile evidence or knocking over systems you will need for recovery.

Establish command before touching everything

Start an incident channel, assign an incident commander, a technical lead, a communications lead, and a scribe. Decisions and timestamps matter. Capture the first facts: who noticed, what systems are affected, whether operations are stopped, and whether data theft is claimed.

20:03 UTC — warehouse scans failing; fileshare-fs01 shows renamed files
20:06 UTC — EDR reports mass modification on fs01, host isolated
20:11 UTC — no evidence yet on erp-db01; authentication stable
20:15 UTC — containment approved for user VLANs; backup network preserved

Those notes become the timeline used for legal review, insurer questions, eradication scope, and post-incident remediation.

Isolate surgically, then widen deliberately

Containment has tiers. Isolate clearly infected hosts first. If lateral movement is active, isolate segments or disable specific accounts. If identity is compromised, shutting down endpoints blindly does not solve the problem. Preserve volatile evidence where feasible: memory, running processes, network connections, authentication logs, and ransom notes.

Useful host triage on Windows:

Get-NetTCPConnection -State Established |
  Select-Object LocalAddress,LocalPort,RemoteAddress,RemotePort,OwningProcess
Get-Process | Sort-Object CPU -Descending | Select-Object -First 15 Name,Id,Path,CPU
Get-ScheduledTask | Where-Object {$_.TaskPath -notlike "\Microsoft*"}

Do not wipe or reimage yet. Rebuilding may be necessary later, but premature destruction removes the evidence needed to prove eradication and identify initial access.

Communicate in knowns, unknowns, and actions

A good update is short: what we know, what we do not know, what we are doing, what decision is needed. Avoid declaring attribution, promising restoration times, or saying "contained" before the access path and identity exposure are understood. Every confident sentence will be repeated; make sure it survives scrutiny.

Field notes

  • Do not power off systems reflexively. Isolate at network or EDR level first when possible.
  • Preserve one representative infected host for analysis even when others must be rebuilt quickly.
  • Coordinate with counsel and insurers early; some policies require approved responders before major work.
  • Disable compromised credentials carefully. Breaking all service accounts at once can take down healthy systems.

Was this lesson helpful?

Sign in to rate