, 2 min read
Ransomware and your files: what version history can and cannot do
Ransomware encrypts files and demands payment. Version history and backups can get your files back. Here is how, and where their limits are.
Ransomware is malicious software that encrypts the files it can reach and asks for money to unlock them. For a home user or a small office, the files it hits are usually the most valuable ones: documents, photos, accounts, client work.
Good news first: if your files are synced or backed up with history, you can usually get them back without paying anyone. But it helps to understand how, because the first instinct in a crisis is often the wrong one.
Why sync alone does not save you
When ransomware encrypts a file in a synced folder, the encrypted version is a change like any other. Sync dutifully uploads it and copies it to your other devices. Within minutes every device holds the scrambled copy.
What saves you is that the earlier, healthy version is still in the file’s history.
How version history gets your files back
A service that keeps versions stores the state of each file before every change. To recover, you roll the folder back to a moment before the encryption started. In Dropplite that is Restore folder with a date and time; see Restore files and earlier versions.
Two things decide whether this works:
- History length. Some ransomware waits before it shows itself. If your history only covers a few days, the healthy versions may already be gone. Months of history is a comfortable margin.
- Coverage. Version history only covers folders that are synced or backed up. Anything outside them is on its own.
What to do if it happens
- Disconnect the infected computer from the network. Unplug the cable, turn off Wi-Fi.
- Stop it from syncing. From another device, pause or remove it in your device list so it cannot push more encrypted files.
- Do not restore onto the infected computer yet. Clean it or reinstall the system first, or the restored files may be encrypted again.
- Restore from a point before the attack, on a clean computer.
- Change your passwords from a clean device, starting with email and your sync account.
What version history cannot do
- It cannot stop the attack. Keep your system and apps updated and be careful with attachments and downloads.
- It cannot bring back files that were never synced or backed up.
- It cannot help if the attacker gets into your account and deletes your history. Use a unique password and turn on two-step sign-in.
Ransomware is frightening because it turns your own computer against your files. A backup with history turns it back into an inconvenience. If you do one thing after reading this, check how far back your history goes.