Recovery after ransomware: a practical guide for businesses and private users
Recovery after ransomware does not start with searching for a "magic" program, but with properly stopping the attack, preserving evidence, and safely returning systems to operational status. This article covers the initial actions to take when infected, ways to assess damage, options for restoring files, working with backups, verifying decryptors, and measures to reduce the risk of re-attack.
Ransomware is a type of malicious software that blocks access to data, typically by encrypting files. The attackers then demand a ransom for the decryption key. Sometimes the attack is accompanied by data theft and threats of publication. Therefore, it is important to act quickly but without panic.
The main goal in the first hours is not to "fix everything at once," but to avoid making matters worse. You should not reboot everything indiscriminately, connect backup disks to the infected network, or pay the ransom without assessing the situation. A methodical approach increases the chances of recovering data and preserving evidence for investigation.

What happens during a ransomware attack
Modern ransomware is rarely launched randomly and all at once. Often the attack unfolds in a chain:
- the attacker gains access via a phishing email, stolen password, vulnerable VPN, RDP, or outdated server;
- establishes a foothold in the network and escalates privileges;
- disables defensive measures and shadow copies;
- searches for file servers, databases, accounting systems, and backups;
- encrypts data and leaves a ransom note;
- in some cases, preemptively exfiltrates documents to external storage.
Because of this, recovering from ransomware includes not just file restoration. It is necessary to understand how the breach occurred, which accounts were compromised, and whether the attacker is still inside the network.
Initial actions upon discovering an infection
If a ransom note appears on the screen, files have strange extensions, or users are complaining en masse about document unavailability, follow the plan.
Step-by-step checklist for the first 60 minutes
| Step | What to do | Why it’s necessary |
|---|---|---|
| 1 | Disconnect infected devices from the network | Stop the spread of encryption across network folders and servers |
| 2 | Do not turn off computers unnecessarily | Keys, processes, and traces of the attack may remain in RAM |
| 3 | Disconnect shared folders and network drives | Protect data that has not yet been encrypted |
| 4 | Isolate backups | Prevent the ransomware from reaching backups |
| 5 | Save the ransom note and examples of files | Help identify the ransomware family |
| 6 | Notify responsible personnel | Quickly involve cybersecurity experts, system administrators, management, and lawyers |
| 7 | Start an event log | Document the time, actions, and detected signs of compromise |
Important: if the infection affected servers, virtual infrastructure, or critical business systems, it is better to immediately involve incident response specialists. Independent attempts to "clean" the system may destroy important traces.
What not to do immediately after the attack
Do not perform actions that often worsen the situation:
- do not connect external backup drives to the infected computer;
- do not run random "decryptors" from unverified sources;
- do not delete the ransom note, logs, and suspicious files;
- do not format disks before making copies and analysis;
- do not use compromised passwords to access restored systems;
- do not transfer ransom without consulting lawyers, cybersecurity specialists, and management.
Hasty cleaning could lead to reinfection. Additionally, some data can sometimes only be recovered if the original encrypted files and technical traces of the attack are present.
How to isolate infected infrastructure
Isolation is a key stage in data recovery after ransomware. The goal is to separate infected nodes from healthy ones and preserve what is still unencrypted.
For a separate computer, it is usually enough to unplug the network cable and Wi-Fi. If it’s a laptop, disable Bluetooth and don’t connect USB drives. Do not turn off the device if it is not actively encrypting data and you can transfer it to a specialist.
In a corporate network, take broader actions:
- disable access to file shares for suspicious accounts;
- temporarily block VPN, RDP, and remote access if they could be entry points;
- segment the network by separating workstations from servers;
- disable synchronization of cloud folders if encrypted files have been uploaded there;
- check domain controllers, hypervisors, mail servers, and backup systems;
- stop scheduled tasks that may overwrite good backups with bad ones.
If EDR, SIEM, or centralized antivirus is used, check the management console. Often, the first infected hosts, suspicious processes, and accounts that executed the encryption are visible there.
How to assess the extent of damage
Before recovery, it is necessary to determine what data is lost, which systems can be trusted, and where the root cause of the attack lies.
Inventory of affected systems
Make a list:
- infected workstations;
- file servers;
- databases;
- virtual machines;
- cloud storages;
- network folders;
- backup repositories;
- accounts used during the attack.
For each item, document the status: operational, turned off, isolated, partially encrypted, fully encrypted, data accessible, backup present, or absent.
Signs of data theft
Not all ransomware restricts itself to blocking files. Many ransomware operators first exfiltrate data. Check for:
- unusually high outgoing traffic;
- archives with names like
backup.zip,data.7z,docs.rarin non-standard folders; - running remote administration tools;
- connections to unknown IP addresses;
- login events at unusual times;
- use of cloud utilities and public file-sharing services.
If there are signs of leakage of personal data, trade secrets, or payment information, involve lawyers. Notification of regulators, customers, or partners may be required in accordance with applicable laws and agreements.
Is it necessary to pay the ransom?
Payment does not guarantee file recovery. The decryptor may not work, the key may be partial, and the attackers may demand payment again. Moreover, paying supports the criminal model and sometimes carries legal risks, especially if the recipient is on sanctions lists.
However, the decision to pay the ransom in business is usually made not emotionally but through risk assessment. Factors such as backup availability, critical downtime, likelihood of leakage, legal requirements, and expert recommendations are taken into account. Even if an organization considers negotiations, this does not eliminate the need for investigation, isolation, and preparation for recovery.
For private users, the best option is almost always not to pay, but to check backups, try reliable decryptors, and restore the system safely.
How to identify ransomware
Determining the ransomware family helps understand whether a free decryption tool exists and what indicators of compromise to look for.
Use the following data:
- file extension of encrypted files;
- text of the ransom note;
- email addresses or websites of the attackers;
- names of malicious files;
- hashes of suspicious executable files;
- time of mass file changes.
It is better to check samples through known and secure ransomware identification services or with specialists. Do not submit sensitive documents to public services if it could violate company policy or the law. Usually, a ransom note and one irrelevant encrypted file are sufficient for analysis.