LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2009, 03:03 PM   #1
GypsyPants
LQ Newbie
 
Registered: May 2009
Posts: 27

Rep: Reputation: 15
Linux, Possible Viruses?


Stupid question, but does linux gets any viruses? I mean all os's get some kinda viruses? But am I going to need some kind of virus scanner? Also, when I had windows I needed to cleen registry afer i uninstalled something, will I need to do this with linux?
 
Old 05-03-2009, 03:09 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by GypsyPants View Post
Stupid question, but does linux gets any viruses? I mean all os's get some kinda viruses? But am I going to need some kind of virus scanner? Also, when I had windows I needed to cleen registry afer i uninstalled something, will I need to do this with linux?
Both questions are all already ask and answered several times.
So Please search this forum
 
Old 05-03-2009, 03:09 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,989

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Viruses are usually not a worry with Linux if you have your machine set up with users and root (administrator) and don't go online or do foolish things as root. Most Linux viruses I have read about are proof of concept done in labs but it is possible. There is no registry like you have in windows and installing/uninstalling should be done with the package manager with whatever distribution you are using. There are anti-virus programs for Linux, google it.
 
Old 05-03-2009, 03:10 PM   #4
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Quote:
Does linux gets any viruses?
Yes, from time to time, it's not immune

Quote:
I mean all os's get some kinda viruses?
Of course, it wouldn't be fun otherwise

Quote:
am I going to need some kind of virus scanner?
Not as imperative as in windows but you can install one if you want, clamav its a common choice

Quote:
when I had windows I needed to cleen registry afer i uninstalled something, will I need to do this with linux?
No, there's not such a thing as the windows registry in linux

Linux, in a sense, is more like win9x and those .ini files to deal with configuration settings but instead of being all sparse they are kept in /etc easy to find/customize
 
Old 05-03-2009, 03:16 PM   #5
GypsyPants
LQ Newbie
 
Registered: May 2009
Posts: 27

Original Poster
Rep: Reputation: 15
Thanx for the answer quick response.
 
Old 05-03-2009, 03:31 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by Acron_0248 View Post
Yes, from time to time, it's not immune
I'd like to point out that GNU/Linux may not be immune to viruses but due to differences in architecture and operation, distribution differences and the "usual" approaches to subverting a GNU/Linux machine, most viruses have remained in the Proof of Concept stage. Saying "from time to time" is not correct and not a clear answer. If you still think it is, please supply some stats.


Quote:
Originally Posted by Acron_0248 View Post
Not as imperative as in windows but you can install one if you want, clamav its a common choice
If one operates a GNU/Linux machine that in any way shares documents with Pitiful Operating Systems (abbrev.: POS) then installing AV may help stop propagation. And ClamAV may be promoted as "common choice" but that does not automagically mean it is the best choice in terms of signature coverage, performance or heuristics engine.


Quote:
Originally Posted by Acron_0248 View Post
Linux, in a sense, is more like win9x and those .ini files
Please don't compare GNU/Linux with certain commercial, proprietary, standard-breaking products.
 
Old 05-03-2009, 03:44 PM   #7
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Quote:
Originally Posted by unSpawn View Post
I'd like to point out that GNU/Linux may not be immune to viruses but due to differences in architecture and operation, distribution differences and the "usual" approaches to subverting a GNU/Linux machine, most viruses have remained in the Proof of Concept stage. Saying "from time to time" is not correct and not a clear answer. If you still think it is, please supply some stats.
well, one might come up with a list like this one, and surely most of those listed will be POCs, however, a more recent attack (psyb0t) was more than a POC and even when it was designed to attack a very specific platform I see it as an example of "from time to time" regarding virus attacking linux OS.


Quote:
Originally Posted by unSpawn View Post
If one operates a GNU/Linux machine that in any way shares documents with Pitiful Operating Systems (abbrev.: POS) then installing AV may help stop propagation. And ClamAV may be promoted as "common choice" but that does not automagically mean it is the best choice in terms of signature coverage, performance or heuristics engine.
Indeed

