Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Vista
Linux vs. Windows Viruses
Scott Granneman, 2003-10-02

To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it.

Comments Mode:
Linux vs. Windows Viruses 2003-10-02
Anonymous (13 replies)
Linux vs. Windows Viruses - Sad. 2003-10-03
Anonymous (2 replies)
Linux vs. Windows Viruses - Sad. - Misguided 2003-10-06
Anonymous (3 replies)
Linux vs. Windows Viruses - Sad. - Misguided - More Misguided 2003-10-06
Anonymous (2 replies)
Linux vs. Windows Viruses - Sad. - Misguided - More Misguided 2003-10-06
Anonymous (2 replies)
Linux vs. Windows Viruses - Sad. - Misguided - More Misguided 2003-10-07
Anonymous (3 replies)
Linux vs. Windows Viruses - Sad. - Misguided - More Misguided -- And seriously misguided! 2003-10-08
Anonymous (1 replies)
Linux vs. Windows Viruses - Sad. - Misguided - More Misguided -- And seriously misguided! 2003-10-08
Anonymous (1 replies)
I think this discussion shows the real people problem.

Obviously many Microsoft software products are less secure than comparable systems, any objective look at the figures and history shows this clearly.

People who count Bugtraq vulnerabilities and then shout "see Linux is worse" just missed the point entirely. The issues are severity, and diversity.

For example some of those vulnerabilities still concern sendmail, and no one with concerns about security uses sendmail.

Possibly some concern Postfix which does pretty much the same thing, but the vulnerabilities tend to be much more minor due to better engineering of the product. The actual number concerning widely used common components of any significance is small (OpenSSH being the latest).

As pointed out even if the vulnerabilities were as extensive and as easily exploitable, the diversity of 'Unix like' systems is much wider than many Microsoft administrators appreciate. It takes a lot of time and effort to craft an effective *nix worm due to this diversity.

The specific low quality of MS products is presumably the result of low quality control at Microsoft, which itself is probably a result of a monopoly position.

This was brought home most clearly to me was the OE4 bug, where I discovered all those nice security settings I'd chosen for HTML in my Email had no effect whatever other than to give me a false sense of security.

This version of OE had more features and options for controlling security than any Linux mail client I've ever used, but the quality of these extra features was so low as to make them worse than useless!

The story is repeated across a wide range of MS products, security is an after thought and retrofitted, and often poorly.

