Get A Free Quotation

Call

Make A Call

+919044264043

Email

Drop An Email

[email protected]

Whatsapp

Chat On WhatsApp

wa.me/+919044264043

Meeting

Schedule A Meeting

cal.com/hacktronian

  • Posted on
  • Fri, 8 Dec 2023

Turning Your Arduino into a Rubber Ducky

Turning Your Arduino into a Rubber Ducky

Have you ever wanted to create your own custom keyboard macro that injects keystrokes with lightning speed? Look no further than DuckyScript and the Arduino Leonardo or Uno! This powerful combination allows you to transform your Arduino into a **Rubber Ducky**, a device that acts like a USB drive but secretly injects pre-programmed keystrokes into the connected computer.

Getting Started :

  • Choose your DuckyScript : Decide what actions you want your Arduino to perform. Popular examples include opening specific applications, typing text, or even launching malicious payloads (Disclaimer: Use this responsibly and ethically!).
  • Write your DuckyScript code : Refer to the DuckyScript reference for available commands like `STRING`, `DELAY`, and `RUN_COMMAND`.
  • Convert to Arduino code : Head over to the thehackingsage/ducky4arduino repository. Download the converter tool and follow the instructions to transform your DuckyScript into Arduino-friendly code.
  • Upload to Arduino : Connect your Arduino Leonardo or Uno to your computer, open the Arduino IDE, and upload the converted code.
  • Plug and Play (Almost) : Once uploaded, connect your Arduino to a target computer. It will be recognized as a USB keyboard and execute your pre-programmed DuckyScript commands!

Important Considerations :

  • Ethical Usage : Remember, DuckyScript is a powerful tool that can be misused. Use it responsibly and ethically for legitimate purposes like automating repetitive tasks.
  • Security Concerns : Be aware that some antivirus programs might flag your Arduino acting as a keyboard.
  • Advanced Usage : The provided repository offers pre-written DuckyScript examples for common tasks. Explore them to get a head start!

Ducky Script :

List of Ducky Script for Arduino Leonardo Mini & Arduino Uno :

  • Hello World.ino
  • Android 5.x LockScreen.ino
  • Chrome Password Stealer.ino
  • Fake Update Screen.ino
  • Fork Bomb.ino
  • Hide CMD Window.ino
  • Lock Computer with Message.ino
  • Log Off Prank (Windows 7).ino
  • Netcat Reverse Shell.ino
  • Open YouTube.ino
  • Restart Prank.ino
  • Wallpaper Prank.ino
  • WiFi Password Grabber.ino
  • Windows Screen Rotation Hack.ino
  • You've Been Hacked.ino

Download Arduino Ducky Scripts Here

Arduino Compiler

With DuckyScript and your trusty Arduino, you can unlock a world of possibilities. Remember to use this knowledge responsibly and ethically. This blog serves as a stepping stone; keep learning and exploring the vast potential of DuckyScript on your Arduino!

Resources