Tech, ExplainedData platforms and AI
Part

Air-gapped backup

A copy the attacker inside cannot reach.

INSIDE: BACKUP AND RECOVERYHOW IT WORKS · A BILLING DATABASE VAULTAT A POWER DISTRIBUTION COMPANY IN LUCKNOWEvery night,backup softwarecopies thebillingdatabase of 50lakh customersto diskAt 4 a.m., thevault opens aconnection for45 minutesIt pulls in thecopy, checks itand disconnectsFor the other 23hours, the vaulthas no route tothe main networkRansomwarelocks theservers and thedisk backups,but cannotreach the vaultThe billingdatabase isrestored fromthe vault'scopy of thenight beforeINSIDE: BACKUP AND RECOVERYHOW IT WORKS · A BILLING DATABASE VAULT AT A POWERDISTRIBUTION COMPANY IN LUCKNOWEvery night, backupsoftware copies thebilling database of 50lakh customers to diskAt 4 a.m., the vaultopens a connectionfor 45 minutesIt pulls in the copy,checks it and disconnectsFor the other 23 hours,the vault has no route tothe main networkRansomware locks theservers and the diskbackups, but cannot reachthe vaultThe billing database isrestored from the vault'scopy of the night beforeINSIDE: BACKUP AND RECOVERY · A BILLINGDATABASE VAULT AT A POWER DISTRIBUTION COMPANYIN LUCKNOWEvery night, backup softwarecopies the billing databaseof 50 lakh customers to disk↓At 4 a.m., the vault opens a connectionfor 45 minutes↓It pulls in the copy,checks it and disconnects↓For the other 23 hours, the vault has noroute to the main network↓Ransomware locks the servers and the diskbackups, but cannot reach the vault↓The billing database is restored from thevault's copy of the night before
A vault on its own network connects for 45 minutes a night to pull in the billing database copy, stays disconnected for the rest of the day, and supplies the restore after ransomware locks everything else.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

An air-gapped backup is a backup copy kept where an attacker who is already inside the company's network cannot reach it. The air gap is the break between the copy and the network. If there is no connection, an attacker with stolen passwords still has no way to reach the copy, and ransomware cannot encrypt it.

There are three common ways to build an air gap.

The oldest way is physical. Backups are written to tape cartridges. The cartridges are then taken out of the tape library and kept on a shelf or in a vault. A cartridge on a shelf is connected to nothing.

The second way is a vault that connects only for a short time. A vault here is a separate storage system on its own locked network. Once a day, the vault's own software opens a connection, pulls in the newest copies and closes the connection again. The vault always starts the connection itself. So nothing on the main network can log in to the vault, even with an administrator's password.

The third way is a cloud vault. The copy is sent to a cloud account that the backup provider runs, with separate logins that the company's own administrators do not hold. The second and third ways are sometimes called a logical air gap, because a network cable still exists, but it is closed or controlled from the other side.

Imagine a state electricity distribution company in Lucknow. Its billing system holds the accounts of 50 lakh customers. Every night, its backup software copies the billing database to disk inside its data centre. At 4 a.m., a separate vault in a locked room opens a connection for 45 minutes. It pulls in the night's copy, checks that the copy is complete, and disconnects. For the other 23 hours of the day, the vault has no route to the main network.

Say ransomware one day locks the billing servers and also the backups on disk. The attacker has administrator passwords and can reach everything on the network, except the vault. The company restores the billing database from the vault's copy of the night before. Bills go out a day late, but no customer's account is lost.

What does an air gap cost? Time. A copy kept off the network takes longer to bring back. Tapes must be fetched and loaded, and a vault usually restores more slowly than the disks next to the servers. So companies keep a fast local copy for everyday restores, and keep the air-gapped copy for the worst day.

An air gap keeps the copy out of reach. An immutable backup locks the copy so that it cannot be changed. The two protections are often used together, inside backup and recovery software. The air-gapped copy is often the one that makes ransomware recovery possible when everything else is locked.

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.