Ironically, the core features apparently offered for security are far better in Windows. The Unix permissions model is archaic, and the ACL replacement whilst widely available is rarely deployed in my experience (and problematic because it is "retrofitted" - hence it's lack of deployment - so a simplistic but well implemented security scheme is out performing a sophisticated and complex, but poorly implemented scheme).

To hear people say "just run an AV system", misses the point. First most other systems don't and have no virus problem. Second AV system suffer from an obvious race condition. Third viruses are only a small part of the real problem. Fourth they are a big performance hit.

A digital immune system sounds good till you realise the worm people are talking about worms that saturate within 15 seconds, like Norton AV is going to save anyone. The only acceptable solution is defence in depth, to avoid, mitigate and control problems.

I think the numbers clearly demonstrate that many Microsoft products are below par when it comes to security. And having secured both I can assure you Windows server products are bloody hard to properly secure compared to comparable *nix systems in part because they are richer in features (often that you just want to know how to switch off, uninstall , or patch). Anyone who wants to dispute this point to the documentation you use describing how to secure your Windows servers!

Having done a hatchet job on Micrsoft let's look at the other points.

Running as root.... yes if you hand out Linux systems to joe public some will run as root, although some distros will refuse to start X, or display hideous warning messages. So I don't think this is a big issue, except where vendors have failed to discourage.

With millions of Linux boxes out there, not all of them are being run by people as talented as Linus. Which is the picture the Microsoft apologists seem to want to paint, but a sensible choice of default services by most modern distro's has avoided anything like the XP DCOM farce.

I once plugged a newly installed Debian laptop into a University network without thinking , the subsequent port scan showed only two listening ports (both of which I'd added for the demo) - don't you love sensible defaults. I can guarantee had I a freshly installed W2K or XP the box it would have been infected in seconds, since all such boxes on that network were infected during that 1/2 day visit.

However I agree the monoculture is a big problem for everyone, I mean geez my disk space filled up on a Linux box due to mail from infected Windows PC, the monoculture hurts those of us who aren't even using it. My log files are just full of port 135 probes, getting in the way of seeing more significant activity.

However the idea that the software is magically better in the *nix world is false. Some of it is substantially better engineered, give me Solaris over W2K anytime, SUN really do do those things you read about in software engineering books, like code coverage measurement.

Indeed the Windows world has better tools for building secure applications in some areas (MS VC kicks arse over GCC for these kind of features), although often the programmers are unaware, and they are rarely enabled by default!

The free software world does have some edges, run any free software project long enough and someone will send you a security audit of the source code. But it is still down to the maintainers to accept and merge such enhancements. Many of these are based on automated code inspection (so now you know why there are so many Bugtraq posts for free software, any old comp sci student can audit it with their latest code auditing technique). Most people auditing code are doing it to ensure it is "safe to run", or at least not terribly unsafe.

So I'm persuaded the general case is made, that a Linux world, would have far fewer such problems than the current MS world. By the time DOS had achieved the same sort of usage as current Linux systems, viruses were epidemic, where as the existing *nix systems at that time were largely untroubled by malicious code, as they have remained so to this day.

However the general code quality in Linux distributions is not yet high enough that such a world would be anywhere near trouble free. Such a utopia is a pipe dream, although that won't stop me advocating techniques that will bring it closer.

[ reply ]

Link to this comment: http://www.securityfocus.com/comments/columns/188/22964#22964
Linux vs. Windows Viruses - Sad. 2003-10-07
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous (5 replies)
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous (2 replies)
Linux vs. Windows Viruses 2003-10-06
Catalina Thunders
Linux vs. Windows Viruses 2003-10-07
Karl
Linux vs. Windows Viruses 2003-10-07
Anonymous
Linux vs. Windows Viruses 2003-10-07
Anonymous (1 replies)
Re: Linux vs. Windows Viruses 2006-03-14
windows xp professional
Sorry,shill@microsoft.com, but no. 2003-10-03
Anonymous (1 replies)
Sorry,ltorvalds@space-for-rent.com, but no. 2003-10-04
Anonymous (10 replies)
MCSEs, what a joke 2003-10-06
Anonymous (3 replies)
MCSEs, what a joke 2003-10-07
Anonymous (3 replies)
MCSEs, what a joke 2003-10-07
Anonymous (1 replies)
MCSEs, what a joke 2003-10-13
Anonymous
MCSEs, what a joke 2003-10-07
Anonymous
MCSEs, what a joke 2003-10-11
Anonymous
MCSE Unix Administrator 2003-10-10
Anonymous
MCSEs, what a joke 2003-10-14
MCSE
Users can't control their admins 2003-10-08
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-04
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous (1 replies)
hmm... 2003-10-07
Anonymous (2 replies)
hmm? 2003-10-07
Penguinisto (2 replies)
hmm? 2003-10-08
Anonymous (1 replies)
hmm? 2003-10-15
Penguinisto
hmm? 2003-10-08
Krysalisk (1 replies)
hmm? 2003-10-15
Penguinisto
hmm... 2003-10-07
Anonymous
How Interesting 2003-10-08
Sigmund Einstein
Re: Linux vs. Windows Viruses 2007-09-19
boogieboarder97@aim.com
Linux vs. Windows Viruses 2003-10-02
Anonymous (8 replies)
Linux vs. Windows Viruses 2003-10-03
Joe Hill (1 replies)
Linux vs. Windows Viruses 2003-10-15
Anonymous
RTFA 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-03
ob3wan
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-08
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous (4 replies)
Linux vs. Windows Viruses 2003-10-04
Anonymous
Linux vs. Windows Viruses 2003-10-04
John Wilson
Linux vs. Windows Viruses 2003-10-06
Anonymous
Re: Linux vs. Windows Viruses 2006-06-13
Anonymous
Troll Food 2003-10-03
Anonymous (3 replies)
Troll Food 2003-10-03
Efrén
Troll Food 2003-10-03
Anonymous
Troll Food 2003-10-03
Joe Hill (1 replies)
Troll Food 2003-10-15
Anonymous (1 replies)
Re: Troll Food 2006-01-10
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous (2 replies)
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-08
Krysalisk
Linux vs. Windows Viruses 2003-10-03
Anonymous :) (1 replies)
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-03
Bart
Linux vs. Windows Viruses 2003-10-03
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-04
Mark Jensen
Linux vs. Windows Viruses 2003-10-03
Anonymous (2 replies)
Linux vs. Windows Viruses 2003-10-04
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous (1 replies)
Re: Linux vs. Windows Viruses 2006-01-10
Anonymous
vs. ?? 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-03
Efrén
Linux vs. Windows Viruses 2003-10-03
Anonymous (2 replies)
Linux vs. Windows Viruses 2003-10-03
Brian
Linux vs. Windows Viruses 2003-10-03
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-04
John Wilson
Linux vs. Windows Viruses 2003-10-03
uofis
Linux vs. Windows Viruses 2003-10-03
Anonymous
Linux vs. Windows Viruses 2003-10-03
Anonymous
Why this article SUCKS 2003-10-03
Anonymous (2 replies)
Why this article SUCKS -NOT. 2003-10-06
Bob James - Pentar InfoSystems
Why this article SUCKS 2003-10-07
Anonymous (1 replies)
Why this article SUCKS 2003-10-08
Anonymous (1 replies)
Why this article SUCKS 2003-10-08
Krysalis
Linux vs. Windows Viruses 2003-10-03
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-04
Anonymous
Think OpenBSD, Linux and cia are much more SECURE ! 2003-10-03
Anonymous (1 replies)
Think, yet another troll. 2003-10-06
Anonymous (4 replies)
Not quite 2003-10-06
Anonymous
Think, yet another troll. 2003-10-06
Anonymous
Think, yet another troll. 2003-10-07
Anonymous
Yes, but you are a NERD 2003-10-07
Hellcat (2 replies)
Yes, but you are a NERD 2003-10-08
Krysalisik
UNIX worms (RTM aka. The Great Worm) 2003-10-03
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-03
Anonymous
I think you're being short sighted 2003-10-03
Anonymous (1 replies)
Scott's web server runs Windows 2000 2003-10-04
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-04
Anonymous (2 replies)
huh? 2003-10-07
Anonymous
Linux vs. Windows Viruses 2003-10-08
Krysalisk
Linux vs. Windows Viruses 2003-10-04
Anonymous
Lindows 2003-10-04
Anonymous
Linux vs. Windows Viruses 2003-10-05
Anonymous
Linux vs. Windows Viruses 2003-10-05
Anonymous
Linux vs. Windows Viruses 2003-10-06
Jeff@aeonworx.com (2 replies)
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-07
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous
Linux vs. Windows Viruses 2003-10-06
Anonymous (2 replies)
Windows auto update for XP 2003-10-07
Anonymous
Re: Linux vs. Windows Viruses 2006-01-10
Anonymous
EDITOR: Please be more aware of sexist pronouns 2003-10-07
Pamela (2 replies)
EDITOR: Please be more aware of sexist pronouns? 2003-10-07
Anymouse (1 replies)
EDITOR: Please be more aware of sexist pronouns? 2003-10-08
leavetheworldabetterplacethanyoufoundit (1 replies)
Linux vs. Windows Viruses 2003-10-07
Anonymous
Market -vs- Security 2003-10-07
Anonymous (1 replies)
Market -vs- Security 2003-10-07
Anonymous
Mac OS X = 0 2003-10-07
Anonymous (1 replies)
Mac OS X = 0 2003-10-07
Wendy Piggsflye
Scott's Right, Microsofties. Deal With It. 2003-10-07
Penguinisto (2 replies)
Scott's Right, Microsofties. Deal With It. 2003-10-08
Anonymous (2 replies)
I'm famous now? 2003-10-09
Penguinisto
MCSEs ARE a joke 2003-10-08
Anonymous (2 replies)
MCSEs ARE a joke 2003-10-08
Krysalisk (1 replies)
MCSEs ARE a joke 2003-10-09
OS Agnostic
MCSEs ARE a joke 2003-10-09
Anonymous
If Linux is so secure..... 2003-10-08
Anonymous (1 replies)
If Linux is so secure..... 2003-10-09
Anonymous (2 replies)
If Linux is so secure..... 2003-10-09
Anonymous
If Linux is so secure..... 2003-10-10
Anonymous
Why not compare root exploits? 2003-10-09
modulus at modsgarage dot com
Linux vs. Windows Viruses 2003-10-09
Anonymous
Linux vs. Windows Viruses 2003-10-09
Anonymous
Linux vs. Windows Viruses 2003-10-10
Anonymous
You failed to refute the statement 2003-10-11
Anonymous (1 replies)
Linux vs. Windows Viruses 2003-10-11
McGeezer
Linux vs. Windows Viruses 2003-10-12
Paul Kosinski
The Achilles Heel of both... 2003-10-13
zer0*Kelvin (1 replies)
The Achilles Heel of both... 2003-10-15
Anonymous
Bill Gates vs GM 2003-10-13
zer0*Kelvin
Microsoft RULZ 2003-10-15
Microsoft supporter (1 replies)
Re: Microsoft RULZ 2007-01-04
Anonymous
Linux vs. Windows Viruses 2006-06-08
Anonymous
Linux vs. Windows Viruses 2006-07-02
Blunts
Lindows (linspire) 2007-02-22
Esnir







 

Privacy Statement
Copyright 2008, SecurityFocus