Why Linux Is More Secure Than Windows

HardOCP News

[H] News
Joined
Dec 31, 1969
Messages
0
You know, any time you claim something is “more secure” than something else, there is bound to be an argument. I believe this is what people refer to as stirring the pot.

"Security through obscurity" may be a catchy phrase, but it's not the only thing that's catching among Windows users. The expression is intended to suggest that proprietary software is more secure by virtue of its closed nature. If hackers can't see the code, then it's harder for them to create exploits for it--or so the thinking goes.
 
The way I see it: you worry about your OS, and let Microsoft worry about theirs.
 
The Linux heads are getting more vocal about this, precisely because Windows has gotten so much more secure. You hear less and less about Windows exploits (the common exploits are user exploits these days). As such they have to increase the volume to try and convince people Linux is indeed more secure, since they sure aren't going to convince people it is more user friendly.

Also you notice how it is always outdated talking points. Point #1 stopped being true with Vista and 7. Users are, by default, NOT the administrator. Even "admin" users have to elevate privilege. Of course it doesn't do any good, since users will just click yes, but it is the same kind of security you find on Linux (just like Windows it auto asks to elevate when it needs it these days).
 
All this Linux talk got me thinking of XKCD.

Person A: "Make me a sandwich."
Person B: "No."
Person A: Erm. Sudo Make me a sandwich."
Person B: "Ok."
 
We should all just go on a Mac and never worry about this stuff :D
 
The Linux heads are getting more vocal about this, precisely because Windows has gotten so much more secure. You hear less and less about Windows exploits (the common exploits are user exploits these days). As such they have to increase the volume to try and convince people Linux is indeed more secure, since they sure aren't going to convince people it is more user friendly.

Also you notice how it is always outdated talking points. Point #1 stopped being true with Vista and 7. Users are, by default, NOT the administrator. Even "admin" users have to elevate privilege. Of course it doesn't do any good, since users will just click yes, but it is the same kind of security you find on Linux (just like Windows it auto asks to elevate when it needs it these days).
The author must be thinking that XP is still the latest OS, guess he never heard of Vista/7, lol.
 
after reading the article It looks like Linux is more secure because only a few can use and understand it, lol (which imo is the basic truth). Is it me or is number 1, and 2 basically the same and are more targeted towards XP. lol. I think i'd agree with 4. but adds another what if- what if Linux dominates the Market.I wonder if the " Given Enough Eyeballs" concept will hold true.

And there are definitely steps Linux users should take to make their systems as secure as possible, such as enabling a firewall, minimizing the use of root privileges, and keeping the system up to date

which in theory would take as much time and thinkering as installing a Full Windows installation :p , I remember that day (or 2, or 3) when I was trying to make samba communicate with Active Directory, one of the most frustrating days of my life. lol, Wish there are ways to do simple stuff in linux, well much simple, (Ubuntu is a right step, yet I still want more)

good read I guess, but I felt like I was reading a paid Linux review really.
 
To anyone remotely interested in the topic, this read was a waste of time. The only argument the author makes is that Windows users are typically given admin rights by default (as others have noted, not even true in Win7/Vista), while Linux users are not. The default configuration has very little to do with how secure the operating system is or can be.

Dedicating one sentence to OSX -- "by the way, Apple is worth than either lol" is also pretty silly.

I guess I was warned before I clicked through that this article was merely "stirring the pot," but I expected something a little more interesting than an uninformed troll article. I guess this goes to show: trolling is a art.
 
Also you notice how it is always outdated talking points. Point #1 stopped being true with Vista and 7. Users are, by default, NOT the administrator. Even "admin" users have to elevate privilege. Of course it doesn't do any good, since users will just click yes, but it is the same kind of security you find on Linux (just like Windows it auto asks to elevate when it needs it these days).

Yes and no. There are a couple of differences. UAC pops up all the bloody time, whereas the prompts on Linux are rare and require your password - you can't just click yes. Windows 7 greatly, greatly improved on that, though, so here's hoping the situation keeps getting better. The other is that a default install doesn't give users admin access, but that isn't necessarily what actually ends up happening. Places like best buy, for example (yes, we all know they suck, too bad the masses don't), "helpfully" setup your computer for you and make you an admin. Still others turn off UAC completely.

Sure, you can say it's user error and such, but consider what linux does. A root user *cannot* log in to a graphical shell, it just isn't allowed without really knowing what you are doing to go in and force the system to allow you to log in to X as root. Then there is the complete lack of admin users in the first place. You can give users superuser access, but you can't make a user a superuser period. And, of course, you can't turn it off, no matter how hard you try.

MS seems to be finally transitioning to something similar, with UAC being a key first step, but lack of foresight combined with backwards compatibility requirements is making this a slow, painful transition.
 
I agree, whoever wrote this is still in XP land.

That being said, it appears targeted towards businesses, and most businesses appear to still be using XP, so this is not necessarily a poor comparison.

Vista and 7 definitely improved windows security dramatically, the biggest improvement being moving towards better limited user accounts, though I still think linux does this better.

The real linux advantages are points 3, 4 and 5.


3.) Monoculture effect.:
This is an interesting point, which I had never thought of before. it may provide some benefit, but the truth is that most distributions rely on the same software packages anyway, so the vulnerabilities are likely going to be similar across distributions.


