Malware & ransomware

How to Recover From Ransomware: A Step-by-Step Guide for 2026

Ransomware recovery is a sequence, not a scramble: isolate first, preserve evidence, report, then rebuild identity and systems from backups you can trust.

Cysoro Security TeamPublished · 7 min read
1. Isolate 2. Report 3. Restore clean MALWARE & RANSOMWARE Ransomwarerecovery Isolate, report, rebuild — without paying.
Quick answer

To recover from ransomware, isolate affected systems immediately without powering them off unless you cannot disconnect them, use out-of-band communication, report to the FBI or CISA and your insurer, preserve evidence, identify how attackers got in, and rebuild systems from offline encrypted backups in a clean environment. Do not pay the ransom by default: in 2025, 63 percent of victims refused to pay, and paying does not guarantee decryption or prevent data leaks.

Key takeaways

  • Isolate first, in order, and use phone calls outside your own systems so attackers cannot watch your response.
  • Rebuild identity first, then infrastructure, then applications — from backups you have verified as clean.
  • The average ransomware incident cost $5.08 million in 2025, so tested backups and a printed plan are cheaper than recovery.

A ransom note on every screen is the worst moment in IT — and the moment when the order of your actions matters most. Recovery is not about paying fast or wiping fast. It is a sequence: isolate, preserve evidence, report, find the entry point, then rebuild from backups you can trust.

What should you do in the first hour after a ransomware attack?

Open an out-of-band channel, isolate the affected systems in a coordinated way, and tell your insurer and counsel. CISA's checklist says to move through its first three steps in sequence: detection and analysis, reporting, then containment.

Start by determining which systems were hit and isolating them immediately. If several systems or subnets are affected, take the network offline at the switch level. If that is not possible, unplug network cables or remove affected devices from Wi-Fi. For cloud resources, take a snapshot of volumes for later forensic review.

Use phone calls or a messaging account outside your own tenant, because attackers may monitor your email and chat to see whether they have been spotted. Do not tip them off by isolating one machine while they watch: coordinate the isolation, then act together. The CISA ransomware checklist sets out these steps in order.

The first hour: five actions, in order 0–15 minout-of-bandchannel 15–30 minisolate affectedsystems 30–45 mincall insurerand counsel 45–60 minreport to FBIor CISA Ongoingpreserveevidence Do not delete ransom notes, and do not power off machines you can disconnect.
The first hour of a ransomware incident, in the order CISA recommends. Illustration by Cysoro.

How do you isolate ransomware without destroying evidence?

Disconnect affected systems from the network and leave them powered on. Power them down only if you cannot disconnect them, because shutting down destroys evidence held in volatile memory.

Take a system image and memory capture of a sample of affected devices, and collect logs and any precursor malware samples. Look for evidence of dropper malware such as QakBot, Emotet or Bumblebee: a ransomware event may be evidence of an earlier, unresolved compromise, and rebuilding before that is found risks re-infection.

Check for new administrator accounts, anomalous VPN logins, disabled backups and shadow copies, and signs of credential dumping. CISA specifically warns to look for misuse of tools such as vssadmin, wbadmin and bcdedit, which attackers use to inhibit recovery. Keep a written log of every action, time and decision.

Who should you report ransomware to?

Report to your insurer and outside counsel first, then to law enforcement. CISA lists the cyber insurance company among the stakeholders to engage, and recommends reporting to CISA, your local FBI field office, the FBI Internet Crime Complaint Center (IC3) or your local US Secret Service field office.

Reporting matters for three reasons: law enforcement may know of a free decryptor for your variant, your insurer may require prompt notice, and breach notification duties may start a clock. If personal data was taken, follow the notification requirements in your incident response plan and check our data privacy regulations guide for the relevant deadlines.

Keep management and senior leaders informed with regular updates, and coordinate external communications through one spokesperson. Do not negotiate with the attacker alone, and do not let the attacker contact staff directly: the FBI has observed ransomware actors trying to reach management staff by email to solicit payment.

Should you pay the ransom?

