What to do if you are hit by ransomware (step by step)
Published:
Short answer: if you are hit by ransomware, immediately isolate the affected devices from the network, do not pay the ransom, preserve evidence (screenshots, ransom notes), notify your security contact and, where required, the competent authority, and start recovery from clean, isolated backups. Paying does not guarantee recovery and encourages further attacks.
The first steps
- Isolate: disconnect affected devices from the network and Wi-Fi to stop it spreading. Do not rush to power them off — evidence may be lost.
- Do not pay: paying does not guarantee you get your data back and funds the attackers.
- Preserve evidence: photograph the ransom note and record what happened and when.
- Notify: your IT/security contact and, if you are in scope of NIS2, follow the reporting deadlines (24h/72h/1 month). For a personal-data breach, inform the Data Protection Authority within 72 hours.
- Recover: restore from clean, isolated (immutable) backups, after first making sure the threat has been removed.
- Check No More Ransom for a free decryption tool for the specific ransomware.
How do you prepare in advance?
The best defence is preparation: isolated backups with the 3-2-1 rule and regular restore tests, EDR on every device, MFA, security updates and staff training. That way an attack becomes a few hours of downtime rather than a disaster.
Frequently asked questions
Should I pay the ransom?
Authorities advise against it: paying does not guarantee recovery and encourages more attacks. Prefer recovery from backup.
Will my data come back?
If you have clean, isolated backups and have tested them, yes. That is why a backup and recovery plan is critical.