Skip to main content

Hit by ransomware? Isolate affected systems now. Do not reboot or reformat.

SheMo Noransom舍末无勒

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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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 situationRealistic recovery pathWhat success depends on
A public decryptor exists, or law enforcement seized keysRun the matching tool on copies, or follow the agency's key-matching processWhether family, version and encryption date exactly match the tool's stated scope
The encryptor has a flaw but no ready-made tool existsReverse-engineer samples and rebuild keys, for example where keys were seeded from predictable timestampsAccess to an encryptor sample; whether the encryption time window and file timestamps were preserved
Databases, VM disks or archives were only partly encryptedPage- or block-level repair; rebuild headers or VM configuration, then extract the dataEncryption coverage, confirmed by entropy analysis; whether the file format can be reconstructed
Backups, NAS or array snapshots, or hypervisor snapshots survivedValidate, then restore to a new locationIntegrity of the backup chain; whether the backup itself is encrypted or infected; snapshot age
The encryptor wrote encrypted copies and deleted the originalsCarve the deleted originals from a disk imageHow much was written after the incident; SSD TRIM, which clears deleted blocks faster; whether free space was wiped
The data also exists somewhere elseLocal files on endpoints, cloud version history, mail attachments, downstream exportsHow 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:

  1. 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.
  2. Measure encryption coverage. Run entropy analysis on key files to establish full, header-only or intermittent encryption.
  3. Inventory every data source. Backups, snapshots at each layer, offline media, endpoint copies and downstream systems, each checked for survival and cleanliness.
  4. Trial on copies. Attempt decryption or structural repair on read-only images, proving each path with real data.
  5. 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

Related ransomware families

Related solutions

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.