insecurityofthings / uDuck

Licence: other
USB Rubber Ducky for ATTiny85

Programming Languages

Eagle
155 projects
c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language
SourcePawn
201 projects
assembly
5116 projects
Makefile
30231 projects
C++
36643 projects - #6 most used programming language

μDuck

μDuck is stealth HID injector. It's a very small USB device that acts like a scripted keyboard. This can be used for automation and lulz, and has obvious security implications. It's quite similar in functionality to the Hak5 Rubber Ducky, and even uses the same syntax to define the scripted input.

μDuck hardware

When μDuck is connected, it will wait 2 seconds in programming mode before switching to a keyboard. This is to allow the payload to be updated with the Python tool provided. It will wait 5 seconds before the first HID injection, then retry the payload automatically at 60 seconds, 5 minutes, and then every 4 hours with +/- 1 hour of random variance. This ensures reliable delivery, but expect that your payload may run more than once.

Building a μDuck

The μDuck is quite inexpensive -- all the parts cost around $2 per unit. However, you will need some tools and know-how to get started. For more information, see the README file in the doc directory.

Credits and License

The hardware is borrowed from this blog. The software is a modified version of "CapsLocker", which can be found here. Our customized hardware design can be found in the "hardware" folder.

Our Python code and hardware design is MIT licensed. The USB firmware is licensed according to the terms of Objective Development's vUSB and GPLv2.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].