Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-10-2008, 01:16 AM   #1 (permalink)
Blogger
 
hariharakumar's Avatar
 
Join Date: Sep 2008
Posts: 56
Thumbs up Clean your infected memory sticks, ipods.. easily


Guys if you have infected pen drives,memory sticks,ipods... boot into Ubuntu(Linux based OS) connect your infected pen drive and remove unwanted files like FOLDER.EXE, AUTORUN.INI, DRIVE.EXE,...... easily. If the permission is denied to delete such file, you can easily change the file permissions in Ubuntu and permanently delete them.

I have cleaned my pen drive in this same manner. With Ubuntu installed on my system now i can copy files like movies n softwares from my friend's infected system .
__________________
Visit my blog at http://geekspage.tk/
Check my blog for updates on Blogging, Social Media, Software.

follow me on Twitter: http://www.twitter.com/hariharakumar
hariharakumar is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-10-2008, 07:22 AM   #2 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

Easier still you can install clamwin antivirus in Ubuntu and scan your pendrive from commandline using

clamscan -v --remove /dev/sdx

where x is the drive letter of your pen drive. To find this out, after you plugin the pen drive, in command line type

fdisk -l

If you have one hard disk, the pen drive is usually /dev/sdb

Update: For those of you interested search and install clamtk in synaptic
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"

Last edited by NucleusKore; 21-10-2008 at 08:24 PM.
NucleusKore is offline  
Old 20-10-2008, 11:37 AM   #3 (permalink)
Blogger
 
hariharakumar's Avatar
 
Join Date: Sep 2008
Posts: 56
Default Re: Clean your infected memory sticks, ipods.. easily

Quote:
Originally Posted by NucleusKore View Post
Easier still you can install clamwin antivirus in Ubuntu and scan your pendrive from commandline using

clamscan -v --remove /dev/sdx

where x is the drive letter of your pen drive. To find this out, after you plugin the pen drive, in command line type

fdisk -l

If you have one hard disk, the pen drive is usually /dev/sdb
i think you dont need anitivirus unless you install wine in your Ubuntu os.
__________________
Visit my blog at http://geekspage.tk/
Check my blog for updates on Blogging, Social Media, Software.

follow me on Twitter: http://www.twitter.com/hariharakumar
hariharakumar is offline  
Old 20-10-2008, 01:45 PM   #4 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

Quote:
Originally Posted by hariharakumar View Post
i think you dont need anitivirus unless you install wine in your Ubuntu os.
It's not for wine, it's for catching windows viruses in Linux mail servers. The install and operation I mentioned is without the real time scanning mode. It is useful to disinfect pendrives, external hard disks and networked windows drives shared through SAMBA. Avira too has a similar product.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 20-10-2008, 03:42 PM   #5 (permalink)
Fullbring
 
Zangetsu's Avatar
 
Join Date: Jan 2008
Location: Soul Society
Posts: 5,531
Default Re: Clean your infected memory sticks, ipods.. easily

Quote:
Originally Posted by NucleusKore View Post
Easier still you can install clamwin antivirus in Ubuntu and scan your pendrive from commandline using

clamscan -v --remove /dev/sdx

where x is the drive letter of your pen drive. To find this out, after you plugin the pen drive, in command line type

fdisk -l

If you have one hard disk, the pen drive is usually /dev/sdb
we can install clamwin in the pendrive itself..& execute it from there only 2 remove
any viruses..
__________________
I'm the One you've been Waiting for...
Zangetsu is offline  
Old 21-10-2008, 05:02 PM   #6 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,052
Default Re: Clean your infected memory sticks, ipods.. easily

wow ..... sounds nice ..... bt whot if v dont know the virus name\infected files ?
__________________
... W H O T ...
ax3 is offline  
Old 21-10-2008, 06:34 PM   #7 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

Quote:
Originally Posted by ax3 View Post
wow ..... sounds nice ..... bt whot if v dont know the virus name\infected files ?
You don't have to, you just have to know the drive name

I have both clamwin and Avira in manual scan mode on my openSUSE. I use them to disinfect pendrives that I use in college.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"

Last edited by NucleusKore; 21-10-2008 at 06:57 PM. Reason: Automerged Doublepost
NucleusKore is offline  
Old 21-10-2008, 07:52 PM   #8 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Clean your infected memory sticks, ipods.. easily

Quote:
Originally Posted by NucleusKore View Post
You don't have to, you just have to know the drive name

I have both clamwin and Avira in manual scan mode on my openSUSE. I use them to disinfect pendrives that I use in college.
so clamwin is a linux antivirus to clean windows viruses ?
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is online now  
Old 21-10-2008, 08:02 PM   #9 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

Yes, as I said above, it is meant for mailservers running on Linux. Same with Avira.

You have an on demand scanner with which you can integrate with your mail server, I haven't activated that component as my requirement is different.

You can download Avira from here

http://www.mediafire.com/?jyzcz9m6tvy

md5sum:e333fe7abd990128316bf46c43c72222

The official mirrors are too slow

Install using the enclosed script as sudo

sudo ./install

When prompted for path to key just press ENTER.

Then in commandline

sudo antivir --update

to update the definitions

and then

antivir -s -e -del /dev/sdx

where x is the drive letter/number. It will scan recursively (s), clean (e) and delete unrepairable (-del) files

