GlcdP

MyBadUSB

 
Overview

※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 
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 17:36:31

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号