LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Do viruses exist for Linux? (https://www.linuxquestions.org/questions/linux-security-4/do-viruses-exist-for-linux-141088/)

apache363 02-01-2004 02:22 PM

Do viruses exist for Linux?
 
I'm just curious if there are ANY viruses out there for Linux. I'm asking this because I'm wondering whether or not to purchase antivirus software for it. I know there are kernel flaws and software bugs at times, but in general are there any viruses whatsoever?
Also, if I should purchase antivirus software, do you have any recommendations?
Thanks.

rshaw 02-01-2004 02:48 PM

a linux mail server that has windows clients needs it to protect the win boxes. other than that it's not needed. you hear of these "proof of concept" linux viruses that someone cooked up in a comp-lab somewhere, but unless you are running as root, or have your permissions set rediculously loose, there is little to fear.

Capt_Caveman 02-01-2004 03:33 PM

If you do a search at Symantec or McAffee for "linux viruses", you will get a number of viruses listed. There was also a thread several months ago where someone had a server get infected with a virus and had a bunch of files altered. So they very much do exist and though rare, some are in the wild.

vectordrake 02-01-2004 03:40 PM

Don't run as root. Don''t run services as root. Have a strong root password. No virii.

XavierP 02-01-2004 03:49 PM

I don't see the value of having a poll for this. Viruses do exist on Linux, that is a fact - there really is no need to vote on it.

apache363 02-01-2004 03:52 PM

I understand, XavierP, but "virus" is indeed more of a Windows term. That's why I placed the poll.

XavierP 02-01-2004 03:54 PM

True, but they do exist and the first handful were widely publicised.

vectordrake 02-01-2004 03:58 PM

No OS spreads a virus. Users spread virii. Protet your computer like your home. Maintain it like your car. You'll be fine. Tell your neighbor to do the same. Before you know it, exploits are gonna be rare.

edit reason: I CAN'T SPELL!!!

apache363 02-01-2004 04:11 PM

True, but the companies that make an OS are responsible for their creations IF they plan to sell them. Users may spread virii, but developers create the possibility for them.
One question remains: about how MANY viruses are there for Linux?

Capt_Caveman 02-01-2004 04:17 PM

Quote:

Originally posted by vectordrake
No OS spreads a virus. Users spread virii. Protet your computer like your home. Maintain it like your car. You'll be fine. Tell your neighbor to do the same. Before you know it, exploits are gonna be rare.

Unless developers stop writing any new code, I don't see how that is going to affect the number of exploits.

Capt_Caveman 02-01-2004 04:29 PM

This is by no means a complete list, but those who are clicking on "No" should do some reading.
http://securityresponse.symantec.com....jac.8759.html
http://securityresponse.symantec.com...ux.simile.html
http://securityresponse.symantec.com...inux.svat.html
http://securityresponse.symantec.com....hyp.6168.html

apache363 02-01-2004 04:33 PM

That's also true, but developers should test code before they sell it for security bugs and the like. As an alternative, they should hire an external firm to audit the code. It's their responsibility to ensure that their apps are secure. Part of the responsibility is the user's, but much of it belongs to the coders.

Neorio 02-01-2004 07:12 PM

My fear is that in the not-so-far-off future where Linux is prevalent on the desktop, and virus writers target the machine, we're going to be having trojans pop up on the desktop and ask for the root password to run a trojaned program the user downloaded.

qwijibow 02-01-2004 07:21 PM

Virii for linux.... no.
worms..... yes.

however the worm would be unabe to touch any files the user responcible for getting the worm does not have access writes to. and rpovided things like your bash_profile is set to read only, and owned by root, the worm would be incapable of loading itself dureing bootup or login.

Capt_Caveman 02-01-2004 11:45 PM

Quote:

Originally posted by qwijibow
Virii for linux.... no.
worms..... yes.


Errm, sorry to disagree but see the links in post 11 and you'll see that they clearly do exist. And the worms in Linux can be quite devastating to vulnerable systems (see slapper, ramen, lion worms).


All times are GMT -5. The time now is 01:35 AM.