How to prevent virus infection through the pen drive?

Simple steps to eradicate virus

Hi all,

Today I would like to share my knowledge about most common problem pen drive carries. Yes it is a virus and we can easily tackle this problem by taking right precautions.

Here are some simple steps to tackle a situation where you have pen drive infected with virus and you are afraid to insert it into a clean PC. This works in a situation where your antivirus is not updated and does not have ability to tackle latest virus that may infect. This is a way to avoid infection from virus as we are stopping the virus from executing itself.

  1. First of all, we should modify files and folders setting to show hidden files.
  2. Now uncheck the "Hide extension for known files" option to show the extension of files, so that we can decide which type of we are dealing with.
  3. Uncheck the ‘hide protected operating system files' option. This is because most of the virus scripts will be configured to hide and are created as system files.
  4. Do not open the pen drive by double clicking on the "removable drive" icon, as the script will be written in such a way that the virus is executed by opening the drive by double clicking it. Even the "right click and open" option can execute virus, so alternatively you can open the drive by using the drop down menu from the address bar of your explorer.
  5. After entering into the drive, delete the "autorun.inf" file if present, and delete files you suspect to be viruses that are not added by you, identifying them is easy as they will be having negligible file size (usually in kbs) and have extensions as .com, .bat, .exe.
  6. At last, remove your pen drive and reconnect it.

Most of the viruses are .exe (executable files), .bat (batch files). They are set to execute using shell script which is written in "autorun.inf" present in infected pen drives. We can even see the shell script code by opening this "autorun.inf" file.

I hope this information will help in preventing a virus attack on your PC through the pen drive.

An infected pen drive
An infected pen drive
Pen drive
Pen drive

More by this Author


Comments 16 comments

JPSO138 profile image

JPSO138 7 years ago from Cebu, Philippines, International

I do not have much knowledge in these things. Thanks for sharing. I am bookmarking this right now.


soni2006 profile image

soni2006 7 years ago from New Delhi, India Author

These small things help us save a lot of time and money sometimes so that's really good if you are bookmarking it. Thanks.


Harrison A. 7 years ago

I think a way to get the most protection foe your pen drive is to get a good malware protection product for your pc. Use this to scan your pen drive whenever you return from using it outside your workstation. Always update your malware protection.

Harrison A.


soni2006 profile image

soni2006 7 years ago from New Delhi, India Author

Really nice tips Harrison. You are an expert in this.


prashanth 7 years ago

use scaner first man.........


soni2006 profile image

soni2006 7 years ago from New Delhi, India Author

That's also a good point Prashanth.


Helmikuu 6 years ago

To avoid autorun.inf virus we need to put a folder in the root directory of the USB with a name autorun.inf. The virus could not replace this folder.

Pls check How to prevent virus in infecting USB drive


soni2006 profile image

soni2006 6 years ago from New Delhi, India Author

Thanks a lot for your comment Helmikuu.


Helmikuu 6 years ago

Your Welcome. More power to your site.


soni2006 profile image

soni2006 6 years ago from New Delhi, India Author

Thanks a lot friend.


Fercho 6 years ago

Les invito a que visiten nuestra pagina web y adquieran lo mas novedoso en proteccion de dispositivos USB, no solo te protege, sino que puedes escanear la computadora huesped, este AV puede convivir con el AV local.

TRUSTPORT ANTIVIRUS USB. puedes adquirir la version gratuita y tambien la puedes comprar electrónicamente.

Saludos.

fmiranda@trustport.com.gt


soni2006 profile image

soni2006 6 years ago from New Delhi, India Author

Fercho says, I invite you to visit our website and acquire the ultimate in protection for USB devices, not only protects you, but you can scan the host computer, the AV can live with the local AV.

TrustPort Antivirus USB. can get the free version and also you can buy electronically.

Greetings.

fmiranda@trustport.com.gt


soni2006 profile image

soni2006 6 years ago from New Delhi, India Author

Thank you Fercho for your comment.


tekki 5 years ago

Common sense is the most effective way to keep our flash drive away from any viruses.


Prakash dhungana 4 years ago

thanks a lot.


iain-mars profile image

iain-mars 4 years ago from United Kingdom

Great advice. It's way too easy to get infected with the number of people using USB devices.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working