7. Create and verify the virus file.
Aim: To Create and verify the virus file.
Procedure:
1. Open Notepad and copy below code
rem ---------------------------------
rem Disable Mouse
setkey="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
rem ---------------------------------
2. Save this file as virus.bat
3.Open the File
Used to Check the Antivirus security level
Open Notepad and paste the given code and 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, your antivirus program will remove this file in no time
Green Matrix
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.
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random%
%random% %random% %random% %random%
goto start
Save the file with .bat extension
Shutdown virus
right-click on your desktop and then choose the option Create Shortcut.
In the pop-up window, type in shutdown -s -t 60 -c “Virus Detection. The computer is
shutting down.” Instead of 60, you can put what value you want. It represents the time in
seconds.
Give a name for the shortcut and set an icon for it. Finally open this shortcut file for the
intended action to be happened
Deleting of virus:
Step1:Press "Ctrl" + "Alt" + "Delete" and click on "Start Task Manager. The Windows Task
Manager opens.
Step2:Click on the "Processes" tab and then click "Show Processes From All Users."
Step3:Right-click on "mouse.exe" and select "End Process." Close the Windows Task
Manager.
Step4:Click on the "Start" menu and type "mouse.exe" into the "Search Programs and Files"
box.
Step5:Right-click on the "Mouse.exe" file that appears in the results list and select "Delete."
Step6:Restart your computer.
Result: Hence, the Creation and deletion of the virus file was successfully evaluated and
verified.