Quick Answer
Disconnect the machine from the network immediately, check for Volume Shadow Copies, and run a decryptor from the No More Ransom project — you might get your files back without paying a cent.
Ransomware is the digital equivalent of someone breaking into your house, taking your stuff, and leaving a note saying "pay me or I'll set it on fire." The moment you see that red screen with the countdown timer, your first instinct is to panic. I get it. But you've got time. Most ransomware encrypts files locally before it spreads. If you act fast and don't let it propagate, you have options.
The reason this works is that some ransomware families are sloppy. They delete shadow copies, but they don't always wipe them on every drive. And older crypto-lockers (like the early Locky or Cerber variants) have had their master keys leaked or cracked. The No More Ransom project — a collaboration between Europol, law enforcement, and security vendors — has free decryptors for dozens of strains. You'd be surprised how often that route works.
Five Fix Steps (Try These First)
- Pull the plug (literally). Unplug the network cable or disable Wi-Fi. Then shut down the machine via the power button if you have to. Don't let the encryption continue. Every minute it stays online, more files get locked.
- Boot into a clean environment. If you can, boot from a live USB — try Ubuntu or a Windows PE stick. This gives you a clean OS to work from, and you won't be running the malware's processes in the background while you try to recover. If you can't do that, at least boot into Safe Mode with Networking off.
- Check Volume Shadow Copies. Vista and later Windows versions create restore points automatically. If the ransomware didn't wipe them, you can roll back. On your live USB, open a command prompt and run:
If you see any shadow copies, usevssadmin list shadowscopyto pull files out, or boot into Windows and use "Previous Versions" from file properties. A quicker way: use ShadowExplorer (free) to browse and restore. - Try a decryptor. Head to
www.nomoreransom.orgon a clean machine. Upload one encrypted file (not your whole drive, just one). The site's Crypto Sheriff will identify the ransomware family. If there's a free decryptor, it'll link you to it. Run it, point it at your data, and wait. Some decryptors take hours — that's normal. - Restore from backup. If you've got a backup that's not connected to the network (i.e., not mapped as a drive and not on the same machine), wipe the system and restore. This is the cleanest fix, but only if the backup predates the infection.
Alternative Fixes (When the Main Route Fails)
If the decryptor doesn't work and shadow copies are gone, here are a couple of other angles, though they're long shots.
- Check for file remnants. Some ransomware encrypts files in-place, but others create a copy with a new extension and delete the original. If the original wasn't securely overwritten, you might recover it with a file recovery tool like Recuva or PhotoRec. This is risky if the drive is an SSD (TRIM will wipe the data blocks). For HDDs, it's worth a shot, but don't install the recovery tool on the same drive — you'll overwrite the very data you're trying to save.
- Search for the ransomware's public key. Some strains accidentally leave the private key in memory or on disk. Tools like Rakhni Decryptor (from Kaspersky) sometimes extract keys from existing samples. Not common, but I've seen it work twice in 14 years.
- Quarantine the encrypted files. Some families only encrypt files in specific folders (like Documents, Desktop). If you haven't opened the ransomware note, you might be able to restore a few files from a different user profile that wasn't targeted. Log in as another user and check if those files are intact.
Prevention (So You Don't End Up Here Again)
The real fix is a solid backup strategy. I don't care what anyone tells you — backups are the only bulletproof defense. Here's what actually works:
- 3-2-1 rule: Three copies of your data, on two different media, with one copy offline. That offline copy (external HDD you unplug after backup, or a tape archive) is your lifeline.
- Turn on controlled folder access (Windows Defender) — it blocks unknown apps from modifying your Documents, Pictures, and Desktop folders. It's not perfect, but it's free and built-in. It'll stop the most common ransomware families.
- Patch your browsers and plugins. Most ransomware comes via exploited Java, Flash, or PDF readers. Keep those updated or uninstall them. Flash is dead, so just get rid of it.
- Disable macro scripts in Office. Go into Word/Excel settings and block macros from untrusted sources. That alone stops a huge chunk of Locky and similar drive-by downloads.
One more thing — if you do get hit, don't pay. Even if you pay, there's no guarantee you'll get the key. And you're funding the next attack. The FBI says the same thing. Instead, report it to IC3 (ic3.gov) and check the No More Ransom site. I've seen people pay $500 and get nothing. Don't be one of them.
And for the love of all that's holy, don't leave your backup drive plugged in all the time. Ransomware will encrypt that too — I've seen it happen more times than I can count. Unplug it when you're done backing up.