The USB stick was lying under a car in the car park. 17 minutes later it was inside the network.
A financial services firm in Frankfurt. USB ports locked via group policy — mass storage blocked, documented, audited. The IT department was proud of this measure. They had even installed physical USB blocker plugs in the conference rooms: small orange plastic caps mechanically sealing every port.
As part of an authorised red team engagement, our testers placed three prepared USB devices in the company car park — one under a vehicle, one near the entrance, one labelled Salary_Overview_2025_final.xlsx. None of them were mass storage devices. All three registered on a Windows host as a USB keyboard.
17 minutes after the first device was found, an employee opened a PowerShell session. Not because they were careless. Because their operating system treated the device as a trusted input source — exactly as it would treat any real keyboard. The USB policy had perfectly prevented what it was designed to prevent: mass storage. The actual attack vector had never been addressed.
USB blockers for mass storage are not a USB security measure. They are a protection against one specific device class — while the more dangerous classes pass through unchallenged.
Why USB security is structurally misconceived in most organisations
The problem is not the failure of individual measures. It is a fundamental misunderstanding of what makes USB dangerous as an attack vector. Most USB security frameworks were built to prevent data leakage — employees copying data onto sticks and walking out. The control mechanism: block mass storage.
Attackers do not use USB for data transport. They use USB as an execution channel — a way to run code on a target system without a file ever being recognised as a file. The critical difference: a mass storage block prevents the former, not the latter.
The three USB attack categories no storage block prevents
A Rubber Ducky, an O.MG Cable, and a LAN Turtle together cost under €300. The countermeasure — if it is based on mass storage blocking — prevents none of these three devices. They simply belong to different device classes.
The USB blocker myth: what it does and what it does not
"We have USB ports locked" — what that actually means
In most organisations, "USB locked" means one of two things: either a Windows group policy that blocks USBSTOR devices — mass storage — or physical USB blocker plugs installed in conference room ports.
Both measures block the same device class: USB Mass Storage (Class 08h). They do not block: HID devices (Class 03h — keyboards and mice), network adapters (Class 02h/0Ah), audio adapters, serial adapters, or chargers.
A Rubber Ducky or O.MG Cable registers as USB HID – Keyboard. The operating system accepts it without question — exactly as it would accept any other keyboard. The group policy sees no mass storage device and lets it through. The physical USB blocker plug sits in the port next to it.
The measure is not wrong. It is incomplete. And incomplete security measures communicated as complete are more dangerous than none at all — because they create a false sense of security.
How a HID attack works in practice
A Rubber Ducky attack takes between three and thirty seconds depending on the payload. The device only needs to be plugged in briefly — it requires no persistent connection, no active user interaction, and leaves almost no trace in the system log without dedicated monitoring.
The O.MG Cable: when the charging cable is the weapon
The O.MG Cable is the conceptually most unsettling representative of this device class — not because of its technical complexity, but because of its camouflage. It looks exactly like an ordinary USB-C or Lightning cable, including authentic packaging and connector finish. Inside: a complete microcontroller with a WiFi access point.
The physical attack scenario: a tester leaves the cable in a conference room — or swaps it for the cable already lying there. An employee charges their phone. The attacker connects to the cable over WiFi and begins injecting keystrokes into the connected computer — from outside the building, without being physically present.
The O.MG Cable works even when no computer is connected — it waits patiently for the next connection. A cable left on a desk is not lost accessories. It may be an active implant.
LAN Turtle and network implants: the silent resident in the server rack
While HID attacks are designed for rapid execution, network implants target persistence. A LAN Turtle or comparable device is inserted between a workstation and its network port — or into a free USB port on a switch, printer, or IP phone. It routes all network traffic through itself, giving the attacker persistent remote access.
These devices are particularly dangerous in environments with a lot of hardware that no one checks daily: network cabinets, printer stations, meeting room equipment, reception PCs. A device that looks like a USB Ethernet adapter raises no visual suspicion — and is not flagged by most endpoint security solutions because it registers as a legitimate network adapter.
Risk matrix: which devices bypass which measures
| Device | USB Class | USBSTOR Block | Phys. USB Blocker | EDR Detection | Risk |
|---|---|---|---|---|---|
| Standard USB stick | 08h Mass Storage |
✓ Blocked | ✓ Blocked | Usually detected | LOW |
| Rubber Ducky | 03h HID Keyboard |
✗ Passes | ✗ Passes | Rarely detected | CRITICAL |
| O.MG Cable | 03h HID Keyboard |
✗ Passes | ✗ Passes | Barely detected | CRITICAL |
| LAN Turtle | 02h CDC Network |
✗ Passes | ✗ Passes | Rarely detected | HIGH |
| Bash Bunny | Variable (Multi) | Partial | ✗ Passes | Variable | HIGH |
| USB Killer | Charger (appearance) | ✗ Passes | ✗ Passes | Not detectable | MEDIUM* |
* USB Killer: risk of data loss LOW; risk of hardware destruction and operational outage HIGH — particularly in critical infrastructure environments.
Why rogue devices are a physical pentest problem
USB attacks are frequently treated as a purely technical problem — owned by IT security, endpoint management, and group policy. That framing is too narrow. The decisive question is not how the device executes on the system. The decisive question is: how does the device reach the building and the port?
The answer to that is a physical problem. A rogue device needs physical access — to the workstation, the conference room, the network cabinet. And that access is enabled by the same vectors we cover throughout this series: visitor management weaknesses, tailgating, social engineering after OSINT recon.
In our physical pentests, we test USB drop scenarios as a standard component — not because USB drops are always the target, but because they illustrate the connection between physical access and network compromise most directly. Getting an employee to plug in a prepared device collapses the entire network security stack in a single step.
A USB drop is not a technical attack. It is a physical attack with technical effect. The firewall, the EDR, the SIEM — they all see the attack only after the device is already plugged in. The only point at which it can be prevented is physical access.
What actually protects — and what only simulates security
Complete USB hardening requires three layers: physical access control (who reaches the port), technical device control (what is permitted to register at the port), and awareness (who plugs in what, when, and why). All three must hold — one alone is not enough.
- Device whitelisting instead of storage blocking: The correct approach is not blocking a device class but whitelisting explicitly authorised devices — by hardware ID, vendor ID, and serial number. Solutions such as Windows Defender Device Control, Ivanti, or Symantec Endpoint allow granular control at device identity level, not class level.
- HID filtering for unauthorised keyboards: Some EDR solutions and specialised tools (e.g. USBGuard on Linux, or commercial HID filters) can block new HID devices or require user confirmation. This prevents the automated Rubber Ducky attack — at the cost of some friction with legitimate hardware.
- Physical port security across all locations, not just conference rooms: If USB blocker plugs are used, they must consistently cover all exposed ports — including the backs of workstations, docking stations, IP phones, printers, and network switches. A half-secured system is not a secured system.
- Cable policy for conference rooms: Cables left in meeting rooms are an easy attack surface. A policy requiring that no personal cables be connected to company hardware reduces O.MG Cable risk — but requires active enforcement and genuine awareness.
- Secure network cabinets and hardware access points: Free USB ports on switches, printers, and IP phones must be physically disabled or sealed. Network cabinets require access control. A LAN Turtle in an open rack is a backdoor no software tool can close.
- Awareness training with concrete examples: "Don't plug in unknown USB sticks" is familiar. "A charging cable can be a weapon" is not. Awareness training must demonstrate the actual attack vectors — with real devices, real demonstrations, concrete consequences. Abstract policies do not change behaviour.
- USB drop testing in the physical pentest: The only way to know whether employees will plug in a prepared device is to test it. We run USB drop scenarios as part of physical assessments — using harmless payloads that only log a callback without exfiltrating data or modifying systems.
The single most effective measure is not technical — it is spatial: without physical access to the workstation, no rogue device can be placed. Physical access control is the first line of defence against USB attacks — not the last.
Conclusion: the most dangerous USB device looks like a charging cable
USB security in most organisations is a compliance exercise: mass storage blocked, audit passed, box checked. The actual attack vector — HID spoofing, network implants, prepared cables — lies entirely outside that control. Not because the measures are wrong, but because they address a different threat than the one being exploited.
The consequence is not a call to ban USB entirely. It is a call to rethink USB security: from device-class blocking to identity-based whitelisting, from software policies to physical port hardening, from abstract guidelines to concrete awareness training.
And: from the assumption that a USB attack is a technical problem, to the understanding that it begins with physical access. Controlling access controls the risk. What happens outside the door determines what is possible behind it — for more on that, see our posts on visitor management and Remote Recon to Physical Breach.
Would your employees plug in a prepared USB device?
We test USB drop scenarios, HID attacks, and physical network implants as part of a full physical security assessment. Free initial consultation, no commitment.
Request a Physical Assessment →