 |
05-03-2008, 10:21 PM
|
#1 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
A query about a virus in a flash drive.
I have a flash drive which is infected with a virus after giving it to a friend to get some files from his pc (which is infected). I want to know that whether just connecting the drive to pc will infect my pc as well. What if I connect it to pc, select Take No Action when Autorun starts and then go to My Computer and format the drive. Will this infect my pc and will this remove the virus from the drive? (Please don't suggest to use Anti Virus.)
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
05-03-2008, 10:31 PM
|
#2 (permalink)
|
|
Google Bot
Join Date: Aug 2005
Posts: 9,772
|
Re: A query about a virus in a flash drive.
Depends on the virus.. But most andu_pandu viruses ll execute only once you open the drive.. Format it immediately after inserting.
__________________
My new blog: www.pathikshah.com
|
|
|
05-03-2008, 10:33 PM
|
#3 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by krazyfrog.
I want to know that whether just connecting the drive to pc will infect my pc as well.
|
Yes
Quote:
Originally Posted by krazyfrog.
What if I connect it to pc, select Take No Action when Autorun starts and then go to My Computer and format the drive.
|
You will still get infected
Quote:
Originally Posted by krazyfrog.
Will this infect my pc and will this remove the virus from the drive? (Please don't suggest to use Anti Virus.)
|
Yes it will infect your PC first, and then formatting will remove the virus from the pen drive, only to be possibly reinfected again when the formatting is over.
Solution: Boot with a linux live cd, plug in the pen drive and delete all files except the files you want. Virus files are sometimes seen as extra files in linux which you can't see in Windows. Remember to check in folders too.
|
|
|
05-03-2008, 11:22 PM
|
#4 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
Re: A query about a virus in a flash drive.
Thank you NucleusKore and Pathik. I don't have enough RAM to run a linux live cd. I think i'll use my PS2 to delete the files. That'll be a bit of work though since PS2 doesn't read flash drives directly and needs to boot into a special software to do so, which has to be burned onto a cd and then loaded on the PS2.
|
|
|
05-03-2008, 11:40 PM
|
#5 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by krazyfrog.
I don't have enough RAM to run a linux live cd.
|
If you have 128 MB RAM you can use NimbleX live cd, only 200 MB in size.
|
|
|
06-03-2008, 02:49 PM
|
#6 (permalink)
|
|
In The Zone
Join Date: Nov 2005
Location: Bangalore
Posts: 487
|
Re: A query about a virus in a flash drive.
you can also follow this method, works for me.
1) connect the flash drive to your PC
2) wait till its ready for use.
3) DO NOT open or explore the drive or My Computer
4) open 'command prompt' and type this
X:\> attrib -h -s -a -r autorun.inf
X:\> del autorun.inf
5) now you may explore the drive and del the other related files.
__________________
eXPerience is what a MAN learn's fROM.....
|
|
|
06-03-2008, 05:42 PM
|
#7 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2007
Location: Hyderabad
Posts: 1,675
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by NucleusKore
Solution: Boot with a linux live cd, plug in the pen drive and delete all files except the files you want. Virus files are sometimes seen as extra files in linux which you can't see in Windows. Remember to check in folders too.
|
I tried to search for the hidden files using Kubuntu as well as Knoppixx Live CD. But i don't know how to access the files on my HDD using Linux. What is the application that I need to use?
|
|
|
06-03-2008, 07:13 PM
|
#8 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by ajayritik
I tried to search for the hidden files using Kubuntu as well as Knoppixx Live CD. But i don't know how to access the files on my HDD using Linux. What is the application that I need to use?
|
Knoppix should mount all your partitions as read/write by default and show icons on the desktop. If there are no icons on the desktop search in the /mnt folder for icons like sda1, sda2, or hda1, hda2. I do not have much experience with performing the above task with Ubuntu live.
|
|
|
06-03-2008, 07:42 PM
|
#9 (permalink)
|
|
CG Artist
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by NucleusKore
Yes
You will still get infected
Yes it will infect your PC first, and then formatting will remove the virus from the pen drive, only to be possibly reinfected again when the formatting is over.
Solution: Boot with a linux live cd, plug in the pen drive and delete all files except the files you want. Virus files are sometimes seen as extra files in linux which you can't see in Windows. Remember to check in folders too.
|
araam se.Hamari ankhen theek hai bhai.
My friend also had a virus in his pen drive.And his pc was infected every time he inserted his pen drive.So it depends on the virus.His pc was acting strangely.
|
|
|
07-03-2008, 12:18 PM
|
#10 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
Re: A query about a virus in a flash drive.
I have 256mb RAM. The Ubuntu cd I have says I need around 384mb of free RAM so I thought that is the case with all live CDs.
But still even If I use Linux live CD, won't the virus still transfer in my HDD (as per your answer to my first question)? It won't create any problem in Linux but might when I switch back to Windows.
|
|
|
07-03-2008, 02:05 PM
|
#11 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: A query about a virus in a flash drive.
press SHIFT key while inserting the pen drive. this will prevent anything written in autorun.inf file on the pen drive to execute. any virus in a pen drive needs to be executed manually or by the autorun.inf file. so if u dont allow the autorun.inf file to execute the virus u r pc is safe.
now open my computer --> right click on the pen drive --> format.
simple. it will not infect u r pc. u r pen drive is clean.
|
|
|
07-03-2008, 03:04 PM
|
#12 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by passion_unlimitedd
press SHIFT key while inserting the pen drive. this will prevent anything written in autorun.inf file on the pen drive to execute. any virus in a pen drive needs to be executed manually or by the autorun.inf file. so if u dont allow the autorun.inf file to execute the virus u r pc is safe.
now open my computer --> right click on the pen drive --> format.
simple. it will not infect u r pc. u r pen drive is clean.
|
Thanks for the tip. Should I just press Shift once or do I have to press and hold it?
|
|
|
07-03-2008, 03:06 PM
|
#13 (permalink)
|
|
Think Zen.
Join Date: Dec 2005
Posts: 1,498
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by krazyfrog.
I have 256mb RAM. The Ubuntu cd I have says I need around 384mb of free RAM so I thought that is the case with all live CDs.
But still even If I use Linux live CD, won't the virus still transfer in my HDD (as per your answer to my first question)? It won't create any problem in Linux but might when I switch back to Windows.
|
No.Linux cant execute windows executables.
So the virus wont be copied to the hard disk,
You can manually delete it off the usb.
__________________
Do what you will; but not because you must. -- Zen Quote
|
|
|
07-03-2008, 03:33 PM
|
#14 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
Re: A query about a virus in a flash drive.
^^ OK Thanks a lot.
|
|
|
07-03-2008, 04:09 PM
|
#15 (permalink)
|
|
Wise Old Owl
Join Date: Aug 2007
Location: Hyderabad
Posts: 1,675
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by NucleusKore
Knoppix should mount all your partitions as read/write by default and show icons on the desktop. If there are no icons on the desktop search in the /mnt folder for icons like sda1, sda2, or hda1, hda2. I do not have much experience with performing the above task with Ubuntu live.
|
I have already tried the steps that you have suggested. I was checking if in Linux we have any application similiar to windows Explorer so that we can browse through the folders/directories easily. Anyways I will recheck the steps that you have mentioned.
|
|
|
07-03-2008, 07:18 PM
|
#16 (permalink)
|
|
Broken In
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by krazyfrog.
Thanks for the tip. Should I just press Shift once or do I have to press and hold it?
|
keep pressing until the drive is recognized.
|
|
|
07-03-2008, 07:33 PM
|
#17 (permalink)
|
|
God of Mistakes...
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,924
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by passion_unlimitedd
keep pressing until the drive is recognized.
|
Don't Keep Pressing. OW, Sticky Keys function will activate!
Just HOLD shift.
|
|
|
07-03-2008, 09:27 PM
|
#18 (permalink)
|
|
Web developer
Join Date: May 2005
Location: Paradise
Posts: 1,010
|
Re: A query about a virus in a flash drive.
You can disable autorun if you want permanently.
|
|
|
07-03-2008, 10:18 PM
|
#19 (permalink)
|
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by ajayritik
I have already tried the steps that you have suggested. I was checking if in Linux we have any application similiar to windows Explorer so that we can browse through the folders/directories easily. Anyways I will recheck the steps that you have mentioned.
|
In Knoppix and NimbleX you have Konqueror
|
|
|
07-03-2008, 10:35 PM
|
#20 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
Re: A query about a virus in a flash drive.
How to permanently disable autorun? I don't use that feature much anyways.
|
|
|
07-03-2008, 10:48 PM
|
#21 (permalink)
|
|
Web developer
Join Date: May 2005
Location: Paradise
Posts: 1,010
|
Re: A query about a virus in a flash drive.
|
|
|
08-03-2008, 10:07 AM
|
#22 (permalink)
|
|
Techtree Reviewer
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
|
Re: A query about a virus in a flash drive.
Quote:
Originally Posted by narangz
|
It sure did! Thanks a lot.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|