Removable Media and USB-Based Attacks
What you'll learn: How attackers exploit USB drives and external storage to deliver malware and bypass network security controls.
The Hidden Threat in Your Pocket
Removable media—USB flash drives, external hard drives, SD cards—represent a physical infection vector that bypasses many network-based defenses. Unlike email or web-based attacks that must traverse firewalls and filters, a USB device plugs directly into a trusted system.
How USB Attacks Work
Autorun Exploitation was historically devastating. When you inserted a USB drive, Windows would automatically execute code specified in an autorun.inf file. Attackers crafted malicious drives that installed malware the moment you plugged them in—no clicking required. While modern systems disable autorun by default, legacy systems and certain configurations remain vulnerable.
BadUSB Attacks exploit the fundamental trust model of USB. A USB device identifies itself by its firmware—a flash drive says "I'm storage," a keyboard says "I'm input." BadUSB reprograms device firmware to lie. Your innocent-looking USB stick announces itself as a keyboard and "types" malicious commands at machine speed, bypassing antivirus entirely. The attack lives in firmware, not files, making it nearly undetectable.
Malware Propagation treats USB drives like digital rats spreading plague between air-gapped networks. Malware watches for USB insertion, copies itself to the drive (often as hidden files), then waits. When you plug that drive into another computer—even one isolated from the internet—the infection spreads. This technique famously bridged air gaps in industrial control systems.
Real-World Impact
These attacks work because they exploit human behavior: finding an abandoned USB in a parking lot and plugging it in "just to see what's on it." That curiosity is exactly what attackers count on.
Key Takeaway: USB-based attacks bypass network defenses by exploiting direct physical access, firmware trust, and human curiosity—making removable media policies and endpoint controls critical defensive layers.