4.) Audience size:
This is what MacOS has been relying on for a long time. Kind of a cheap way to get better security, but I guess any benefit works. If linux starts growing in popularity, this can no longer be touted as an advantage.

5.) Eyeballs:
This is where the real and huge benefit of Linux lies. The very fact that the open source community peers over the source code all the time leads to huge benefits over the closed source model. It makes security issues less common, and when security issues are dsicovered thay are usually patched almost instantly, as opposed to Microsofts rather slow turnaround time. Another benefit here is that since many third party software houses don't release their software for linux, linux users use open-source workalike products so they are not as susceptible to security flaws from 3rd party vendors producs, like Adobe reader as an example.

which in theory would take as much time and thinkering as installing a Full Windows installation :p , I remember that day (or 2, or 3) when I was trying to make samba communicate with Active Directory, one of the most frustrating days of my life. lol, Wish there are ways to do simple stuff in linux, well much simple, (Ubuntu is a right step, yet I still want more)

I guess you haven't used Linux a lot lately. I - too - remember fighting with SAMBA and the like, but with the latest releases (at least Ubuntu) this has become scarily easy. It's amazing how much ease of use improves with every 6 month release.

good read I guess, but I felt like I was reading a paid Linux review really.

Why would someone pay someone to give favorable reviews of a free operating system? :p

I'm a huge fan of desktop linux, and I think that useability has improved to the point where it is ready for most to use if they want to. An added benefit is that computer resource use is much more efficient than either Windows or MacOS so it runs beautifully on older machines or lower end machines.

The drawbacks are still going to be software availability. The sole reason I still dual boot Windows is for software that isn't available in Linux, particularly iTunes (I hate it as a player, but I need it so I can install firmware updates for my iPhone, curse you Apple) and for specialty software for my Nikon camera (Capture NX2). I also occasionally use it for games.
 
Yes and no. There are a couple of differences. UAC pops up all the bloody time, whereas the prompts on Linux are rare and require your password - you can't just click yes. Windows 7 greatly, greatly improved on that, though, so here's hoping the situation keeps getting better. The other is that a default install doesn't give users admin access, but that isn't necessarily what actually ends up happening. Places like best buy, for example (yes, we all know they suck, too bad the masses don't), "helpfully" setup your computer for you and make you an admin. Still others turn off UAC completely.

Sure, you can say it's user error and such, but consider what linux does. A root user *cannot* log in to a graphical shell, it just isn't allowed without really knowing what you are doing to go in and force the system to allow you to log in to X as root. Then there is the complete lack of admin users in the first place. You can give users superuser access, but you can't make a user a superuser period. And, of course, you can't turn it off, no matter how hard you try.

MS seems to be finally transitioning to something similar, with UAC being a key first step, but lack of foresight combined with backwards compatibility requirements is making this a slow, painful transition.

Just throwing it in there, but UAC can also require passwords. Just open secpol.msc and enable it. Perhaps Windows 8 will do this, but I don't see it happening, seeing how people bitched about intrusive security in Vista.
 
Linux and Mac are more secure because of how these OS's interact with the user. In Windows 7 you constantly get a pop up asking if you really wanted to run this application. Sometimes you get two pop ups sequentially. It gets so repetitive that people hit OK for anything. This is how Windows users end up with 5 tool bars in their web browsers, because they're so use to hitting OK.

On Mac, it only asks you this if you downloaded it from the internet, after that it never asks again. Both Linux and Mac ask for a password for any massive system change. Since Linux distros get most of their applications from repositories, your less likely to get something you didn't want.

Yes its important that the OS isn't hackable, but it's just as important that there's good security etiquette. Does you know good when users and blindly hitting ok to everything, and end up not being able to see webpages because they're getting toolbars that cover the screen. Trust me, I've seen this personally.

Though Linux or Ubuntu is far from user friendly. I installed Ubuntu 10.04 for a family member and they can't work their Lexmark 4800 printer. No driver available as far as I know.
 
Though Linux or Ubuntu is far from user friendly. I installed Ubuntu 10.04 for a family member and they can't work their Lexmark 4800 printer. No driver available as far as I know.

Yep, this is still an issue with Linux. It's gotten a lot better from th estandpoint of desktop (and Laptop) support, there are still many manufacturers that simply don't make Linux drivers, and for whoich 3rd party open source reverse engineered drivers don't exist.

If you know you are planning on running Linux when you buy an accessory or hardware, this is easy enough to get around, but if you are installing Linux in an environment where there are already tons of accessories and hardware that you are expecting to work, then there might be some opportunities for disappointment.

I didn't do my research properly when I bought my desktop components, but was just lucky that everything just worked with Ubuntu. I run ubuntu on my work laptop (booted from a separate drive) and everything just works (including the wireless driver). My two HP network printers (Laserjet 5n and one of those all in one color laserjet models) both just work. So your milage may vary.

HP Printers usually "just work" with linux though.
 
Zarathustra[H];1036018608 said:
5.) Eyeballs:
This is where the real and huge benefit of Linux lies. The very fact that the open source community peers over the source code all the time leads to huge benefits over the closed source model. It makes security issues less common, and when security issues are dsicovered thay are usually patched almost instantly, as opposed to Microsofts rather slow turnaround time. Another benefit here is that since many third party software houses don't release their software for linux, linux users use open-source workalike products so they are not as susceptible to security flaws from 3rd party vendors producs, like Adobe reader as an example.


