LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-11-2002, 08:01 PM   #1
lakshman
LQ Newbie
 
Registered: Aug 2002
Location: trichy
Posts: 21

Rep: Reputation: 15
Unhappy Not Affected


why does linux is not affected by any viruses .plz provide me
the conept behind that
 
Old 10-11-2002, 08:48 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, this might be better asked in the security section, but since it's here, I'll give you my theory:

Linux is not the majority. What is a virus writers goal? Probably to do the most to the largest population. So, who are they gonna write virii for? Winbloze. There are also some other reasons, like the file structure and such, but the main thing I think of is the fact that writing a virus for the minority wouldn't be worth the time it'd take.

(But there are virii for Linux, just not as many, and they are caught and fixed quick due to open source )

Cool
 
Old 10-11-2002, 10:01 PM   #3
RijilV
Member
 
Registered: Sep 2002
Location: somewhere
Distribution: gentoo
Posts: 123

Rep: Reputation: 15
there are a few other reasons too

Microsoft makes a good deal of decisions for you by default. You have a default webbrowser and default email cleint. Miscrosoft chose those for you on the Windows platform. So a virus author has an easy task; either defeate the browser or email client, of which you can be reasonably sure the majority of people are running on the Microsoft Windows platform.

Not the same under Linux. While it is true that major distributions such as Redhat, Mandrake, etc, also by default setup default choices, since not every distro runs the same software. Mozilla seems to be taking over the browser market, there still is no email client (evolution is aiming to be). Howerver, there just isn't a guarenteed software being used on Linux.

But it goes farther than that. 99.99% of all Linux users don't log in as root, and don't run their applications as root. This prevents changes to system files, and a good deal of direct hardware access.

Another point is M$'s intergration of software, in that applications have things like ODBC et al to talk to each other, whereas in Linux you are really limmited to quite primitive methods of exchanging information.

Open source also has a much better track record for being secure. I'm not going to debate this point, the evidence is bountiful.

But the major reason was mentioned above, that Linux just doesn't have a large enough share of the desktop market to interest virus authors. Currently Linux makes up a very small percentage of the desks out there, infact some studies I have seen state that Apple still has a larger share. I can't remember where I saw the statitics, otherwise I'd point you to a link. The point however is, inorder for a modern worm or trojan to propagate, it needs to infect a large number of hosts, and the average worm isn't going to get much more than 30% of all hosts other there (see news articles on the recent Windows trojan). But even with 30% of the lets say 5% of Linux desktops, you're looking at a whopping 0.15% of all desktops on the Internet. Not worth the trouble.

Most modern Worms or Trojans typically require some user interaction, even if its just clicking on the message, or sometimes hitting a "ok" box. While I'm not saying Linux users are always more intellegent than Windows users (look at other messages on the forms here for examples, or just observe that I can't cpeel....sigh), as a whole, Linux users tend to have more computer-sense than Windows users as a whole.

But there are Linux worms (the term virus is outdated. most of what people call viri today are worms or trojans). There was a worm with Bind last March, another one with Apache and SSL just last month ago.

So to recap, the main reason why there aren't "virus" out there for Linux is because Linux just doesn't have the desktop market to make it worth while. Secondary reasons are Linux users tend to be more "smarter" computer users, and that the open source community has been producing better software with less holes and fixing them quicker than Microsoft.


boyah.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexplained USB mouse freeze up on Sarge... laptop touchpad not affected PolarDog Linux - Hardware 0 06-18-2005 09:28 PM
Filesystem affected when going from RH9 to FED R2C3? ericcarlson Fedora 1 05-07-2004 04:36 AM
Mandrake 10 update has affected MySql sy-co Mandriva 1 04-17-2004 06:20 PM
how to clean virus after affected samwzm Linux - Security 8 09-15-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:20 PM.

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
Open Source Consulting | Domain Registration