Operations
The first 24 hours after ransomware: decisions in the order they arrive
The first hour determines how much of the next month you spend recovering. This is a decision sequence rather than a technical runbook — the technical work varies, but the order of decisions rarely does.

This assumes encryption has been observed and is either ongoing or recently completed. If you are reading this during an active incident, the short version is: isolate without shutting down, preserve evidence, get legal and insurance involved before you touch anything you cannot undo, and start the regulatory clock deliberately rather than by accident.
Hour 0 to 1: contain without destroying evidence
- Isolate affected systems from the network. Disconnect network interfaces or move to a quarantine VLAN. Do not power systems off — memory contains encryption keys, process artefacts and attacker tooling that will be lost on shutdown.
- Disable the accounts you have reason to believe are compromised, and force credential rotation for domain and cloud administrators. If you cannot tell which are compromised, treat all privileged accounts as suspect.
- Protect the backups first. Verify they are unreachable from the compromised plane, and if they are reachable, isolate them immediately. Attackers target backups deliberately and often did so days before encryption.
- Stop automated processes that could propagate: replication, scheduled deployments, sync agents, and backup jobs that might overwrite a clean copy with an encrypted one.
- Start a written timeline. One person, one document, every action with a timestamp. This becomes your evidence, your regulatory submission and your insurance claim.
Hour 1 to 4: mobilise the right people
The mistake here is to keep the incident inside IT for too long, usually out of a well-intentioned desire to understand it first. Several of the clocks that matter start at awareness, not at understanding.
- Executive sponsor with authority to spend and to take the business offline. Without this, every subsequent decision stalls.
- Legal counsel — internal or external. Engaging counsel early may also affect privilege over subsequent investigation work in some jurisdictions, which is worth understanding in advance rather than during.
- Cyber insurer, if you have a policy. Most policies require prompt notification and many mandate the use of panel providers. Engaging your own incident response firm first can jeopardise cover.
- Incident response support, if you do not have the capability in-house. Forensic capture done wrong in hour two cannot be repaired in hour twenty.
- Communications lead. Not to publish anything yet, but so that staff, customer and supplier messaging is prepared before someone improvises it.
Hour 2 to 24: the regulatory clock
Two separate obligations commonly apply to European organisations and they have different triggers, deadlines and recipients. They are frequently confused.
| NIS2 (if in scope) | GDPR (if personal data affected) | |
|---|---|---|
| Trigger | Awareness of a significant incident | Awareness of a personal data breach |
| First deadline | 24 hours — early warning | 72 hours — notification to supervisory authority |
| Recipient | CSIRT or competent authority | Data protection supervisory authority |
| Follow-up | 72-hour notification, final report within one month | Further information as it becomes available |
| Data subjects | Not applicable | Without undue delay if high risk to rights and freedoms |
The 24-hour early warning does not require you to understand the incident. It requires you to indicate whether it is suspected to be caused by unlawful or malicious acts and whether it could have cross-border impact. Ransomware answers the first question by definition. Waiting for clarity before submitting is the most common reason organisations miss the deadline.
The ransom decision
This is a legal and commercial decision, not a technical one, and it should never be made by the people doing the technical response.
- Sanctions screening is mandatory before any payment consideration. Paying a sanctioned entity is a criminal exposure independent of the incident.
- Payment does not reliably restore data. Decryptors are frequently slow, partial or defective, and recovery from a working backup is usually faster where one exists.
- Payment does not remove the data. If exfiltration occurred, you are paying for a promise to delete, from a party whose business model is breaking promises.
- Your notification obligations are unaffected by payment. A paid ransom does not make a personal data breach unreportable.
- Insurance frequently governs this decision contractually. Check the policy before opening a channel.
Recovery order
- Establish a clean environment. Do not restore into the compromised one — rebuild the identity and management plane first, on known-good media, with new credentials.
- Determine the initial access vector before restoring production. Restoring without closing the door repeats the incident, often within days.
- Restore by business priority, not by technical convenience. Agree the sequence with the business, not within IT.
- Scan every restored system before reconnecting it. Backups taken during the dwell period may contain the attacker's persistence.
- Rotate every credential, key and token that existed before the incident. All of them, including service accounts, API keys and certificates.
- Keep enhanced monitoring in place for months. Re-intrusion via retained access is common, and the second attempt is usually faster.
The three preparations that change the outcome
Almost everything above is easier if three things were done in advance, and none of them is expensive.
- Offline or immutable backups, tested by actual restoration rather than by a green tick in a console. Test a full restore of a critical system at least annually.
- An out-of-band communication channel. If your email and chat are encrypted or untrusted, you need a pre-agreed alternative with the contact list already in it.
- A one-page incident card: who to call, in what order, with numbers, printed. Digital-only runbooks are unavailable during exactly the incident they were written for.
Frequently asked questions
Should I shut down systems during a ransomware attack?
No. Isolate them from the network — disconnect interfaces or move to a quarantine VLAN — but leave them powered on. Shutting down destroys volatile memory that may contain encryption keys, attacker tooling and process artefacts needed for both recovery and root cause analysis.
How quickly must a ransomware incident be reported in the EU?
If you are in scope for NIS2, an early warning is due within 24 hours of becoming aware of a significant incident, followed by a notification within 72 hours and a final report within one month. Separately, if personal data is affected, GDPR requires notification to the supervisory authority within 72 hours. The obligations are distinct and both may apply.
Should we pay the ransom?
It is a legal and commercial decision requiring sanctions screening, insurer involvement and legal counsel — never a decision for the technical response team. Payment does not reliably restore data, does not remove exfiltrated data, and does not affect your notification obligations.
Can we restore from backup immediately?
Not before forensic capture and not into the compromised environment. Restoring first destroys the evidence needed to determine the initial access vector, and restoring into an environment where the attacker retains access simply repeats the incident. Rebuild a clean identity and management plane first.
Talk to the team
Need this tested rather than described?
QuietHours is a European cybersecurity practice operated by the securIT team. Send us the system, service, or control you are concerned about and we will help turn it into a workable scope.
Discuss your scope