Skip to content

A BadUSB Human Interface Device project that can store and execute 256 scripts at a time.

Notifications You must be signed in to change notification settings

endbehavi0r/BadUSB256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BadUSB256

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.

Prerequisites

This project requires the following prerequisites to be created:

  • Arduino Pro Micro (Leonardo)
  • microSD breakout module
  • SD Card
  • 8 way dip switch

Setup

Connections:

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.

Uploading:

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.

Arduino:

  • 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

AVRdude:

  • 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

Note:

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.

About

A BadUSB Human Interface Device project that can store and execute 256 scripts at a time.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages