Guides

What Is an Immutable Backup? How WORM Locks Stop Ransomware

An immutable backup is a recovery copy that nothing — not ransomware, not an admin, not a mistake — can change or delete until its retention period ends.

Cysoro Security TeamPublished · 9 min read
GUIDES IMMUTABLE BACKUP One locked copy that ransomware cannot delete or encrypt. CYSORO.COM backup-2026-11-25.zip retain-until: 90 days delete: REFUSED encrypt: REFUSED LOCKED AT THE STORAGE LAYER
Quick answer

An immutable backup is a backup copy locked at the storage layer against modification, deletion or encryption for a defined retention period. Once written, it cannot be changed by anyone, including administrators and attackers with stolen credentials, until the lock expires. It is enforced with WORM storage, S3 Object Lock or a hardened backup repository, and it exists so that one clean copy survives a ransomware attack.

Key takeaways

  • Immutability is enforced by the storage layer, not by backup software policies that an admin can change.
  • A locked copy still needs testing: a backup that cannot restore is useless, however well it is locked.
  • Immutability stops deletion and encryption, but not theft — access controls and encryption are still required.

Ransomware groups learned a simple lesson: if they encrypt your files, you restore from backup — unless they destroy the backup first. That is why modern attacks go after backup systems before they touch production data, and why one locked, unchangeable copy has become the last line of defense.

What is an immutable backup?

An immutable backup is a backup copy locked at the storage layer against modification, deletion or encryption for a defined retention period. Once written, the data cannot be changed — not by the backup software, not by administrators, and not by attackers.

The key word is "storage layer". Ordinary backups are protected by software policies and file permissions, which anyone with administrator credentials can change. An immutable backup moves the lock below the software, into the storage system itself, so the delete request is refused no matter who sends it.

The lock always has a defined duration, for example 30 days, 90 days or seven years for regulated archives. After the retention period ends, the copy can be modified or deleted under normal policy. Immutability is a time window, not a permanent freeze.

IBM puts it plainly: immutable backups are read-only copies that cannot be altered or deleted once saved for a defined retention period, and they rely on WORM technology. That definition, from IBM's immutable backup explainer, is the one to keep in mind throughout this guide.

How does an immutable backup work?

An immutable backup works by writing data to storage that enforces a time-based lock at the object or block level. The backup software sets a retain-until date as it writes each copy, and the storage refuses any delete or overwrite request for that copy until the date passes.

The best-known implementation is S3 Object Lock, used in Amazon S3, Azure Blob Storage and S3-compatible on-premises systems. The backup software sets a retention mode and a retain-until date on each object version, and the storage enforces it regardless of which credential sends the request.

Other implementations include WORM tape or disk, where the hardware itself prevents overwriting, and hardened Linux repositories, where the backup software runs on a locked-down server with immutability enforced by the file system. All of them share the same principle: the lock lives below the application.

Retention locks come in two modes, and the difference matters. In compliance mode, no user can override the lock early — in AWS S3, not even the account's root user. In governance mode, users with elevated permissions can remove it, which is more flexible but weaker against an attacker holding admin credentials.

How a WORM lock protects a backup1Write the copyBackup softwarewrites a cleanrecovery point2Set the lockStorage attaches aretain-until date,e.g. 90 days3Attacks refusedDelete, overwriteand encrypt requestsare rejected4Lock expiresAfter the date,normal retentionpolicy appliesThe storage layer enforces the lock — not the backup software, and not user permissions.
A WORM lock attaches a retain-until date to each recovery point and refuses changes until it passes. Illustration by Cysoro.

Immutable backup vs snapshot: what is the difference?

An immutable backup is a self-contained copy kept in a dedicated backup system, separate from production. An immutable snapshot is a read-only, point-in-time copy that usually lives on the same storage system as the production data it captures.

Snapshots are taken more often than backups, so they give you more granular recovery points and faster rollback. That speed comes with a risk: because snapshots sit close to production, an attack on the storage system itself can destroy them, which is why ransomware often targets snapshots before encrypting the underlying files.

Backups are slower to take and slower to restore, but they are self-contained and separate. When combined, the two give you layered protection: snapshots for fast rollback after a mistake, and immutable backups for recovery after a destructive attack.

FeatureImmutable backupImmutable snapshot
Where it livesSeparate backup systemSame storage as production
How often it is takenScheduled, less oftenFrequently, sometimes hourly
Restore speedSlowerFast rollback
Survives an attack on production storageYes, if isolatedOften no
Best forRansomware recovery, complianceQuick rollback after errors

