This project utilizes an Arduino Pro Micro to emulate a keystroke, enabling HID attacks to the Rubber Ducky. The device reads Ducky scripts from an SD card and executes predefined actions.
- Hacker Nowful
- Instagram: @mr_white_hat._
- YouTube: Hacker Nowful
- Website: Hypesec Infotech
-
Connect the Arduino Pro Micro to the SD card as follows:
- Pro Micro Pin - SD Card Pin
- D4 - CS
- D15 - SCK
- D16 - MOSI
- D14 - MISO
- VCC - VCC
- GND - GND
-
Upload the provided code to the Arduino Pro Micro.
-
Required Libraries:
Keyboard.h
SD.h
SPI.h
-
Example Code:
#include "sd_ducky.h" void setup() { activateducky("script.txt"); } void loop() { // Nothing needs to be done here. }
-
Create Ducky scripts and save them on the SD card with the filename
script.txt
.
Create a Ducky script (e.g., script.txt
) and save it on the SD card. Below is an example Ducky script:
DELAY 500
STRING notepad
ENTER
DELAY 800
STRING Hello, this is a Ducky script!
ENTER
- Power on the Pro Micro, and it will execute the actions specified in the Ducky script.
This project is for educational purposes only. The author assumes no responsibility for the misuse of this code. Be aware of legal and ethical considerations when deploying such devices.
All videos and tutorials are for informational and educational purposes only. Ethical hacking, information security, and cyber security should be familiar subjects to anyone using digital information and computers. The provided tutorials are for those interested in learning about Ethical Hacking and related subjects. Hacking tutorials are against the misuse of information, and it is strongly advised against it.
Thanks to the open-source community for providing libraries and tools used in this project.
Happy hacking!
-
🔭 I’m currently owning a Hypesec Infotech
-
👨💻 All of my projects are available at https://linktr.ee/Hackernowful
-
📝 I regularly write articles on https://hypesecinfotech.com/blog.html
-
💬 Ask me about Cyber Security
-
📫 How to reach me nowful@hypesecinfotech.com