Rubber Ducky using ATtiny8LeaHackers have always tried to take control of your system, to gain your password and access the most secure data on your computer. And the best possible way is to have physical access to your PC. But sometimes it is not possible to make any physical access to a PC.
So Hacker builds some sort of hardware devices to gain the required data. One of the examples of such a device is Rubber ducky but it is a bit expensive to have such hardware if you have to buy it every time you have to target someone.
Also read this:- How to protect a folder with a password using notepad.
But there is an alternate way to do this and it is a Piece of Board which is much similar to the Arduino but a lot cheaper. Having all the functionality of a Rubber Ducky you can perform a lot of Function with it.
Digi spark ATTINY 85 USB development board it can be used as a Keystroke injection tool disguised as a Generic flash drive. The computer recognizes it as an HID (Human Interface Device) as a keyboard or mouse, due to which computer doesn’t analyze it as a harmful device. The computer accepts its pre-programmed keystroke payload at over 1000 words per minute. So within a few seconds of physical access, we can deploy some of the most advanced attacks to the victim’s computer.
- Arduino IDE
- Digi spark ATTINY 85 Development board
Step 1: Before starting to work on the board we must install the Arduino IDE on our system. It is a fairly simple process to do you can find the Arduino IDE at the following link:- https://www.arduino.cc/en/main/software
You must download the software as per your system requirement.
Step2: After installing Arduino IDE now you must download all the compatible packages of this board. So you would be able to program the board in Arduino IDE. First of all go to File à Preferences in the input field named “Additional Board Manager URLs” enter the following URL.
Step 3: Open Arduino IDE — Preferences Tools -> Board -> Boards Manager. From the drop-down menu select “Contributed”, Select the Digi stump AVR Boards package and install it.
Step 4: Now go to Tools à Board, and select Digi spark (default-16.5Mz) and you are all set for the programming the board.
Step 5: As now your setup is ready now you have to go to Sketch à Include library and Select Keyboard or HID
Step 7: Copy the selected script and convert it, so we can burn it in Digi Spark board. To covert, the script follow the link:-
It would help you a lot to convert any rubber ducky script to a form which is more compatible for Arduino IDE.
Step 8: After converting the script copy the converted script into your Arduino IDE and upload it to your Digi spark board. And that’s all you are all set to execute keystrokes at lightning speed.
Note: before running it on any device please make a trial run as sometime due to change in version of OS you may not get satisfying results.