Not really. It can be 10 people in the same company, or 1,000 people throughout the world and everyone will overlook the same mistake for years. Programmers are largely only concerned that the code they wrote does what it's supposed to do. If they have time they'll secure it but sometimes that never happens. And that's not saying that everyone writes crappy code, but security is not always first in their mind.

A perfect example on both sides is the icon issue with windows that went back for 15 years and the 8 year old linux kernel bug found last year The code was audited on both sides, probably several times over the years and no one caught it.

An example against the idea that Linux is always faster on fixes is the problem the Google researcher found a couple of months ago. His fix actually only took care of one instance of the problem happening. It took MS a couple of days to vet what he said, and to fix it properly. It was also Microsoft that determined that the icon flaw also applied to webpage icons that the original researcher didn't pick up. The time to fix a problem is relative, and you can't always trust that anyone got it completely right the first time.
 
"Why Linux is more secure than XP"
or
"The author doesn't really know or care why, she gets paid by the word"
 
A perfect example on both sides is the icon issue with windows that went back for 15 years and the 8 year old linux kernel bug found last year The code was audited on both sides, probably several times over the years and no one caught it.

This kind of stuff is going to happen with ALL code regardless of who writes it.

Now, I don't have any data on this, but I'd be willing to bet all of my cookies that issues like the 8 year old bug linked above are a lot more rare in Linux than they are in Windows based on the open source method of code availability.
 
#1 and 2 are outdated and only valid for XP. Even in XP, you don't have to accept the defaults - you could create a regular user account for day to day use, and only log in as admin when you need to install a program or something.

#3 is easily solved by switching to something else e.g. GMail, Thunderbird etc.

#5 is just like "security through obscurity", only theories.

The only kind of valid argument is #4.

Also:
Unfortunately for Windows users, that's just not true--as evidenced by the never-ending parade of patches coming out of Redmond.

Every time I boot into Ubuntu, it seems it needs to download hundreds of megabytes of updates and patches...Many of those are clearly labeled as security-related fixes and updates.
 
Why would someone pay someone to give favorable reviews of a free operating system?

logically that is the truth,lol, but seriously, if we swiped out every "linux" word on that article and replace it with either MS or Apple. it really would have turned out as a paid review. :D
 
It's more "secure" for the same reason OSX is: nobody gives a shit enough to go after it... ;)
 
What a dumb author:

http://news.yahoo.com/s/pcworld/20100803/tc_pcworld/whylinuxismoresecurethanwindows
Katherine Noyes

1) Privileges: For Linux, Almost all home installs, and many enterprise installs rely on the fact that the main user of the system can elevate his/her rights to root equivalent access to perform updates and new software or hardware installations. It's just as easy to trick a dumbass Linux user to as it is a anyone else when it comes to elevating privileges for the purpose of taking over a system.


Most if not all of the rest of the article shares similar flaws. Obvious flaws that point out Linux is just a fallible om each point and still uses the "Security through obscurity" model more that most other OS'es. Especially for point "4. Audience Size"

