Skip to content

Transform your Digispark into a powerful keystroke injection tool! This repo provides scripts and guides for using your Digispark as a Rubber Ducky device, perfect for automation and security testing. Unlock the potential of your tiny microcontroller with easy-to-program payloads.

License

Notifications You must be signed in to change notification settings

Adrilaw/Digispark_DuckyScripts

Repository files navigation

il_fullxfull 3830095284_6wwq

Digispark_DuckyScript

This is a set of hand-written DigiSpark sketches for the Arduino IDE that utilize the DigiKeyboard.h and DigiKeyboardFr.h library making the DigiSpark to act as a keyboard and execute a variety of actions. The DigikeyboardFr.h is the libary for the french keyboard watch https://www.youtube.com/watch?v=PYugCE4A6js to know how to install it. If you have found a USB Rubber Ducky scipt that you want to convert to a DigiSpark sketch, you can go to https://adrilaw.github.io/quickducky2digi/ and your paste ducky script and convert it to digispark.

Setting Up Digispark in Arduino IDE

To program the Digispark board using Arduino IDE, follow these steps:

  1. Open Arduino IDE and go to File > Preferences (Windows) or Arduino > Preferences (macOS).

  2. Add the following URL to the Additional Board Manager URLs:https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json

  3. Click OK to save the preferences.

  4. Navigate to Tools > Board > Boards Manager.

  5. Search for Digistump AVR in the search bar.

  6. Select Digistump AVR Boards and click Install.

  7. After installation, go to Tools > Board and select Digispark (Default - 16.5MHz).

  8. Choose the appropriate Processor (e.g., ATtiny85).

  9. Set the Clock to Internal 16.5MHz for Digispark (Default - 16.5MHz) boards.

  10. Set the Programmer to Micronucleus.

  11. Connect your Digispark board via USB.

  12. Choose one of the Digispark_DuckyScript

  13. You're now ready to upload sketches to your Digispark board using Arduino IDE!

Scripts Descriptions

• FakeUpdateWin11: Opens a prank windows 11 fake update screen

• FakeUpdateWin10: Opens a prank windows 10 fake update screen

• Linux-Deb-Reverse_Shell: Starts a reverse shell on linux machine

• Silly-mouse: Makes your mouse act silly

• Revershell_Win: Opens a powercat reverse shell from a Windows machine to the host NOTE: Edit script to desire ip addr and port.In win 10 the powershell is hidden

• RickRoll: Plays Never Gonna Give you up song while performing a fake windows update

• WinSpeaks: Opens a powershell and makes your computer speak

• WinUAC_Killer: Opens your computer windows defender and turn it off

• WinPayloadExecutor: Runs powershell as admin and downloads your payload from webserver and execute it NOTE: Edit the url to your desire place

68747470733a2f2f692e6962622e636f2f6a5a32777658302f4e455745562d41542e706e67

Script Compatibility and Tested Platforms

-Windows 10/11

-Debian based (eg..Ubuntu,Kali-Linux,etc.)

Resources

• USB Rubber Ducky Documentation by hak5darren: https://github.com/hak5/usbrubberducky-payloads/tree/master/payloads

• Digistump DigiSpark Documentation: https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/DigiKeyboard.h

• DuckyScript Converter: https://github.com/Adrilaw/quickducky2digi / https://adrilaw.github.io/quickducky2digi/

Author

Adrilaw @ GitHub

Kidpentester @ xda-developers

License

Digispark_DuckyScript is licensed under the MIT License to promote open collaboration and innovation in the realm of HID security testing.

WARNING!

Im not responsible for the misuse of the following script be ethical.

About

Transform your Digispark into a powerful keystroke injection tool! This repo provides scripts and guides for using your Digispark as a Rubber Ducky device, perfect for automation and security testing. Unlock the potential of your tiny microcontroller with easy-to-program payloads.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages