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.
To program the Digispark board using Arduino IDE, follow these steps:
-
Open Arduino IDE and go to File > Preferences (Windows) or Arduino > Preferences (macOS).
-
Add the following URL to the Additional Board Manager URLs:
https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
-
Click OK to save the preferences.
-
Navigate to Tools > Board > Boards Manager.
-
Search for Digistump AVR in the search bar.
-
Select Digistump AVR Boards and click Install.
-
After installation, go to Tools > Board and select Digispark (Default - 16.5MHz).
-
Choose the appropriate Processor (e.g., ATtiny85).
-
Set the Clock to Internal 16.5MHz for Digispark (Default - 16.5MHz) boards.
-
Set the Programmer to Micronucleus.
-
Connect your Digispark board via USB.
-
Choose one of the Digispark_DuckyScript
-
You're now ready to upload sketches to your Digispark board using Arduino IDE!
• 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
-Windows 10/11
-Debian based (eg..Ubuntu,Kali-Linux,etc.)
• 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/
Adrilaw @ GitHub
Kidpentester @ xda-developers
Digispark_DuckyScript is licensed under the MIT License to promote open collaboration and innovation in the realm of HID security testing.
Im not responsible for the misuse of the following script be ethical.