An air gap removes the network path to a system, but every air-gapped network still needs data, updates and people to cross it, and that crossing is where real attacks have landed. NIST's glossary, drawing on CNSSI 4009-2022, describes an air gap as an interface between two systems with no physical connection and no automated logical connection, where data is transferred only manually, under human control. This guide covers how to design an air-gapped environment, the bridging routes that undermine it, and how to move data in and out safely. It is written for architects and security teams running OT and industrial networks, classified or high-assurance systems, offline certificate authorities and isolated recovery environments. For the attacker technique of carrying data out on physical media, see MITRE ATT&CK T1052 Exfiltration Over Physical Medium.
Key takeaways
- The transfer process is the security boundary. Once the cable is gone, the controls that matter are how media, files, updates and maintenance laptops cross, and who is allowed to carry them.
- USB is the observed attack route. ESET's study of 17 known air-gap attack frameworks found all of them used USB drives, more than 75% used malicious LNK or autorun files, and it found no case of covert physical channels being used.
- Defend against observed techniques first. Removable media control, execution blocking from USB and a dedicated scanning and transfer station address far more risk than acoustic or electromagnetic exfiltration research.
- Import and export need different controls. Imports are about stopping malicious content (transform, verify, scan); exports are about releasing only approved data.
- "Air-gapped" claims drift. Vendor remote access, a dual-homed engineering workstation or a cellular modem quietly turns an isolated network into a connected one, so verify isolation regularly.
Where air gaps are used and what they protect
An air gap is a deliberate trade: you give up convenience and fast patching in exchange for removing remote network attack paths. Decide what the gap is for before designing it, because the purpose drives which direction data must flow.
| Use case | What the gap protects | Typical data flow | Main residual risk |
|---|---|---|---|
| OT and industrial control (safety systems, critical process control) | Availability and safety of physical processes | Mostly outbound (historian data, reports); inbound for patches and logic changes | Engineering laptops and vendor media carrying malware in |
| Classified and high-assurance networks | Confidentiality of sensitive information | Inbound for updates and reference data; tightly controlled outbound release | Unauthorised export by insiders or malware using removable media |
| Offline root certificate authority and key ceremonies | Root private keys | Inbound certificate signing requests; outbound signed certificates and CRLs | Ceremony media reused or uncontrolled |
| Isolated recovery environment and offline backups | A clean copy of data and identity systems after ransomware | Inbound replication windows; outbound only during recovery | The replication or management path becoming a permanent connection |
| Test ranges and malware analysis labs | The production network from what is being tested | Inbound samples; outbound reports | Analysts moving files back on shared media |
For isolated backup copies, see the Cyber Recovery Vault Guide and Immutable Backups vs Offline Backups. For OT network design in general, NIST SP 800-82 Rev. 3 (Guide to Operational Technology Security, September 2023) is the primary US reference.
Designing the isolated environment
Isolation is a property of the whole environment, not of one firewall rule. A defensible design covers the following.
- Physical separation: dedicated switches, cabling and racks, with no shared VLAN trunks or management networks with connected systems. Label ports and cables so a patch lead into the corporate network is visible on inspection.
- No wireless interfaces: remove or disable Wi-Fi, Bluetooth and cellular modules in hardware where possible, and specify this at procurement. Many industrial gateways and laptops ship with radios enabled.
- Local services: the environment needs its own time source, directory or local account management, update repository, logging and backup, because it cannot reach the corporate versions. Each of these is a service you must secure and maintain.
- Hardened endpoints: application allowlisting, Autorun disabled, unused ports physically blocked or disabled in firmware, BIOS or UEFI passwords set, and boot from external media disabled.
- Physical access control: the room or cabinet is the perimeter. Badge access, logging and two-person rules for sensitive rooms carry much of the weight that network controls carry elsewhere.
- Documented flows: every approved route across the gap (media transfer, one-way gateway, maintenance laptop) recorded with owner, direction, data types and frequency.
Where data must leave continuously, such as historian feeds from OT, a hardware one-way link can replace manual transfer while keeping the inbound direction closed. Strictly that is no longer an air gap under the NIST definition, but it is often the safer choice than daily USB transfers. See the Data Diodes and Unidirectional Gateways Guide.
Bridging risks: how air gaps are crossed
ATT&CK documents several techniques used against disconnected networks, and its T1091 entry names malware families described as targeting air-gapped systems through removable drives. ESET's research found that about half of the frameworks it studied were one-directional (data only out), and that the rest supported a small command set carried on USB drives.
| Bridging route | How it undermines the gap | ATT&CK technique | Primary controls |
|---|---|---|---|
| Infected removable media brought in | Malware on a USB drive executes or spreads on insertion or when a user opens a file | T1091 Replication Through Removable Media | Media control, execution blocking from USB, scanning station |
| Removable media as a covert command channel | Commands and stolen data shuttle on drives that travel between connected and isolated hosts | T1092 Communication Through Removable Media | Dedicated, one-direction media; wipe between uses |
| Data collected and carried out | Malware or insiders stage data onto drives for export | T1025 Data from Removable Media, T1052.001 Exfiltration over USB | Write blocking, export approval, file logging |
| Rogue or unauthorised hardware | Cellular modems, wireless dongles or network taps added to isolated hosts | T1200 Hardware Additions | Device installation restrictions, physical inspection, RF surveys |
| Compromised software or updates | A tampered installer or update package is carried in through the approved process | T1195.002 Compromise Software Supply Chain | Signature and hash verification against an independent source |
| Maintenance and vendor laptops | A transient device connected to both worlds carries malware in and data out | T1091, T1200 | Dedicated maintenance devices that never leave the environment |
For the individual techniques, see MITRE ATT&CK T1091 Replication Through Removable Media, MITRE ATT&CK T1092 Communication Through Removable Media and T0864 Transient Cyber Asset. The Tropic Trooper Threat Actor Profile describes one group's air-gap tooling.
Academic research has demonstrated covert exfiltration through acoustic, electromagnetic, thermal and optical channels. ESET found no case of these being used in real attacks among the frameworks it studied, so treat them as a concern for the highest-assurance environments (where emission security and shielding standards already apply) rather than as a reason to skip basic media controls.
Safe data transfer: import and export
The NCSC "Safely importing data" pattern sets out an order of controls for bringing content into a more trusted system: a transformation engine on the low side, a protocol break, flow control (such as a data diode), a second protocol break and a verification engine on the high side. Manual air gaps can borrow the same logic: simplify, check, and keep each step in series so none can be bypassed.
Import procedure
- Request and approve. A named requester states what is coming in, why and from where; an owner approves.
- Obtain from a trusted source. Download vendor updates from the vendor's official site and record the published hash or signature.
- Transfer to dedicated media. Use media that only ever travels inbound, issued from a controlled pool, never personal or vendor-supplied drives.
- Scan and transform at a transfer station. A standalone, hardened station with more than one anti-malware engine scans the content; complex formats (Office, PDF) are converted to simpler ones or have active content removed where the business allows it, following the NCSC transformation and verification approach.
- Verify integrity. Check signatures and hashes against values obtained independently of the media.
- Load and record. Copy onto the isolated side, log what was transferred, by whom and to which systems, then wipe or quarantine the media.
Export procedure
- Release approval: exported data is reviewed and approved by an owner who understands its sensitivity, with a reason recorded.
- Least data: export reports and extracts, not raw databases or whole file shares.
- Separate outbound media: never reuse inbound media for export, and keep exported media logged until it is wiped or destroyed.
- Write blocking by default: isolated hosts deny writes to removable storage except at the designated export point.
The NCSC's cross domain principles warn that when controls get in the way, people adopt less secure workarounds such as USB sticks. A transfer process that takes days invites someone to carry an unapproved drive, so resource the transfer station properly.
Removable media and device control
ATT&CK lists three mitigations for T1091: M1040 Behavior Prevention on Endpoint, M1042 Disable or Remove Feature or Program (turn off Autorun) and M1034 Limit Hardware Installation. On Windows estates these translate into concrete settings.
- Attack surface reduction: Microsoft Defender's rule "Block untrusted and unsigned processes that run from USB" (GUID b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4), run in audit mode first, then block.
- Device control: allow only approved removable storage by serial number or vendor and product ID, and set read, write and execute separately, so an import drive can be read but not written and nothing executes from it. Microsoft documents these as device control policy options in Defender for Endpoint.
- Device installation restrictions: Windows device installation policies can allow or deny drivers by device ID, device instance ID or setup class through Group Policy or Intune, which also blocks unapproved network adapters and modems.
- Offline operation: confirm that any endpoint protection you rely on can enforce policy and update signatures without cloud connectivity, and plan how signature updates enter through the import procedure.
For Linux and embedded systems, use USB device authorisation (for example udev rules or USBGuard-style allowlists) and mount removable media with noexec where the platform supports it.
Updates and maintenance without a network
Air-gapped systems tend to fall behind on patches, which turns any successful bridging event into an easy compromise. Plan updates as a routine, not an exception.
- Local repository: run an internal update server (for example a disconnected WSUS instance or a local package mirror) fed only through the import procedure.
- Cadence: set a fixed import cycle, such as monthly, with an emergency route for critical fixes, and track patch age as a metric.
- Dedicated maintenance devices: engineering and vendor laptops for the isolated network stay inside it, are hardened, and are reimaged on a schedule. Vendors work on your device, not theirs. See the Hardware Maintenance, Repair and RMA Security Guide.
- Hardware leaving the environment: failed disks and returned devices are sanitised or destroyed before they leave.
Where identity fits
Isolated environments usually have their own accounts, because they cannot use the corporate directory. That creates local administrator accounts, shared engineering logins and service accounts whose passwords are rarely rotated, since rotation tooling is often cloud-connected. Give each person a named account, keep administrator credentials in an offline vault or sealed envelope process with dual control, rotate on a schedule through the maintenance cycle, and log every use. For an offline root CA, the key custodians and ceremony roles are the identity controls that matter most. See the Break-Glass Account Guide.
Implementing or tightening an air gap
- Prove the current state. Inventory every device and interface, check switch configurations, look for dual-homed hosts and wireless or cellular hardware, and run a radio frequency survey of the space.
- Document approved flows. Record each route across the gap with owner, direction and data type; anything not documented is closed.
- Build the transfer station. Stand up the scanning and transformation station and the controlled media pool before restricting USB, so people have a working route.
- Restrict media in audit mode. Turn on device control and the USB execution rule in audit mode, review a few weeks of events, and add allow rules for approved devices.
- Enforce in rings. Move to block on non-critical hosts first, then engineering workstations, then control or production systems, with a documented rollback (revert the policy to audit) agreed with operations.
- Run it and test it. Exercise the import and export procedures, and test isolation periodically with a red team or physical walkthrough.
Decision guidance
- Air gap or one-way gateway: if data must leave frequently and nothing should come in, a hardware one-way gateway is usually safer than frequent manual transfers. Keep a manual air gap where flows are rare or where any connection is unacceptable.
- Air gap or strong segmentation: a well-run segmented zone with tight firewall rules may be more secure in practice than an air gap that people routinely bridge with USB drives. Choose the gap only if you will staff the transfer process.
- Small organisations: a small offline environment (a recovery copy, an offline CA) can run on a simple written procedure, a dedicated laptop as transfer station and a sealed media log.
- Large or regulated environments: expect formal cross domain solutions, accredited products and separate teams for low-side and high-side administration, as NCSC guidance recommends.
Detection and measurement
Monitoring is harder because logs cannot stream out. Collect logs on a local log server inside the environment and export them through the controlled export route, or a one-way link, for central analysis. NCSC advises that logs coming from a less trusted side are validated through the same controls before analysis.
- What to log: removable media insertion and device control verdicts (for example RemovableStoragePolicyTriggered events), process execution from removable drives, new device installations, logons, and every transfer station action.
- Metric: unapproved media events per month, trending to zero after enforcement.
- Metric: transfer turnaround, median time from approved request to data on the isolated side; long times predict workarounds.
- Metric: patch age, days since the last security update on isolated hosts.
- Metric: isolation verification, date of last switch audit, RF survey and dual-homing check, and the number of undocumented interfaces found.
- Metric: transfer station detections, files blocked or transformed, investigated each time.
Framework mapping
| Control area | NIST SP 800-53 Rev 5 | NIST CSF 2.0 | ATT&CK mitigation |
|---|---|---|---|
| Boundary and isolation | SC-7 Boundary Protection, AC-4 Information Flow Enforcement | PR.IR-01 | Not applicable |
| Removable media and ports | MP-7 Media Use, SC-41 Port and I/O Device Access | PR.PS-01 | M1034, M1042 |
| Malicious content at import | SI-3 Malicious Code Protection | PR.PS-01 | M1040 |
| Approved information exchange | CA-3 Information Exchange, AC-20 Use of External Systems | PR.IR-01 | Not applicable |
| Media sanitisation | MP-6 Media Sanitization | PR.DS-01 | Not applicable |
Common failure patterns
- The gap that is not: a vendor's remote support modem or an engineering workstation with a second network card links the isolated network to the corporate one, and nobody has checked in years.
- Shared media in both directions: the same USB drive carries updates in and reports out, which is exactly the shuttle that T1092 describes.
- Vendor laptops connected directly: a contractor plugs their own laptop into the control network to apply a fix.
- Transfer station neglected: signatures months out of date on the scanning station, or a station that is itself connected to the corporate network.
- Unpatched for years: the gap is treated as a reason not to patch, so the first piece of malware that crosses finds every host vulnerable.
- Isolation as the only control: no allowlisting, no logging and no local monitoring, so a compromise inside the gap goes unseen.
Practitioner checklist
- Write down what the air gap protects and which directions data must flow.
- Verify isolation: switch configurations, dual-homed hosts, radios and modems, and an RF survey.
- Document every approved crossing with an owner, direction and data type.
- Build a hardened transfer station with multiple scanning engines and content transformation.
- Issue dedicated, logged media for import and export separately, and wipe after each use.
- Enforce device control and block execution from removable media, after an audit period.
- Run a local update repository on a fixed import cadence and track patch age.
- Keep maintenance devices inside the environment; vendors use your hardware.
- Collect logs locally and export them through the controlled route for review.
Standards and references
- NIST CSRC: Glossary definition of air gap
- NIST: SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security
- NCSC: Pattern, Safely importing data
- NCSC: Cross domain solutions principles
- MITRE ATT&CK: T1091 Replication Through Removable Media
- Microsoft Learn: Device control in Microsoft Defender for Endpoint
- Microsoft Learn: Attack surface reduction rules reference
- ESET Research: Jumping the air gap, 15 years of nation-state effort
Related NHI Mgmt Group resources: Data Diodes and Unidirectional Gateways Guide · MITRE ATT&CK T1052 Exfiltration Over Physical Medium · Cyber Recovery Vault Guide · CISA Primary Mitigations for OT Guide · IEC 62443 Guide