Do not pay by default. The FBI and CISA advise against paying, and the UK NCSC says it does not encourage, endorse or condone paying ransoms. Paying does not guarantee a working decryptor, does not guarantee stolen data will be deleted, and may fund further attacks.

The numbers support refusing. IBM's Cost of a Data Breach Report 2025 found that 63 percent of ransomware victims refused to pay, up from 59 percent in 2024, and the average cost of a ransomware incident was still $5.08 million when disclosed by the attacker. The ransom is a small part of that total: recovery, legal work, downtime and notification dominate.

There are narrow cases where a board, with counsel and law enforcement advice, considers payment — for example, where lives depend on a system and no backup exists. That decision needs a written record, sanctions checks and insurer approval. Never pay quietly without legal advice, and never assume payment ends the incident: double-extortion groups may leak data anyway.

How do you scope the attack before rebuilding?

Before you restore anything, establish what the attacker touched: the initial access point, persistence mechanisms, compromised accounts, and whether data was stolen. Restoring from a backup that contains the attacker's backdoor simply re-infects the clean environment.

QuestionHow to answer itWhy it matters
How did they get in?Phishing, VPN, RDP, unpatched vulnerabilityFixing the entry point stops re-entry
What accounts are compromised?Review admin and privileged accountsReset only works if all are found
Was data stolen?Check exfiltration tools and logsDecides breach notification duties
Are backups clean?Test restores from offline copiesAn infected backup re-infects you
Is identity trusted?Check Active Directory for new accountsIdentity is rebuilt first for a reason

Threat-hunt for persistence: new services, scheduled tasks, unexpected software, Cobalt Strike beacons, remote monitoring tools and PowerShell abuse. Check cloud IAM, network and data-protection settings for changes, such as a new firewall rule allowing open traffic.

How do you rebuild after ransomware?

Rebuild in a clean environment, in this order: identity first, then shared infrastructure, then tier-one applications. Identity comes first because every other system trusts it; rebuilding servers on a compromised directory hands the attacker the new estate.

  1. Rebuild identity: clean Active Directory or cloud identity, reset all privileged credentials, and enforce phishing-resistant MFA.
  2. Rebuild infrastructure: DNS, DHCP, patching and monitoring, from known-good images or infrastructure-as-code templates.
  3. Restore applications: prioritise critical services — health, safety and revenue-generating systems — from offline, encrypted backups.
  4. Restore data: restore only from backups verified as clean, into a separate recovery network that holds only clean systems.
  5. Reset passwords: issue resets for all affected systems and accounts once the environment is clean, and rotate encryption keys as needed.
  6. Validate before reconnecting: scan restored systems, fix the root cause, and reconnect only against written criteria.

Do not reconnect systems to the production network until the security lead declares the environment clean. If a new VLAN has been created for recovery, ensure only clean systems are added to it.

Rebuild in this order — never the other way round 1. Identity — clean directory, reset privileged accounts, MFA 2. Infrastructure — DNS, patching, monitoring 3. Applications — tier-one services first 4. Data — only from verified clean backups Then validate, fix the root cause, and reconnect on written criteria.
The rebuild order recommended by CISA and NIST-based runbooks. Illustration by Cysoro.

How much does ransomware recovery cost?

IBM's 2025 report puts the average cost of a ransomware or extortion incident at $5.08 million when disclosed by the attacker, against a $4.44 million average for all breaches. The average recovery cost excluding any ransom was $1.53 million in 2025, down 44 percent from $2.73 million in 2024 as backup strategies improved.

Downtime is the largest hidden cost. IBM found that among organisations that had fully recovered, 76 percent took more than 100 days. A tested incident response plan helps: IBM attributes an average saving of $2.66 million, a 61 percent cost reduction, to organisations with a tested plan. SpyCloud's summary of the IBM 2025 report sets out these figures.

For a small business, the absolute numbers are lower but the relative impact is worse: a week without systems can end a small firm. That is why offline backups and a printed plan matter more than any single security product.

What mistakes make ransomware recovery worse?