Why do ransomware groups target backups?

Ransomware groups target backups because a working backup removes their leverage. If you can restore cleanly, there is no reason to pay, so attackers now routinely infect backup systems before encrypting production data.

IBM reports that groups such as LockBit, Qilin and Akira use AI-driven tools and ransomware-as-a-service models to accelerate attacks, and routinely target backup systems first. IBM also cites a 2026 report finding that 66% of US organizations experienced ransomware attempts on their backup repositories.

The pattern is confirmed by federal guidance. CISA's #StopRansomware Guide warns that many ransomware variants attempt to find and delete or encrypt accessible backups, and recommends offline, encrypted backups that are tested regularly.

A Sophos study cited by IBM found that attacks starting from an unpatched vulnerability led to backup compromise 75% of the time. The lesson is not just to lock backups, but to patch the systems around them and keep backup credentials separate from domain admin credentials.

The main ways to make a backup immutable

There are four common implementations, and they differ in where the lock lives and what it protects. The strongest protection is enforced below the backup software, by the storage or object store.

  • WORM storage. Hardware or software-enforced storage that physically prevents overwrite. Common in regulated industries; tape-based WORM has been used for decades for archival compliance.
  • Object Lock. A feature of object storage in the cloud or on premises, such as AWS S3 Object Lock or Azure immutable blob storage. Individual objects are locked for a defined period in compliance or governance mode.
  • Immutable snapshots. The storage system's snapshot engine creates read-only, point-in-time copies that cannot be altered. Best for fast rollback, as explained above.
  • Immutable backup repository. A hardened repository — often a locked-down Linux server — where the backup software writes restore points that cannot be deleted or modified until retention expires.

Two supporting controls complete the picture. Partitioning separates the backup control plane from the data plane, so an attacker in your primary environment cannot reach the repository. Air gapping physically or logically separates backup data from network connections, so network-based attacks cannot reach it at all.

Continuous data protection, or CDP, is a useful complement: it captures every change as it occurs, giving near-zero recovery point objectives. CDP on its own is not immutability, though — the captured changes still need a lock to survive an attacker.

How to set up immutable backups

Setting up immutable backups is a short project, not a product purchase. Work through it in order, and test the restore before you call it done.

  1. Inventory what matters. List the data you cannot rebuild: customer records, financials, source code, email, identity systems. Everything else can wait.
  2. Pick the implementation. Small teams usually start with cloud Object Lock on their existing backup target. Larger teams add a hardened on-premises repository or an offline copy.
  3. Choose compliance mode where you can. Governance mode is easier to manage, but compliance mode is the one that holds against stolen admin credentials. Use governance only where a genuine business need requires early deletion.
  4. Set retention longer than your detection time. If an attacker can hide for 30 days, a 30-day lock is not enough. Start at 90 days for critical data and adjust from your incident history.
  5. Separate the credentials. The backup console, the storage account and your domain admin accounts should not share credentials. Put phishing-resistant MFA on the backup console.
  6. Test the restore. Restore a server or a mailbox from the locked copy into an isolated environment. A backup you have never restored is a hope, not a plan.
  7. Schedule repeat tests. Test at least once a year and after every major change to your backup setup, and keep a written record of each test.

The classic 3-2-1 rule still applies, with a modern addition. Keep three copies of important data, on two different media types, with one copy off-site — and make at least one of those copies immutable or air-gapped.

NIST's ransomware profile, IR 8374 Rev. 1, finalized in June 2026, recommends exactly this: a copy stored offline or otherwise unreachable by the attacker, and data stored in an immutable format. NIST's practice guide on recovering from ransomware, SP 1800-11, shows how organizations can implement that recovery capability in practice.

The 3-2-1-1-0 rule, updated for ransomware3copies ofimportant data2different mediatypes1copy off-siteaway from the office1immutable oroffline copy0errors afterrestore testingThree copies are not enough if an attacker can delete all three. One must be locked or offline.
The modern 3-2-1-1-0 rule adds one immutable or offline copy and zero untested restores. Illustration by Cysoro.

What immutable backups do not protect against

Immutability stops changes to a copy that already exists. It does not stop everything else, and treating it as a complete defense is a common mistake.

First, it does not stop theft. A locked copy can still be read and copied out, so access controls, encryption and a logical air gap remain separate protections. Lock the copy and guard who can read it.

