USB Rubber Ducky
termKept 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
Sources
- Hak5 documentation, USB Rubber Ducky (read 2026-11-16): introduced in 2010 by founder Darren Kitchen; mark I (2011) and II (2022); DuckyScript 1.0 to 3.0; legal notice and export statement
- Hak5 shop, USB Rubber Ducky product data (read 2026-11-16): listing published 20 September 2011; $100, Pro $110, Elite $130; USB-A and USB-C connectors, microSD; keyboard, mass storage or both
- Hak5 documentation, Attack Modes (read 2026-11-16): HID, STORAGE, OFF; VID and PID spoofing; default identifiers USB Input Device and serial 111111111111
- Hak5 documentation, Exfiltration (read 2026-11-16): Keystroke Reflection uses the lock-key LED output report as an exfiltration path; Windows and Linux, very limited macOS
- TechRadar, 17 August 2022 (read 2026-11-16): Darren Kitchen showed the new Rubber Ducky at DEF CON; OS detection and exfiltration through keyboard lights