ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

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

    • iain-mars profile image

      iain-mars 

      6 years ago from United Kingdom

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

    • profile image

      Prakash dhungana 

      6 years ago

      thanks a lot.

    • profile image

      tekki 

      7 years ago

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

    • soni2006 profile imageAUTHOR

      Rajinder Soni 

      8 years ago from New Delhi, India

      Thank you Fercho for your comment.

    • soni2006 profile imageAUTHOR

      Rajinder Soni 

      8 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

    • profile image

      Fercho 

      8 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 imageAUTHOR

      Rajinder Soni 

      8 years ago from New Delhi, India

      Thanks a lot friend.

    • profile image

      Helmikuu 

      8 years ago

      Your Welcome. More power to your site.

    • soni2006 profile imageAUTHOR

      Rajinder Soni 

      8 years ago from New Delhi, India

      Thanks a lot for your comment Helmikuu.

    • profile image

      Helmikuu 

      8 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 imageAUTHOR

      Rajinder Soni 

      9 years ago from New Delhi, India

      That's also a good point Prashanth.

    • profile image

      prashanth 

      9 years ago

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

    • soni2006 profile imageAUTHOR

      Rajinder Soni 

      9 years ago from New Delhi, India

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

    • profile image

      Harrison A. 

      9 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 imageAUTHOR

      Rajinder Soni 

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

    • JPSO138 profile image

      JPSO138 

      9 years ago from Cebu, Philippines, International

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

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)