Second, it does not clean a dirty backup. If ransomware encrypted your files weeks before you noticed, the locked copy may contain encrypted data. Retention long enough to reach back before the infection, plus integrity checks, is what saves you here.

Third, it does not protect data that was never backed up. A new server, a new SaaS app or a shadow IT tool that nobody added to the backup job has no locked copy at all. Inventory your data regularly.

Fourth, it does not replace detection and patching. The lock is your last resort. The controls that keep attackers out — patched systems, MFA, least privilege — decide whether you ever need it.

For a small business, the fastest way to check the surrounding controls is our small business cybersecurity checklist, which covers patching, MFA and the other basics alongside backups.

Attackers also reach backups through people, not just systems. Our guide to spear phishing explains the social engineering that often delivers the first foothold.

To see how the controls fit together, read our security baseline platform overview.

How long should backups stay immutable?

The retention period should be longer than the time it is likely to take you to notice an attack. That is the whole calculation, and it is why there is no single right number.

For most small and mid-sized businesses, 30 to 90 days is a sensible starting point for critical data, with longer periods where regulations require them — seven years is common for financial and legal records. The longer the lock, the more storage you pay for, so balance retention against cost.

Consider your dwell time, not just your backup schedule. If your detection tools would spot ransomware within days, a 30-day lock may be enough. If you have limited monitoring, assume weeks and lock for 90 days or more.

Also keep multiple locked recovery points, not just the latest one. If the newest locked copy turns out to be infected, you need an older one to fall back to. A single locked copy is a single point of failure with a nicer name.

The bottom line

An immutable backup is a backup copy locked at the storage layer so nothing can change or delete it until its retention period ends. It exists for one job: giving you a clean copy to restore from after ransomware has destroyed everything it could reach.

Start with cloud Object Lock in compliance mode on your critical data, separate your backup credentials, set retention longer than your detection time, and test the restore. A locked backup you have never restored is a guess — prove it works before you need it.

Frequently asked questions

What is an immutable backup in simple terms?

It is a backup copy that is locked so it cannot be changed, encrypted or deleted for a set period, such as 30 or 90 days. The lock is enforced by the storage system itself, so it holds even if an attacker gains administrator credentials.

What is the difference between an immutable backup and a snapshot?

An immutable backup is a self-contained copy kept in a separate backup system, away from production. An immutable snapshot is a read-only, point-in-time copy that usually lives on the same storage system as the production data, so it is faster to restore but easier for an attack on that system to destroy.

What is WORM storage?

WORM stands for Write Once, Read Many. Data is written to storage exactly once and can be read as many times as needed, but it can never be modified or overwritten while the lock is active. It is the core technology behind most immutable backups.

What is the difference between S3 Object Lock compliance and governance mode?

In compliance mode, no user — including the cloud account's root user — can overwrite or delete a protected object before its retention date. In governance mode, users with special permissions can remove the lock, which is more flexible but weaker against an attacker with admin credentials.

Does an immutable backup protect against ransomware?

It protects the backup copy itself: ransomware cannot encrypt or delete a locked copy. It does not protect production systems, and it does not help if the backup was already infected before it was locked. You still need detection, patching and tested restores.

How long should an immutable backup stay locked?

Longer than the time it is likely to take you to notice an attack. Ransomware can sit undetected for weeks, so a retention period of 30 to 90 days is a common starting point, with longer periods for regulated data. Match the lock to your recovery window and compliance duties.

Is an immutable backup the same as an air-gapped backup?

No. An air-gapped backup is physically or logically disconnected from the network, so it cannot be reached at all. An immutable backup usually stays reachable, but refuses changes. The strongest setups combine both: an immutable copy and an offline copy.

Can an immutable backup be deleted after the retention period ends?

Yes. Once the retain-until date passes, the copy can be modified or deleted under normal retention policy. That is by design — the lock is a time window, not a permanent freeze.

Sources

  1. IBM — What Are Immutable Backups?
  2. NIST NCCoE — SP 1800-11: Data Integrity: Recovering from Ransomware
  3. AvePoint — What Is an Immutable Backup? (2026)
  4. QNAP — What Is Immutable Backup and Why Does It Matter?
  5. Veeam — Small Business Ransomware: What You Need to Know
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against IBM's immutable backup explainer, NIST SP 1800-11, NIST's ransomware profile IR 8374 Rev. 1 and CISA's #StopRansomware guidance.

How we write and fact-check →

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free