※For learning and communication purposes only, please do not use it for any purpose that may cause harm to others, otherwise you will be responsible for the consequences.
BADUSB principle: simulate a USB device (simulating a keyboard here) to input code and execute commands designed by hardware programming.
This hardware includes:
a HUB chip SL2.1A (used to expand the USB interface, allowing one USB interface to connect two devices) and
a card reader chip GL823K-HCY04 (used to expand functions, and can be used as a normal USB after adding a TF card disk use)
a USB microcontroller chip CH552G (used to simulate a keyboard device to input characters to the computer)
a USB male connector (used to connect to the computer)
Hardware features:
dual function (can be used as an introductory study of the BadUSB principle, and can also be used as a daily storage tool Use)
The design is compact and small. It is designed according to the public version of the shell. You can buy the public version of the shell online.
Note:
Code source: The pomin boss’s project open source attachment
adds some new codes based on the source code, and there are a lot of comments out in it. The code is the code I used in the process of learning and trying. The directions I tried include:
running the CMD command as an administrator,
running the CMD command in a small window,
running the CMD command to load the files in the TF card (the scalability will be greatly increased at this time)
The code in the example has been implemented to run and execute CMD commands under any input method.
The comments are not that detailed. Please learn and understand by yourself. Forgive me.
The code is burned using Qinheng's official microcontroller burning tool, which is included in the compressed package. Please refer to the online tutorial for use.
The specific delay needs to be determined based on computer performance.
This microcontroller is not programmed many times, about a few hundred times, please note.
For PCB thickness 0.8MM
demonstration video, please refer to the demonstration video, starting at 1:10 seconds