Written for: Incident leads, CTOs and IT managers who have to make the first day's decisions
The first 24 hours of a ransomware incident: a decision timeline
Hour-by-hour decisions for the first day of a ransomware incident: contain, preserve evidence, scope identity, check backups and start the legal clocks.
Published · 9 min read
Ransomware is the moment an intrusion becomes visible, not the moment it began. CISA's #StopRansomware Guide notes that a ransomware event may be evidence of an earlier, unresolved compromise, and that over time attackers have added data theft to encryption, threatening to publish what they took: the combination it calls double extortion. The first day is therefore three problems at once: an outage, an active intruder and a probable data breach. The timeline below is the order in which the decisions usually fall; the first-hour checklist is the printable version for the on-call team.
Hour 0 to 1: contain without destroying evidence
- 1
Name an incident lead and start a log
One person decides; everyone else reports to them. Open a timestamped log of every action, who took it and why. It becomes the record you give to insurers, regulators and, if it comes to it, a court.
- 2
Move to out-of-band communication
Assume email and chat are being read. CISA advises isolating systems in a coordinated way and using out-of-band methods such as phone calls, because attackers who notice the response may move laterally or deploy ransomware more widely before networks are taken offline.
- 3
Isolate at the network layer
If several systems or subnets are affected, take the network offline at the switch level, as CISA's checklist puts it. Block outbound traffic at the firewall, disable VPN and other remote access, and cut links to other sites and to cloud environments. The goal is isolation, not shutdown.
- 4
Leave machines powered on
Powering a device down destroys what is in volatile memory, which is often the best evidence of what ran. CISA recommends powering down only when a device cannot be disconnected from the network any other way.
- 5
Snapshot rather than terminate
For cloud workloads, take snapshots of volumes to keep a point-in-time copy for investigation. Terminating an instance to stop the spread also deletes the evidence on it.
- 6
Protect the restore points
Pause backup retention and synchronisation jobs so that clean restore points are not expired or overwritten with encrypted data, and check that nobody holding compromised credentials can delete them.
Hours 1 to 4: preserve, identify and scope
With the spread contained, the priority becomes evidence that is about to disappear, and then the three questions that shape every later decision: what is this, how did it get in, and what can it reach?
Preserve what is volatile or short-lived
Capture memory and a system image from a sample of affected machines, including servers and virtual and cloud hosts. Collect first the evidence most likely to roll over, which CISA lists as system memory, Windows Security logs and firewall log buffers, then add identity provider sign-ins, VPN logs and endpoint telemetry. Extend retention everywhere now, because default windows will expire mid-investigation, and hash what you copy so that chain of custody holds later.
Identify the strain
The ransom note, the encrypted file extension and the hash of the encryptor usually identify the family. That tells you how the group typically gets in, whether it is known for stealing data, and what tooling to hunt for. It also tells you whether recovery without payment might be possible: CISA advises asking law enforcement about decryptors, because researchers have sometimes found flaws in a variant's encryption and released tools, and the No More Ransom (opens in a new tab) project, started by the Dutch police's National High Tech Crime Unit, Europol's European Cybercrime Centre, Kaspersky and McAfee, exists to help victims recover data without paying.
Find the way in
Work outwards from the earliest confirmed evidence, then look earlier still. The routes to check first:
- Remote access: VPN appliances, remote desktop gateways and other internet-facing services, especially any without multi-factor authentication or behind on patches.
- Precursor malware: CISA names loaders such as Bumblebee, Dridex, Emotet and QakBot, whose operators will often sell the access they gain.
- Valid credentials used from unusual places or at unusual times, including those of suppliers with remote access.
- New or changed accounts: CISA's checklist points to newly created Active Directory accounts, recently escalated privileges and anomalous VPN logins.
Scope the identity compromise
Encrypting an estate at scale typically relies on domain-level or equivalent privileges, so assume privileged credentials are compromised until evidence says otherwise. Build the list: domain and enterprise administrators, service accounts, identity provider and cloud administrators, and hypervisor and backup console administrators. For each one, ask what it could reach. That list drives containment now and the credential resets later.
Hours 4 to 12: backups, communications and the legal clocks
Backups: reachable, intact and clean?
- Could the attacker reach the backups, over the same network or with the same credentials?
- Were backup copies, snapshots or the backup catalogue deleted or encrypted?
- Is the backup console's administrator account on the compromised list?
- Which restore point predates the intrusion, not just the encryption?
- How long does a restore of a critical system take, measured, in a clean network?
CISA's guide warns that precursor malware has to be identified before rebuilding from backups, to stop the compromise continuing. A restore taken from the wrong point brings the intruder back along with the data.
Communications
Brief leadership with facts and explicit unknowns, and resist pressure to estimate impact early. Prepare holding statements for staff, customers and partners before anyone asks. Tell staff which channel to use, not to discuss the incident on corporate systems or with the press, and how to report anything suspicious. Choose one spokesperson.
Notification clocks
Legal deadlines run from when you became aware, not from when the investigation ends. Agree that moment with counsel and write it down, then work out which of the regimes below apply to you.
| Regime | Applies to | Deadline | Notes |
|---|---|---|---|
| GDPR, Article 33 | Controllers subject to GDPR | The supervisory authority, without undue delay and, where feasible, within 72 hours of becoming aware | Not required if the breach is unlikely to result in a risk to people. Late notice must give reasons, and details may follow in phases. Processors must tell the controller without undue delay. |
| GDPR, Article 34 | Controllers subject to GDPR | Affected individuals, without undue delay | Required where the breach is likely to result in a high risk to them. Exceptions include data made unintelligible to others, for example by encryption. |
| Israel: Protection of Privacy Regulations (Data Security), Regulation 11(d) | Controllers of databases at medium or high security level | The Registrar, immediately, on a severe security incident, with a report of the measures taken | Since 2022 the Privacy Protection Authority has said it expects notice as soon as a serious incident is discovered or reasonably suspected. The Registrar may order notice to affected people after consulting the head of the National Cyber Defense Authority. |
| NIS2, Article 23 | Essential and important entities under national NIS2 laws | Early warning within 24 hours; incident notification within 72 hours; final report within one month of the notification | Applies to significant incidents. National laws add the detail, including where to report. |
| US SEC, Form 8-K Item 1.05 | SEC registrants | Four business days after determining that the incident is material | Foreign private issuers make comparable disclosures on Form 6-K. |
| Cyber insurance | Policyholders | As set out in the policy | Read the notification clause before you need it; late notice can put cover at risk. |
Hours 12 to 24: the payment question and the recovery plan
By the end of the first day, leadership will be asked whether to engage with the attackers. CISA and its partner agencies do not recommend paying: payment does not guarantee that data will be decrypted, that systems will no longer be compromised, or that stolen data will not be leaked. Paying can also carry sanctions risk; the guide points to the US Treasury's Office of Foreign Assets Control advisory from September 2021.
Whatever the eventual decision, it belongs to leadership with counsel, the insurer and law enforcement, and it should rest on facts the responders can establish by then: whether backups make recovery possible without payment, what data was taken, and whether the attacker still has access. Decisions made before those facts exist tend to be the ones organisations regret.
The day should end with a written recovery plan: what will be restored, in what order, by whom, on which clean infrastructure, and what has to be true before each step starts.
The recovery order
Restore in dependency order, and eradicate before you restore. CISA's checklist calls for hunting both outside-in persistence, such as rogue accounts and backdoors on perimeter systems, and inside-out persistence, such as implants and misused administration tools, before systems are reconnected.
- 1
Build a clean recovery environment
A separate network segment that only verified-clean systems may join. CISA's guidance says a recovery VLAN should contain only clean systems, so that restored machines are not reinfected.
- 2
Restore identity first
Recover domain controllers and the identity provider to a known-good state, then reset privileged credentials, revoke sessions and tokens, and rotate cloud keys and API secrets. Microsoft's forest recovery guidance is to reset the krbtgt account password twice, waiting at least the maximum ticket lifetime between the resets, which is 10 hours by default.
- 3
Then the services everything depends on
DNS, DHCP, time, certificate services, and logging and endpoint tooling, so that you can see what happens as the rest comes back.
- 4
Then the management plane
Backup infrastructure, hypervisors and administration tools, rebuilt or restored with new credentials and multi-factor authentication.
- 5
Then business systems, in priority order
Rebuild from known-good images or infrastructure-as-code templates and restore data from offline, encrypted backups, following a critical-asset list agreed in advance, starting with the services that matter for health and safety and for revenue.
- 6
Reconnect in stages, and declare the end deliberately
Bring systems back in stages under close monitoring. Declare the incident over against criteria agreed beforehand, not when the last server boots.
The post-incident review
Hold the review within a few weeks, while memories and logs are fresh, and keep it blameless: the aim is to find the conditions that let the attack succeed, not the person who clicked. It should produce:
- A timeline from initial access to recovery, with the evidence behind each step.
- The root cause, and the control that would have stopped or detected the attack earliest.
- Which decisions were slow, and what information was missing when they were made.
- Whether each notification went out on time, and what regulators, insurers and customers asked for.
- Changes to identity, remote access, backups and logging, each with an owner and a date.
- Updates to the incident response plan, the contact lists and the retainer.
- A follow-up test, such as a penetration test or a compromise assessment, to confirm the fixes hold.
CISA's guide closes by encouraging organisations to share lessons learned and indicators of compromise with government partners or their sector's information-sharing body. Our breach archives show how the same failure points recur across public incidents, and our incident response team can run the review with you or lead the whole response.
Sources
- #StopRansomware Guide (opens in a new tab) · CISA · 19 October 2023
- Art. 33 GDPR: Notification of a personal data breach to the supervisory authority (opens in a new tab) · gdpr-info.eu
- Art. 34 GDPR: Communication of a personal data breach to the data subject (opens in a new tab) · gdpr-info.eu
- Protection of Privacy Regulations (Data Security) 5777-2017, unofficial English translation (opens in a new tab) · Privacy Protection Authority (gov.il)
- Israel Privacy Protection Authority Hardens its Policy on Breach Notification Timescales (opens in a new tab) · Pearl Cohen · 28 September 2022
- Directive (EU) 2022/2555 (NIS2 Directive) (opens in a new tab) · EUR-Lex
- SEC adopts rules on cybersecurity risk management, strategy, governance, and incident disclosure by public companies (opens in a new tab) · US Securities and Exchange Commission · 26 July 2023
- AD Forest Recovery: Reset the krbtgt password (opens in a new tab) · Microsoft Learn
- About the No More Ransom project (opens in a new tab) · No More Ransom