Just another Microsoft worm
Posted Jan 29, 2004 13:16 UTC (Thu) by
utidjian (subscriber, #444)
Parent article:
Just another Microsoft worm
Some months ago on the comp.sys.mac.advocacy Usenet group a discussion came up (as they always do on such forums) about the inherent security of Mac OS X vs Windows. The discussion was "ignited" by the, now common, weekly major Windows worm. It was the usual thing with Windows advocates claiming that such an exploit could just as easily affect Mac OS X if someone would simply write one. It also follows that if Mac OS X were as commonplace as Windows it would spread as easily. The Mac advocates denied that this sort of thing was possible because "Mac OS X is Unix" (or some such). Sound familiar?
The upshot of the discussion was someone actually wrote a little trojan for Mac OS X. He published the source code for the trojan and using his code I adapted it to Linux. The results for Linux are at: http://tinyurl.com/2quhp
I also tested it on Mac OS X and it works as designed with a default installation of Mac OS X (up to and including Panther).
The basic differences between the various OSes is the default behavior when encountering an executeable attachment.
Windows (typical): Will execute attachment, sometimes by merely opening the email, sometimes requuiring the user to open the attachment.
Windows ("secure"): Requires the user to open the attachment but will warn them that such an action might be dangerous.
Mac OS X (typical): Requires the user to open the attachment but will warn the user that such an action might be dangerous.
Linux (typical): Requires the user to save to disk. Saves as mode 0600. The user then has to change the mode to get it to run.
As far as I know (only tested with Mozilla Mail) all Linux email clients save attachments without the execute bit set. As long as this practice continues there will be a considerable hurdle for the average user ( I mean Windows/Mac type of average user) to overcome before the attachment can be executed. For many Linux users this is not that big of a hurdle but it is still a checkpoint.
In short, the current default behavior of Linux email clients, more or less, effectively prevents the kind of exploits that use email as the transport. Let us hope that this does not chnge.
However, we have had problems with some file formats. I seem to remeber that there was a possible exploit from certain graphics file formats last year. IOW one could "run" an exploited JPEG file or PDF file simply by opening it in the default viewer.
-DU-...etc...
(
Log in to post comments)