USB Rubber Ducky

term

hackingsecurity

Kept in this browser · My desk

Hak5's keystroke injection tool: a device in a flash-drive case that a computer recognizes as a keyboard, a flash drive or both, and that types a compiled DuckyScript payload.

Hak5 says it introduced keystroke injection with the Ducky in 2010; its guide covers hardware mark I (2011) and II (2022), and the shop listing dates from 20 September 2011. The 2022 model added DuckyScript 3.0 and Keystroke Reflection. On 16 November 2026 Hak5 listed it at $100, with bundles at $110 and $130, for authorized assessments, teaching and automation.

What a host sees. Its ATTACKMODE command chooses a keyboard (HID), a flash drive backed by its microSD card (STORAGE), both, or nothing (OFF), and can set vendor and product identifiers, for instance to copy a known keyboard or to suppress the macOS Keyboard Setup Assistant; by default it reports itself as USB Input Device with serial 111111111111. Features. DuckyScript 3.0 adds variables, conditionals, loops, functions, randomization and jitter; Keystroke Reflection uses the lock-key LED output report to carry data back to the device, which Hak5 says works through PowerShell on Windows and Bash on Linux. History and dispute. Hak5's shop says the Ducky invented keystroke injection, sometimes called BadUSB; Crenshaw presented a Teensy keystroke dongle in July 2010, and SRLabs used BadUSB in 2014 for reprogrammed controllers. Terms. Hak5's documentation limits use to education and authorized auditing where permitted and restricts availability to the export-control category it names.

Also known as: Rubber Ducky, USB Rubber Ducky Mark II

← Back to U Back to the glossary