Air gap

Also known as: air-gapped network

On this page 7

An air gap is a security measure in which a computer, system or air-gapped network has no physical or wireless connection to any untrusted network, including the internet and the corporate office network. In Infrastructure defense, a field of Cybersecurity, it is the strongest form of network segmentation, because data can cross the boundary only through a deliberate, controlled physical transfer.

Air gaps protect environments where a compromise would be catastrophic or irreversible: military and classified networks, industrial control systems, nuclear facilities, payment and certificate authority key ceremonies, and offline backup vaults designed to survive ransomware. The measure removes entire classes of remote attack, but it does not remove risk, because people, removable media and supply chains still cross the gap.

How an air gap isolates a system

An air gap isolates a system by eliminating every network path between the protected environment and the outside world. There is no cable, no wireless interface, no shared switch and no remote management channel, so an attacker cannot reach the system by sending packets from elsewhere.

True isolation requires more than unplugging an Ethernet cable. Practitioners remove or disable Wi-Fi, Bluetooth and cellular modules, turn off out-of-band management controllers, separate power and cabling routes where emanation is a concern, and place the equipment inside a physically controlled area with logged entry.

  • Physical isolation: no wired or wireless link to any untrusted network.
  • Controlled transfer: data enters and leaves only through approved media or one-way devices.
  • Physical security: access to rooms, racks and ports is restricted and audited.
  • Configuration discipline: hardware and firmware are inventoried so that a hidden radio cannot appear unnoticed.

Types and degrees of air gap isolation

The term air gap is used for several degrees of isolation, and the difference matters when a vendor or auditor claims a system is air-gapped. The table below separates a strict air gap from weaker arrangements that are often described with the same words.

Isolation typeHow it worksResidual exposure
Strict air gapNo network link at all, manual media transferInsiders, removable media, supply chain
Data diode boundaryHardware allows traffic in one direction onlyData leaving or entering by the open direction
Logical air gapFirewall rules and VLANs block trafficMisconfiguration and firewall vulnerabilities
Intermittent gapLink enabled only during scheduled transfersAttack window while the link is open
Cloud vault isolationImmutable storage behind separate credentialsProvider compromise, credential theft
Degrees of isolation described as an air gap

Only the first category is an air gap in the strict sense. The others can be valuable compensating controls, but security documentation should name them accurately, because a logical air gap still shares an attack surface with the network it claims to be separated from.

Air gap compared with other infrastructure defenses

An air gap differs from a firewall, IDS or EDR in that it prevents connectivity instead of filtering or monitoring it. Detection and prevention tools assume that some traffic must flow and try to separate good from bad; an air gap assumes that no online traffic is acceptable for the protected asset.

ControlMain protectionMain weakness
Air gapEliminates remote network attacksHigh operating cost, slow data exchange
FirewallFilters traffic by ruleAllowed paths and rule errors
Data diodeEnforces one-way data flow in hardwareNo feedback, limited protocols
Application allowlistingRuns only approved softwareAbuse of trusted binaries
EDRDetects malicious behavior on endpointsNeeds telemetry, often online updates
How an air gap relates to neighboring defenses

These controls are complementary. Many isolated networks still run application allowlisting and offline integrity monitoring inside the gap, because an air gap only blocks the network vector and does nothing against malware that arrives on a trusted USB drive.

How attackers cross an air gap

Attackers cross an air gap mainly through removable media, insiders and compromised supply chains, not through exotic physics. The best-known case, Stuxnet, reached isolated uranium enrichment controllers in Iran through infected USB drives and then manipulated centrifuge speeds while reporting normal values to operators.

Attack vectorExampleCountermeasure
Removable mediaInfected USB drive or optical discDedicated scanning kiosk, media control policy
Supply chainTampered firmware or update packageSigned updates, verified hashes, vendor vetting
Malicious insiderEmployee copies data to personal mediaTwo-person rule, port blocking, logging
Temporary connectionsLaptop connected for maintenanceHardened maintenance devices, supervised sessions
Covert channelsData leaked through sound, light, heat or radioShielding, distance, removal of speakers and LEDs
Air gap attack vectors and countermeasures

Academic research has demonstrated covert exfiltration channels through fan noise, hard drive LEDs, power line fluctuations and electromagnetic emissions. These attacks are real but slow, usually moving bits or a few kilobytes per second, and they require malware already running inside the gap. They therefore matter mostly for high-value targets with determined adversaries.

Operating an air-gapped network safely

Operating an air-gapped network safely depends on disciplined transfer procedures more than on the gap itself. Every crossing should be treated as a controlled event with a defined owner, an approved medium and a recorded result.

  • Route all incoming files through a dedicated scanning station with several malware engines and file-type checks.
  • Use write-once or single-purpose media and destroy or sanitize it after each transfer.
  • Verify cryptographic hashes and signatures of every software update before import.
  • Plan for offline patch management, because isolated systems otherwise fall years behind on fixes.
  • Test the isolation regularly with wireless surveys and port audits to detect unauthorized bridges.

A frequent failure mode is gradual erosion: a temporary remote access link added for a vendor, a forgotten cellular modem in a controller cabinet or a dual-homed workstation. Each one quietly turns a strict air gap into an ordinary network with weak monitoring.

Put simply

An air gap means keeping an important computer completely disconnected from the internet and other networks. It is like storing valuables in a room with no doors to the street: nobody can break in remotely.

The weak point is everything that people carry in and out, such as USB sticks, laptops and software updates. The gap only works if those crossings are strictly controlled.

In practice

A mid-sized water utility runs the control system for its treatment plant on an isolated network of about 40 machines. There is no cable or wireless link to the office network. Operators receive vendor patches on new USB drives, which are first inserted into a scanning kiosk in a separate room, checked against published hashes and then carried in under a two-person rule.

The utility also keeps an air-gapped backup of its office servers on removable disk cartridges stored in a locked cabinet and rotated weekly. When ransomware later encrypts the office file servers and the online backups, the plant keeps operating normally, and the office restores its data from cartridges the malware could not reach, losing only four days of work.