USB Malware
USB malware is malicious software spread through USB drives and devices. An infected flash drive can install malware when plugged in, and some devices pretend to be keyboards and type commands automatically.
Also called: USB attack, BadUSB, infected USB drive, removable media malware, juice jacking
What is USB malware?
USB malware uses removable devices to get onto computers. CISA warns that attackers can use USB drives to spread malware and advises never plugging in drives from unknown sources. MITRE ATT&CK notes that malware spread through removable media can even reach computers that aren't connected to the internet.
How do USB attacks work?
- Infected drives: malware copies itself onto any drive plugged into an infected computer, then onto the next computer that drive touches.
- Bait drives: drives left in parking lots or mailed to businesses to tempt someone into plugging them in, see baiting.
- BadUSB devices: a device that looks like a flash drive or cable but tells the computer it's a keyboard, then types commands in seconds to download malware.
- Malicious charging cables and public ports: cables with hidden hardware, or tampered charging stations, sometimes called juice jacking.
How to protect your business
- Tell staff never to plug in found, gifted or unexpected USB devices, and to hand them to IT.
- Block or restrict USB storage through device management or endpoint security tools, allowing only approved, encrypted drives if they're needed at all.
- Turn off autorun so drives don't run software automatically.
- Use cloud file sharing instead of USB drives where you can.
- Use your own charger and cable when travelling.
Related terms
Sources
- Using Caution with USB Drives (CISA)
- Replication Through Removable Media (T1091) (MITRE ATT&CK)
Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.
