USB Rubber Ducky is a device looks like a normal thumb drive. However, for computer, it is like a keyboard that could operate the host with ducky script which could be translate into normal keyboard inputs.
- ie. USB Rubber Duck
- To store inject.bin for sending payloads
- To convert ducky script into hex executable files
1. Download the duck encoder jar file for compiling payloads
wget -O ~/Downloads/duckencoder.jar https://github.com/hak5darren/USB-Rubber-Ducky/raw/master/duckencoder.jar
- Syntax reference here
- Use duckencoder.jar from step1 to compile and load the script we just created into microSD card
java -jar ~/Downloads/duckencoder.jar -i ~/Downloads/ducky-script.txt -o /Volumes/NO\ NAME/inject.bin
5. Insert the mcroSD card into the keyboard adapter and attack a computer by plugging the keyboard adapter into target
2. Youtube Bomb
[1] https://shop.hak5.org/products/usb-rubber-ducky-deluxe
[2] https://github.com/hak5darren/USB-Rubber-Ducky/wiki
[3] https://blog.hartleybrody.com/rubber-ducky-guide/
[4] https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payloads
[5] https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Downloads