The most common mistakes are restoring too early, paying without advice, and treating recovery as an IT job alone. Each one turns a bad week into a second incident.

  • Restoring before scoping: an infected backup or a live backdoor re-encrypts the rebuilt estate.
  • Powering off everything: destroys memory evidence and slows forensics.
  • Using compromised email to coordinate: attackers watch and move laterally when they see they have been found.
  • Forgetting data theft: encryption is only half the attack; stolen data creates breach duties even if you restore perfectly.
  • No written criteria for "done": without them, systems are reconnected while the attacker is still present.
  • Skipping the review: without a lessons-learned report, the same entry point stays open.

After the incident, document lessons learned, update policies and plans, and share indicators of compromise with CISA or your sector ISAC. That sharing helps the next victim, and it is explicitly recommended by CISA.

How do you prevent the next ransomware attack?

Prevention starts with the controls CISA lists before an incident: offline, encrypted backups tested in a disaster-recovery scenario; phishing-resistant MFA; patching; and a printed incident response plan kept offline.

Add endpoint detection and response, network segmentation so one infected workstation cannot reach every server, and regular phishing training — our spear phishing guide explains the entry point most ransomware uses. Test restores regularly, and rehearse the plan with a tabletop exercise at least annually.

For the wider baseline, see our small business cybersecurity checklist, which covers backups, updates and MFA together.

The bottom line

Ransomware recovery rewards order, not speed. Isolate, preserve evidence, report, scope the attack, then rebuild identity, infrastructure and applications from backups you have verified as clean.

Start before the next incident: test an offline restore this month and print your response plan. You can check your site's basic defences today with the free SSL checker.

Frequently asked questions

What is the first thing to do after a ransomware attack?

Determine which systems are affected and isolate them immediately, taking the network offline at the switch level if several systems are hit. Use out-of-band communication such as phone calls, because attackers may monitor your email and chat.

Should you pay a ransomware demand?

Law enforcement and most guidance advise against paying by default. Paying does not guarantee a working decryptor, does not guarantee stolen data will be deleted, and may fund further attacks. In 2025, 63 percent of ransomware victims refused to pay, according to IBM.

Can ransomware be removed without losing data?

Sometimes, if you have clean offline backups or a free decryptor exists for that variant. If backups are encrypted or untested, recovery is slower and some data may be lost. Check with law enforcement about decryptors before rebuilding.

How long does ransomware recovery take?

It varies from days for a small, well-prepared organisation to weeks or months for a large one. IBM found that among organisations that had fully recovered, 76 percent took more than 100 days, so plan for a long rebuild, not a weekend fix.

Should you turn off an infected computer?

Only if you cannot disconnect it from the network another way. Powering off destroys evidence held in memory, such as encryption keys and traces of attacker tools. Disconnect the network cable or Wi-Fi first and leave the machine powered on.

Who should you report ransomware to?

Report to your cyber insurer and outside counsel first, then to the FBI through your local field office or IC3, and to CISA. In the UK, report to the NCSC. Keep management informed and follow your breach notification duties if personal data was taken.

Can you recover files without a decryptor or backup?

Usually not. Encrypted files cannot be decrypted without the key unless a flaw in that ransomware variant has been found and a free decryptor released. That is why offline, tested backups are the only reliable recovery path for most victims.

What is the difference between recovery and remediation?

Recovery restores systems and data so the business can operate again. Remediation removes the attacker's access, fixes the entry point and closes the gaps that let them in. Restoring without remediation risks being re-encrypted by the same attacker.

Sources

  1. CISA — I've Been Hit By Ransomware! (StopRansomware checklist)
  2. IBM Cost of a Data Breach Report 2025 — ransomware findings
  3. Ransomware Recovery Plan: A Runbook Built on CISA and NIST
  4. Hit by Ransomware? What to Do in the First Hours, Based on CISA, NCSC and ACSC Advice
  5. FBI Internet Crime Complaint Center — 2025 IC3 Annual Report
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against CISA's StopRansomware response checklist, NIST incident-response guidance and IBM's Cost of a Data Breach Report 2025.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free