A BadUSB Human Interface Device project that can store and execute 256 scripts at a time.
This project uses a microSD breakout module with a microSD card to store and execute the scripts from.
The scripts are executed according to the positions or states of the dip switches connected to the board.
This project requires the following prerequisites to be created:
- Arduino Pro Micro (Leonardo)
- microSD breakout module
- SD Card
- 8 way dip switch
Arduino microSD
VCC --> VCC
D15 --> SCK
D14 --> MISO
D16 --> MOSI
GND --> GND
10 --> CS
The 8 pins on one side of the dip switch are connected to pins 2 through 10.
The 8 pins on the other side are together connected to GND.
Download the binaries from the latest releases. There are two ways by which the code can be uploaded, by using either Arduino IDE or AVRdude.
- Open the
BadUSB256.ino
file in Arduino IDE - Update your libraries if not done already
- Select the correct board and port
- Set the programmer to
AVRISP mkII
- Upload
- Open the
core.hex
file in AVRdude - Update your libraries if not done already
- Set the programmer to
AVRISP mkII
- Select the correct port
- Upload
The script naming convention is according to the switch states. Therefore, if all switches are in an off state, the script "00000000.txt"
will be executed and it will execute script "11111111.txt"
if all of them are in an on state.
The REPEAT
feature of the Ducky script has not yet been implemented.
I am no way responsible for any misuse of the device or its source code. If you try to gain unauthorized access to information and get caught using my project and then point your finger at me, I will laugh at you and tell you to cry a river.
STAY RESPONSIBLE.