Skip to content
SOS Informatique Computer repair in Lyon - Individuals and businesses

My files are encrypted and someone is demanding a ransom

Switch the machine off and unplug your external drives. Every extra minute of activity extends the encryption.

Ransomware does not stop at the infected machine : it goes after everything within reach, including external drives that are plugged in, shared network folders and synced backup spaces. That is why isolating it comes before anything else.

What to do immediately

  1. Unplug the network cable and turn off the Wi-Fi, to stop it spreading to the other devices in the house or the office.
  2. Unplug external drives and USB sticks that are still connected, before they are hit as well.
  3. Switch the machine off.
  4. Do not reformat anything, do not reinstall anything for now : some of what is on the drive is needed for any attempt at recovery.
  5. Photograph the ransom message and note the extension added to your files. Those two things are what identify the ransomware family.

Why you should not pay

The authorities advise against it unanimously, and for sound practical reasons : nothing guarantees you will be given a working key, a proportion of victims who pay recover nothing or only part of their files, paying marks you out as able to pay and exposes you to a second demand, and it directly funds the continuation of the activity.

Paying is not the only route either, whatever the message implies.

A free decryption tool sometimes exists

Several ransomware families have been dismantled, and their keys made public by the authorities and by security companies. Free decryption tools exist for a number of them. That is exactly what identifying the family is for - hence the importance of keeping the message and the file extension rather than wiping everything in a hurry.

What can often still be recovered

  • Files from an offline backup, if a drive was unplugged at the time of the attack. That is the only truly reliable protection.
  • Cloud version history. OneDrive, Google Drive and the others keep earlier versions of every file : even if the encrypted version has been synced, the clean version can often still be restored for several weeks. Many people do not know this and give up too soon.
  • Files that were not reached, if the encryption was interrupted in time.

The formalities

A police report is possible and advisable : insurers often ask for one, and it feeds ongoing investigations. Keep the ransom message, the screenshots and one example of an encrypted file.

If the incident affects a business holding personal data about customers, a notification to the data protection authority may be compulsory within a short deadline. That point is worth checking quickly.

Afterwards, and for the future

The machine will have to be reinstalled cleanly : cleaning up is not enough once an attacker has had that level of access. And the real lesson is about backups : a copy that is permanently plugged in gets encrypted along with everything else. You need at least one disconnected medium, or an online backup with version history. See recovering files and securing your computer.

We examine the machine, identify the ransomware family, attempt recovery by whatever routes are open, and hand back a clean system. See also data recovery.

Frequently asked questions

Can an antivirus decrypt my files ?

No. It can remove the program responsible, but the encryption stays. Only a key, a known decryption tool for that family, or a backup will bring the data back.

Are my files in the cloud lost ?

Not necessarily. Syncing may have spread the encrypted files, but version history often lets you go back to a clean copy. That is the first avenue to explore.

How long does it take to put everything right ?

Identification and the recovery attempt generally take one to several days. The clean reinstall comes on top of that. Much depends on whether a backup exists.

Further reading

Would you rather we took care of it ? See our ransomware protection service, in Lyon and across the Rhone.

Files that have become unreadable ?

Do not switch off in a hurry without calling us : some of what is there is useful.

Contact Us