How To Make A Batch File Virus ?
It's quiet easy to create a batch file virus and just for fun and as well easy to execute & they're not
harmful at all.
Step 1:
Step 2:
If you have experience writing batch files feel free to modify and improve the below code, If you don't have experience than simply copy and paste the code into notepad. Save the file as a ".bat" file, such as "Virus.bat".
@echo off
title Cyber Attack Sequence Initiation
color 02
echo Warning-Complete File Corruption imminent.
timeout /t 3 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 10
timeout /t 1 /nobreak >nul
ClS
echo Complete file corruption and computer shutdown in 9
timeout /t 1 /nobreak >nul
ClS
echo Complete file corruption and computer shutdown in 8
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 7
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 6
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 5
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 4
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 3
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 2
timeout /t 1 /nobreak >nul
CLS
echo Complete file corruption and computer shutdown in 1
timeout /t 1 /nobreak >nul
CLS
echo File corruption and computer shutdown initiated
timeout /t 3 /nobreak >nul
CLS
echo Corrupting Critical System Files...
echo del* *
timeout /t 2 /nobreak >nul
echo The System cannot find the file specified.
echo:
echo:
echo:
echo:
echo:
echo Corrupting Root Partition...
echo del C:\Windows
timeout /t 2 /nobreak >nul
echo Deletion Successful!
echo:
echo:
echo:
echo:
echo:
echo:
echo:
echo Disabling Windows Firewall...
echo Killing all processes...
timeout /t 2 /nobreak >nul
echo Allowing virus to boot from startup...
timeout /t 2 /nobreak >nul
echo:
echo:
echo:
echo:
echo:
echo Virus has been executed successfully!
echo:
echo:
echo Have Fun!
timeout /t 2 /nobreak >nul
shutdown -s -t 45 /c Your computer has committed suicide. Have a nice day.
Step 3:
file to your friend and tell him to execute it :)
NOTE: THIS IS ONLY FOR EDUCATIONAL
PURPOSE ONLY.