This can be also called as hid payload attacks.
Make rubber ducky usb.
The usb rubber ducky is an awesome device for penetration testing and general mischief.
Ever wonder to make your own rubber ducky.
Just for the people who doesn t know what exactly is usb rubber ducky it is a keystroke payload injection tool disguised as a usb flash drive.
I thought of showing you something more interesting than a hello world script so i made this one.
The bad usb is a capable instrument in the event that you have entry to.
Android mobiles can also be used to make a usb rubber ducky if an android device is rooted we may use it as a rubber ducky device.
A simple rubber duck script language creates the payload that can be used to place reverse shells for penetration testers inject binary files get cached passwords and perform many other automated functions.
More detailed instructions can be found here.
Since the duck encoder is based upon rubber ducky we will use duckyscript as the language.
A usb rubber ducky is a button payload injection tool that costumes itself as a usb flash drive.
The syntax is rather easy.
I don t want to be competitive against the hakshop.
It works based on hid functionality.
Remember that you won t have the capacity to get to the memory while your usb drive is faking a hid gadget.
Android mobile must be rooted.
A 10k resistor is soldered between the pro micro ground to the digital pin 8.
For usb rubber ducky there is a whole website with a friendly interface which lets you create any scripts for your device online.
Normally if you bought a usb stick from my webshop it should be fine.
Connect the 5v pin of the pro micro to another pin of the switch.
The bad usb may not deal with each windows pc including mine since it might be inept at stacking drivers.
We will go ahead and create a txt file in our preferred directory e documents bad usb duckencoder script txt.
It would be better and faster for executing or writing the payloads.
For convenient work save the file under c fw.
Make your own usb rubber ducky.
To finish up the usb rubber ducky connect the usb adapter to the pro micro and fit it in the case.
Solder a wire between pin 8 and the common connection of the switch.
You may ask yourself in which language we are going to write our script.
And can perform all the operations that an original ducky can perform.
To make usb rubber ducky from android.
So now that we now for sure that the stick u have has the right nand chipset we can start making the usb rubber ducky.
Moving on to rubber ducky.
This is in addition to the list of finished scripts which are available on the project s github.
Computers recognize these usb devices as a regular hid keyboard and allows to execute pre programmed keystroke payloads.