The author needs to get a brain and realize that usability and security are always fighting for a balance no matter what OS is being use to host the applications and services.
 
Though Linux or Ubuntu is far from user friendly. I installed Ubuntu 10.04 for a family member and they can't work their Lexmark 4800 printer. No driver available as far as I know.

Did you check Lexmark's website? I don't see a 4800 on their website at all, so I'm not sure if they just don't support that printer anymore or if you misremembered the model number, but other Lexmark printers have Linux drivers right from Lexmark's site.
 
1. Russia has the source code for all windows OS's
2. so does the US gov
3. I dont trust russians.
 
#1 and 2 are outdated and only valid for XP. Even in XP, you don't have to accept the defaults - you could create a regular user account for day to day use, and only log in as admin when you need to install a program or something.
Have you ever tried doing that? It doesn't work quite as well as you might think.
 
"Security through obscurity" may be a catchy phrase, but it's not the only thing that's catching among Windows users. The expression is intended to suggest that proprietary software is more secure by virtue of its closed nature. If hackers can't see the code, then it's harder for them to create exploits for it--or so the thinking goes.

LOL. No. Obscurity means nobody uses it so hackers won't bother. Like MacOS. Fail.
 
Zarathustra[H];1036018608 said:
I agree, whoever wrote this is still in XP land.

That being said, it appears targeted towards businesses, and most businesses appear to still be using XP, so this is not necessarily a poor comparison.
Businesses would be more likely to upgrade their desktops to Win7 than to Linux. If the article is trying to sell Linux, it should compare the replacement competitors.
 
Did you check Lexmark's website? I don't see a 4800 on their website at all, so I'm not sure if they just don't support that printer anymore or if you misremembered the model number, but other Lexmark printers have Linux drivers right from Lexmark's site.

I think it's a 4800. I haven't checked lexmarks website, cause it's not common to see Linux support. It's also a modern printer, as it has wifi.
 
