Skip to content
VITI Security

Ransomware Recovery Playbook: The First 24 Hours Done Right

by VITI Security TeamMay 12, 2026

The first day after a ransomware attack decides whether you recover in days or weeks. An hour-by-hour playbook: what to do in the first hour, how to protect backups and evidence, the reporting clocks, and how to plan a clean recovery.

Ransomware Recovery Playbook: First 24 Hours Done Right - VITI Security

When ransomware hits, the pressure to do something immediately is intense, and some of the most natural reactions, such as wiping machines, restoring straight away or contacting the attackers, can make recovery slower and more expensive. The first 24 hours are about containing the attack, protecting what you need to recover, preserving evidence, meeting reporting deadlines and making a plan. This playbook sets out what to do and when. Adapt it to your environment and put it in your incident response plan before you need it.

Hour 0 to 1: contain

Stop the spread without destroying evidence.

  • Disconnect affected machines from the network, by unplugging cables or disabling switch ports and WiFi, but do not power them off; memory can hold valuable evidence.
  • If spread is fast, isolate whole network segments or the internet connection.
  • Disable remote access and VPN accounts that may be compromised.
  • Protect backups: disconnect backup systems from the network and suspend jobs that could overwrite good copies.
  • Start an incident log with times, actions and who did them.

Hour 1 to 3: mobilise

Bring in the people you need. Call your incident response provider and notify your cyber insurer, since many policies require early notice and approved providers. Involve legal counsel early, because communications and decisions about payment have legal implications. Assemble the internal team: incident lead, IT, leadership, communications. Switch to out-of-band communication, such as phones or a separate messaging tool, in case email or chat is compromised.

Hour 3 to 6: assess and report

Work out the scope: which systems are encrypted, which are still clean, whether domain controllers and backup servers are affected, and whether there are signs that data was stolen first, as in most modern attacks. Identify the ransomware strain from ransom notes and file extensions, which tells responders about likely entry routes and behaviour.

Reporting clocks start early. In India, CERT-In's directions require reporting within six hours of noticing the incident. Other duties may apply depending on your sector and location, such as US state and sector rules, GDPR's 72 hours and, as their phased obligations apply, the DPDP Rules' 72-hour report to the Data Protection Board. Submit what you know and update later.

Hour 6 to 12: secure identity and find the entry point

Attackers usually hold privileged credentials by the time ransomware runs. From a clean device, reset passwords for domain admin and other privileged accounts, including service accounts, and reset the Kerberos ticket-granting account twice in line with guidance, so stolen tickets stop working. Responders look for the initial access route, such as a VPN flaw, exposed remote desktop or phishing, so it can be closed before recovery begins. Otherwise the attacker may simply return.

Hour 12 to 24: plan recovery

Decide what to restore first, based on business priority: identity services, then core business systems, then everything else. Confirm backups are clean and from before the intrusion began, not just before encryption. Rebuild critical servers from known-good images where possible rather than cleaning them, restore into an isolated network first and scan before reconnecting. Prepare communications for staff, customers and partners with legal input.

Set expectations with leadership: give a first estimate of recovery time for each critical system, and update it at fixed times each day so people are not interrupted for updates.

The ransom question

Decisions about payment belong to leadership with legal advice, not to IT in the first hour. Payment does not ensure working decryption or deletion of stolen data, can carry sanctions risk if the group is sanctioned, and may be restricted for some organisations. Good backups give you the option not to pay. If negotiation is considered, use an experienced, reputable firm, ideally from your insurer's panel.

Common mistakes

Avoid these, which repeatedly make recovery harder.

  • Powering off or wiping machines before evidence is captured.
  • Restoring from backup before the attacker is locked out, leading to reinfection.
  • Using compromised email to coordinate the response.
  • Missing reporting deadlines while focusing on technical work.
  • Assuming no data was stolen because files were only encrypted.

Prepare before it happens

The most effective recovery work happens before an attack: immutable or offline backups tested regularly, EDR monitored around the clock, MFA on remote access and admin accounts, a retained response provider and a practised plan. Our incident response service can be retained in advance and runs tabletop exercises, and our 24x7 SOC watches for the early signs of an attack. See our guide to building an incident response plan, and estimate impact with the ransomware cost calculator.

Frequently asked questions

What do we do first in a ransomware attack?

Disconnect affected systems from the network without switching them off, protect the backups, shut off compromised remote access, and call your incident response firm and your insurer.

Should we restore from backup straight away?

Not until the attacker is locked out, the way in is closed, and you've confirmed the backups predate the intrusion. Otherwise you'll probably be reinfected.

Do we have to report it?

Usually. In India, CERT-In requires a report within six hours. Other laws and contracts may add their own deadlines, so check which apply to you.

How long does recovery take?

With tested, isolated backups and a practised plan, core systems are often back within days. Without them it can take weeks.

Have help ready before the ransom note

Retain incident response in advance so the first hours go to containment and recovery, not finding help, and test your plan with your leadership team.