Key takeaways
- A playbook is your documented response plan for a ransomware incident: who does what, in what order.
- Most playbooks follow the six NIST phases: prepare, detect, contain, eradicate, recover, learn.
- Preparation is the only phase you do calmly. Roles, backups and out-of-band comms must exist before the alert.
- Don't restore before you eradicate. Restoring over an attacker's foothold gets you re-encrypted.
- An untested playbook is a liability. Run tabletop exercises at least twice a year and fix what breaks.
Picture the scene that security teams describe again and again. A ransom note appears on a finance laptop at 2:47 AM. Someone calls whoever they think is in charge, a video bridge spins up, and people start arguing about whether to pay before anyone has confirmed what's even encrypted. That chaos is exactly what a ransomware playbook exists to prevent.
A playbook replaces improvisation with a rehearsed sequence. It says who leads, who isolates systems, who talks to legal, and what the first ten actions are, so the team executes instead of debating. For any IT professional responsible for systems that ransomware could reach, having one is no longer optional.
A ransomware playbook is a documented, step-by-step response plan that tells your team who does what, in what order, when ransomware strikes. It's usually structured around the six NIST incident-response phases: preparation, detection and analysis, containment, eradication, recovery, and post-incident review. The goal is to turn a panicked scramble into a calm, repeatable response that limits damage and speeds recovery.
Playbook vs runbook: a quick clarification
The two terms get used interchangeably, and that's mostly fine, but there's a useful distinction. A playbook is the scenario-level plan for an incident type, covering decisions, roles and the overall flow of a ransomware response. A runbook is the granular technical procedure for a single task, like the exact commands to isolate a host or reset the krbtgt account. A strong playbook reads like a conductor's score and points to the detailed runbooks for each instrument.
If your plan sits in a file on the same network ransomware just encrypted, it's useless when you need it. Keep an offline, printed and out-of-band copy, and store credentials and contacts somewhere the attack can't reach.
The six phases of a ransomware playbook
Nearly every credible framework, NIST SP 800-61, CISA StopRansomware and SANS PICERL, organises response into the same arc. Here is each phase with what belongs in your playbook.
1. Preparation
This is the only phase you get to do calmly, and every hour spent here saves several during a real incident. Your playbook's preparation section should lock down:
- Roles and backups for each role. Name an incident commander, a technical lead, a communications lead, a legal liaison, and a deputy for each in case someone is unreachable.
- Out-of-band communications. Ransomware often encrypts email and chat first. Pre-agree a separate channel, such as an encrypted app on personal devices, so the team can still coordinate.
- Protected backups. Follow the 3-2-1-1-0 rule: three copies, two media types, one off-site, one immutable or air-gapped, and zero errors on a verified test restore.
- An asset inventory and recovery priority list, so you already know which systems come back first.
- Pre-authorised decisions. Senior leadership should approve the playbook in advance so responders can isolate systems or disable accounts without waiting for sign-off at 3 AM.
2. Detection and analysis
This phase confirms you're dealing with ransomware and scopes it. Your playbook should list the indicators worth watching and the first analysis steps.
- Detection indicators: mass file renames with new extensions, ransom notes appearing in directories, deletion of Volume Shadow Copies, abnormal CPU from encryption, EDR alerts, and unusual lateral movement over SMB.
- First analysis steps: capture system and memory images of affected hosts, identify patient zero and the initial access vector, determine the ransomware family, assess which systems and shares are hit, and check whether data was exfiltrated, which signals a double-extortion case.
3. Containment
Containment stops the spread. The defining decision here, and one your playbook must settle in advance, is whether to disconnect everything immediately.
If the encryptor is still actively running, isolate now, because every minute costs more systems. But where you can, isolate from the network rather than pulling power, so you preserve the memory evidence a forensic investigation will need.
Beyond the affected hosts, containment includes disabling compromised accounts, blocking attacker command-and-control traffic, and segmenting the network to protect what's still clean.
4. Eradication
Eradication removes the attacker's foothold, and it is not the same as restoring service. This is where the most expensive mistakes happen.
You cannot call eradication complete until you can answer, in writing, how the attacker got in and what persistence they left behind. That means identifying and patching the initial access vector, auditing Active Directory for malicious scheduled tasks, services and accounts, and hunting for backdoors beyond the ransomware payload itself.
In one documented case, an organisation restored from backup, declared victory, and was re-encrypted 11 days later through the same forged Kerberos ticket minted during the first intrusion. If you restore before you eradicate, you're inviting the attacker back. Reset all passwords, including service accounts, and rotate the krbtgt secret twice, 12 hours apart, to invalidate forged tickets.
5. Recovery
Now you bring systems back, in a deliberate order, from clean sources. The CISA-aligned recovery sequence looks like this:
- Rebuild affected systems from known-clean images. Do not decrypt in place.
- Restore data from offline backups, after verifying backup integrity first.
- Reset all passwords, including service accounts and the krbtgt account.
- Scan restored systems with updated EDR before reconnecting them to the network.
- Re-enable services in priority order: authentication and DNS first, then email and critical apps, then file servers and departmental systems.
- Monitor restored systems intensively for at least 72 hours for signs of reinfection.
This is also where solid recovery fundamentals matter. If you want a refresher on the underlying mechanics of getting files back from disks and drives, our guide to recovering deleted data covers the building blocks that backup and restore depend on.
6. Post-incident activity
The incident isn't over when service returns. Build a minute-by-minute timeline from the notes your team kept, run a root-cause analysis to find the exact gap that let the attacker in, and document how you'll close it. Track your metrics, Mean Time to Detect and Mean Time to Recover, against previous incidents and drills to prove whether you're improving. Then update the playbook while the details are fresh.
Test it, or it won't work
A playbook nobody has exercised is full of assumptions that break under real pressure. The widely recommended baseline is at least two tabletop exercises a year: one phishing-to-ransomware scenario and one credential-theft or insider scenario. Document what broke during each drill and fix it before the next one. The teams that recover fastest are not the ones with the longest documents, they're the ones who have rehearsed.
A word on paying the ransom
Your playbook should state a position on ransom payment, decided with legal and leadership well before an incident, not in the heat of one. The practical reality is that paying does not guarantee a working decryption key, and organisations that pay are often targeted again. This is exactly why protected, tested backups are the strongest card you can hold: recovery from verified immutable backups is almost always faster, cheaper and more reliable than negotiating with an attacker. Note too that ransom-payment decisions can carry legal and regulatory obligations, so this is a matter for counsel, not a snap call.
Frequently asked questions
What is a ransomware playbook?
A ransomware playbook is a documented set of step-by-step procedures that tells your team exactly what to do when ransomware hits: who does what, in what order, and how to contain, eradicate and recover. It turns a chaotic 2 AM scramble into a repeatable response, usually structured around the six NIST incident-response phases.
What's the difference between a playbook and a runbook?
The terms are often used interchangeably. In practice, a playbook is the higher-level scenario plan for an incident type like ransomware, covering decisions and roles, while a runbook is the granular, technical step list for a specific task such as isolating a host or resetting the krbtgt account. A good playbook references the runbooks it relies on.
What are the phases of a ransomware playbook?
Most playbooks follow the six NIST SP 800-61 phases: Preparation, Detection and Analysis, Containment, Eradication, Recovery, and Post-Incident Activity. SANS uses a similar six-step model called PICERL. Each phase has its own checklist, decision points and assigned owners.
Should we disconnect everything the moment we detect ransomware?
It depends on two factors. If the encryptor is still actively running, isolate affected systems immediately because every minute costs more data. But pulling power destroys memory evidence, so where possible isolate from the network rather than killing power, to preserve forensic data. Your playbook should make this decision explicit in advance.
Why do organizations get re-encrypted after recovering?
Because they restored service before fully eradicating the attacker's persistence. If you rebuild and restore but leave a backdoor, a stolen credential or a forged Kerberos ticket in place, the attacker simply comes back. Eradication is not complete until you can explain in writing how they got in and have closed that path.
Are backups enough to survive ransomware?
Only if they're protected. Modern ransomware targets backups first. Follow the 3-2-1-1-0 rule: three copies, two media types, one off-site, one immutable or air-gapped, and zero errors on a tested restore. Backups you've never test-restored are a hope, not a plan.
Sources & references
This guide is grounded in the following recognised frameworks and references.
- CISA: #StopRansomware Guide and Ransomware Response Checklist. cisa.gov
- NIST: SP 800-61 Incident Response Recommendations and Considerations. nist.gov
- CISA: Cybersecurity Incident and Vulnerability Response Playbooks. cisa.gov
- SANS: Incident Handler's Handbook (PICERL framework). sans.org
- Internal lab testing and editorial review of ransomware response practice, TechNewsKB, 2024 to 2026.
The "don't restore before you eradicate" point can't be repeated enough. We got burned exactly this way years ago. krbtgt double reset is now in our runbook.
Out-of-band comms is the one everyone forgets until their Teams is encrypted. We added a Signal group and a printed contact sheet after our last tabletop.
Great breakdown mapped to NIST and CISA. Sending this to our junior analysts as a primer before the next drill.