Yes and no. There are a couple of differences. UAC pops up all the bloody time, whereas the prompts on Linux are rare and require your password - you can't just click yes. Windows 7 greatly, greatly improved on that, though, so here's hoping the situation keeps getting better. The other is that a default install doesn't give users admin access, but that isn't necessarily what actually ends up happening. Places like best buy, for example (yes, we all know they suck, too bad the masses don't), "helpfully" setup your computer for you and make you an admin. Still others turn off UAC completely.

Sure, you can say it's user error and such, but consider what linux does. A root user *cannot* log in to a graphical shell, it just isn't allowed without really knowing what you are doing to go in and force the system to allow you to log in to X as root. Then there is the complete lack of admin users in the first place. You can give users superuser access, but you can't make a user a superuser period. And, of course, you can't turn it off, no matter how hard you try.

MS seems to be finally transitioning to something similar, with UAC being a key first step, but lack of foresight combined with backwards compatibility requirements is making this a slow, painful transition.

UAC only allows you to click yet to those popups if you are running as an administrator. Otherwise you have to switch user to an admin account to perform the operation. On Linux if you are root, you get no prompt. It is true that by default most distributions disallow running a GUI as root, which is a good precaution. However you are assuming that the user windows user is operating their machine in the least safe way while the linux user is operating their in the most secure way. You are basically saying that more windows users are stupid or careless than linux users. That may even be true, but it is not the weakness of the OS, it is the weakness of the users.

The article claims that Linux is inherrently more secure than Windows, and that really isn't true any more. Windows has more software with flaws, but mostly because there is more software being used. However, Microsoft has improved security in Windows to the point that while there are differences in how security works between linux and windows, neither is inherrently all that much better than the other.

Linux's open source makes it both easier to patch as bug when it is found and easier to write an exploit once a bug is found. Windows has more people looking for bugs and when you find one not having source is only some help. Shell code writers are generally very familiar with assembly code and disassemblers.

The biggest problem as one of my friends likes to say is that "there is no patch for stupid". Most hacks are done through social engineering. The exploit writer confuses the user and gets them to load the malware for them. There are practical limits to how much an OS can protect users from themselves and still be usable.
 
I love Windows...

And I love Linux.....

But I REALLY love how much can be earned by knowing how to manage both Windows and Linux servers.

Having now used both for servers and desktops over several years, I must say that I strongly prefer Windows 7 for a desktop. But I also STRONGLY prefer Linux for a server. Not that either of these can't perform in the opposite arrangement, they just don't quite accel at it in my opinion.

As has been pointed out, the security thing is virtually nil these days, its 99% about preference.
 
UAC only allows you to click yet to those popups if you are running as an administrator. Otherwise you have to switch user to an admin account to perform the operation. On Linux if you are root, you get no prompt. It is true that by default most distributions disallow running a GUI as root, which is a good precaution. However you are assuming that the user windows user is operating their machine in the least safe way while the linux user is operating their in the most secure way. You are basically saying that more windows users are stupid or careless than linux users. That may even be true, but it is not the weakness of the OS, it is the weakness of the users.

I'm not assuming Linux is running the most secure way - it is damn hard to get GDM or KDM to allow root login and you have to really know how to do it. It isn't just a default of most distributions, as you casually put it. On the other hand, it is exceedingly easy to make an admin user in Win 7 or Vista, and fairly easy to turn off UAC. Not only that, but you'll find plenty of people who will gladly recommend and help others turn off UAC. You won't find that on the Linux side.

Again, it isn't a case of "most secure" vs. "least secure", but "reality" vs. "reality". If Linux's most secure happens to be what is actually done, awesome (it isn't, by the way). If Windows least secure happens to be reality, that sucks.
 
Linux could possibly be viewed as more secure for the following reasons.

1. Less interest from hackers to exploit Linux due to poor market saturation of the OS.

2. Less reports of Linux exploitation for the same reason.

3. Unlike Windows, the majority of Linux users are not completely oblivious when confronted with potential malware like browser popups, programs asking for permission, media files with an .exe extension etc etc.

I'm consistently quizzed "I'm using Norton at the moment but I keep getting viruses, what's the best anti-virus program to use so this stops happening?" After an internal battle I don't say what I really want to say and say "User vigilance is the best way to combat viruses, be aware of what you're downloading and how you're answering windows popups, if you don't know why you're being asked then don't answer 'Yes', if a browser windows pops up and you aren't trying to install or download something or are otherwise unaware of why exactly it needs to ask you a question in a popup window then close the popup window with the X in the corner don't respond by clicking any of the boxes. An anti-virus program can assist you in this vigilance but ultimately it is you who overrides the various protections windows and anti-virus software offer. If you're looking for a good anti-virus program then use AVG Free."

Now this is an example of the most common Windows user, completely unaware of threats, willing to click OK just because something asks, thirdly does no research into what is they're installing on their computer rather opting to go with whatever pops up and end up with a virus, or worse Norton.

Personally I don't use anti-virus software on my own computers because they reduce computer performance the exact thing I'm trying to avoid viruses for and they want to quarantine a bootload of my *cough* reputable *cough* applications I have stored on my storage volumes, none of which have ever caused a problem nor have left any trace of infection on my OS volume.

I very regularly have to use MalwareBytes Anti-Malware, SuperAntispyware and AVG Free to fix other people's computers. Haven't come across a virus in a long while that these three programs, msconfig, safe mode or putting that bootable drive in another PC and scanning it when its not active have not been able to remedy.
 
The day all the morons move over to Linux is the day Linux becomes the most notorious for poor security.
 
There's a file on your system... you don't know what it is. Is it a virus? Is it supposed to be there?

Windows user: What do you do, Google it?

Debian/Ubuntu user (/usr/sbin/luksformat used as an example):
lctsi@ubuntu:/usr/sbin$ dpkg -S luksformat
cryptsetup: /usr/share/man/man8/luksformat.8.gz
cryptsetup: /usr/sbin/luksformat
lctsi@ubuntu:/usr/sbin$ md5sum ./luksformat
de3e7f7b71da72f7117b2ed6a274aede ./luksformat
lctsi@ubuntu:/usr/sbin$ grep luksformat /var/lib/dpkg/info/cryptsetup.md5sums
de3e7f7b71da72f7117b2ed6a274aede usr/sbin/luksformat
30ca6bea87a45a53e3f81ec4cf60c3e6 usr/share/man/man8/luksformat.8.gz

Well, looks like I'm in the clear. I can also go grab the package from packages.ubuntu.com and compare it to my installed version.

RedHat has a similar function, I can have it check the whole system for md5sums that don't match what it knows about the packages. ( `rpm -V` IIRC)


Then you have my XP VM that has a shit ton of folders in C:\Windows... wtf is C:\Windows\$weird_foldername$, why does it have 50MB of shit in it? Can I nuke it? Who the fuck knows? I better take a snapshot first. Fucking ridiculous.
 
I suppose by Linux's very nature it is more secure though. You can't use it unless you have above-average computer skills. Just like a car license, you need to know the road rules before you can drive it.
 
Back
Top