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.