In a ransomware attack the decisions that matter most are made in the first hour, under pressure, by people who often cannot reach email, the identity provider or the backup console. This template is a ready-to-adopt ransomware playbook covering detection triggers, the first hour, activation and roles, scoping, identity plane checks, backup validation, communications, a ransom demand decision record, law enforcement reporting, recovery sequencing and lessons learned, each with owners and target times. It follows the CISA #StopRansomware Guide, NCSC recovery guidance and NIST IR 8374 Rev. 1, and sits under your [Incident Response Plan]. It is for incident managers, security operations, IT and identity teams, and the executives who approve the hard calls.
How to use this template
- Replace text in square brackets, such as [Organisation], [Incident manager] and [15 minutes], with your own teams, tools and targets.
- "Must" is mandatory; "should" is recommended. Target times run from declaration of the incident.
- Severity, escalation and notification rules come from the [Incident Response Plan]. A confirmed ransomware event is always SEV1.
- Print it. Keep a copy, the contact list and the recovery priority list offline, because the file shares and wiki may be encrypted.
- Commands and product names are worked examples for Windows, Active Directory, Entra ID and AWS; map each step to your own platforms.
1. Purpose
This playbook sets out how [Organisation] responds to ransomware and data extortion: stopping spread, preserving evidence, regaining control of identity, recovering from clean sources, meeting reporting duties and making any ransom decision in a documented, lawful and accountable way. NIST IR 8374 Rev. 1 notes that immediate execution of the response plan "is necessary to stop any continuing exfiltration of data".
2. Scope and detection triggers
The playbook covers encryption of endpoints, servers, hypervisors (including ESXi) and cloud storage, and extortion based on stolen data with or without encryption. Any trigger below must be treated as a suspected ransomware incident until disproved.
| Trigger | Source | First owner | Acknowledge within |
|---|---|---|---|
| Ransom note, mass file renames or encrypted extensions | User report, EDR, file server | [SOC analyst] | [5 minutes] |
Inhibit System Recovery (ATT&CK T1490): vssadmin.exe delete shadows /all /quiet, wbadmin.exe delete catalog -quiet, bcdedit setting recoveryenabled no, wmic shadowcopy delete | EDR, Sysmon, SIEM | [SOC analyst] | [5 minutes] |
| Mass encryption or VM snapshot deletion on hypervisors (T1486) | Hypervisor logs, storage alerts | [Infrastructure on-call] | [15 minutes] |
| Cloud API calls disabling versioning, backup policies or snapshots; objects re-encrypted with customer-provided keys | CloudTrail or equivalent, CSPM | [Cloud on-call] | [15 minutes] |
| Precursors: new or elevated AD accounts, unexpected remote management tools, Cobalt Strike, credential dumping, Rclone or other bulk upload | EDR, identity threat detection, proxy | [SOC analyst] | [15 minutes] |
| Extortion email, leak site listing or call from a third party | Any staff member, threat intelligence | [Incident manager] | [30 minutes] |
3. Activation and roles
The [Incident manager] declares SEV1, opens the out-of-band bridge ([phone bridge or alternate tenant]) and assigns the roles below. Each must have a named deputy.
| Role | Ransomware responsibilities | Primary / deputy |
|---|---|---|
| Executive sponsor | Approves network-wide shutdown, the ransom decision record, public statements and recovery priorities | [ ] / [ ] |
| [Incident manager] | Runs the bridge, decision log and cadence; single point of coordination | [ ] / [ ] |
| Technical lead and IR retainer | Scoping, containment, eradication, forensics | [ ] / [ ] |
| Identity lead | Section 6 identity plane checks and credential rotation | [ ] / [ ] |
| Infrastructure and backup lead | Isolation, backup protection and validation, rebuild | [ ] / [ ] |
| Legal, [DPO] and insurer liaison | Privilege, notifications, sanctions checks, law enforcement, insurer consent | [ ] / [ ] |
| Communications and HR | Staff, customer and media messages; staff welfare and rotas | [ ] / [ ] |
| Business service owners | Manual workarounds; confirm recovery order and accept restored services | [per service] |
4. First hour: initial actions
| Step | Action | Owner | Target |
|---|---|---|---|
| F1 | Isolate affected hosts with EDR network containment. If several systems or subnets are affected, CISA advises to "take the network offline at the switch level" | Technical lead | [15 minutes] |
| F2 | Do not power off or reboot affected machines without technical lead approval: memory holds keys, processes and connections. CISA treats powering down as a last resort if a device cannot be disconnected | All responders | Immediate |
| F3 | Protect backups: disconnect backup servers and repositories from the production network, check immutability locks, and change backup console credentials from a clean device | Backup lead | [30 minutes] |
| F4 | Preserve evidence: memory capture and disk image of a sample of affected hosts, snapshots of affected cloud volumes, export of identity and EDR logs; record hashes and UTC times | Technical lead | [1 hour] |
| F5 | Move all coordination to out-of-band channels; assume email and chat are being read | [Incident manager] | [15 minutes] |
| F6 | Restrict remote access: VPN, remote desktop gateways, remote management tools, and SSO resources where they are attack paths | Infrastructure lead | [1 hour] |
| F7 | Notify the [CISO], executive sponsor, legal, insurer hotline and IR retainer per the [Incident Response Plan] | [Incident manager] | [1 hour] |
5. Scoping
| Question | Evidence | Owner | Answer by |
|---|---|---|---|
| Which hosts, hypervisors, storage and cloud accounts are encrypted or affected? | EDR inventory, hypervisor and storage consoles, cloud audit logs | Technical lead | [4 hours] |
| How did the attacker get in and when? | VPN and remote access logs, email, exposed services, initial access broker intelligence | IR retainer | [24 hours] |
| Which identities did they use or create? | Event IDs 4720, 4728, 4732, 4756 (account and group changes), sign-in logs, new app credentials | Identity lead | [4 hours] |
| Was data exfiltrated, and what? | Proxy and firewall egress volumes, cloud storage access logs, tool artefacts | Technical lead, [DPO] | [48 hours] |
| Are backups intact and clean? | Backup job history, immutability status, deletion attempts | Backup lead | [8 hours] |
| Which business services are down, and what workarounds exist? | Service owners, BIA | [Incident manager] | [4 hours] |
6. Identity plane checks
Ransomware operators usually hold domain or cloud administrator rights before they encrypt. NCSC states that "trusted identity is a critical dependency for recovery". All actions below must be performed from a trusted device built from a clean source, such as a privileged access workstation, as Microsoft advises.
| Check | Action | Owner | Timing |
|---|---|---|---|
| Tier 0 membership | Review Domain Admins, Enterprise Admins, Backup Operators and other privileged groups; remove unknown members; reset DSRM passwords on each domain controller | Identity lead | [4 hours] |
| krbtgt | Reset twice, including for read-only domain controllers. Microsoft: "You must wait 10 hours between password resets" (the default maximum ticket lifetime; wait longer if changed). Plan the second reset with the rebuild, not mid-attack | Identity lead, technical lead | First reset after eviction; second after [10+ hours] |
| Federation and sync servers | Treat AD FS and Entra Connect servers as Tier 0; rotate AD FS token-signing certificates twice; rotate the sync service account | Identity lead | [24 hours] |
| Cloud administrators | Review Global Administrator, privileged role and root account activity; reset and revoke sessions; confirm break-glass accounts are untouched | Identity lead | [4 hours] |
| Service principals and app registrations | Look for added secrets and certificates, new consent grants and new role assignments; remove and rotate | Identity lead | [8 hours] |
| Cloud keys and roles | Deactivate exposed long-term keys; revoke role sessions (AWS AWSRevokeOlderSessions); check for encryption with customer-provided keys | Cloud lead | [4 hours] |
| Service accounts and NHIs | Rotate service account, backup, hypervisor and RMM tool credentials, API keys and secrets stored on affected hosts; move to gMSAs where possible | Service owners | Before reconnecting each service |
Stolen machine credentials can carry the attack beyond the network: the Codefinger S3 ransomware used stolen AWS keys to encrypt buckets with AWS's own encryption, and in the Storm-0501 attacks Entra Connect Sync credentials took operators into the cloud. See the Active Directory and Entra ID Hardening Guide and the Service Account Security Guide.
7. Backup validation and clean recovery
- Assume backups were targeted. NCSC advises responders to "seek appropriate assurance that they are immutable and uncompromised", and warns that backups "may not cover the full environment, including applications, identity systems and sources of trust".
- Pick a restore point before the earliest attacker activity found in scoping, not just before encryption, and check it for precursor malware and persistence such as scheduled tasks and remote management tools.
- Restore into an isolated recovery network, scan with current signatures and indicators, and verify integrity before use, as CSF 2.0 RC.RP-03 requires.
- Rebuild rather than clean where persistence cannot be ruled out; use standard images and infrastructure as code for cloud resources.
- Reset passwords and update customer-managed encryption keys after the environment is rebuilt, and take care, in CISA's words, "not to re-infect clean systems during recovery".
See the Backup Security and Immutable Backup Guide.
8. Communications
| Audience | Message | Owner | Timing |
|---|---|---|---|
| Staff | Do not switch on or connect devices until told; how to report; where updates will appear | Communications | [2 hours], then daily |
| Executives and board | Status, impact, decisions needed | [CISO] | Every [4 hours] |
| Customers and partners | Approved holding statement; service status; what they should do | Communications, legal | [24 hours] or per contract |
| Media | Holding statement only; no comment on payment or attribution | Communications | On enquiry |
| Attacker | No contact by staff. Any contact only via approved specialists under legal and executive direction | Legal | As decided |
9. Ransom demand decision record
This section records a decision; it is not legal advice and contains no payment instructions. NCSC guidance written with the ABI, BIBA and IUA states: "The ultimate decision whether to pay the ransom is with the victim." In the US, OFAC "strongly discourages all private companies and citizens from paying ransom or extortion demands" and may impose penalties on a strict liability basis where a payment involves a sanctioned person. In the UK, NCSC notes that payments "may not be lawful" if made to a sanctioned entity or area, and that the ICO does not treat payment as a risk mitigation.
| Field | Entry |
|---|---|
| Date and time of demand (UTC); channel | [ ] |
| Threat actor as claimed; proof of data theft offered | [ ] |
| Recovery without payment: backup status, rebuild estimate, decryptor check (No More Ransom, law enforcement) | [ ] |
| Business impact of each option, from the BIA | [ ] |
| Sanctions screening and legal advice (counsel name, date) | [ ] |
| Law enforcement consulted (agency, reference) | [ ] |
| Insurer consulted (reference, position) | [ ] |
| Decision, rationale and approver ([Executive sponsor] and [board]) | [ ] |
NCSC warns "you cannot trust a promise to delete it once a ransom is paid", so the data breach assessment continues whatever is decided. See the Cyber Insurance Guide.
10. Law enforcement and regulatory reporting
| Jurisdiction | Report to | Owner | Timing |
|---|---|---|---|
| United States | CISA (Incident Reporting Form or (888) 282-0870), local FBI field office, FBI IC3 | Legal, [CISO] | [24 hours] |
| England, Wales, Northern Ireland | NCSC (report.ncsc.gov.uk); Report Fraud, which replaced Action Fraud on 4 December 2025 (businesses under attack: 0300 123 2040) | Legal, [CISO] | [24 hours] |
| Scotland | NCSC; Police Scotland on 101 | Legal | [24 hours] |
| Regulators | Data protection, NIS2 and sector regulators per the [Incident Response Plan] | [DPO], legal | Statutory deadlines |
OFAC treats a self-initiated, complete and timely report to law enforcement, and full cooperation, as significant mitigating factors.
11. Recovery sequencing
| Order | Component | Exit check | Owner |
|---|---|---|---|
| 1 | Isolated recovery network and clean admin workstations | Built from trusted media; no connection to affected networks | Infrastructure lead |
| 2 | Identity: domain controllers, Entra ID, federation, PAM, break-glass | Section 6 complete; no unknown privileged accounts | Identity lead |
| 3 | Security tooling: EDR, logging, SIEM | Coverage on every restored host | SOC lead |
| 4 | Core network services: DNS, DHCP, firewalls, remote access with MFA | Entry point closed | Infrastructure lead |
| 5 | Backup platform | Fresh credentials; immutability on | Backup lead |
| 6 | Critical business services in BIA priority | Service owner acceptance | Service owners |
| 7 | Endpoints and remaining services | Reimaged or verified clean | IT operations |
If eviction is uncertain, NCSC warns that "proceeding with recovery carries a risk of the incident restarting". The designated authority declares the incident over on agreed criteria. See the Ransomware Response and Recovery Guide.
12. Lessons learned
- Hold a blameless review within [10 business days] of closure, covering entry point, dwell time, what slowed containment and recovery, and decision quality.
- Record metrics: time to isolate, time to regain Tier 0 control, share of services restored within RTO, data lost against RPO, and credentials rotated against those in scope.
- Add detections for the techniques seen, share indicators with CISA, NCSC or your ISAC, and track actions to closure. See the Ransomware Prevention Guide.
13. Source references
- CISA: #StopRansomware Guide
- NIST: IR 8374 Rev. 1 Ransomware Risk Management: A Cybersecurity Framework 2.0 Community Profile
- NCSC: Recovering from a highly disruptive cyber attack, recovery and ongoing investigations
- NCSC: Guidance for organisations considering payment in ransomware incidents
- NCSC: Mitigating malware and ransomware attacks
- US Treasury OFAC: Updated Advisory on Potential Sanctions Risks for Facilitating Ransomware Payments
- Microsoft Learn: AD Forest Recovery, reset the krbtgt password
- Microsoft Security: Advice for incident responders on recovery from systemic identity compromises
- MITRE ATT&CK: T1490 Inhibit System Recovery
- Report Fraud: Report Fraud service goes live
Implementation guidance
- Pre-authorise isolation: agree in advance that the technical lead may isolate hosts and segments without waiting for executives, and who can approve a full network shutdown.
- Prepare the offline kit: printed playbook, contacts, recovery priority list, network diagrams, break-glass credentials in a safe, and clean media for admin workstations.
- Know your NHIs: list the service accounts, backup and hypervisor credentials, API keys and app registrations section 6 must rotate, with owners. See the Secrets Management Guide.
- Test restores and identity recovery: restore a domain controller and a critical application into an isolated network at least [annually] and time it against the RTO.
- Rehearse the decision record: run a tabletop with executives, legal and the insurer using section 9.
Small organisations should arrange an IR retainer or insurer panel firm before an incident and can merge roles, keeping one deputy for each. Large organisations should keep per-business-unit recovery orders and tie this playbook to their crisis management and business continuity plans.
This template is provided for guidance and must be adapted to your organisation. It is not legal advice. Related NHI Mgmt Group resources: Ransomware Response and Recovery Guide · Ransomware Prevention Guide · Backup Security and Immutable Backup Guide · Incident Response Guide · Ransomware Groups Guide