USB Device Security


Sharing information is what made the internet such an important tool in our everyday lives. But the internet wasn’t the only sharing tool we have at our disposal. Remember the USB flash drive? Of course you do. One of your friends has given you a USB with some music that they wanted you to listen to or your family dinner photos that your uncle gave you to print out. USBs contributed to a huge amount of data sharing that took place in the early days and all the way up to today. It is true that they have lost the spotlight that they once had with increasing internet speeds and smart phones with cloud storages. But they still bring us the good and the bad. USB drives are a gateway to malware and viruses that can completely annihilate computer systems. Hackers have written tons of malware scripts that just sit dormant on USB drives waiting to be connected to a computer that they can infect and terrorize. Today, I will be talking about how to protect yourself from such attacks and secure your own USB devices.


File System:

USB drives are primarily formatted in Fat32 file system. This facilitates the usage and data transfer between different operating systems such as Linux, MacOS and Windows. Now let’s make things clear, the more options or the more different environments you use your USB on the harder to secure it. Let’s assume you are mostly using your USB on Windows platform computers. Then you can take advantage of what Windows NTFS file system has to offer in terms of USB drive security.


Let’s start with the following:

  1. Insert your USB drive and click to format.
  2. Under “File System” choose “NTFS”.
  3. Click “Start” to format.
  4. Next, navigate to “My Computer” and find the USB drive.
  5. Right click and open “Properties”, next “Security tab and change everyone’s permission to “Read-Only”.

This way, no one but you is able to changed files or delete anything. This is a very simple way to keep your USB drive safe from any backdoor attacks on your system.



Disable Autorun:

You might not know what this is but you most certainly have seen it. Whenever you insert a USB or CD disk, a small window pops up asking you what to do, whether its to open up the contents or launch the program directly. This is called autorun. Hackers like to implement viruses into your USB drive that infect your computer once connected through autorun. It is the most common attack but it is also very easy to defend against. One way to do so it to disable the autorun feature from Windows Registry.


  1. Press “Windows Key + R” to open Run.
  2. Type in regedit.
  3. You must find a specific key that disables this feature for all users: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  4. Click to create a new hex value called “NoDriveTypeAutoRun”.
  5. Assign a value of 4 to the new hex value created.
  6. Open up task manager by pressing “Shift + Tab + Esc”.
  7. Find “Windows Explorer” and disable it to restart and activate the new key.




This was a very short guide on how to quickly secure your USB drives and your Windows system. Now this is of course not enough to avoid other type of clever attacks but there are tools that can help you take care of such problems. To benefit as much as possible and setup a strong defense, make sure you have most of the items on the checklist installed/available:

  1. Updated Windows system.
  2. Good anti-virus program (Kaspersky or Avira).
  3. Hard drive encryption is on.
  4. Write/read permissions are properly configured.
  5. Common sense in knowing what to open and what not.

I hope this guide reminded you what risks you carry but not practicing safe USB protocols. Sharing information is a huge milestone for humanity but with great powers come great responsibilities.

Call Us

Enjoy this blog? Please spread the word :)