Save My Disk
backup-securityTXN

Recover files after a ransomware attack: 2026 methodology

What to do immediately after a ransomware attack: isolate, identify the strain, try free decryptors, restore from backup, EaseUS Data Recovery on shadow copies.

By Eric Gerard · Éditeur · Save My Disk5 min readPhoto via Unsplash

A full-screen message demands a bitcoin ransom, your documents carry a strange extension (.locked, .lockbit, .crypt), your antivirus has shut off or been disabled. You're facing a ransomware. The next few hours decide what you can recover.

This guide gathers the response methodology applied by CSIRTs and cyber insurers in 2026, adapted to the personal case (a single workstation, not a corporate IS).

Phase 1 — Isolate immediately (first 5 minutes)

Don't try to understand it right away. The ransomware is probably still encrypting.

  1. Unplug the Ethernet cable and disable Wi-Fi (airplane mode).
  2. Remove all external drives and USB sticks. Modern ransomware (Conti, LockBit, BlackCat) actively targets connected media.
  3. If you're on a shared network (NAS, Windows share), warn other users and disconnect them too. Ransomware can spread over SMB.
  4. Don't hard-power-off the PC. Memory may contain the encryption key, exploitable by some forensic tools.

At this stage, active encryption stops (ransomware needs network or disk to continue). Take a breath.

Phase 2 — Document for complaint and decryptors

With another device (phone, second PC), build an evidence file:

  • Photo of the ransom screen.
  • Capture of the README filename left by the attackers (often README.txt, HOW_TO_DECRYPT.html, etc.) and its full content.
  • Note the extension added to encrypted files (.locked, .lockbit3, .crypt, etc.).
  • Approximate discovery time.
  • List of programs that were running just before.
  • Probable origin (email attachment, suspicious link, cracked software update).

These elements support the complaint (required to activate cyber insurance) and strain identification.

Phase 3 — Identify the strain

On the other device, go to id-ransomware.malwarehunterteam.com (project maintained by Michael Gillespie since 2016). Upload an encrypted file + the README. The tool recognizes most strains within seconds.

Once identified, check for a free decryptor on No More Ransom — joint initiative by Europol, the Dutch National Police and several antivirus vendors. The database covers more than 200 strains in 2026, including some widespread families (Phobos, STOP/Djvu — partially, Avaddon, REvil).

If a decryptor exists: follow its instructions to the letter, test first on a copied file (never on the original).

Phase 4 — Restore from a clean backup

The most reliable recovery path, if you had a backup.

Case 1 — Cloud backup with versioning

OneDrive, Google Drive, Dropbox, Backblaze, IDrive and equivalents keep earlier versions of files. Concretely:

  • OneDrive: web → file → three-dot menu → Version history. Allows restoring the version before encryption.
  • Google Drive: web → file → right-click → Manage versions.
  • Backblaze Computer Backup: web interface → Restore button → pick a pre-attack date.
  • iCloud: limited, doesn't store all versions; check iCloud Drive site.

Restore file by file or in bulk via the services' APIs. Do not reconnect the infected machine to your cloud account until it's cleaned.

Case 2 — Local backup (external drive / NAS)

If you had unplugged the drive between backups, it's likely safe. To check:

  1. On another clean PC, plug the drive in read-only (USB reader with write-protect switch if possible).
  2. Open recent files — if they open normally, the backup is intact.
  3. Wipe and clean-reinstall the OS on the infected PC.
  4. Restore from backup once the OS is rebuilt.

If the external drive was connected during the attack, treat it as potentially encrypted. Scan its content — recent files will likely carry the same extension.

Phase 5 — Recover shadow copies and residual files

Without backup and without decryptor, two paths remain:

Windows shadow copies

Windows sometimes creates shadow copies (volume snapshots) that ransomware tries to delete with vssadmin delete shadows /all. But many miss some partitions or get interrupted.

To check:

  1. Open admin prompt → vssadmin list shadows. If it lists copies, there's hope.
  2. Use ShadowExplorer (free, open source) or EaseUS Data Recovery Wizard to browse shadow copies and restore pre-infection files.

Recovery of temp files and binary signatures

EaseUS Data Recovery Wizard can also scan free disk sectors for unencrypted fragments: Office .tmp files, Adobe autosaves, Photoshop scratch (.psb), photo EXIF thumbnails.

Procedure:

  1. Install EaseUS Data Recovery Wizard on a USB stick or another PC (not on the infected system).
  2. Plug the infected drive in read-only on the clean PC (or boot from a recovery live USB).
  3. Run a deep scan.
  4. Filter by file type (.docx, .jpg, .xlsx) and by date prior to infection.
  5. Restore to a clean drive.

Across the last six tests documented by support community cases, this method recovered 15 to 40 % of content — not ideal, but often better than zero.

★ Éditeur fondé en 2004 · ✓ Garantie 30 jours · Version gratuite jusqu'à 2 Go

Run an EaseUS Data Recovery Wizard scan

Phase 6 — Reporting, notification and hardening

File a complaint

GDPR notification

If you process third-party personal data (clients, employees, contacts), a GDPR notification within 72 hours is mandatory in case of probable leak. In France, file with the CNIL.

Rebuild and harden

After the incident, never reconnect an infected system without a clean reinstall. And before back to service:

  • OS patches up to date, EDR up to date.
  • 3-2-1 backups strictly enforced, including an immutable off-site copy.
  • Multi-factor authentication everywhere (mail, cloud, remote access).
  • Office macros disabled by default.
  • Risky extensions (.exe, .scr, .js, .vbs, .iso, .img) filtered at the mail gateway.

See our Automatic backup Windows / Mac 2026 guide for setting up a ransomware-resistant backup strategy.

Don't pay: why

Authorities (ANSSI, FBI, CISA, Europol) unanimously advise against paying. Reasons:

  • No recovery guarantee: 1 victim in 4 doesn't receive a working key after payment (Sophos State of Ransomware 2024).
  • Cybercrime funding: your payment funds the next campaign.
  • Marked as profitable target: actors share payer lists. Re-infections frequent within 18 months.
  • Sanctions: paying certain groups (on OFAC, EU, UN lists) can constitute an offense.

Right reflex: restore from backup or decryptor, harden, learn the lessons.

Resources

★ Éditeur fondé en 2004 · ✓ Garantie 30 jours · Version gratuite jusqu'à 2 Go

Get EaseUS Data Recovery Wizard30 jours satisfait ou remboursé