Question:
Why doesn't Linux OS's get viruses?
WhoKnows?
2009-06-05 08:39:35 UTC
My guess is because not that may people are sing Linux. I know ever since Mac has gained in popularity they have viruses. Is Linux really that secure or is it just a matter of time?
Nine answers:
Linux Mint 11
2009-06-05 12:43:30 UTC
Taken from http://www.whylinuxisbetter.net/



If your computer shuts itself down without asking you, if strange windows with text you don't understand and all kinds of advertisements appear when you don't ask for them, if emails get sent to all your contacts without your knowing it, then your computer probably has a virus. The main reason for this is because it runs Windows.



Linux hardly has any viruses. And that's not like "Oh well, not very often, you know". That's like "If you've ever heard of a real Linux virus, please tell me". Of course, a Linux virus is not impossible to get. However, Linux makes it very hard for this to happen, for several reasons:



Most people use Microsoft Windows, and pirates want to do as much damage (or control) as possible: therefore, they target Windows. But that's not the only reason; the Apache web server (a web server is a program located on a remote computer that sends web pages to your browser when you ask for them), which is open source software, has the biggest market share (against Microsoft's IIS server), but it still suffers from much fewer attacks/flaws than the Microsoft one.



Linux uses smart authorization management. In Windows you (and any program you install) usually have the right to do pretty much anything to the system. If you feel like punishing your PC because it just let your precious work disappear, you can go inside the system folder and delete whatever you want: Windows won't complain. Of course, the next time you reboot, trouble begins. But imagine that if you can delete this system stuff, other programs can, too, or just mess it up. Linux doesn't allow that. Every time you request to do something that has to do with the system, an administrator password is required (and if you're not an administrator on this system, you simply can't do it). Viruses can't just go around and delete or modify what they want in the system; they don't have the authorization for that.



More eyes make fewer security flaws. Linux is Open source software, which means that any programmer in the world can have a look at the code (the "recipe" of any program), and help out, or just tell other developers "Hey, what if blah blah, isn't this a security flaw?".



Maluoof

May I say you answer is somewhat misleading as in reality if you were to list the viruses that appear on windows the list would be endless.



I have run Linux for three years now with no security software problems. Furthermore once I carried out a task to try and make Linux pick up a virus with no joy.



Thank you for your time.



LUg.
?
2016-08-29 10:18:17 UTC
2
?
2009-06-05 09:04:40 UTC
You are right in your supposition. Until recently most open-source OS such as Linux (all flavors) and Unix were most often used by open-source followers. This has been changing though as the open-source alternatives to Microsoft's "black-box" OS have started to be embraced by the business world. As you correctly assumed, the more popular and populated an OS gets the more likely "hackers" will target them for viruses and the like.



However, Linux can be made much more secure than Microsoft, primarily because you can tailor the security more tighter around the Linux kernel than you can in Windows using either MS's or other 3rd party security software. SELinux is a great example of just how secure you can make Linux (from free to locked down states, you decide which best suits you or your organization). Most military installations use SELinux in locked down mode to prevent outside "hacking". Although these systems in the locked-down mode are either stand-alone or linked by other means than the Internet.
knutson
2016-10-01 07:06:49 UTC
listed right here are some the clarification why viruses are not a controversy on Linux. - customers at the instant are not Root (Administrator) by using default - Unix-like working device have strict document permissions - Downloaded content cloth isn't executable (which comprise scripts) they must be made executable by using the person - Linux is amazingly diverse. diverse laptop environments, diverse kernel releases, diverse kit managers, etc. this suggests that no longer all Linux distros would be susceptible to a similar style of attack Malware nevertheless exist (generally Trojans), even inspite of the shown fact that it is not a controversy Linux customers difficulty approximately.
2009-06-05 13:01:15 UTC
It does but they are rare. Mainly because of 2 reasons; 1) linux is not as used as windows so not as much malwere (viruses and spywere) is written for it. 2) because linux is open source, there are a ton of different versions so it is very hard to write a virus that works for a wide range of versions.
2009-06-05 10:19:24 UTC
Look at this list LINUX is not 100% Immune!



Trojans



Kaiten - Linux.Backdoor.Kaiten trojan horse

Rexob - Linux.Backdoor.Rexob trojan



Viruses



Alaeda - Virus.Linux.Alaeda

Bad Bunny - Perl.Badbunny

Binom - Linux/Binom

Brundle

Bukowski

Diesel - Virus.Linux.Diesel.962

Kagob a - Virus.Linux.Kagob.a

Kagob b - Virus.Linux.Kagob.b

MetaPHOR (also known as Simile)

Nuxbee - Virus.Linux.Nuxbee.1403

OSF.8759

Podloso - Linux.Podloso (The iPod virus)

Rike - Virus.Linux.Rike.1627

RST - Virus.Linux.RST.a

Satyr - Virus.Linux.Satyr.a

Staog

Vit - Virus.Linux.Vit.4096

Winter - Virus.Linux.Winter.341

Winux (also known as Lindose and PEElf)

Wit virus

ZipWorm - Virus.Linux.ZipWorm



Worms



Adm - Net-Worm.Linux.Adm

Adore

Cheese - Net-Worm.Linux.Cheese

Devnull

Kork[37]

Linux/Lion

Mighty - Net-Worm.Linux.Mighty

Millen - Linux.Millen.Worm

Ramen worm

Slapper

SSH Bruteforce
Fraggle
2009-06-05 10:04:14 UTC
Linux is no more secure than Windows. In fact, in the days before Windows became so popular, most of the worms and other nasties targeted Unix systems quite effectively. It's just that the goal is to infect as many machines as possible, and since most people run Windows that's what malware is written for.
2009-06-05 11:05:44 UTC
There is no operating system immune to virus, trojans, worms or malware. Most of these need an executable file to attach itself to in general.
2009-06-05 08:44:27 UTC
It's just a matter of time. The primary vulnerability in computers is the stupidity of people.



Linux + Stupid User = Virus.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...