Results 1 to 4 of 4
Hi -
I Have a program (Virus) in my pendrive.(When i used the pendrive in a net cafe,it got into my
pendrive via M$ windows)
It renames all directories/files to ...
- 02-19-2009 #1
How to Kill this Virus using Linux ?
Hi -
I Have a program (Virus) in my pendrive.(When i used the pendrive in a net cafe,it got into my
pendrive via M$ windows)
It renames all directories/files to .exe
From my Linux Machine ,i can view these files- all ends with .exe
When trying rm command it gave permission denied / read-only file system
it's a Vfat FS.Code:rm -rf /media/*.exe
I tried using debugfs /dev/sdb1 in write mode,
It throws an error saying "Read-Only File system"Code:debugfs -w /dev/sdb1
How to get rid-off this virus? Formatting is the *only* way?- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 02-19-2009 #2
Try to remount partition with umask=0 option.
Code:umount /dev/sdb1 mount -t vfat /dev/sdb1 /media/sdb1 -o defaults,umask=0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-19-2009 #3
Thanks devils casper ,I will try this out and let u know the results
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 02-20-2009 #4
Thanks devils casper , It worked perfectly. I removed all the .exe files from pendrive ..I got one final issue,i have directory (g444) whose permission bits are not set.
It comes as question ? and i can't remve this directory and it's files.
This directories file name are contains ??? and some other junk character.
How to remove this directory.?rmdir or rm -rf is not working with this directory.- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote
