paperlined.org
+evil > USB_jacking
document updated 9 years ago, on Jan 22, 2013

This page lists hardware that can be used to perform USB jacking.

USB jacking is where an attacker plugs a device into a USB port, and the physical device visually looks like a large thumb drive, but the computer being attacked sees it as several different logical devices (eg. USB CDROM, USB keyboard, USB mouse, USB network card). Multiple logical devices can be presented to the computer, and they can work together to carry out an attack.

USB jacking is frequently used to extract information from a computer that's been left unlocked for a few moments. Because the attack is automated, it can be completed in a short period of time, so it can be used when the computer's owner has briefly stepped away.

Another way it's used is as an enhanced version of dropping thumbdrives in an organization's parking lot, as a way to target extremely secure (air-gapped) computers.

hardware requirements

At a minimum, the device must either have a USB-device port or a USB OTG port (OTG ports can operate in either USB-host or USB-device mode). A USB-host port isn't sufficient.

Preferably, the device is small and unobtrusive to passersby who might observe the attack in progress. If it's small enough to visually mimic a thumbdrive, it would be able to deliver its payload without the attacker being physically present.

hardware overview

specialized flash drives

A few flash drives have the ability to appear to the computer as both a USB mass storage device as well as a USB CDROM. The CDROM is used to trigger an autorun.

microcontrollers

Cons: generally MUCH more primitive hardware (less space for storing payload, and code must be custom compiled and is less featureful). Pros: They're very small, and are the easiest way to visually mimic a thumbdrive.

Android phones

Pros: They're ubiquitous, and are something you always carry with you. Cons: Requires kernel hacking to setup.

PC-on-a-stick

See more here.

similar to Raspberry Pi

Raspberry Pi doesn't have a USB-device port (only USB-host ports, and one port that is wired for power only), but there are similar boards that do: