ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software»
  • Computer How-Tos & Tutorials

How to prevent virus infection through the pen drive?

Updated on February 18, 2009

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

Comments

    0 of 8192 characters used
    Post Comment

    • 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
      Author

      Rajinder Soni 7 years ago from New Delhi, India

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

    • profile image

      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
      Author

      Rajinder Soni 7 years ago from New Delhi, India

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

    • profile image

      prashanth 7 years ago

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

    • soni2006 profile image
      Author

      Rajinder Soni 7 years ago from New Delhi, India

      That's also a good point Prashanth.

    • profile image

      Helmikuu 7 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
      Author

      Rajinder Soni 7 years ago from New Delhi, India

      Thanks a lot for your comment Helmikuu.

    • profile image

      Helmikuu 7 years ago

      Your Welcome. More power to your site.

    • soni2006 profile image
      Author

      Rajinder Soni 7 years ago from New Delhi, India

      Thanks a lot friend.

    • profile image

      Fercho 7 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
      Author

      Rajinder Soni 7 years ago from New Delhi, India

      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
      Author

      Rajinder Soni 7 years ago from New Delhi, India

      Thank you Fercho for your comment.

    • profile image

      tekki 5 years ago

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

    • profile image

      Prakash dhungana 5 years ago

      thanks a lot.

    • iain-mars profile image

      iain-mars 5 years ago from United Kingdom

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

    Click to Rate This Article