Go to the service: Ransomware protection
Immutable backups: protecting your data from ransomware
Immutable backups explained: how backups that nobody can delete or overwrite protect your data from ransomware – and what you need to watch out for in practice.
What is it about?
A backup is meant to help you when your data is lost. But what if an attacker deletes the backup first? That is exactly what immutable backups protect against. Such a backup is locked for a set period. During that time it cannot be deleted, overwritten or encrypted.
Picture a bank safe-deposit box with a time lock. You put important documents inside, and the lock only opens once a fixed period has passed. Even someone who steals your key cannot get at the contents before then – nor swap them for something else. That is how an immutable backup works.
How immutable backups work technically
The underlying principle is known as WORM: “Write Once, Read Many”. The backup software or storage records a retention period for each backup. While that period is running, the system rejects any attempt to change or delete the data. New backups are added as normal. Only once the period has expired can old backups be cleaned up as usual. Such features exist in backup software, in on-site storage devices and in cloud storage.
The US agency CISA notes that some cloud providers offer immutable storage that protects stored data without the need for a separate environment.
Why does it matter for your business?
Attackers know that a working backup undermines their business model. If you can restore your data from a backup, you do not pay a ransom. So they deliberately go after the backups.
Germany’s Federal Office for Information Security (BSI) describes the problem clearly: many ransomware variants search for network drives they can write to. If backup storage is not adequately protected, the backups themselves get encrypted. CISA likewise warns that many ransomware variants look for accessible backups and delete or encrypt them.
What the BSI requires
In the BSI’s IT-Grundschutz framework, protecting backups is one of the basic requirements. Backups must be protected against unauthorised access. In particular, it must be ensured that they cannot be overwritten, whether deliberately or by accident. Write access to backup media should only be allowed for authorised backups and administration. Alternatively, the media should only be connected while a backup is running.
Immutable backups are one way of meeting this requirement technically. Another is offline backups, such as removable drives that are disconnected after each backup. Many businesses combine the two.
Attacks go beyond deletion
The UK’s National Cyber Security Centre (NCSC) has published principles for cloud backups that resist ransomware. They show that attackers do more than delete. They can also lock you out of the backup, flood the storage with useless data, or delete the key used to encrypt the backup. Among other things, the NCSC therefore recommends that older versions can still be restored even if newer ones are corrupted, and that alerts are triggered when significant changes or sensitive administrative actions are attempted.
What immutable backups do not do
Immutable does not automatically mean clean. If the malware was already in the system when the backup was taken, it is in the backup too. The BSI therefore advises checking, before restoring, whether the chosen backup is already infected – otherwise the ransomware may encrypt the systems all over again. The key used to encrypt the backup must also be protected as well as the data itself. And no technology replaces regular testing: only a rehearsed restore shows that the backup will help when it counts.
An everyday example
Example: A fictional medical practice with twelve employees backs up its data every night to a storage device on the network and also to the cloud. An attacker gains access using a stolen password. Before encrypting the data, they log in to the backup software with the same credentials and delete every backup – on site and in the cloud.
With immutable backups, the deletion attempt would have failed. The backups from recent weeks would have been locked, even for an account with administrator rights. An alert about the unusual deletion attempt would also have warned the IT team. Once the systems were cleaned, the practice could have restored a clean version of its data. For what else to do in this situation, see ransomware: the first steps.
How we approach it
As part of our ransomware protection service, we make your backups resilient:
- Review: we check how your backups are set up today and whether they follow the 3-2-1 backup rule.
- Find weak spots: we establish who can access the backups, whether that access is protected by a second factor, and whether an attacker with a single account could delete every copy.
- Set up immutability: we enable the right feature in your backup software, on your storage device or in the cloud, or propose a suitable solution. We agree the retention period with you.
- Separate access: backup administration gets its own, specially protected credentials, kept apart from everyday accounts.
- Set up alerts: unusual actions, such as deletion attempts or changed settings, trigger a notification.
- Test restores: we regularly restore data as a test and document the result. To check your overall preparedness, see the ransomware readiness check.
What you can do right away
- Ask your IT provider whether your backups are protected against deletion – and for how long.
- Check whether signing in to the backup software requires a second factor.
- Find out whether the same credentials are used for the server and for the backups. If so, have that changed.
- Keep an additional backup that is disconnected from the network after each run.
- Consider how far back your backups need to go so that you can find a clean version even after an attack that is noticed late.
- Ask to see when a restore was last tested successfully.
Key terms
- Immutable backup
- A backup that cannot be deleted, overwritten or altered for a set period of time.
- Retention period
- The period during which an immutable backup stays locked. Only afterwards can it be deleted.
- WORM
- Write Once, Read Many: a storage principle where data is written once and can then only be read.
- Ransomware
- Malicious software that encrypts data and demands a ransom for the key.
- Offline backup
- A backup on a medium that is disconnected from the network after the backup runs, so attackers cannot reach it.
Frequently asked questions
Does an immutable backup replace the 3-2-1 rule?
No, it complements it. The 3-2-1 rule gives you several copies in different places. Immutability makes sure that at least one of those copies cannot be deleted or encrypted. The combination of both is strongest.
Can an administrator still delete an immutable backup?
That depends on the solution and how it is configured. Some storage does not allow even administrators to delete data during the retention period; others permit exceptions. We check exactly what your solution allows and add extra protection to the accounts.
Do we need new storage for this?
Not necessarily. Some existing backup solutions and storage devices already offer such a feature, and cloud providers offer it too. Whether your current set-up can do it is something we clarify during the initial review.
Is an immutable backup automatically free of malware?
No. Immutable only means the backup cannot be changed afterwards. If the malware was already on the system when the backup was taken, it is in the backup too. Germany's Federal Office for Information Security (BSI) therefore advises checking whether a backup is already infected before restoring it.
Sources
Official sources, consulted when the article was written.
- BSI – IT-Grundschutz module CON.3 Backup concept (2023 edition, German) (opens in a new tab)
- BSI – Standard 200-4: Proposals for business continuity strategies (section on backups, German) (opens in a new tab)
- NCSC (UK) – Principles for ransomware-resistant cloud backups (opens in a new tab)
- CISA – #StopRansomware Guide (opens in a new tab)

