Join our Newsletter — 33% off our NHI Course
Home› Guides› Ransomware Playbook Template
Template Threat Detection & Response

Ransomware Playbook Template

← All guides
By Lalit Choda, NHI Mgmt Group Updated 17 October 2026 12 min read
On this page

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.

TriggerSourceFirst ownerAcknowledge within
Ransom note, mass file renames or encrypted extensionsUser 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 deleteEDR, 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 keysCloudTrail 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 uploadEDR, identity threat detection, proxy[SOC analyst][15 minutes]
Extortion email, leak site listing or call from a third partyAny 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.

RoleRansomware responsibilitiesPrimary / deputy
Executive sponsorApproves 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 retainerScoping, containment, eradication, forensics[ ] / [ ]
Identity leadSection 6 identity plane checks and credential rotation[ ] / [ ]
Infrastructure and backup leadIsolation, backup protection and validation, rebuild[ ] / [ ]
Legal, [DPO] and insurer liaisonPrivilege, notifications, sanctions checks, law enforcement, insurer consent[ ] / [ ]
Communications and HRStaff, customer and media messages; staff welfare and rotas[ ] / [ ]
Business service ownersManual workarounds; confirm recovery order and accept restored services[per service]

4. First hour: initial actions

StepActionOwnerTarget
F1Isolate 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]
F2Do 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 disconnectedAll respondersImmediate
F3Protect backups: disconnect backup servers and repositories from the production network, check immutability locks, and change backup console credentials from a clean deviceBackup lead[30 minutes]
F4Preserve 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 timesTechnical lead[1 hour]
F5Move all coordination to out-of-band channels; assume email and chat are being read[Incident manager][15 minutes]
F6Restrict remote access: VPN, remote desktop gateways, remote management tools, and SSO resources where they are attack pathsInfrastructure lead[1 hour]
F7Notify the [CISO], executive sponsor, legal, insurer hotline and IR retainer per the [Incident Response Plan][Incident manager][1 hour]

5. Scoping

QuestionEvidenceOwnerAnswer by
Which hosts, hypervisors, storage and cloud accounts are encrypted or affected?EDR inventory, hypervisor and storage consoles, cloud audit logsTechnical lead[4 hours]
How did the attacker get in and when?VPN and remote access logs, email, exposed services, initial access broker intelligenceIR 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 credentialsIdentity lead[4 hours]
Was data exfiltrated, and what?Proxy and firewall egress volumes, cloud storage access logs, tool artefactsTechnical lead, [DPO][48 hours]
Are backups intact and clean?Backup job history, immutability status, deletion attemptsBackup 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.

CheckActionOwnerTiming
Tier 0 membershipReview Domain Admins, Enterprise Admins, Backup Operators and other privileged groups; remove unknown members; reset DSRM passwords on each domain controllerIdentity lead[4 hours]
krbtgtReset 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-attackIdentity lead, technical leadFirst reset after eviction; second after [10+ hours]
Federation and sync serversTreat AD FS and Entra Connect servers as Tier 0; rotate AD FS token-signing certificates twice; rotate the sync service accountIdentity lead[24 hours]
Cloud administratorsReview Global Administrator, privileged role and root account activity; reset and revoke sessions; confirm break-glass accounts are untouchedIdentity lead[4 hours]
Service principals and app registrationsLook for added secrets and certificates, new consent grants and new role assignments; remove and rotateIdentity lead[8 hours]
Cloud keys and rolesDeactivate exposed long-term keys; revoke role sessions (AWS AWSRevokeOlderSessions); check for encryption with customer-provided keysCloud lead[4 hours]
Service accounts and NHIsRotate service account, backup, hypervisor and RMM tool credentials, API keys and secrets stored on affected hosts; move to gMSAs where possibleService ownersBefore 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

  1. 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".
  2. 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.
  3. 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.
  4. Rebuild rather than clean where persistence cannot be ruled out; use standard images and infrastructure as code for cloud resources.
  5. 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

AudienceMessageOwnerTiming
StaffDo not switch on or connect devices until told; how to report; where updates will appearCommunications[2 hours], then daily
Executives and boardStatus, impact, decisions needed[CISO]Every [4 hours]
Customers and partnersApproved holding statement; service status; what they should doCommunications, legal[24 hours] or per contract
MediaHolding statement only; no comment on payment or attributionCommunicationsOn enquiry
AttackerNo contact by staff. Any contact only via approved specialists under legal and executive directionLegalAs 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.

FieldEntry
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

JurisdictionReport toOwnerTiming
United StatesCISA (Incident Reporting Form or (888) 282-0870), local FBI field office, FBI IC3Legal, [CISO][24 hours]
England, Wales, Northern IrelandNCSC (report.ncsc.gov.uk); Report Fraud, which replaced Action Fraud on 4 December 2025 (businesses under attack: 0300 123 2040)Legal, [CISO][24 hours]
ScotlandNCSC; Police Scotland on 101Legal[24 hours]
RegulatorsData protection, NIS2 and sector regulators per the [Incident Response Plan][DPO], legalStatutory deadlines

OFAC treats a self-initiated, complete and timely report to law enforcement, and full cooperation, as significant mitigating factors.

11. Recovery sequencing

OrderComponentExit checkOwner
1Isolated recovery network and clean admin workstationsBuilt from trusted media; no connection to affected networksInfrastructure lead
2Identity: domain controllers, Entra ID, federation, PAM, break-glassSection 6 complete; no unknown privileged accountsIdentity lead
3Security tooling: EDR, logging, SIEMCoverage on every restored hostSOC lead
4Core network services: DNS, DHCP, firewalls, remote access with MFAEntry point closedInfrastructure lead
5Backup platformFresh credentials; immutability onBackup lead
6Critical business services in BIA priorityService owner acceptanceService owners
7Endpoints and remaining servicesReimaged or verified cleanIT 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

  1. CISA: #StopRansomware Guide
  2. NIST: IR 8374 Rev. 1 Ransomware Risk Management: A Cybersecurity Framework 2.0 Community Profile
  3. NCSC: Recovering from a highly disruptive cyber attack, recovery and ongoing investigations
  4. NCSC: Guidance for organisations considering payment in ransomware incidents
  5. NCSC: Mitigating malware and ransomware attacks
  6. US Treasury OFAC: Updated Advisory on Potential Sanctions Risks for Facilitating Ransomware Payments
  7. Microsoft Learn: AD Forest Recovery, reset the krbtgt password
  8. Microsoft Security: Advice for incident responders on recovery from systemic identity compromises
  9. MITRE ATT&CK: T1490 Inhibit System Recovery
  10. Report Fraud: Report Fraud service goes live

Implementation guidance

  1. 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.
  2. Prepare the offline kit: printed playbook, contacts, recovery priority list, network diagrams, break-glass credentials in a safe, and clean media for admin workstations.
  3. 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.
  4. 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.
  5. 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

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Written and reviewed by Lalit Choda, NHI Mgmt Group. Last updated 17 October 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org