This BAD-USB made out from Arduino Pro Micro can not only run HID scripts but ow can program viruses.
This concept of using Arduino Promicro as a BAD-USB was originated from a very famous YouTuber " Seytonic " and using the same hardware I made a new type of HID script which is actually for a command-line based virus.
YOU CAN WATCH THE DEMO HERE:
So let's start:
Step 1: Build The circuit ;
This is the connections for the SD Card Module with Arduino Pro Micro
VCC -> VCC
D15 -> SCK
D14 -> MISO
D16 -> MOSI
GND -> GND
D4 -> CS
Actually, if you want you can completely pack the whole thing in theshape of a USB Drive.
Step 2: Arduino IDE configs;
now visit this link (https://github.com/arduino-libraries/Keyboard) for the "Keyboard.h" library and add the downloaded.zip file to the Arduino Library.
To do so, open the Arduino IDE goto -> Sketch >>> Include Library >>> Add.ZIP Libraries.
now restart your Arduino IDE.
Step 3: Building the Interpreter;
It was quite difficult to press multiple buttons at a time so we will use this code as an interpreter which understands the HID scripts which we will make.
Download the badusb_interpreter.ino file from my GitHub
https://github.com/ashfaquekhan/BAD-USB/tree/master
and then upload the sketch to your Arduino Pro Micro
Step 4: Uploading the VIRUS's Script to the SD card;
Now from the same Github link (https://github.com/ashfaquekhan/BAD-USB/tree/master) download the file name script.txt and save that file in any formatted SD card which you will be using with the SD card module.
You can learn the way of writing hid scripts from the "script.txt" file, and build your own HID scripts.
Now you are all set just plug in the Arduino Pro Micro, and see the magic.
[****NOTE: If the script doest runs properly on your computer just open the scirpt.txt file and increase the DELAY values, for example, delay(1000)= 1 second, so keep the minimum delay as per your PC's performance ]
EXTERNAL INFO ABOUT THE VIRUS:
You do not need to worry about the viruses as they are very basic and non-harmful viruses made using batch.
The first one in which the BAD-USB programs; is a VBS script to open the CD Drive and speak a message, followed by the second one, which is a BAT file to show each and every saved wifi password on your computer.
Comments