After a ransomware attack, a company gets back to work quickly only if it has a clean copy of its data that the attacker could not touch. That is why at least one copy should be immutable: once written, it cannot be changed or deleted until its retention period ends, not even with an administrator account. You also need a recovery plan that has been tested at least once.
What actually happens in a ransomware attack
Ransomware is malicious software that encrypts files and servers and then demands a ransom for the key. The attack rarely starts on the day you notice it. The attacker usually gets in through an unpatched server, a VPN appliance or a stolen password. Then they spend days or weeks moving through the network, collecting admin accounts and finding out where the backups live. Only when they are ready do they start the encryption, most often at night or over a weekend.
- Entry. An unpatched server, a VPN appliance or a stolen password.
- Reconnaissance. Days or weeks spent looking for admin accounts and servers.
- Attack on the backup. Every copy within reach is deleted or encrypted.
- Encryption and ransom. Usually at night or over a weekend, with a ransom note.
The Sophos State of Ransomware 2025 survey of 3,400 IT leaders in 17 countries found that exploited vulnerabilities were the most common way in (32% of attacks), followed by compromised credentials (23%). The same survey found that only 54% of companies restored their data from backup, the lowest share in six years. Almost half paid the ransom.
Double extortion is common too: before encrypting, the attacker steals data and threatens to publish it. A backup does not stop a data leak, but it lets you keep working without negotiating for a key.
Why an ordinary backup often fails to save the company
- The backup sits on the same network. If a server sees the backup as a network drive, so does the ransomware.
- One account manages servers and backups. Once the attacker owns that admin account, they can delete the copies before starting the encryption.
- Copies are kept too briefly. If the attacker was inside for three weeks and you keep seven days of backups, every copy may already contain a compromised system.
- Restores were never tested. Only in the middle of the incident does it turn out that the backup is incomplete or that a restore takes days.
The US agency CISA warns in its #StopRansomware Guide that many ransomware variants deliberately look for accessible backups and delete or encrypt them. It recommends offline, encrypted copies of critical data and regular checks that restores really work.
What immutable backup means
A copy is written once and locked for a set period, for example 30 days. Until that period ends, nobody can change or delete it: not an employee, not an administrator, and not an attacker who has taken over the administrator's account. The principle is also called WORM (write once, read many). On S3 object storage it is usually implemented with Object Lock.
| Where the copy lives | Can ransomware encrypt or delete it? | Note |
|---|---|---|
| Same server or an office NAS | Yes, very likely | Fast to restore, but shares the server's fate |
| External drive connected now and then | Only while it is connected | Depends on discipline and is easy to forget |
| Cloud storage without delete protection | Yes, if the attacker has the credentials | Better than a local copy, but not enough |
| Immutable copy in another location | No, not until retention ends | Requires separate accounts and a long enough retention |
The UK's NCSC asks for much the same in its principles for ransomware-resistant cloud backups: backups must not be changed or deleted once created, delete requests should be delayed and confirmed, version history should be kept by time rather than by number of copies, and important changes should raise an alert.
Immutable does not mean "set and forget". A badly chosen retention period can be expensive, and some regulations require certain data to be deleted after a set time. Choose the period deliberately: long enough to cover the time an attacker might spend in your network unnoticed, and in line with your data retention rules.
The first 48 hours after an attack
- Isolate infected systems. Disconnect them from the network (cable, Wi-Fi), but do not power them off unless you have to: memory holds traces that matter for the investigation. If many systems are affected, CISA recommends taking the network down at the switch level.
- Communicate outside the infected network. Use phones, not company email or chat, so the attacker does not see that you have spotted them.
- Protect the backup. Check that the copies are untouched and separate access to them from accounts that may have been stolen.
- Find out how the attacker got in. Otherwise you restore a system with the same hole. Reset passwords, especially admin ones, and turn on multi-factor authentication.
- Report the incident. Report the crime to the police, and check your regulatory deadlines (see below).
- Restore by priority. First the systems the business cannot run without, such as billing, ERP and email, then the rest. Before restoring, make sure the copy dates from before the attacker got in.
Whether to pay the ransom is the company's decision. Keep in mind that paying guarantees neither a working key nor that stolen data will stay unpublished. With a clean immutable copy, the question usually does not come up.
How to prepare before an attack
- Follow the 3-2-1-1 rule: three copies of your data, on two different media, one in another location, and one immutable. We cover it in more detail in our Disaster Recovery plan guide.
- Separate the accounts. The backup system should not use the same admin account as your servers or domain, and it must have multi-factor authentication.
- Keep copies long enough: daily ones for several weeks, monthly ones longer.
- Do not forget cloud apps. Ransomware on one laptop can spread through sync into OneDrive or Google Drive files. That is why you also need Microsoft 365 backup or Google Workspace backup.
- Patch servers, VPN and firewall appliances regularly, because exploited vulnerabilities are the most common way in.
- At least twice a year, restore one system and measure how long it takes.
What the regulations say
In the EU, the NIS2 Directive requires essential and important entities to send an early warning about a significant incident within 24 hours of becoming aware of it, followed by an incident notification within 72 hours. If personal data was affected, the GDPR (Article 33) generally requires notifying the supervisory authority within 72 hours. National laws implement NIS2 differently, and countries outside the EU, such as Serbia, have their own rules.
Whether these obligations apply to your company depends on your sector, size and location. Check with your legal counsel.
How Cloud RSC handles it
Our Cloud Backup sends encrypted, incremental copies of your servers and workstations to storage in the EU or Belgrade, with immutability windows that neither malware nor an admin can shorten. Microsoft 365 Backup keeps your tenant's mail and files outside Microsoft, with separate credentials. With DRaaS, your servers are replicated continuously to our cloud, so after an attack you can fail over to the replica with a rehearsed runbook. For your own tools, such as Veeam, we offer S3 object storage with Object Lock.