You may have to add yourself to the antivir group to use the above

sudo /usr/sbin/usermod -G dialout,video,vboxusers,users,antivir yourusername

Logout and then login again.
use command

antivir-gui

to open the gui. Configure the manual scan options from there is you like
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"

Last edited by NucleusKore; 22-10-2008 at 02:33 PM. Reason: Automerged Doublepost
NucleusKore is offline  
Old 12-12-2008, 05:35 PM   #10 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Default Re: Clean your infected memory sticks, ipods.. easily

thankyou nucluesKore
I was actually doing what hariharikumar was doing until now
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
vamsi360 is offline  
Old 12-12-2008, 05:59 PM   #11 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: Clean your infected memory sticks, ipods.. easily

I always use linux to remove virus on my removable storage devices
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 12-12-2008, 09:16 PM   #12 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

Modify this line

antivir -s -e -del /dev/sdx

as

antivir -s -z -del /dev/sdx

to scan archives
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 12-12-2008, 10:18 PM   #13 (permalink)
nix
Senior Member
 
nix's Avatar
 
Join Date: Oct 2004
Location: Bangalore
Posts: 648
Default Re: Clean your infected memory sticks, ipods.. easily

hi guys...
am also facing the same problem... infected pen drives from the college. just cant get rid of them on windows(free AV).
do you suggest bootable linux or HDD based linux?
and pls suggest some easy to install linux...
__________________
nikhilspoliticalblog.wordpress.com- Common man bows to amitabh
nix is offline  
Old 12-12-2008, 10:46 PM   #14 (permalink)
.
 
JojoTheDragon's Avatar
 
Join Date: Aug 2008
Location: Guwahati
Posts: 2,485
Default Re: Clean your infected memory sticks, ipods.. easily

What about portable antivirus? Has anyone tried it?

^try ubuntu 8 its the best in live dvd
__________________
| Steam: jojothedragon | Origin : jojothedragon | PSN : jojothedragon |


TDF @ Steam
Get 2GB of free cloud space : http://db.tt/OJKPcZnY

Last edited by JojoTheDragon; 12-12-2008 at 10:47 PM. Reason: Automerged Doublepost
JojoTheDragon is offline  
Old 14-12-2008, 02:16 AM   #15 (permalink)
nix
Senior Member
 
nix's Avatar
 
Join Date: Oct 2004
Location: Bangalore
Posts: 648
Default Re: Clean your infected memory sticks, ipods.. easily

^i dont have a DVD drive dude...
__________________
nikhilspoliticalblog.wordpress.com- Common man bows to amitabh
nix is offline  
Old 20-12-2008, 05:40 PM   #16 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2008
Posts: 3
Default Re: Clean your infected memory sticks, ipods.. easily

well i dont see why you are fussing only with linux, you can get rid of it with plain old DOS/cmd prompt, yes indeed it is difficult to clean form with in an infected system, but it is not possible,...

if your system is clean,

Code:
attrib -s -h -r autorun.ini
del autorun.ini
the virus should be some where hidden in your drive

Code:
attrib /s /d
you will see the attribute of all the hidden folders and file's, then delete it
charm_quark is offline  
Old 20-12-2008, 08:47 PM   #17 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

Does Vista or XP have DOS?
So you'll have to make a DOS boot disk. Will that read ntfs partitions?
Even if you use a Windows shell, will it allow you to touch the system files?
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 21-12-2008, 04:12 PM   #18 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2008
Posts: 3
Default Re: Clean your infected memory sticks, ipods.. easily

Quote:
Does Vista or XP have DOS?
my bad i meant shell

Quote:
Even if you use a Windows shell, will it allow you to touch the system files?
yes it will give you access to all files regardless, all so some programs/virus's use an ACL (Access Control Lists) hence anti-virus's cant access the locked folder, which in turn don't let the anti-virus scan the file/folder,in shell use the command
Code:
cacls
oh and another thing when your in my computer, dont open the the drive by double clicking, click open the "folder" button from the standard bar, once in explorer view then open your drive using it.
charm_quark is offline  
Old 17-02-2009, 12:22 PM   #19 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2006
Posts: 1
Default Re: Clean your infected memory sticks, ipods.. easily

How to delete files in USB stick when they are reoprted as READ ONLY
dr_smit is offline  
Old 17-02-2009, 01:02 PM   #20 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Smile Re: Clean your infected memory sticks, ipods.. easily

Quote:
Originally Posted by dr_smit View Post
How to delete files in USB stick when they are reoprted as READ ONLY
change the option in the file attributes in properties dailog box.
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
vamsi360 is offline  
Old 17-02-2009, 08:16 PM   #21 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: Clean your infected memory sticks, ipods.. easily

or do a sudo rm
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore 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
Prices of Memory Sticks max_demon QnA (read only) 16 24-12-2008 07:46 PM
Do we get M2 sticks bundled with the phone? electrokawal Mobiles and Tablets 13 02-01-2008 12:27 PM
Can't use both RAM sticks luckyguy QnA (read only) 5 07-02-2006 10:23 PM

 
Latest Threads
- by Tenida
- by chris
- by Who
- by abhidev
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 10:53 PM.


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

Search Engine Optimization by vBSEO 3.3.2