At 01:52 on a Tuesday, an endpoint detection alert reports thousands of file renames on a finance file server.
Eleven minutes later, two more servers show their volume shadow copies being deleted, a step ransomware operators take so Windows cannot roll the files back.
Within half an hour the on-call analyst has enough evidence to say what is happening. What they lack is permission to cut off the virtualisation cluster, because the warehouse system running on it starts loading the morning's lorries at five.
Most ransomware incident response preparation goes into the playbook: detection rules, isolation steps, backup schedules. Those steps are important, yet they are seldom where a response stalls.
Responses stall at a handful of moments when someone has to choose between two expensive options with half the facts, and nobody agreed beforehand who that someone is.
The guide below follows one defined ransomware scenario from first alert to declared recovery and stops at the five decisions that shape the outcome. Each stop covers the technical call, the business call, who should own them and what to rehearse.
Preparing for a ransomware incident means agreeing, before any attack, who can isolate systems, who declares a major incident, who sits in the extortion decision, what is restored first and what evidence proves recovery is finished.
Write those owners and thresholds into the plan, then rehearse them against a realistic scenario until each decision takes minutes.
Where a ransomware response loses its time
Ransomware featured in 44% of the breaches Verizon analysed for its 2025 Data Breach Investigations Report, while 64% of victims declined to pay and the median payment fell to US$115,000, as The Record reported.
Taken together, those numbers describe an attack that is common and a response that more often ends in self-recovery. When most organisations refuse to pay, the quality of their containment and restore decisions sets how long the business stays down.
CISA's #StopRansomware Guide gives a response checklist that runs from detection and analysis through notification, containment and recovery.
NIST SP 800-61 Rev 3, finalised in April 2025, places incident response inside the six functions of the Cybersecurity Framework 2.0.
But neither can tell you who in your organisation has the authority to act at two in the morning, and that gap is where the hours go.
The scenario: a distribution company on a Tuesday night
Illustrative scenario. The organisation, timings and data volumes are invented for this exercise .
The organisation is a distribution company with around 3,000 staff in the UK and two EU countries.
It runs a hybrid Active Directory synchronised to Microsoft Entra ID, two VMware ESXi clusters, an on-premises warehouse management system (WMS) that every depot depends on, and Microsoft 365.
Backups go to an on-premises backup server, with a weekly immutable copy held in cloud object storage.
A managed detection and response (MDR) provider watches endpoint telemetry overnight, the company holds an incident response retainer, and it carries cyber insurance.
The attacker got in three weeks earlier through a VPN account that had no multi-factor authentication (MITRE ATT&CK T1133, External Remote Services).
They gained domain administrator rights, copied file shares to a cloud storage service over two nights and, at 01:40 on Tuesday, started encrypting virtual machines.
When the first alert fires, the internal team knows none of that history.
The five decision above points in the scenario. Each has a technical owner and a business owner, and most of the delay builds up in the handoff between them.
Decision 1: Isolate now, or keep watching?
Twenty minutes in, the analyst has confirmed encryption on three servers on the same cluster, and there are three realistic options.
Isolating only those three servers is quick but probably incomplete, since encryption that has reached three hosts has likely reached more.
Cutting the ESXi management network and the server VLANs stops the spread and also stops the WMS. Watching for another hour gives a cleaner scope, paid for in encrypted machines.
CISA's guide sets a clear default: work out which systems are affected and isolate them immediately, and where several subnets are involved, take the network offline at the switch.
It advises powering devices down only when they cannot be disconnected, because a shutdown destroys the memory evidence investigators rely on.
And it recommends taking memory captures and system images from a sample of affected machines first.
The technical call is which segment goes dark, who makes the change, and which hosts get a memory capture before they are cut off.
The business call is accepting that the WMS stops and the depots start the day on paper.
Both belong to the incident commander, usually the IR lead, and the authority needs to exist in writing before the night it is used.
Agree with the business continuity owner that confirmed encryption on more than one server authorises isolating the affected segment without a phone call, and record roughly what an hour of WMS downtime costs, so nobody is calculating it at 02:15.
Hand the on-call analyst the first alert and a phone.
Time how long it takes to isolate a segment, and write down every person they felt they had to ask before acting.
For the hands-on side, TryHackMe's ContAInment lab puts an analyst in front of a ransomware-hit workstation to investigate and contain.
Decision 2: Who gets woken, and in what order
At 02:50 the MDR provider reports unusual sign-ins to a Microsoft 365 administrator account.
If the attacker can read the tenant, the incident bridge cannot run on Teams and the call list cannot go out by email. CISA recommends out-of-band communication, such as phone calls, for this reason: the attacker may be watching the channels you would normally use.
Declaring a major incident should rest on a written threshold, agreed while everyone is calm.
For ransomware, a sensible one is confirmed encryption on more than one server, or any sign of compromise on a domain controller or the backup platform. Once the threshold is met, the first hour follows an order the team has already practiced.
Run the call list for real during an exercise, out of hours, over the out-of-band channel.
Measure the time from the threshold being met to a live bridge with the CISO, legal counsel and the retainer on it.
Decision 3: The ransom note says 400 GB left the building
Six hours in, the ransom note appears on the encrypted servers. It names a group, claims 400 GB of company data and sets a deadline.
The MDR provider confirms large uploads from a file server to a cloud storage service on the two previous nights, behaviour MITRE ATT&CK tracks as Exfiltration to Cloud Storage (T1567.002). The incident has become two problems at once, with systems down and data gone.
The second problem starts legal clocks, and some may have started already. Under Article 33 of the GDPR, mirrored in the UK GDPR, a controller notifies the supervisory authority of a personal data breach without undue delay and, where feasible, within 72 hours of becoming aware of it.
Under Article 23 of the NIS2 Directive, an in-scope entity sends an early warning within 24 hours of becoming aware of a significant incident and a fuller notification within 72 hours.
A US-listed parent would add Form 8-K Item 1.05, due four business days after the company determines the incident is material. Deciding which duties apply is legal's job.
The IR lead's job is to hand legal a written fact pattern quickly: what data left, whose it is, and how confident the team is.
Then comes the payment question. CISA and the FBI advise against paying, and a decryptor does nothing about data that has already been copied.
Organisations weighing payment under US jurisdiction face a further constraint.
The Treasury's Office of Foreign Assets Control (OFAC) can impose civil penalties on a strict liability basis if a payment reaches a sanctioned party, reviews licence applications for such payments with a presumption of denial, and counts prompt reporting to law enforcement and full cooperation as mitigating factors, according to its September 2021 advisory.
Knowing who is behind the attack therefore matters well beyond threat intelligence. TryHackMe's Identifying Ransomware Operations room covers how analysts attribute an attack from the traces it leaves.
Keep the people under the most pressure away from the decision's mechanics. The IR lead should never be the person deciding whether to pay.
Their contribution is a straight answer to the question executives most need answered, which is whether the business can recover without the key, and that answer comes from Decision 4.
How the extortion decision should be fed. The IR lead supplies facts; legal duties, restore feasibility, sanctions screening and outside advice converge on an executive forum that logs its reasoning.
Inject the exfiltration evidence halfway through a tabletop, once the room has settled into a recovery mindset.
Time how long legal takes to receive a written fact pattern, and note whether anyone asks when the notification clock started.
Decision 4: What comes back first
Eighteen hours in, the picture of the backups is clear and unwelcome.
The on-premises backup server was joined to the domain, the attacker held domain administrator rights, and the backup repository is encrypted. The immutable cloud copy is intact, and it is six days old.
The operations director wants the WMS back first, which is understandable with every depot running on paper.
The infrastructure lead wants Active Directory rebuilt first, which is right. Restoring the WMS into a domain the attacker still controls invites a second round of encryption on systems the team has just spent a day bringing back.
A restore order built on dependencies. The business priority, the warehouse system, comes fourth because it cannot be trusted until identity, core services and the backups beneath it are clean.
Identity first means cleaning or rebuilding the domain controllers and resetting the krbtgt account password twice, so forged Kerberos tickets stop working.
CISA's eviction guidance (countermeasure CM0050) calls for at least ten hours between the two resets so the first one replicates fully, and Microsoft's Active Directory forest recovery guide covers the same step.
Restored systems go into a separate recovery network that only verified clean machines may join, and passwords across affected systems are reset once the environment has been rebuilt, in line with CISA's guide.
NIST CSF 2.0 makes the backup check explicit: subcategory RC.RP-03 asks for the integrity of backups to be verified before they are used to restore.
The six-day gap is a business decision that looks like a technical one. Someone has to accept that six days of WMS transactions are lost, decide how depots will reconcile them from carrier records and paper manifests, and sign it off.
The Response and Recovery room in TryHackMe's Incident Response Lifecycle module walks through containment, eradication and recovery on a single running incident, which suits analysts who will carry out this part of the plan.
Give the technical team a restore that depends on a service they have not yet brought back, and watch whether anyone checks a restore point before using it.
The measure worth tracking is time to first trustworthy restore, which is a different number from time to first restore.
Decision 5: Deciding it is over
By day four the WMS is back, depots are catching up and the business wants everything reconnected.
Declaring recovery too early is how organisations end up responding to the same attacker twice.
NIST CSF 2.0 treats the end of recovery as a decision taken against criteria (RC.RP-06), and CISA's guide gives the declaration to a designated IT or security authority, which means that person should be named well before the incident.
Reconnection criteria worth writing down in advance:
- A hunt for persistence is complete across restored and surviving systems, covering new accounts, scheduled tasks, remote access tools and cloud application tokens.
- Privileged and service account credentials have been reset, and krbtgt has been reset twice.
- The initial access route is closed (here, the VPN account without multi-factor authentication), and similar accounts have been checked.
- Detection rules cover the behaviours seen in this incident, including shadow copy deletion (T1490), encryption for impact (T1486) and bulk uploads to cloud storage.
- Restored systems have been checked for integrity and are operating normally (CSF 2.0 RC.RP-05).
- The executive sponsor has approved the customer and staff messages that describe recovery.
The hunt is the easiest item to cut when the business is pushing, and it is the one that tells you whether the attacker left a way back in.
TryHackMe's Threat Hunting module teaches the method, and its Threat Hunting: Endgame room focuses on actions on objectives, including impact and exfiltration.
Once the incident closes, the lessons-learned review belongs in the plan. Every finding gets an owner and a date, and the next exercise checks whether it was fixed. The Post-Incident Activity room covers how to run that final phase well.
Practice this hands-on
A tabletop cannot tell you whether your analysts will find the encrypted hosts in time.
TryHackMe's Live Breach Exercises put a response team inside a fully executed attack, using the SIEM and EDR you choose, and end with a report on speed, accuracy and team decisions.
For the leadership half of this scenario, TryHackMe tabletop exercises build injects around your own stack and record who decided what.
Frequently asked questions
What should you do first when ransomware is detected?
Isolate the affected systems, move coordination to an out-of-band channel and preserve evidence from a sample of affected machines.
CISA's #StopRansomware Guide puts identifying and isolating affected systems first, and recommends taking the network offline at the switch when several subnets are involved.
Should you shut down computers during a ransomware attack?
Where you can, disconnect them from the network instead of powering them off.
CISA advises powering down only devices that cannot be disconnected, because a shutdown loses the volatile memory investigators use to understand the attack.
Should an organisation pay a ransom?
CISA and the FBI advise against paying, and paying does not undo data theft.
The decision sits with executives and legal counsel, informed by whether recovery is possible without a key, sanctions exposure (OFAC applies strict liability to payments that reach sanctioned parties) and law-enforcement advice.
Who should take part in a ransomware tabletop exercise?
The incident response lead, the CISO, legal counsel, communications, the owners of critical business services and an executive sponsor with authority over payment and disclosure.
Bring deputies too, since an exercise that only uses first choices tests a team that may not be available on the night.
How often should you run a ransomware exercise?
A workable rhythm is the full scenario once a year, one decision point each quarter and a hands-on technical exercise twice a year, plus a run after major changes to infrastructure, suppliers or leadership. Tie each run to the findings of the last one.
What is the difference between a tabletop and a live ransomware exercise?
A tabletop is discussion-based and tests decisions, escalation and communication. A live exercise puts the response team into a running attack in real tools and tests whether they can detect, scope and contain it. Ransomware preparation needs both.
Ayomide Joseph A.