How to prevent your PEN drive from VIRUS

65

By RITZ

Friends many of your PC/laptop's normally gets virus because of Pen Drives or USB devices (Even PC's who are not connected to network ). Some Virus like Ravmon Virus , Heap41a worm which are not detected by anti virus normally spreads mostly by the Pen Drives . In such a case what can you do to prevent your PC from getting infected with Virus that spreads through USB devices or Pen Drives ?

You can protect your PC by just following the simple steps below . It won't take much time.

* Connect your Pen Drive or USB drive to your computer .

* Now a dialogue window will popup asking you to choose among the options as shown in the figure. Don't choose any of them , Just simply click Cancel.

*Now go to Start--> Run and type cmd to open the Command Prompt window .

*Now go to My Computer and Check the Drive letter of your USB drive or Pen Drive. ( E.g. If it is written Kingston (I:) , then I: will be the drive letter .)

*In the Command Window ( cmd ) , type the drive letter: and Hit Enter .

*Now type dir/w/o/a/p and Hit Enter

*You will get a list of files . In the list , search if anyone of the following do exist

* 1. Autorun.inf

* 2. New Folder.exe

* 3. Bha.vbs

* 4. Iexplore.vbs

* 5. Info.exe

* 6. New_Folder.exe

* 7. Ravmon.exe

* 8. RVHost.exe or any other files with .exe Extension .

* * If you find any one of the files above , Run the command attrib -h -r -s -a *.* and Hit Enter.

* Now Delete each File using the following Command del filename ( E.g del autorun.inf ) .

* That's it . Now just scan your USB drive with the anti virus you have to ensure that you made your Pen Drive free of Virus .

Hi Frnds...

This virus is very very common now... To know whether ur system is infected just type C:\heap41a in the address bar...

if there is a folder named heap41a, then ur system is infected...

(AVAST antivirus is the best solution for this worm...) symantec also works.

My Other Related Hubs

Great Tips Of The Week I

Comments

Adjust profile image

Adjust 3 years ago

This hub has a lot of useful information’s. Thanks Ritz

guidebaba profile image

guidebaba 3 years ago

Great Info. Thanks for sharing.

tulwave profile image

tulwave 3 years ago

I'm so behind in technology. I still write down things on paper so I can type them into notepad. Maybe I'll soon be writing with a pen drive (lol)). I learn a lot from these Hubs and this one will be a great resource. I just got my first laptop and have been wondering about all the gizmos and gadgets I see people with.

RITZ profile image

RITZ Hub Author 3 years ago

thanks so much for your comments...its really a nice feeling when you are appreciated for your work....

sukkran profile image

sukkran 3 years ago

hi, thks for the information and tips. nice work.

sukkran

Abhishek87 profile image

Abhishek87 3 years ago

Great hub, this CMD trick is something not people know, apart from engineers, its great that you shared it.

Btw, I had a question. My PC already has a virus, don't know the name (the one that makes the option of Folder Options in Tools disappear). Now how do I get rid of it? I am thinking of formatting it and then scanning it top to bottom. Also, what Antivirus should i use, tried AVG, its useless. I need something thats light and doesn't slow down the system.

Thanks a lot.

proc420 2 years ago

you should use mcafee or quickheal antivirus or total protection/security

Cheeky Girl profile image

Cheeky Girl Level 4 Commenter 2 years ago

Good Hub! If you have Norton's AntiVirus, get it to scan your connected USB Disk and it will to either a quick scan or thorough scan, and it will either quarentine or vanquish anything it finds. Works for me.

jestin650 2 years ago

hi ritz..1 simple doubt.

i found 1 file named autorun.inf..wats the next tat i want 2 do..(Run the command attrib -h -r -s -a *.* )pls xplain tis..when i run attrib -h -r -s -a *.* the screen just blinks..is it a dos cmnd or run cmnd?

vijay 2 years ago

thankyou

i will follow your steps.

anup gharat 17 months ago

Hi friends, i have a sloution for ur issue.

You can make ur normal pen drive to virus protected pendrive. for that u want 1 pc which having windows vista 0r 7 os installed. Follow the below steps........

1) Connect ur pen drive to pc which having widows vista or windows 7 operating system. (The user must having Administrator rights)

2) Open 'My Computer' & right click on pendrive icon then select 'Format' option. Before formatting you must take a back up of all of your data because it deletes whole data from ur pen drive.

3) In Format window select file system tab & change it to 'NTFS' then click on 'Start' to start formatting.

4) After formatting done close the format window & open ur pendrive.

5) create one folder in pen drive & rename it to 'secured'.

6) Back to 'My Computer' & again right click on pendrive & now select 'Properties' tab.

7) In properties window select security tab then click on edit & tick on 'Deny' for 'Write' permission then press ok to apply the settings.

8) Open pen drive again, right click on 'Secured' folder select 'Properties' then 'Security' tab.

again click on 'Edit' tab & set 'Allow' permission to 'Full Control' then click ok to apply settings.

9) Open 'Secured' folder, create one folder into that & rename it to 'Secured.exe'.

10) Right click on 'Secured.exe' folder select 'Properties' & make it hidden by selecting 'Hidden' attribute & apply it then select 'security' tab click on 'Edit' & set 'Deny' permission to 'Full Control' .

10) Press 'Ok' to apply the settings.

Now ur pen drive is virus protected. but u can't copy files into that directly. u need to copy all of ur files to the secured folder & I recommand that copy ur software setup files to the zip folder so, virus can't access software's exe files.

Thanks,

Anup Gharat

anupgharat@gmail.com

Shan 3 months ago

Hey thanks it really works

Visal S Unnithan 2 months ago

I Want to take photostat with pendrive.

Help..

Dipankar 6 days ago

Hi!, informative article, that prevents the spreading of windows script virus. I used to use this trick when I had no antivirus; almost 60-70% the virus do not spread. Instead of deleting the file autorun.inf I suggest to rename the file instead and read the contents using the type command or any text editor, if any file is supposed to execute automatically the entry is there. You should go there to the folder to delete the actual file which may be a virus; else the autorun file may be recreated if u accidently execute the virus file which is located somewhere hidden in some folders.

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



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

    Please wait working