Incident response · 23 September 2026
What to do in the first hours after a ransomware attack
By SKIDZ research team · 7 min read ·
When ransomware hits, people panic and rush. The choices you make in the first hours can protect evidence, limit the damage and speed up recovery, or they can destroy the very information you need to understand what happened.
This post gives you a calm order of actions: isolate, do not wipe, preserve evidence, call your responder, think about legal and regulator notice, check your backups and communicate clearly. Read it before you need it, and share it with your IT and management team.
Prepare for an incident before it happens or call +966 59 809 0894
What is the first thing to do when ransomware hits?
Isolate affected systems from the network, but do not wipe them. Unplug network cables, turn off WiFi and cut remote access for the machines you think are hit. Isolation stops the spread. If you are unsure whether to power a machine off, ask your incident responder first, because powering off can lose evidence.
Speed matters here, but so does care. Write down what you see on screen, the time you noticed it and which machines are affected. A photo of a ransom note with a phone is better than memory.
Isolate at the network level where you can, for example by disabling a switch port or a segment. Also think about the accounts. If an administrator account may be involved, plan to reset credentials, but do it in the right order and with your responder, so the attacker cannot simply return.
- Disconnect affected machines from the network and WiFi
- Do not delete, wipe or reinstall anything yet
- Photograph ransom notes and error messages
- Write down times, machine names and what changed
- Keep clean machines off the infected network
Why should you not wipe or rebuild machines straight away?
Because wiping destroys evidence. Logs, files and memory show how the attacker got in, what they touched and whether they took data. Without that, you may rebuild and be hit again by the same weakness. Preserve first, then recover, with your responder deciding the order.
It is natural to want everything back to normal quickly. But if you do not know how the attacker entered, you cannot be sure they are gone. Rebuilding without understanding the cause is one of the most common ways a company is attacked twice.
Some evidence is fragile. Memory is lost when a machine is powered off, and logs on busy systems may be overwritten. This is why a short pause to preserve data is worth the time.
- Wiping removes the trail the investigation needs
- The entry point may still be open after a rebuild
- Logs and memory can disappear quickly
- Attackers may have copied data before encrypting it
How do you preserve evidence during a ransomware incident?
Keep the affected machines as they are, isolated and unaltered. Save logs from firewalls, email, identity systems and endpoint tools to a safe place outside the affected network. Record who did what and when. If you cannot say what a step will change, hold off and ask your responder.
Evidence is only useful if it can be trusted. Keep a simple written log of every action, who took it and the time. If the matter reaches lawyers, insurers or authorities, this record will matter.
Be careful where you store copies. Do not put evidence on a drive or share that the attacker can reach. Use a clean system, and limit the number of people who handle it.
- Keep affected machines isolated and untouched
- Export logs from firewalls, email, identity and endpoint tools
- Keep a timeline of actions with names and times
- Store copies outside the affected network
- Limit who can access the evidence
Who should you call, and what about legal and regulator notice?
Call your incident response provider first, then your management, legal advisers and cyber insurer if you have one. Ask your lawyers whether the incident triggers a duty to notify a regulator, authorities or affected people. Rules differ by sector and country, so check the current text with your regulator.
Many organisations in Saudi Arabia and Jordan have duties to report significant incidents or personal data breaches to a regulator or authority. We do not list them here because they change and depend on your sector. Ask your legal adviser early, so deadlines are not missed.
If the attackers demand payment, take legal advice and involve the authorities before any decision. This is a legal and business matter with real risks, and it should not be settled by the IT team alone in the first hours.
- Your incident response provider
- Senior management and the person who owns the crisis
- Legal advisers, who will judge notice duties
- Your cyber insurer, if you have a policy
- The authorities and your regulator, as advised by legal counsel
Can you trust your backups, and how do you restore safely?
Check them before you rely on them. Attackers often try to delete or encrypt backups too. Confirm which backups are clean, offline or immutable, and from what date. Restore only after your responder confirms the attacker is out, otherwise the new systems can be encrypted again.
Test a restore on an isolated system first. Check that the data opens and that the backup does not contain the malware or the weakness that was used to get in. A backup taken after the attacker arrived may carry their tools.
Restore in order of business importance. Bring back the systems that keep the company running first, and rebuild them on clean foundations with new passwords and keys. Expect this to take time, and plan manual workarounds for staff and customers.
- Find out which backups are offline, immutable or untouched
- Confirm the date of the last known clean copy
- Test a restore in isolation first
- Restore the most important systems first
- Rotate passwords, keys and tokens before reconnecting
How should you communicate during a ransomware incident?
Choose one person to speak for the company and keep a short, honest message. Tell staff what to do and what not to do, and use a channel the attacker cannot read, such as phone calls, because email may be compromised. Do not guess in public about causes or data loss.
Staff need clear instructions: do not turn machines back on, do not plug in drives, do not talk to the attackers and send questions to one contact. Customers, partners and the press should hear from one approved voice after legal review.
Update people on a regular schedule, even when the news is that there is nothing new. Silence breeds rumours. Record what you said and when, so statements stay consistent.
- One spokesperson and one internal point of contact
- Use phone or another clean channel if email may be compromised
- Tell staff exactly what to do and not do
- Review outside statements with legal advice first
- Give regular updates even when little has changed
Frequently asked questions
Should we switch off the infected computers?
Disconnect them from the network first. Ask your incident responder before powering off, because turning a machine off can erase evidence held in memory. If the spread is fast and you cannot reach anyone, isolating the network is the safer first step.
Should we pay the ransom?
That is a legal and business decision with real risks. Take legal advice and involve the authorities before you decide anything. We do not recommend making that choice quickly or by the IT team alone.
How do we know if data was stolen?
Investigators look at logs, network traffic and the systems the attacker touched. That is another reason to preserve evidence and not wipe machines. Do not assume either way until the investigation gives you an answer.
Do we have to report the incident to a regulator?
Possibly. Many sectors have reporting duties for significant incidents or personal data breaches, and rules vary by country. Ask your legal adviser at the start and check the current text with your regulator.
Can SKIDZ help us prepare before an attack happens?
Yes. We test your systems, review your security architecture and run purple team exercises that rehearse detection and response. For a live incident, call your incident response provider first, then contact us on +966 59 809 0894 for preparation work.
اقرأ هذه الصفحة بالعربية