Ransomware:
the first few hours
If files won't open, their extension has changed or a screen pops up demanding bitcoin, disconnect from the network, don't pay and don't format. Ransomware keeps encrypting for as long as the machine is connected to the others. The first few hours decide whether you recover from a backup or the disk is all you have left.
By Ismael Vázquez, founder and technician · Published 26 August 2026
Disconnect. Don't pay. Don't clean up
Three sentences. The rest of the article is the order, so you don't skip any.
Ransomware isn't an old-style virus. It encrypts files, demands money, and goes looking for the NAS, the network drive and any reachable backups. As long as the machine stays on the network, the damage spreads.
The first step isn't googling the strain's name. It's cutting the network: cable out, Wi-Fi off, and the same for any server or NAS within reach. After that, you don't pay and you don't format.
Order of action
This order. Not the panic-install-an-antivirus order.
Isolate
Network cable out. Wi-Fi disconnected. The same for the other machines on that network, until you know which are clean. Don't switch off the router “to see”: disconnect the workstations.
Don't pay, don't negotiate
The key may never arrive. Paying doesn't delete copies the attacker has already taken. And it isn't cheaper than rebuilding from a backup that did exist.
Don't format or run “cleaners”
You write over the data and destroy evidence. If the disk needs cloning, it gets cloned. Formatting doesn't recover anything.
Check whether there's a real backup
Not the folder on the same disk. A copy elsewhere, versioned, that the infected machine couldn't write to. Restore a test file. If it works, you have a plan. If not, you're in recovery.
Tell people
Whoever looks after your IT. If customer data is involved, whoever is responsible for deciding on notification. Report it if appropriate. A short call stops half the office from “carrying on working” on the infected network.
Four impulses that drag the problem out
All four show up in the first two hours.
Switching the NAS on “to see if it survived”
If it was mapped, it's encrypted. Switching it on while connected lets the process carry on. Disconnect it and leave it alone.
Sending the ransom note to a cousin on WhatsApp
The text can wait. The machines that are still on can't.
Restoring the backup onto the same infected machine
A clean machine or a new disk first. Restoring on top of the malware means getting encrypted all over again.
Hiring the first person who promises same-day decryption
With no backup and no clone, quick promises are usually formatting under another name. Ask what they're going to do with the original disk.
Today you isolate; you can check the backup another day, but today you don't improvise
Ransomware is beaten beforehand, with a backup the PC can't overwrite. Today the job is not to make things worse.
Network off, don't pay, don't format, don't carry on working on the same network. If there's a good backup, you rebuild alongside. If not, the disk is treated as a recovery job, not a blank canvas.
When this happens — and if it happens, it'll be on a Saturday — call. Five minutes of order beat an afternoon of install-and-format. And the following week, the conversation is about NAS or cloud: a backup ransomware can't reach.
Many attacks start with an email that looks legitimate, and the fake invoice by email is the most expensive version of that trick.
What people usually ask
How do I know it's ransomware and not a failed disk?+
A disk failing through hardware usually gives mechanical warnings: knocking, clicking, the BIOS not detecting it, or the system freezing on boot. Ransomware, by contrast, leaves the disk working normally: the computer boots, the file explorer sees the folders, but every file has an extra extension and won't open with its usual program. There's almost always a ransom note, a text file or a new wallpaper asking you to make contact or pay. Another strong clue is several computers on the same network showing the same problem at once: a disk failure is an isolated event on one machine, whereas ransomware spreads and hits several workstations almost simultaneously. If you're in any doubt about which it is, act as if it were ransomware: disconnect that computer and any other that shares a network or drives with it before looking any closer.
Should I switch the computer off?+
It depends on where you are in the process. If the machine is still encrypting at that moment, disconnecting the network and leaving it on stops contact with the attacker without losing what's in memory, which sometimes holds traces of the encryption key that a forensic tool can use. Switching it off abruptly wipes that memory and can leave the encryption half-finished, which complicates any later recovery attempt. If the process has already finished and the machine is idle, switching it off changes nothing and stops someone from using it by mistake. The priority is always the network, not the power button: unplug the cable and Wi-Fi first, decide afterwards whether to switch off, and only do so once it no longer shares drives or a connection with the rest of the office. If someone is going to analyse the machine, ask them before touching the switch.
Should I pay the ransom?+
There's no guarantee the key will arrive, that it will work on every file, or that the attacker won't come back for more once they know you pay. On top of the encryption, many current attacks copy data before encrypting it, so paying for the key doesn't erase that copy or stop it being used or published later: two different problems on the same bill. The real decision isn't “pay or don't pay”, it's what alternatives exist: if there's a backup outside the machine and it can be restored, the ransom no longer makes economic sense. If there's no backup, the question becomes whether the disk can be recovered another way, which depends on the type of failure and how much has been written over it since the encryption. Paying answers neither of those questions; it just adds a third.
Should I just format and be done with it?+
Formatting can't be undone, and it wipes exactly the information that would let you understand what happened and, in some cases, recover something. What decides whether formatting is reasonable is whether there's a verified backup, stored outside the machine, that the ransomware couldn't reach at the time of the attack. If that backup exists and you can restore a test file without trouble, the infected machine can be formatted with peace of mind because the data is already safe elsewhere. If there's no backup, or you're not sure it's good, the disk isn't touched: it's treated as a recovery case, not as something to clean. In that case formatting closes the only route left. Checking whether the backup works is the first thing to do, before deciding anything about the disk.
The NAS is encrypted too. What do I do?+
Disconnect it from the network and don't switch it on “to see if anything survived”: if it was mapped as a drive on the infected computer, the ransomware has probably gone through it just like the other disks. What changes the outcome is how it was configured before the attack. A NAS with versioned backups or snapshots that the ransomware couldn't delete, because it had no permission to modify them, keeps versions from before the infection, even if the current files are encrypted. A NAS used as just another shared folder, with no versions or write protection, gets encrypted like a local disk and offers nothing extra to recover. Before touching it, you need to review the NAS's own snapshot or versioning settings without restoring anything yet. It's the same principle that separates a real backup from a mere duplicate folder: the difference is whether the ransomware could write to it.
Should I report it to the police?+
Yes, especially if there's customer, supplier or employee data on the affected machines. Filing a report doesn't unlock anything or speed up recovery, but it leaves an official record of the incident, which may be needed later with insurers, customers or organisations asking what happened. If the attack affects personal data, you need to assess whether you should notify the data protection authority and, in some cases, the people affected; that assessment depends on the type of data and the real risk to those people, and isn't automatic in every case. Keep screenshots of the ransom note, the approximate time it was detected and which machines were connected to each other: that's the information both the police and any legal or data protection adviser you consult later will ask for. The sooner it's gathered, the more reliable it is.
Can I carry on working on another PC in the office?+
Only if that machine was genuinely isolated from the infected one before the encryption began: no shared network drives, not mounting the same NAS, and preferably on a separate network segment. If it shares the same router or switch without any segmentation, “carrying on working” on it means exposing it to the same route the ransomware has already taken through the network, just a few hours later. Before using it, check which drives it has mapped and disconnect them even if they look fine. The question that decides whether it's safe isn't whether that PC shows symptoms, it's whether it had any way into the same resource the infected machine had. If the answer is that you don't know for sure, treat it as at risk: disconnect it from the network until someone has reviewed the whole infrastructure, not just the machine that showed symptoms.
How long does it take to get back up and running?+
There's no single answer, and it depends on two things decided before the incident. The first is whether there's a verified, accessible backup: if there is, the work consists of rebuilding the machine from scratch and restoring onto it, a process that depends on the volume of data and the number of machines affected. The second is if there's no backup, in which case the disk goes into a recovery process whose scope depends on the type of encryption, whether anything has been written over it since the attack, and whether tools exist that can reverse that particular ransomware family, which isn't always the case. What really makes the difference between getting back quickly and being stuck for a long time is decided before anything happens: having a backup outside the machine that the ransomware couldn't touch. That's the only thing within your control today.
Let’s take the step together
Shall we look at it
together?
Tell us about your situation and we'll give you just the advice you need, without overselling. Free diagnosis and quote.
644 836 122CALL OR WHATSAPP USAsk for advice and a quote
Fill this in and we'll call you. No obligation.