I will show how to create a simple virus that
disables/blocks the USB ports on the computer (PC). As usual I use C programming language to create this virus. Anyone who has the knowledge of C, can easily understand the working of this program.
Once this virus is executed, it will immediately disable all the USB
ports on the computer. As a result, you will not be able to
use your pen drive or any other USB peripheral on the computer. The
source code for this virus is available for download.