 |
|
11-11-2008, 06:27 PM
|
#1 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Multiple viruses
I run my system on Ubuntu. I also installed Avast for Linux. As I plugged in a USB pen drive, Linux asked me if a program be allowed to execute; obviously I denied permission.
A thorough scan revealed 6 trojans in the drive. Had I used this drive on my laptop running on XP, it surely would have been infected (despite all measures). Now, you know why I run antivirus on linux. I use it as a "sandbag" before running on windows machine.
OK, the problem is that avast is not able to delete/move to chest/rename it. Permission to do is being denied. The infections persist. What should I do now?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Last edited by Sridhar_Rao; 11-11-2008 at 07:12 PM.
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
11-11-2008, 07:32 PM
|
#2 (permalink)
|
|
BSD init pwns System V
Join Date: Sep 2006
Location: atapi.sys as Stuxnet
Posts: 1,229
|
Re: Multiple viruses
Remove Windows  .. LOL.. you can change the permissions of the drive where you have viruses.. or you can manually delete those file by becoming a Administrator..
|
|
|
11-11-2008, 07:34 PM
|
#3 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
How do I do that? I think I am logged in as administrator but I am not sure. Please let me know how.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 07:36 PM
|
#4 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
Be sure to cd to the pen drive mount point
Tell me where the pen drive is mounted first!!
Open a terminal and cd to where the pen drive is mounted, maybe in /media folder. Enter sudo chmod -R 777 * and this will allow full access to modify/delete the folders/files in the pen drive.
Be sure to cd to the pen drive mount point
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
Last edited by Rahim; 11-11-2008 at 08:17 PM.
|
|
|
11-11-2008, 07:41 PM
|
#5 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
Is there a * after sudo chmod -R 777
There are some files in the pen drive that would want to run on their own, hope they wont get permission to run! Excuse me for my extreme ignorance!
I read this somewhere:
Quote:
|
chmod 777 gives everyone all rights, chmod 700 gives the owner all rights, no one else can do anything with the file and you can make every combination like that.
|
Is 777 OK or 700?
The pen drive is mounted in media.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Last edited by Sridhar_Rao; 11-11-2008 at 07:48 PM.
|
|
|
11-11-2008, 07:52 PM
|
#6 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
^Full path to the mount point? Suppose it is mounted as /media/usb. Change accordingly.
Yes 700 will suffice in this case. Yes there is an asterisk * which will change the permissions of all files/folder in /media/usb folder.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 07:54 PM
|
#7 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
OK, I will do that, but before that I have a question. Isn't there a way to make the avast to clean them instead of myself changing the attributes and deleting them?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 07:55 PM
|
#8 (permalink)
|
|
BSD init pwns System V
Join Date: Sep 2006
Location: atapi.sys as Stuxnet
Posts: 1,229
|
Re: Multiple viruses
you can check the Pen-Drive's mount point by command fdisk -l.. it will show you all the mounted devices..
|
|
|
11-11-2008, 07:56 PM
|
#9 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
Then you have to run avast in the root mode(admin). Highly dangerous stuff when choosing root account.
@hellknight: fdisk -l will show only the partitions and not their mount points.
Use df -l to highlight the various mount points.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 08:03 PM
|
#10 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
At the terminal i typed cd /media and got into it. next, i typed cd /usbdiskpro, which is the folder name of the drive and i get no such file or directory. i can see it in file browser.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:05 PM
|
#11 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
Try unplugging and then re-plugging the usb pen drive.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 08:08 PM
|
#12 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
Not happening! Is there any other way getting to it. Like a single statement....cd/media/usbdiskpro ??
Sorry! I was being stupid...all I had to do was to type cd usbdiskpro without that "/"
I am now going for sudo chmod -R 700 *
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:10 PM
|
#13 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
^Chal maaf kiya
One more thing, since the folder's owner is "root", and using 700 will only allow root user to change anything. So why not use 777 to allow everyone,including the normal users to modify them?
Another way is to change the owner to ,say, your name and then use 700, so that it allows you to change them.
i hope your eyes re not rolling backwards reading this
Quick and Dirty Guide to Linux File Permissions
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
Last edited by Rahim; 11-11-2008 at 08:19 PM.
|
|
|
11-11-2008, 08:18 PM
|
#14 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
Hurrah! Thanks...
I got to delete all those nasty files, even the hidden ones. I ran the avast scan and confirmed that all trojans were deleted. Even the ones in the trash folder. How do I revoke that permission?
Sorry, being totally ignorant of linux and its working, I understand nothing. I faithfully follow what good people like you guys tell me.
I have another question...not related to this
I installed clamav in order to bolster security (not linux) using synaptic manager but am unable to see it. Please help
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:21 PM
|
#15 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
Install clam-gtk; it is a front end gui that you can find under system tools.
See this -- Howto Install Clam AntiVirus with GTK frontend GUI
Quote:
|
How do I revoke that permission?
|
Revoke what?
Try going through the link on Linux Permission posted above.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 08:27 PM
|
#16 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
I did find files like clamav, clamav-base, clamav-freshclam, clamav-getfiles, and clamtk and installed them successfully. I don't see it anywhere not even in any menu.
I did as described in this site
http://yourubuntulinux.blogspot.com/...d-its-gui.html
I mean undoing that permission.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:32 PM
|
#17 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
It must be in Accessories Menu as Virus Scanner. Use the Guide posted.
Enter clamtk in a terminal to see if it opens.
As for the permissions, you can change it anyway you like, say changing its owner or changinf its permissions....it depends on our needs.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 08:34 PM
|
#18 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
That is the problem, it is not in the specified location. Any idea?
Is there a default menu editor in ubuntu?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:35 PM
|
#19 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
^Open it from a terminal using clamtk
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 08:37 PM
|
#20 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
Quite unexpected... I found it in applications>system tools>virus scanner.
I tried to update and it says. "you must be root to install updates". How do I be the root?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:41 PM
|
#21 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
Arey bhai open a terminal and enter sudo clamtk. You have to use sudo to update any program remember?
sudo clamtk
go to help and go to Update
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
Last edited by Rahim; 11-11-2008 at 08:43 PM.
Reason: Automerged Doublepost
|
|
|
11-11-2008, 08:43 PM
|
#22 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
Ab tak malum nahin tha, apki meherbani se aaj malum ho gaya, shukriya!
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 08:44 PM
|
#23 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
^Why dont you use irc.eu.freenode.net for such queries, fast, efficient and addictive
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
Last edited by Rahim; 11-11-2008 at 09:00 PM.
|
|
|
11-11-2008, 08:47 PM
|
#24 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: Multiple viruses
What is irc? a chat? pata nahin.
This forum has served most of my purposes, fast & efficient too. thanks to guys like you.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
|
|
|
11-11-2008, 09:03 PM
|
#25 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
^Kis duniya mein rahte hai mere pyaare bhaiiii.
Use xchat for this.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
11-11-2008, 10:29 PM
|
#26 (permalink)
|
|
Wahahaha~!
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
|
Re: Multiple viruses
lol...long troubleshooting
|
|
|
11-11-2008, 11:07 PM
|
#27 (permalink)
|
|
AFK
Join Date: Oct 2006
Location: Bombay
Posts: 1,599
|
Re: Multiple viruses
Quote:
Originally Posted by Sridhar_Rao
What is irc? a chat? pata nahin.
This forum has served most of my purposes, fast & efficient too. thanks to guys like you.
|
Here you go:
Quote:
After a long discussion, we at #Digit IRC have decided to spam the forum with some fun-bites directly from the channel These are some samples, if you want more just visit #Digit IRC channel.
Before we go into details, here are some helpful links:
<Edit>
A New Channel
Another unofficial ThinkDigit channel is up at irc.freenode.net. Come visit us and enjoy your stay. No inhibitions, no restrictions. And don't forget to greet TheMatrixHasYou, the official mascot of our channel. He/she/it may surprise you and thrown in some punches too. See you there!
/join #think-digit in your IRC client or browser. Or, just click here to join via Mibbit.
</Edit>
[Tutorial] How to connect to Digit IRC
Browser based client: http://www.mibbit.com/
Code:
Server: irc.freenode.net
Channel: #Digit
So, what do we do at #Digit?
We hang out.. Believe me, it’s a cool place to hang out (better than forum IMHO). No wonder some of us hang out there till 6AM in the morning..
We solve your problems. . We are there so solve all your problems: from text book to technology, girlfriend to Gnome. 7/24/365 (366 this year)
We talk.. about anything. Yes, ANYTHING! You wanna curse someone on this forum? We are all ears.. 
we are constantly inventing new words. So, u can increase ur vocabulary. And we are on they way to copyright those words..
Some active members are:- kalpik (oh boy you gotta see how people like kalpik behave on chat room
)
- mehulved
- gary4gar
- qwertymaniac/QwertyM
- int86
- Quiz_Master
- hitboxx
- d1g1t
- G__
- filled-void/King-Buntu/learning-ubuntu
- doraeman (love from Soviet Russia)
- ShowMeFunny/n3rd (the crazy fella, stay away from him…
)
- Voldomort/voldy
- Garbage
- The_devil_himself
- Amitava/amitava82/SamSerious
- Aditya/aditya.shevade
- hullap
|
Find it on Chit Chat
|
|
|
12-11-2008, 02:21 PM
|
#28 (permalink)
|
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,524
|
Re: Multiple viruses
^It seems Sridhar is satisfied with ThinkDigit Forum
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||
topdocumentaryfilms.com
|
|
|
12-11-2008, 02:31 PM
|
#29 (permalink)
|
|
AFK
Join Date: Oct 2006
Location: Bombay
Posts: 1,599
|
Re: Multiple viruses
He better be...
|
|
|
12-11-2008, 02:44 PM
|
#30 (permalink)
|
|
Fullbring
Join Date: Jan 2008
Location: Soul Society
Posts: 5,527
|
Re: Multiple viruses
Quote:
Originally Posted by thewisecrab
we are constantly inventing new words. So, u can increase ur vocabulary. And we are on they way to copyright those words..
|
Cud u pls xplain this statement...
__________________
I'm the One you've been Waiting for...
|
|
|
| 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
|
|
|
|
|
|