TExcelTAD
Home › Malware Analysis, Digital Forensics & Incident Response › A Ransomware Response Playbook

A Ransomware Response Playbook

Ransomware is the incident type most organisations fear most, for good reason: it combines business stoppage (encrypted systems), a data breach (most groups steal data before encrypting, then threaten to publish it: double extortion), legal reporting clocks, and a criminal on the other side applying time pressure. It is also the incident where a prepared playbook pays off most, because the first hour is chaotic and the right first steps are known in advance. Security Foundations covered how ransomware is detected and why backups matter; this lesson is the response.

This course contains no ransomware and no encryption of anyone's files. The playbook is about responding to an incident; the examples are synthetic.

The playbook, step by step

1. Isolate, fast and broadly

  • Disconnect affected hosts from the network (EDR isolation, switch port, Wi-Fi off); isolate affected segments; disconnect backup systems from the production network if they are still intact.
  • Prefer isolation to shutdown: memory holds evidence and sometimes key material. CISA's #StopRansomware guide advises powering devices down only if they can't be disconnected from the network, accepting the loss of volatile evidence.
  • Disable or reset compromised accounts, especially privileged ones; ransomware operators usually hold domain administrator rights by the time they encrypt.

2. Preserve evidence

  • Capture memory from a few representative hosts, keep a copy of the ransom note, a sample of encrypted files (and, if found, the ransomware binary), logs from firewalls, VPN, EDR and domain controllers before they rotate (forensic principles).
  • Record times in UTC from the first minute (chain of custody).

3. Assess: scope, data theft, backups

  • Which systems are encrypted, which are not yet, how the attacker got in, which accounts they used (timelines).
  • Was data exfiltrated? Look for large outbound transfers, archive tools, cloud-storage uploads in the days before encryption.
  • Are backups intact, offline or immutable, and older than the intrusion (recovery)?
  • Identify the group from the note and the file extension; check No More Ransom (a law-enforcement and industry project) for a free decryptor, which exists for some families.

4. Notify

  • Inside: executives, legal counsel, data protection officer, communications, cyber insurer (policies often require early notice and approved responders).
  • Outside, by law and contract: data protection authorities if personal data is affected, sector regulators, customers, and law enforcement. The deadlines are short and differ by law: see UK and EU law (GDPR's 72 hours, NIS2's 24 h / 72 h / one month), US law and Vietnamese law.

5. Decide about the ransom: the guidance is don't pay

Law enforcement (the FBI, Europol, national cyber agencies) and most governments advise against paying: payment funds the next attack, marks the victim as a payer, doesn't guarantee a working decryptor (they are often slow and buggy) and never guarantees that stolen data is deleted. Paying can also be illegal: the US Treasury's OFAC has warned that payments to sanctioned persons or groups can violate sanctions law, and some jurisdictions restrict public bodies from paying. If an organisation still considers it, that is a decision for executives with legal counsel, never for the IT team at 3 a.m., and it doesn't replace any other step of the playbook.

6. Eradicate and recover

Rebuild, reset all credentials (including krbtgt twice), close the entry point, restore from clean backups in dependency order, and monitor (eradication and recovery).

7. Learn: blameless review, then the improvements that most often matter: MFA everywhere (especially remote access), patching of Internet-facing systems, privileged access tiering, EDR coverage, immutable and tested backups.

The reporting clocks

The first hours fill up quickly; the example computes the deadlines that start when the organisation becomes aware of a significant incident involving personal data, for an organisation subject to GDPR and NIS2 (a simplified reading: national laws add detail, and counsel decides what applies). It also counts four business days, the period the US SEC gives listed companies to disclose a cybersecurity incident on Form 8-K (Item 1.05) once they determine it is material (holidays ignored here).

python · try it yourself
from datetime import datetime, timedelta, timezone

aware = datetime(2026, 1, 16, 2, 40, tzinfo=timezone.utc)             # Friday night: ransom notes found
material = datetime(2026, 1, 19, 15, 0, tzinfo=timezone.utc)          # Monday: board decides it is material

def business_days_after(start, n):
    d = start
    while n:
        d += timedelta(days=1)
        if d.weekday() < 5:
            n -= 1
    return d

