Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Is Windows inherently more vulnerable to malware attacks than OS X?
Infoworld ^ | August 22, 2006 | Tom Yager

Posted on 08/24/2006 12:31:17 AM PDT by Swordmaker

It took an attack on a Windows production server, not devotion to Apple, to put that provocative title on this entry.

On August 13 at 3:04 AM, a Windows server that I've been running for all of two weeks--it just replaced an Xserve G5--was attacked by a new strain of malware. This worm/trojan/backdoor/proxy/IRCbot/DDOS agent shared some characteristics with a known exploit, but it went well beyond what was described. I believed at the time of the infection, and even more strongly now, that this exploit's latent damage potential has been underestimated. I view the terse and vague update on the CERT site regarding the less tenacious strain of this beast with a sense of foreboding.

The attack I encountered occasioned a re-examination of a common question: Is Windows more vulnerable to malware than OS X? I've encountered no clearer or more definitive proof point than this attack. To set the stage, I'll describe the malware's methods. The only victim requirement is that a Windows system--client or server from 2000 and XP on up, 32 and 64-bit--be on an Internet-accessible IP address and listening for socket requests to the Windows Server service. The attacker connects to the Windows Server service, overflows a fixed-length buffer and tricks the service into executing code contained in a portion of the buffer. The attack edits the Registry to turn off the Windows firewall and packet filter, disables notifications that you're running with reduced security, and opens your system to anonymous access. It then uses the Registry to insert plant a pair of Windows services that run with SYSTEM privileges. Processes owned by that pseudo-user can literally do anything, unchecked, to the local machine. The malware services launch and announce your exploited system's presence via IRC and IM. After that, an IRC bot or (sub)human driver can make your system do whatever it wants, including making it a nest for more malware. In my case, it was so eager to scan the Internet for other systems to infect that it locked my server's CPUs at 100 percent and gave itself away.

To nail itself in place, two services watch for and regenerate each other even if their files are deleted. The malware adds an entry to Administrator's login script, and it watches for a privileged invocation of Windows Explorer (like Finder) and attaches a malicious thread to that.

I've been giving it great deal of thought, and I came up with a reasons pointing to the likelihood that Windows is at greater risk of catastrophic attacks. It's not easy reading, but it was either this dense packing or a book-length blog post.

Why this can't happen under OS X:

So, after all this, do I have enough to judge Windows inherently more vulnerable to severe malware than OS X? I do.

I've been writing about these shortcomings for years, and it always traces back to Microsoft's untenable policy of maintaining gaps in Windows security to avoid competing with 3rd party vendors and certified partners. Apple's taking a different approach: What users need is in the box: Anti-virus, anti-spam, encryption, image backup and restore, offsite safe storage through .Mac, and launchd. Pretty soon any debate with Microsoft over security can be ended in one round when Apple stands up, says "launchd," and sits back down.


TOPICS: Business/Economy; Computers/Internet
KEYWORDS: lowqualitycrap
Navigation: use the links below to view more comments.
first previous 1-2021-4041-46 last
To: Senator Bedfellow
Most of these bullet points are simply wrong. Oh, well.

I believe the bullet points are factually correct. Can you cite some specific points that you believe are simply wrong?

41 posted on 08/25/2006 2:36:39 PM PDT by HAL9000 (Happy 10th Anniversary FreeRepublic.com - Est. Sept. 23, 1996 - Thanks Jim!)
[ Post Reply | Private Reply | To 33 | View Replies]

To: HAL9000
I already cited one in post 36. Want another?

Another random point:

Windows requires that users log in with administrative privileges to install software...

"Windows" requires no such thing - poorly written software, created with no sense of how Windows access-controls work, requires one to have administrative privileges to install software. Are such things unique to Microsoft? Try installing iTunes or Quicktime on your OS X box without the administrative username and password - see how far you get.

