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

Solving the 'Failed to load JVM DLL\bin\server\jvm.dll' Error in Android Studio and PyCharm: Easy Tips and Tricks

Are you experiencing the dreaded 'Failed to load JVM DLL\bin\server\jvm.dll' error when trying to launch Android Studio or PyCharm? Don't worry, you're not alone. This common issue can be caused by a variety of factors, but there are a few simple tips and tricks you can try to resolve it. First, make sure that you have the latest version of Java installed on your computer. If you're unsure, you can download the latest version from the official Java website. Next, try reinstalling the JDK (Java Development Kit). This can often fix issues with the JVM DLL. Another solution is to add the JDK path to your system environment variables. This can be done by going to the 'Advanced system settings' on your computer and then 'Environment Variables'. If none of these solutions work, another thing you can try is using the '-Xint' command line option when launching Android Studio or PyCharm. This will run the JVM in interpreted-only mode, which can help r...

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

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...