Mon–Fri 8:00 a.m.–7:00 p.m., Sat–Sun 9:00 a.m.–5:00 p.m.Drop-off by appointment in Hamilton, Montreal and Vancouver · free pickup across CanadaFrançais

Business

Ransomware attack: what to do in the first hours

Files renamed with an unknown extension, a ransom note on every desktop, backups that have disappeared. The decisions taken in the first hours after a ransomware attack shape everything that follows, from the chances of recovery to your legal obligations.

Published 2 min readBy Mirush Murataj

Cover of the RecData Canada guide: Ransomware attack: what to do in the first hours
Isolate the machines, keep the encrypted files and the ransom note.

In short

  • Isolate the machines, keep the encrypted files and the ransom note.
  • Report to the police and the Canadian Anti-Fraud Centre; report the breach to the Privacy Commissioner if personal data is at risk.
  • Have the disks analysed before thinking about paying.

The first hour

  1. Disconnect the affected machines from the network: unplug the network cable, switch off Wi-Fi. If possible, do not switch them off yet, as memory can contain useful traces.
  2. Disconnect backups that are still intact: external drives, NAS shares, synchronised cloud folders.
  3. Do not delete anything: encrypted files, ransom notes and strange executables are evidence and sometimes the key to a recovery.
  4. Do not reinstall or reformat the affected systems.
  5. Change passwords for remote access (VPN, RDP, email, NAS) from a clean machine.

Who to notify in Canada

  • Your local police: report the attack and keep the file number. A police report is often required by insurers.
  • Canadian Anti-Fraud Centre and Canadian Centre for Cyber Security: both accept reports of ransomware incidents, which helps track the groups behind them.
  • Office of the Privacy Commissioner of Canada (OPC): under PIPEDA, a breach of security safeguards involving personal information that creates a real risk of significant harm must be reported to the OPC and to the people affected as soon as feasible, and recorded. The OPC has a breach report form on its website.
  • Commission d'accès à l'information (Quebec): under Law 25, organisations operating in Quebec must report a "confidentiality incident" that presents a risk of serious injury and notify the people concerned. Some provinces (Alberta, British Columbia) and some sectors (health) have their own rules.
  • Your insurer, if you have cyber cover, before you engage any negotiator.

Check your sector's specific obligations with your legal adviser; this guide is not legal advice.

Should you pay?

Paying guarantees nothing. Decryptors provided by attackers are often slow, crash on large files or never arrive, and paying marks you as a target that pays. Before considering it, have your systems analysed.

What can be recovered without paying

  • Shadow copies and snapshots the attackers missed or failed to delete (Windows, NAS snapshots, hypervisor snapshots).
  • Partially encrypted files: many variants only encrypt the beginning of large files to save time. Virtual disks and databases can often be rebuilt from the unencrypted parts.
  • Deleted originals: some variants write an encrypted copy and delete the original, which can sometimes be found on the disk.
  • Known decryptors: for some families, free tools exist, collected by the No More Ransom project.

Preventing the next one

  • Keep at least one backup offline or immutable (3-2-1-1 rule).
  • Close RDP and NAS administration interfaces to the internet; use a VPN with multi-factor authentication.
  • Patch firewalls, VPNs and NAS firmware quickly.

See ransomware data recovery, server data recovery and NAS data recovery.

Frequently asked questions

Is a ransomware attack a privacy breach?

Often, yes: if attackers accessed or copied personal information, it is a breach of security safeguards. Whether you must report it depends on whether there is a real risk of significant harm to the people concerned; when in doubt, ask your legal adviser.

Can you recover data encrypted by ransomware?

It depends on the variant and on what the attackers left behind. We analyse the disks and tell you honestly what is possible before any work.

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

Request a free diagnosis Ransomware data recovery

Your device has stopped responding? Switch it off and talk to us.

Free diagnosis