Wednesday, December 02, 2009

PC Security: WIndows Vs Linux

How secure is a Windows machine from malware and other viruses vs a Linux machine?

in reference to:

"Windows XP way : Simply click on some random downloaded .EXE to install it with full adminsitrative right.Linux way : First switch to a priviledged account (gksudo, kdesu, etc.)Fire up your distribution package manager (YaST, Synaptic, etc. or zypper, apt-get, etc. for command line lovers)Look for desired package in list available from default repositoryEventually add a new repository if the default one doesn't feature the software you want.In short there are 2 main differences between the windows and unices environment : Access rights: in windows everyone, including the cat running across the keyboard have full admin privileges.in linux, mac os X and other unices, users (and cats) have only user-level access and must switch to some other access account to gain further privilege.Install habits in windows 99% of the software is downloaded and installed from random location on the web. That means that the average user is used to download and install random crap.in linux 99% of the sofrware comes from official repositories which have been veted to contain only legitimate software. Users have to go through additional steps to get access to crap. And most user won't bother because it works for them 99% of the time without having to resort to.There's another big difference, specific to opensource environment like Linux and BSD (and not other unices): There only exist one single Windows : The windows sold by Microsoft. If some malware works on the black-hat's test PC, it will probably workThere are countless different distributions of distribution each with subtly different versions of key components. Some malware targetting bug #263748 on kernel 2.6.30-patch52 of Ubuntora 3.1415 won't necessarily work on other distribution.(Although the above only regards malwares exploiting *bugs*, not payload which are simple regular softwares).With Vista and Seven, Microsoft has attempted to fix some of these problems. Nonetheless, the fix is still a lot noisy ("Cancel or Allow ?") to the point that some user simply start to blindly "Yes-click-through" and the protecting effect is lost. And users are still trained to install crap by downloading it from random websites.With Linux, these advantages become a handicap regarding commercial softwares : They have to target multiple combination of softwares in distributions (unlike open-source software where the package are vetted by the distribution maintainers themselves thanks to the source being available for that puprose). And these software are not just a package in a regular repository, making them inaccessible using the regular method.There is indeed no software which is 100% guaranteed secure.But ! There's still a difference like between putting a real fence around your house and having a dog on one side, and just stick a paper with "don't rob us" written on it on the other side.And, no matter what, some users will always find a way to shoot themselves in foot.But on Unix, the gun is locked behind a glass door and must have a security pin removed before being able to shoot the foot, whereas on Windows an armed ready-shoot-gun is just a normal wall decoration.The only "protection" that *nix/mac systems have over Windows is that no one gives a rats ass about infecting youOk, could we please stop with this troll now ?At one side of the range, Linux has ratter good market shares in the servers and scientific clusters domains.At the other side of the range, Linux has achieved quasi-monopoly in the embed domain, specially on home routers, wireless access points, small NAS/SAN, no-brand multimedia player/harddisk-enclosures, etc.That's a lot of Linux running machines. The later are always connected to network, the former have even access to high-speed connections. This should make them more desirable to be infected isn't it ? Yet, there has not been an outbreak similar to Code Red on Linux. Simply because the default security settings, and the heterogeneity of distributions making it a hard to read moving target.There are a lot of reasons while blackhats would be interested in attacking Linux, but despite this Windows is still the low-hanging fruit."
- Slashdot Comments | Ethics of Releasing Non-Malicious Linux Malware? (view on Google Sidewiki)

No comments:

Post a Comment

Howdy Fellows...