Skip to content

BadUSB payloads to be used with Digispark ATtiny85 USB breakout board

Notifications You must be signed in to change notification settings

goulgoul/ATtiny85_Payloads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Digispark ATtiny85 USB Rubber Ducky Payloads

Arduino scripts holding BadUSB payloads for Windows, Linux or MacOS. These are built with Arduino using Digispark libraries

Windows payloads

Message on startup

A script that adds or overwrites an entry in Windows' registry editor as legalnoticecaption and legalnoticetext with a title and message. This enables a pop-up on startup with the specified title and message.

The windows CMD commands to perform such actions are the following:

Adding the entries

REG ADD HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v legalnoticecaption /t REG_SZ /d "YOUR_TITLE_TEXT" /f
REG ADD HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v legalnoticetext /t REG_SZ /d "YOUR_MESSAGE_TEXT" /f

Clearing the entries

REG DELETE HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v legalnoticecaption /f
REG DELETE HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v legalnoticetext /f

In addition, the code provides a way to clear these registry entries by commenting the line #define BAD_USB at the top of the script in src/main.cpp. All other definitions and macros are written in the define.h file in include folder.

About

BadUSB payloads to be used with Digispark ATtiny85 USB breakout board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published