Victim Q&A · Recovery
Can files encrypted by ransomware be recovered?
Short answer
Often in part, sometimes almost entirely, but nobody can promise it before seeing samples. Recoverability comes down to four things: the family and version (is there a public decryptor, seized keys or a known flaw), how the files were encrypted (in full, or only partly), which backups, snapshots and other copies survived, and what has been written to the disks since. Where a modern family encrypted files correctly and completely, no copies survive and the remnants have been overwritten, the data may genuinely be gone. Stop all writes and identify the family first.
Key points
- Recoverability depends on family and version, encryption mode, surviving copies and whether the scene was disturbed, not on whether anyone pays.
- Public decryptors cover only a handful of families, and usually only specific versions or time periods.
- Without a decryptor, recovery most often comes from surviving backups and snapshots, unencrypted regions of large files and remnants of deleted originals.
- Databases and VM disks are often only partly encrypted and can be repaired structurally, producing readable data rather than necessarily the original file.
- Full encryption with no surviving copies and overwritten remnants can genuinely mean data is lost, and an honest assessment says so.
- Reboots, reinstalls, formatting and recovery software run on the affected disk are the most common way recoverable data becomes unrecoverable.
In this order
What to do now
Isolate, but keep the power on
Unplug affected hosts or isolate their switch ports, and disconnect shared drives, NAS, backup servers and external disks. Keep the machines running and do not reboot. The full first-hour sequence is in what to do after a ransomware attack.
Stop every write
Pause cloud sync, scheduled backups and other jobs, install nothing on the affected disks, and stop trying to start databases or virtual machines. Every write can overwrite remnants that were still retrievable.
Keep what identification needs
Keep the original ransom note, record the appended extension and the contact details in the note, and set aside two or three encrypted files that hold nothing sensitive as samples. Do not rename files back or delete the note.
Inventory every source that may have survived
List every backup, NAS and array snapshot, hypervisor snapshot, cloud version history, offline disk or tape, and copies on staff machines. Confirm they still exist and whether they were encrypted, but do not restore anything yet.
Image first, then experiment
Take read-only images or storage snapshots of the key volumes. Every later decryption attempt, repair or scan runs against the copy, and the original disks stay untouched.
Get a recoverability assessment
Hand the note, samples and an outline of the environment to a professional team to establish the family and viable paths. The initial conversation and first read on the family are free, and the conclusion states what can and cannot be recovered.
Avoid making it worse
Do not
- Do not reboot, shut down, reinstall or format: it wipes memory artefacts and overwrites remnants of deleted originals and unencrypted regions.
- Do not install or run data recovery software on the affected disk, and never write recovered files back to the same volume.
- Do not rename files back, delete the ransom note, or rush a full antivirus clean-up and empty the quarantine; identification evidence and samples disappear with them.
- Do not test decryptors directly on original files, and do not download a so-called universal decryptor from the web.
- Do not restore backups over the original location in a hurry; confirm the backup is neither encrypted nor infected, then restore somewhere new.
- Do not delete encrypted files you cannot decrypt yet; if keys or a tool appear later, they are the only raw material you will have.
What actually decides whether files can be recovered?
Recoverability does not depend on willingness to pay or on how many people work the problem. It depends on a few objective conditions, and an assessment checks each of them:
- Which family, which version? Only a small number of families can be decrypted - because keys leaked, law enforcement seized them, or the implementation was flawed - and even then usually only for particular versions or time periods. Our online identification tool gives a first read on the family.
- How were the files encrypted? Some families encrypt every byte. Others, for speed, encrypt only the start of each file or alternate encrypted and skipped blocks; SentinelOne documented intermittent encryption in BlackCat, PLAY and Black Basta back in 2022. Large files that were only partly encrypted often still hold a great deal of extractable data.
- What survived? Offline backups, storage and hypervisor snapshots, cloud-drive version history, copies on staff laptops, the same data held in downstream systems. Any one of them can end up carrying the recovery.
- What happened afterwards? Reboots, reinstalls, formatting and recovery software installed onto the affected disk all overwrite remnants that were still retrievable. A lot of "unrecoverable" data was lost to the rescue attempts, not to the malware.
Until all four questions have real answers, "recoverable" and "unrecoverable" are both guesses.
When can files be recovered, and by what route?
The table covers the situations we meet most often. A single incident usually allows several of these paths at once; the assessment checks each and combines them.
| Your situation | Realistic recovery path | What success depends on |
|---|---|---|
| A public decryptor exists, or law enforcement seized keys | Run the matching tool on copies, or follow the agency's key-matching process | Whether family, version and encryption date exactly match the tool's stated scope |
| The encryptor has a flaw but no ready-made tool exists | Reverse-engineer samples and rebuild keys, for example where keys were seeded from predictable timestamps | Access to an encryptor sample; whether the encryption time window and file timestamps were preserved |
| Databases, VM disks or archives were only partly encrypted | Page- or block-level repair; rebuild headers or VM configuration, then extract the data | Encryption coverage, confirmed by entropy analysis; whether the file format can be reconstructed |
| Backups, NAS or array snapshots, or hypervisor snapshots survived | Validate, then restore to a new location | Integrity of the backup chain; whether the backup itself is encrypted or infected; snapshot age |
| The encryptor wrote encrypted copies and deleted the originals | Carve the deleted originals from a disk image | How much was written after the incident; SSD TRIM, which clears deleted blocks faster; whether free space was wiped |
| The data also exists somewhere else | Local files on endpoints, cloud version history, mail attachments, downstream exports | How thoroughly sources are inventoried |
A few notes:
- Public decryptors are the exception. Which families have one, and the limits of each, is covered in which ransomware decryption tools exist.
- Partial encryption is the biggest opportunity for large files. Databases and virtual disks run to tens of gigabytes and are slow to encrypt in full, so many families only cover part of them. In the ESXiArgs campaign of February 2023 the encryptor left the flat files holding virtual disk data unencrypted, and the US agency CISA released a script that rebuilt virtual machines from those disks. Method is covered under database encrypted and virtualization platform encrypted. To be clear, structural repair produces readable data, not necessarily the original file.
- Do not count on Windows shadow copies. Deleting them and emptying backup catalogues is standard ransomware behaviour, listed in MITRE ATT&CK as a technique of its own (T1490). Array, NAS and hypervisor snapshots sit outside the encrypted system's permissions and survive far more often; see backups deleted or encrypted.
- Deleted originals may still be on disk. Not every encryptor overwrites in place; some write an encrypted copy and delete the original. Deleted data can be carved until something overwrites it, which matters most on file servers full of small files - provided writes stopped straight away. See file server and NAS encrypted.
When are files realistically beyond recovery?
"Cannot be recovered" deserves the same clarity as "can". In these situations the room for recovery is usually very small:
- A modern family with correct cryptography and no leaked keys, and files encrypted in full. Such families generate a separate key per file and wrap it with a public key the attackers control; without their private key there is no mathematical shortcut. Many of the families common in China in recent years fall into this group, and the current status of each is recorded on its family page.
- Small files encrypted completely. Office documents, PDFs and images are small enough that encryptors usually cover them end to end, leaving no unencrypted region to extract.
- Every copy sat inside the same permission boundary. A backup server joined to the production domain, NAS snapshots deletable by the same administrator account, off-site sync that faithfully copied the encrypted files - in environments like these, backups tend to fail together with production.
- Data was wiped rather than encrypted. Some attacks use wipers, or ransomware with a wipe mode such as Anubis, and file contents are simply overwritten; no key can bring them back.
- The scene has already been destroyed. Repeated reboots, OS reinstalls, formatting, or recovery software run on the original disk with output written to the same volume overwrite both deleted originals and unencrypted regions.
Where this is the situation, the assessment names the data that is definitively lost. We do not inflate the recoverable scope, and we do not push ahead with recovery work that has no substantive prospect of success.
Why can one victim of a family recover when another cannot?
The same extension can lead to opposite conclusions. The usual dividing lines are these:
- Encryption date and version. The Mallox decryptor Avast released in October 2024 only works on versions circulating from 2023 to early 2024; the operators fixed the flaw around March 2024, and files encrypted afterwards cannot be opened with it. SRLabs' Black Basta tool likewise only covers versions from roughly November 2022 to December 2023.
- Whether keys were obtained. When law enforcement seized LockBit's infrastructure in February 2024 the FBI already held more than 2,500 decryption keys, rising to over 7,000 by June that year. That is a lot of keys, yet still only a subset of victims; see the LockBit family page.
- Online key or offline key. STOP/Djvu falls back to a built-in offline key when it cannot reach its server. Emsisoft's tool can only decrypt files encrypted with offline keys it holds; files encrypted with an online key cannot be decrypted.
- File size and type. In a single run, large files may have only their headers encrypted while small files are covered completely. On one server, the database may yield most of its business tables while not a single Word document opens.
- Whether the scene was preserved. Some recovery methods rely on file modification times to narrow the key search - the published method for Akira's Linux/ESXi variant is one - and once timestamps are rewritten that route closes. Avast's Mallox tool must run on the computer where encryption happened, so reinstalling the operating system first may leave it unusable.
So "someone said this extension can be decrypted" cannot simply be applied to your environment. The answer has to come from your own samples.
How is recoverability assessed?
The purpose of an assessment is to put in writing, before any recovery work, what can be recovered, to which point in time, and what cannot. Our approach:
- Identify family and version. Cross-check the note, extension, contact details and encrypted samples, and establish whether a public tool, seized keys or a known flaw applies.
- Measure encryption coverage. Run entropy analysis on key files to establish full, header-only or intermittent encryption.
- Inventory every data source. Backups, snapshots at each layer, offline media, endpoint copies and downstream systems, each checked for survival and cleanliness.
- Trial on copies. Attempt decryption or structural repair on read-only images, proving each path with real data.
- Issue a written conclusion. Per system: recoverable scope, achievable recovery point, gaps and expected duration.
The initial conversation and the first read on the family are free. A full assessment requires access to the environment, imaging and trial repairs; whether and how it is charged is explained and confirmed before it starts. The overall sequence is on our process page, and what drives cost and duration is covered in how much ransomware recovery costs and how long it takes.
Emergency response
Data already encrypted? Stop and let an engineer look first
We do not pay ransoms and we do not negotiate with attackers. Engineers run a free assessment first, then propose a recovery plan and a firm quote.
Related questions
- Recovery
Which ransomware decryption tools exist, and are downloaded ones safe to use?
Yes, but not many. Legitimate free decryptors come from the No More Ransom project, law enforcement agencies and the official channels of vendors such as Emsisoft, Avast, Kaspersky, Bitdefender and 360, and each usually works only for specific versions of a specific family. Programs circulating online as universal or dedicated decryptors are often malware or paid scams. Even with a genuine tool, confirm the family and version match first, and run it only on copies of your files.
- First response
What should I do if I've been hit by ransomware?
Isolate first and keep the power on: unplug the network cable or turn off Wi-Fi, but do not reboot, format, delete the ransom note or contact the attackers. Then work in order: confirm it is ransomware and whether it is still spreading, preserve the note, encrypted samples and logs, identify the family, inventory backups and snapshots to assess recovery paths, and report the incident. Do not reconnect restored systems until the entry point is closed, credentials are rotated and backdoors are removed.
- First response
My files all have a new extension and won't open - what should I do?
Do not rename or repair anything yet. If files of many types share the same unfamiliar appended extension (often with an ID and an email address), text, HTA or HTML notes have appeared in every folder and the wallpaper has changed, it is almost certainly ransomware. If only one file type fails, USB files turned into shortcuts, or names are garbled but content opens, a file association, USB worm or encoding problem is more likely. Until you know, disconnect the network, keep the machine on, and save a sample plus the note for identification.
- Ransom & cost
Should we pay the ransom after a ransomware attack?
We advise against treating payment as the default, and we neither pay ransoms nor negotiate on anyone's behalf. Some organisations do pay, but payment guarantees neither a working decryptor nor deletion of stolen data, it often invites repeat extortion, and buying and moving cryptocurrency for a ransom carries legal and sanctions exposure in China and abroad. Identify the family and establish what backups, snapshots and database repair can recover before deciding anything.
- Ransom & cost
How much does ransomware decryption cost, and how long does recovery take?
There is no fixed price and no fixed timeline. Cost and duration depend mainly on whether the family and version can be decrypted, how many hosts and how much data are affected, how hard database and virtual machine repair will be, whether work is remote or on site, and whether overnight parallel work is needed. We do not quote over the phone: we assess first, then issue a written quotation covering scope, deliverables and expected timing, and start once both sides confirm. An initial family read usually takes hours; a full recoverability assessment normally takes one to several business days.
Related ransomware families
- Some versions decryptable
LockBit
LockBit is one of the largest ransomware-as-a-service operations in the world. Despite the 2024 law-enforcement takedown it returned as LockBit 5.0, with working Windows, Linux and VMware ESXi payloads, and it remains one of the most frequently seen families in China.
- Some versions decryptable
Mallox
Mallox (also known as TargetCompany) breaks in mainly through brute-forced MS SQL Server credentials, targets database servers specifically, and has a Linux/ESXi variant. Files encrypted between 2023 and early 2024 may be decryptable with Avast's free tool; later builds have no public decryption method.
- Some versions decryptable
STOP / Djvu
STOP/Djvu is one of the highest-volume ransomware families worldwide, infecting individuals and micro-businesses mainly through software cracks, activators and game cheats. Extensions are typically four random lowercase letters and the note is _readme.txt. Files encrypted with an offline key can be decrypted free with Emsisoft's tool.
- Free decryptor available
Phobos
Phobos is a RaaS family that relies mainly on brute-forced RDP and has spawned a long list of variants (.eking, .faust, .elbie, .devos and more). It has been a persistent presence in Chinese server-ransomware cases, and in July 2025 Japan's National Police Agency released a free decryptor covering part of the lineage.
- Some versions decryptable
Black Basta
Black Basta was a Conti-derived RaaS operation that emerged in April 2022 and affected more than 500 organisations, known for QakBot delivery and Microsoft Teams IT-impersonation social engineering. It disbanded in February 2025 after its internal chat logs leaked, though its tradecraft carried over to successors such as Cactus.
Related solutions
Database Encrypted by Ransomware
When database files are encrypted, every business system that depends on them stops at once. This page explains how we triage an encrypted database, how recoverability is assessed, and when file repair, backup-plus-log restore, or rebuild is the right path.
ESXi / Hyper-V Virtualization Encrypted by Ransomware
Hypervisor-level encryption causes the widest blast radius of any ransomware event: dozens of production VMs go dark within an hour or two. This page covers what Linux ESXi encryptors actually do — shut down guests, encrypt vmdk, delete snapshots — the recovery value of flat disk files, and how Hyper-V and Proxmox cases differ.
File Servers and NAS Encrypted by Ransomware
When shared folders on a file server or NAS are encrypted, drawings, contracts, archives, quotations and design sources all become unusable at once — and mapped drives spread the impact to every endpoint. This page covers how to gauge spread, what shadow copies and snapshots realistically offer, and how to sequence recovery by business value.
Backups Deleted or Destroyed
Modern ransomware follows a fixed sequence: destroy the backups, then encrypt the data — deleting shadow copies, encrypting repositories, disabling jobs, and exploiting backup software flaws to steal credentials. This page covers what can still be inventoried once backups fail, why replication propagates encrypted files off-site, and what offline and immutable copies are really worth.
Related services
Data Recovery
Recovery beyond decryption: backup repair, database repair and remnant extraction.
Ransomware Decryption
Identify the family first, then commit to a recoverable scope — without paying a ransom.
Incident Response
Round-the-clock intake: contain first, preserve evidence second, recover third.
FAQ
Follow-up questions
If we pay the ransom, are the files guaranteed to come back?
No. An attacker's decryptor may be incomplete, extremely slow or corrupt large files, and the operation may already have dissolved and be unable to supply a key; payment also carries compliance risk. We do not pay ransoms or negotiate on anyone's behalf. The risks are set out in should we pay the ransom.
Should we delete encrypted files we cannot decrypt yet?
No. Keep the encrypted files and the ransom note intact on offline media. When law enforcement seizes keys or researchers find an implementation flaw, files from old incidents can become decryptable - Japan's National Police Agency only released its free Phobos / 8Base decryptor in July 2025, while US prosecutors trace the related extortion back to at least 2019. But do not make waiting for a tool the whole plan; pursue the other paths in parallel.
If we rename the files back, will they open?
No. Changing the extension does not change the contents, and the encrypted part is still ciphertext. Even a file with only its header encrypted needs its structure rebuilt according to the file format before the rest can be read. Renaming and repeatedly trying to open files achieves nothing and adds writes to the disk.
Can a personal computer's files be recovered?
The same reasoning applies. STOP/Djvu, which home users meet most often, typically arrives bundled with fake software cracks; if files were encrypted with an offline key Emsisoft holds, its free tool may decrypt them. Also check cloud-drive version history and recycle bins, copies on phones and in mailboxes, and old copies on external drives. Until that is done, do not reinstall the operating system.
Will the recovered data be complete?
It depends on the path. A restore from backup or snapshot stops at that point in time. Structural repair yields readable data, typically with core data largely intact and some records or attachments missing. A matching decryptor usually restores files, though some tools have limits of their own - the Black Basta tool, for example, loses a small section at the start of files larger than 1 GB. Every handover includes a recovery manifest that lists explicitly what was confirmed unrecoverable.
Sources
- No More Ransom — Decryption Tools
- SentinelOne — Crimeware Trends: Ransomware Developers Turn to Intermittent Encryption to Evade Detection (2022)
- MITRE ATT&CK — T1490 Inhibit System Recovery
- CISA — CISA Releases ESXiArgs Ransomware Recovery Script (2023-02-07)
- Sophos — Sophos shows how the most prevalent and persistent ransomware families attack victims (2019-11)
- Gen Digital — Decrypted: Mallox ransomware (2024-10-22)
- BleepingComputer — New Black Basta decryptor exploits ransomware flaw to recover files (2023-12-30)
- BleepingComputer — FBI recovers 7,000 LockBit keys, urges ransomware victims to reach out (2024-06-05)
- Emsisoft — STOP Djvu decryption tool
- Tinyhack — Decrypting encrypted files from Akira ransomware (Linux/ESXi variant 2024) using a bunch of GPUs (2025-03-13)
- The Record — Japanese police release decryptor for Phobos ransomware after February takedown (2025-07-18)
- BleepingComputer — Fake ransomware decryptor double-encrypts desperate victims' files (Zorab, 2020)
External links are provided for reference only. The content is published by third parties and does not represent our position.
Updated