Skip to main content

Disable USB Port Using Your Own Virus !

This is a simple C program that can disable your computer's USB ports. After creating this virus(block USB), when you execute it, instantly, this will block your USB ports. Computer cannot find the USB devices that you connect. Again, to enable the ports again,
you have to run the second program(unblock USB). I am giving you an elaborate description about how you can create this virus and use it :

1. You need: C-compiler, and the virus source code. (Both blocking and unblocking)
2. Install C-compiler.
3. Copy-paste the virus source code from below and name it with extension ".c":  (one at time)

Block: (without " ")
"#include<stdio.h>
void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f");
}" -->
Unblock:(without " ")
"#include<stdio.h>
void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 3 \/f");
}"

4. Browse for the source code from Compiler and then compile.(one at a time). This will create the virus .exe file . When double click it, if everything went right, your USB ports will be blocked.

5.To unblock the ports, click the unblock program that have you have just compiled.

6. To test this virus, just run the block_usb.exe (my given name) file and insert a USB pen drive. Now you can see that your pen drive will never get detected. Again to enable the USB ports just run the unblock_usb.exe  file. You'll see it work.

This is the simplest C-program.

Popular posts from this blog

Freelance Writing: How to Build a Career as a Blogger

Freelance writing is a great way to build a career as a blogger. If you have a passion for writing and a desire to work from home, freelance writing can be a rewarding and lucrative career. In this guide, we'll cover the steps you need to take to build a successful career as a freelance blogger. Step 1: Choose a niche The first step in building a career as a freelance blogger is to choose a niche. Identify a topic that you are passionate about and that has a market demand. Research your niche and identify your target audience. Make sure your niche is broad enough to provide a steady stream of writing opportunities. Step 2: Build your portfolio The next step is to build your portfolio. Create a blog and write articles on your chosen niche to showcase your writing skills. Use platforms like Medium, LinkedIn, or guest posting to expand your reach and build your brand. Make sure your portfolio showcases your best work and highlights your expertise. Step 3: Network and pitch The third s...

Minecraft - Pocket Edition - $4.91 game for free

Mine Craft, a widely known game name worldwide. It is one of the most favorite games in the world. This game is now available for android mobile. Mine craft - pocket edition is all about building and surviving. This game is mostly created based on graphical blocks.  Google play store has this game up for $4.91. ETT is giving away the game absolutely for free. Download Minecraft - Pocket Edition from the bellow link. Minecraft - Pocket Edition

How to Remove powered by Blogger Attribution - Easiest Way!

How to Remove powered by Blogger Attribution - Easiest Way! This video tutorial will show you how to remove the “Powered by Blogger” text from any of the default blogger template. Please watch the video carefully and you will find the solution. Following is the code I have used in the video to remove the “Powered by Blogger” text from blogger template. <style>#Attribution1{display:none}</style> </head> Please feel free to ask any question in the comments. Channel: https://goo.gl/eNciwc