deadlines = [
    ("NIS2 early warning (24 h)", aware + timedelta(hours=24)),
    ("GDPR notification to the authority (72 h, where feasible)", aware + timedelta(hours=72)),
    ("NIS2 incident notification (72 h)", aware + timedelta(hours=72)),
    ("SEC Form 8-K (4 business days after materiality)", business_days_after(material, 4)),
]
for what, when in sorted(deadlines, key=lambda d: d[1]):
    print(f"{when:%a %Y-%m-%d %H:%M} UTC  {what}")

checklist = {"isolated": True, "memory_captured": True, "backups_checked": False, "exfil_assessed": False,
             "insurer_notified": True, "authority_notified": False}
open_items = [k for k, v in checklist.items() if not v]
hours = (datetime(2026, 1, 16, 14, 0, tzinfo=timezone.utc) - aware) / timedelta(hours=1)
print(f"\nstatus at +{hours:.1f} h, open items:", open_items)
Sat 2026-01-17 02:40 UTC  NIS2 early warning (24 h)
Mon 2026-01-19 02:40 UTC  GDPR notification to the authority (72 h, where feasible)
Mon 2026-01-19 02:40 UTC  NIS2 incident notification (72 h)
Fri 2026-01-23 15:00 UTC  SEC Form 8-K (4 business days after materiality)

status at +11.3 h, open items: ['backups_checked', 'exfil_assessed', 'authority_notified']

The weekend doesn't stop the clocks: the NIS2 early warning is due early on Saturday (02:40 UTC), the 72-hour notifications early on Monday. The SEC clock starts later, at the materiality decision, and counts business days. A playbook therefore names, in advance, who decides materiality and significance, who drafts each notification and who sends it, with deputies for weekends.

How ransomware is detected before encryption

Encryption is the last step, often days after initial access. The earlier signals: new remote-access tools, reconnaissance commands (nltest, net group "domain admins", AD enumeration tools), credential dumping (access to LSASS), disabling of security tools, deletion of shadow copies (vssadmin delete shadows, T1490), large outbound transfers. Each is a detection to build (sec-blue-team); each caught early turns a ransomware incident into a smaller one.

How organisations prepare

  • Backups: 3-2-1-1-0 (three copies, two media, one off-site, one offline or immutable, zero errors in restore tests), with backup systems in their own administrative domain so a domain admin can't delete them.
  • The playbook printed and offline, with contact numbers, because mail and the wiki may be encrypted too.
  • Tabletop exercises with executives, legal and communications, including the ransom question.
  • Retainers with an incident-response firm, and an understanding of the insurance policy's conditions.

Pitfalls

  • Restoring before scoping: the attacker is still in the network and encrypts the restored systems again.
  • Negotiating or paying without legal advice, or with a sanctioned group.
  • Underestimating data theft: "we restored from backup" doesn't end a double-extortion incident.
  • Talking on compromised channels: attackers have read victims' incident mail. Use out-of-band communication.

Practice

1. Put these first-hour actions in order: notify the insurer, isolate affected segments, capture memory from two encrypted hosts, restore the file server from last night's backup.

Isolate affected segments; capture memory (on already isolated hosts, quickly); notify the insurer (often a policy condition, and they bring approved responders). Restoring last night's backup does not belong in the first hour: scope and the backup's cleanliness are unknown.

2. Change aware to Monday 2026-01-19 09:00 UTC. When is the NIS2 incident notification due?

Thursday 2026-01-22 09:00 UTC (72 hours later), with the early warning on Tuesday 09:00.

3. Why are backup systems best kept in a separate administrative domain?

Ransomware operators typically hold domain administrator rights before encrypting and delete or encrypt backups they can reach. Separate credentials and immutability keep the backups out of their reach.

Test yourself

What is double extortion?

  1. Two ransom notes
  2. Stealing data before encrypting it and threatening to publish it
  3. Encrypting files twice
  4. Attacking two companies at once

According to CISA's guidance, when should devices be powered down?

  1. Always, immediately
  2. Only if they cannot be disconnected from the network, accepting the loss of volatile evidence
  3. Never
  4. After paying

Why can paying a ransom be illegal?

  1. Cryptocurrency is illegal everywhere
  2. Payments to sanctioned persons or groups can violate sanctions law (for example, OFAC rules in the US)
  3. Insurers forbid it
  4. It isn't; it is always legal

Which project collects free decryptors for some ransomware families?

  1. No More Ransom
  2. MITRE ATT&CK
  3. VirusTotal
  4. NSRL