Quote:
Originally Posted by unSpawn View Post
Please don't compare GNU/Linux with certain commercial, proprietary, standard-breaking products.
Maybe I should refrained as "linux's software/hardware/profiles configuration scheme is more like..."?
 
Old 05-03-2009, 03:58 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
The most recent attack was designed to attack very specific targets:
Quote:
This nasty virus attacks MIPS based routers and their embedded Linux OS.
which is different from the desktop boxes. And the wikipedia list of Linux viruses has nothing newer than 2 years ago, this is pretty much backed up by a search on the MacAfee site.

So, if you are running a system that was last patched in late 2007 or are running a MIPS router that is set to enable brute force attacks, then you are vulnerable.

To return to Unspawn's note, if you serve files to one of the less secure OSes that originate in or around Redmond, then you should run a virus scanner to protect those people.
 
Old 05-03-2009, 04:03 PM   #9
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Quote:
Originally Posted by XavierP View Post
And the wikipedia list of Linux viruses has nothing newer than 2 years ago
Indeed but surely qualifies as "time to time" doesn't it? so saying it isn't incorrect (to my point of view that is)
 
Old 05-03-2009, 06:55 PM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Absolutely, my post served as a qualifier. I also forgot to add in: just because you are safe today does not mean that you will be safe tomorrow. So keep up with security updates for your distro and have a working iptables setup at the minimum.
 
Old 05-03-2009, 07:28 PM   #11
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by Acron_0248 View Post
well, one might come up with a list like this one, and surely most of those listed will be POCs, however, a more recent attack (psyb0t) was more than a POC and even when it was designed to attack a very specific platform I see it as an example of "from time to time" regarding virus attacking linux OS.
Checking the list there's not much after 2007 and I doubt all are viruses. Commercial AV vendors will throw anything on the "Linux virus" heap to increase market s(c|h)are. Of the three I checked two are ELF infectors (Podloso, Alaeda), the other collateral of the Badbunny worm, a script infector. Psybot is not a virus but a worm.

If you have been reading up on what security problems plagued GNU/Linux the past five years then the list (in decreasing order of severity and spread) could read something like: kernel vulnerabilities (that hurts no matter what), shitty PHP coding (mass webfarm compromises, botting, RFI and injection fun), SSH and SSL vulnerabilities, other software vulnerabilities, lack of discipline or knowledge (open dirs, open proxies, no updating, misconfiguration), rootkits. What I have encountered in the past years is ninetynine point nine percent PHP-related and point one percent rootkit incidents. For virus infections there's no place on that list. We've got more urgent threaths to deal with.
 
Old 05-03-2009, 08:50 PM   #12
Bob_P
LQ Newbie
 
Registered: Oct 2005
Posts: 15

Rep: Reputation: 0
Gypsy pants Yancek and Acron Gave you the best answer to your question Disregard the rest as they are in a power play of who knows the most. they Forget we want answers not debates that,s why I gave up and haven,t been back for long time. Simple questions Need simple answers Good luck
Bob_P
 
Old 05-03-2009, 11:42 PM   #13
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,973

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by Bob_P View Post
Simple questions Need simple answers
Too right. The simplest answer to this question is this:

On a desktop machine: No, you don't have to worry about viruses.

On a server: If you're competent enough to set up a server, you should be able to find the answer. It will vary, depending upon what type of services you need to be running.
 
Old 05-04-2009, 03:00 PM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
When a man points
at the moon, the fool
looks at his finger.
 
Old 05-04-2009, 03:15 PM   #15
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Quote:
Originally Posted by unSpawn View Post
When a man points
at the moon, the fool
looks at his finger.
Amen...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux viruses PastorWirl Linux - Newbie 8 09-23-2007 05:10 AM
Linux and Viruses Chronothread Linux - Newbie 5 07-19-2007 05:28 PM
viruses in linux? chemdawg Linux - Newbie 7 01-28-2005 02:31 AM
Linux Viruses? LinuxPimp Linux - Security 9 10-26-2004 02:51 PM
linux and viruses??? spyghost Linux - Software 11 09-21-2003 06:45 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration