Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 05-03-2008, 10:21 PM   #1 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default 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.)
krazzy is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 05-03-2008, 10:31 PM   #2 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default 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
Pathik is offline  
Old 05-03-2008, 10:33 PM   #3 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by krazyfrog. View Post
I want to know that whether just connecting the drive to pc will infect my pc as well.
Yes

Quote:
Originally Posted by krazyfrog. View Post
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. View Post
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.
NucleusKore is offline  
Old 05-03-2008, 11:22 PM   #4 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default 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.
krazzy is offline  
Old 05-03-2008, 11:40 PM   #5 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by krazyfrog. View Post
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.
NucleusKore is offline  
Old 06-03-2008, 02:49 PM   #6 (permalink)
In The Zone
 
ayush_chh's Avatar
 
Join Date: Nov 2005
Location: Bangalore
Posts: 487
Default 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.....
ayush_chh is offline  
Old 06-03-2008, 05:42 PM   #7 (permalink)
Wise Old Owl
 
ajayritik's Avatar
 
Join Date: Aug 2007
Location: Hyderabad
Posts: 1,675
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by NucleusKore View Post
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?
ajayritik is offline  
Old 06-03-2008, 07:13 PM   #8 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by ajayritik View Post
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.
NucleusKore is offline  
Old 06-03-2008, 07:42 PM   #9 (permalink)
CG Artist
 
gaurav_indian's Avatar
 
Join Date: May 2006
Location: New Delhi,India
Posts: 1,462
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by NucleusKore View Post
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.
gaurav_indian is offline  
Old 07-03-2008, 12:18 PM   #10 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default 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.
krazzy is offline  
Old 07-03-2008, 02:05 PM   #11 (permalink)
Broken In
 
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
Default 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.
passion_unlimitedd is offline  
Old 07-03-2008, 03:04 PM   #12 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by passion_unlimitedd View Post
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?
krazzy is offline  
Old 07-03-2008, 03:06 PM   #13 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by krazyfrog. View Post
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
ray|raven is offline  
Old 07-03-2008, 03:33 PM   #14 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default Re: A query about a virus in a flash drive.

^^ OK Thanks a lot.
krazzy is offline  
Old 07-03-2008, 04:09 PM   #15 (permalink)
Wise Old Owl
 
ajayritik's Avatar
 
Join Date: Aug 2007
Location: Hyderabad
Posts: 1,675
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by NucleusKore View Post
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.
ajayritik is offline  
Old 07-03-2008, 07:18 PM   #16 (permalink)
Broken In
 
Join Date: Nov 2003
Location: Guwahati, Assam
Posts: 136
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by krazyfrog. View Post
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.
passion_unlimitedd is offline  
Old 07-03-2008, 07:33 PM   #17 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,924
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by passion_unlimitedd View Post
keep pressing until the drive is recognized.
Don't Keep Pressing. OW, Sticky Keys function will activate!

Just HOLD shift.
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 07-03-2008, 09:27 PM   #18 (permalink)
Web developer
 
narangz's Avatar
 
Join Date: May 2005
Location: Paradise
Posts: 1,010
Default Re: A query about a virus in a flash drive.

You can disable autorun if you want permanently.
narangz is offline  
Old 07-03-2008, 10:18 PM   #19 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by ajayritik View Post
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
NucleusKore is offline  
Old 07-03-2008, 10:35 PM   #20 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default Re: A query about a virus in a flash drive.

How to permanently disable autorun? I don't use that feature much anyways.
krazzy is offline  
Old 07-03-2008, 10:48 PM   #21 (permalink)
Web developer
 
narangz's Avatar
 
Join Date: May 2005
Location: Paradise
Posts: 1,010
Default Re: A query about a virus in a flash drive.

http://antivirus.about.com/od/securi...ht/autorun.htm

Hope it helps
narangz is offline  
Old 08-03-2008, 10:07 AM   #22 (permalink)
Techtree Reviewer
 
krazzy's Avatar
 
Join Date: Nov 2007
Location: Mumbai
Posts: 2,190
Default Re: A query about a virus in a flash drive.

Quote:
Originally Posted by narangz View Post
It sure did! Thanks a lot.
krazzy is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert ordinary flash drive into U3 smart drive? thetopcyborg QnA (read only) 13 02-11-2008 11:59 PM
dont install OS on flash drive/damn small linux corrupted flash drive vish786 Open Source 2 28-07-2007 05:29 AM
flash drive query rohus24 Hardware Q&A 10 03-01-2007 11:03 PM
Need some suggestions about buying Pen Drive(flash drive) ~It_is_Andrew~ Hardware Q&A 16 14-09-2006 10:23 PM
Diffrence between an usb pen drive & a flash pen drive? harpoon Peripherals 3 18-01-2006 11:25 PM

 
Latest Threads
- by chris
- by abhidev
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 05:25 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2