Arduino Based Rubber Ducky
- Arduino Uno
- dfu-programmer (brew install dfu-programmer)
- python3 (brew install python3)
- arduino-cli (https://github.com/arduino/arduino-cli)
For OSX : brew install dfu-programmer python3 arduino-cli
Install arduino-cli (https://github.com/arduino/arduino-cli)
This is the output of --help
usage: duckyduino.py [-h] [--flash] [--unflash] [--upload]
Rubber Ducky for Arduino Uno
optional arguments:
-h, --help Show this help message and exit
--flash, -f Flash your Arduino into a malicious HID Device
--unflash, -uf Revert your Arduino into a regular serial device
--upload, -up Upload .ino sketch to Arduino
There are 2 steps to flash your Arduino into HID Keyboard as Rubber Ducky:
- Upload duck sketch
python duckyduino.py -up sketch/helloworld
- Flash
python duckyduino.py -f
To update duck scripts you have to restore your Arduino into default
python duckyduino.py -uf
How to put Arduino into DFU mode