BadUSB

term

hackingsecurity

Kept in this browser · My desk

An attack, named by Security Research Labs in 2014, in which the firmware of an ordinary USB peripheral's controller is reprogrammed so that the device behaves as something else, such as a keyboard or a network card.

SRLabs published the finding on 31 July 2014 and Karsten Nohl and Jakob Lell presented it at Black Hat USA on 7 August 2014; a later survey judged that up to half of USB controller chips were vulnerable and found firmware signing in none. Adam Caudill and Brandon Wilson released code for a Phison controller at DerbyCon that autumn. The word is now also used for purpose-built keystroke injectors.

Mechanism. A thumb drive contains a microcontroller running firmware the user never sees; once reprogrammed, the device can register again as a different device, emulate a keyboard to infect the host, spoof a network card to redirect DNS, or show a hidden image to the BIOS at boot. Why defences struggle. SRLabs found allow lists weak because serial numbers are not unique, firmware scanning unreliable because malicious firmware can spoof the original, signing hard on small chips, and only hardware-disabled updates simple and effective; reinstalling the operating system does not remove an infection in a peripheral. Later work. GoodUSB (2015) enforced the user's expectation of what a device is; USBGuard on Linux blocks unexpected interface combinations; USB Type-C Authentication (2019) was found in a 2018 formal analysis not to prevent BadUSB because firmware can sign false descriptors. Usage note. Hak5, the FBI and USBGuard use the term for purpose-built devices too; in SRLabs' sense it means a reprogrammed ordinary peripheral.

Also known as: Bad USB, malicious USB firmware

← Back to B Back to the glossary