Immutable and Air-Gapped Backups: A Ransomware Defense

Immutable and Air-Gapped Backups: A Ransomware Defense

Ransomware crews learned years ago that a victim with good backups does not pay. So the backups became a target. The federal #StopRansomware Guide says it directly: many ransomware variants try to find and then delete or encrypt accessible backups, so that restoring is impossible unless the ransom is paid. A backup the attacker can reach from your network is not really a backup. It is a second copy waiting to be encrypted. Offline, air-gapped, and immutable backups are the three answers to that problem, and they are not the same thing.

Three Terms, Three Different Protections

Term What it means What it stops Its weak point
Offline The backup is disconnected from the network when it is not being written. Malware spreading across the network cannot touch it. It is only offline while it is unplugged. A drive left connected is an online backup.
Air-gapped The stricter version of offline: no network path to the backup at all, usually because it is physically somewhere else. Remote attackers, and also fire or theft at the office if it is stored off-site. It depends on a person doing the swap on schedule.
Immutable The backup stays online, but the storage refuses to change or delete it until a set retention period ends. An attacker with stolen credentials cannot wipe or encrypt it. It is a setting, and settings can be wrong, too short, or changed by an administrator.

A note on vocabulary: CISA’s guide uses the word “offline.” “Air-gapped” is the industry’s term for the same idea taken to its conclusion. You will see both from vendors and on cyber insurance applications.

What the Federal Guidance Says

The #StopRansomware Guide, written by CISA with the FBI, the NSA, and MS-ISAC, treats backups as a core part of preparing for an attack. Its main points:

  • Maintain offline, encrypted backups of critical data, and regularly test that they are available and intact in a disaster recovery scenario.
  • Keep “golden images” of critical systems, meaning templates with the operating system and applications already configured, so a machine can be rebuilt quickly.
  • Keep the hardware needed to rebuild, and store installers or source code for key software alongside the offline backups.
  • For cloud storage, turn on delete protection or object lock, and consider versioning so several versions of each file are kept.
  • If a third party manages your backups, make sure it follows the same practices and put that in the contract.

The guide is measured about cloud immutability. It notes that some vendors offer immutable storage, then advises using it with caution, because it may not meet certain compliance requirements and a misconfiguration can be costly. That is a fair warning. In the strictest lock modes, a retention period set too long cannot be shortened later, and you pay for every gigabyte until it expires.

A NIST guide for managed service providers, published in April 2020, fills in the practical side. It recommends the 3-2-1 rule: three copies of important files, on two different types of media, with one copy off-site. It describes write-once media that cannot be modified at the hardware level. It also points out the limits of cloud backup, including how long a full restore takes over your internet connection. Our 3-2-1 backup guide covers that foundation. This article is about the copy that survives an attack.

Practical Options for a Small Business

Rotating external drives. Two or more drives, swapped on a schedule, with at least one always unplugged and stored somewhere else. This is a true air gap and the cheapest option on the list. Its weakness is discipline. Encrypt the drives, since they leave the building.

Cloud backup with immutability. Many backup services and cloud storage providers offer object lock or an “immutable retention” setting. You choose a period, such as 30 days, and during that time no one can alter or delete those backup versions. Ask your provider whether the lock can be shortened or removed by an administrator account. Some services offer a strict mode that nobody can override, including you.

Snapshots on a network storage device. Many business NAS units can take snapshots and lock them for a set time. This protects against ransomware that encrypts shared folders. It does not protect against an attacker who logs in to the NAS itself as an administrator, so it should not be your only protected copy.

Do not forget cloud apps. Email and files in Microsoft 365 or Google Workspace need their own backup. See backing up Microsoft 365 and Google Workspace.

How Protected Backups Still Fail

  • The retention window is too short. Intruders are often inside for days or weeks before they trigger the encryption. If your locked copies only go back seven days, every one of them may contain the attacker’s tools.
  • The backup console shares a password with everything else. If the account that manages backups is the same administrator account the attacker just stole, immutability settings can be changed for future backups and the service itself can be cancelled. Use a separate account with multi-factor authentication. See privileged access management.
  • The encryption key is gone. NIST advises keeping passwords, encryption keys, and cloud provider credentials in a separate, secure place, possibly on paper. An encrypted backup you cannot unlock is lost.
  • Nobody has ever restored from it. Both guides stress testing. A restore test tells you whether the backup works and how long recovery really takes.
  • It only covers part of the business. The accounting server is protected and the shared drive with ten years of client files is not.

One more limit worth stating plainly: backups defeat encryption, not theft. If the attackers copied your data before locking it, you face data extortion whether or not you can restore.

A Short Checklist

  1. At least one backup copy is offline or immutable. Know which one.
  2. That copy reaches back at least 30 days.
  3. The backup system has its own administrator account and multi-factor authentication.
  4. Encryption keys and recovery credentials are stored separately from the network, with a paper copy in a safe.
  5. A full restore of one important system has been tested in the last six months, and someone timed it.
  6. If a provider manages backups, the contract says all of the above.

Bottom Line

The question after a ransomware attack is not “did we have backups?” It is “did any backup survive?” One copy that the attacker could not reach, because it was unplugged or locked against change, is what lets a business decline the ransom and get back to work. Build that copy now, test it, and read our guide on what to do before, during, and after a ransomware attack for the rest of the plan.

Official sources: CISA — #StopRansomware Guide · NIST — Protecting Data from Ransomware and Other Data Loss Events

Similar Posts