InfrastructureNew: our VPS servers are live in the United States

Our New York datacenter is live. Our Morocco datacenter is coming soon: your data stays on US servers until launch, and is then migrated. Clients who need data sovereignty in their own country can request the migration. Learn more

Learn more
Free webinars Cloud & Cyber Wednesdays · 30 min · Wednesday 5:00 pm Morocco (12:00 pm Montréal) · Zoom and Rabat office See the programme (32 dates) →
Affiliate program Refer Open Vista, earn 15% recurring commissions. Join free. Join the program →
News

Ransomware: what to do in the first 72 hours

Isolate, assess, restore: the order of operations after an attack, and what must be prepared beforehand.

Isolate, assess, restore: the order of operations after an attack, and what must be prepared beforehand.

A ransomware is not discovered when the invoice arrives: it is discovered when a user opens a file and finds a message instead of their data. The hours that follow decide what will be recovered, what will be lost, and how the company will live through the next weeks. Here is the order of operations, from first signal to recovery.

Hour 0 to 6: isolate, preserve, alert

The first reaction is technical and simple: disconnect affected machines from the network without shutting them down. Shutting down destroys memory, where useful traces often sit. Then preserve: screenshots of the message, notes on time and machine, available logs. Finally, alert management and the cyber insurer, if any, before anyone tries a workaround.

What not to do

  • Pay immediately without analysis: decryption is not guaranteed, and payment encourages repetition.
  • Reinstall machines to "start clean": evidence disappears with the data.
  • Communicate publicly before knowing what leaked.

Hour 6 to 24: establish the extent

Three questions need answers: which systems are affected, which data may have been exfiltrated, and how the attacker got in. This phase requires forensic skills; a single administrator, however competent, is usually not enough. It is also the moment to check legal duties: Law 09-08 requires protecting personal data, and a breach may require informing the CNDP and affected people.

Hour 24 to 72: decide and restore

The restore decision depends on backup quality. An offline, tested, dated and complete backup lets you restart without paying. An online backup reachable from the compromised network may have been encrypted with everything else. Restoration happens in stages: critical systems first, then data, then workstations, with systematic verification before returning to production.

What to prepare beforehand

Three things make the difference on the day: a disconnected, tested backup; a written procedure with numbers to call; and an annual exercise. Without them, 72 hours become weeks of improvisation.

Frequently asked questions

Should we pay the ransom?

The recommended position is not to pay: payment funds the ecosystem and does not guarantee recovery. The decision belongs to management, based on an analysis of available backups.

Can we keep working during the incident?

Partially, if critical systems are isolated and a fallback procedure exists. That is exactly what a business continuity plan prepares.

How long to return to normal?

It depends on the backup and the spread. A properly backed-up SME can recover in a few days; without a usable backup, rebuilding takes weeks.

Conclusion

The first 72 hours cannot be improvised. They are prepared with a disconnected backup, a written procedure and an exercise. To assess your readiness, see our cybersecurity page and our SME checklist.

Open Vista

An infrastructure, cloud or cybersecurity project?

VPS, domain names, software licences, Odoo, Microsoft 365 or managed IT: our teams answer you from Laval (Quebec) and Rabat.

2 min

Find the right solution for your business in 2 minutes

5 questions, a tailored recommendation and a projected budget — no commitment.