42 posted on 08/25/2006 2:49:05 PM PDT by Senator Bedfellow (If you're not sure, it was probably sarcasm.)
[ Post Reply | Private Reply | To 41 | View Replies]

To: Senator Bedfellow
I already cited one in post 36. Want another?

You're right, bfobserver doesn't have a man page in XCode 2.3. I haven't checked in 2.4 yet. But it's a rare daemon that doesn't have a man page, and compared to Window, the documentation for components in Mac OS X is much better.

Are such things unique to Microsoft? Try installing iTunes or Quicktime on your OS X box without the administrative username and password - see how far you get.

Mac OS X Installers use "Authorization Services" to perform privileged operations. That is not the same as logging on, but it does require an administrative password - and after the operation is completed, the privilege level reverts back to normal user levels.

43 posted on 08/25/2006 4:09:00 PM PDT by HAL9000 (Happy 10th Anniversary FreeRepublic.com - Est. Sept. 23, 1996 - Thanks Jim!)
[ Post Reply | Private Reply | To 42 | View Replies]

To: HAL9000
But it's a rare daemon that doesn't have a man page, and compared to Window, the documentation for components in Mac OS X is much better.

If that was the point being made, I might not have called it out as an example of wrongheadedness. But the point in question was that Apple daemons always have man pages, and that third parties are somehow obligated to produce them as well. Well, the first part is, as I've demonstrated, simply false, and the second part is silly enough that I didn't bother addressing it. At best, any "duty" to present man pages is a sort of moral obligation at best. And any proposition predicated on the (implied) premise that people who program for Macs are somehow nobler and better people, who always, always, always do the right thing and never take shortcuts, and never cut corners and never rush deadlines, and never omit man pages, as opposed to those slackers who program for other platforms...well, that's pretty much too goofy for words.

Mac OS X Installers use "Authorization Services" to perform privileged operations. That is not the same as logging on, but it does require an administrative password - and after the operation is completed, the privilege level reverts back to normal user levels.

Of course. Of course, "runas" does virtually the same thing, which doesn't require you to log on as the administrator either, so the claim that "Windows requires that users log in with administrative privileges to install software" is similarly false.

I didn't have to stop there, I assure you - I can pick out other points that are simply wrong, if you like. But why bother? The article is completely wrong in its argument, but ironically probably right in its conclusion. Windows probably is inherently more susceptible to malware than OS X. Of course, the guy who wrote this piece doesn't really have a clue why that is, though, as is evident by the fact that he totally missed out on naming the things that are real problems, and put the blame on a host of things that aren't really problems at all.

It happens. Computer columnists are like computer salesmen. And the only difference between a computer salesman and a used-car salesman is that that the used-car salesman knows when he's lying to you.

44 posted on 08/25/2006 10:14:44 PM PDT by Senator Bedfellow (If you're not sure, it was probably sarcasm.)
[ Post Reply | Private Reply | To 43 | View Replies]

To: Senator Bedfellow
The author was writing from the perspective of an enterprise-class server administrator, so all of the daemons on his Mac server may have man pages.

I have my machine configured differently - with XCode and the undocumented fbobserver. The user experience for software developers is atypical, and weird stuff like fbobserver just goes with the territory.

And any proposition predicated on the (implied) premise that people who program for Macs are somehow nobler and better people, who always, always, always do the right thing and never take shortcuts, and never cut corners and never rush deadlines, and never omit man pages, as opposed to those slackers who program for other platforms...well, that's pretty much too goofy for words.

We do try to be noble. Thanks for pointing out a couple of exceptions to the rules.

45 posted on 08/25/2006 10:59:25 PM PDT by HAL9000 (Happy 10th Anniversary FreeRepublic.com - Est. Sept. 23, 1996 - Thanks Jim!)
[ Post Reply | Private Reply | To 44 | View Replies]

To: HAL9000
Everybody tries to be noble. Sometimes the real world has other ideas, though ;)
46 posted on 08/25/2006 11:20:18 PM PDT by Senator Bedfellow (If you're not sure, it was probably sarcasm.)
[ Post Reply | Private Reply | To 45 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-46 last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson