Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Windows vs Mac Security

Posted by ScuttleMonkey on Wed Aug 23, 2006 12:27 PM
from the lauchded-into-a-fit-of-rage dept.
sdhorne writes "There is a good technical discussion over at InfoWorld on the merits of launchd and what is lacking in a comparable Windows secure solution. It is a throw back to the UNIX vs Windows security discussion that has been hashed out for many years." From the article: "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."
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Well written, but (Score:5, Insightful)

    by MECC (8478) * on Wednesday August 23 2006, @12:29PM (#15963890)
    Pretty soon any debate with Microsoft over security can be ended in one round when Apple stands up, says 'launchd', and sits back down."

    It seemed pretty wello written. That said, I which he would have said a little more about launchd, at least enough to explain why it gives OSX an advantage. It would have also been nice to have had some kind of side-by side comparing Windows and OSX, like how the windows System pseudo-user trumps the admin user, and how there is not way to trump the OSX root user.

    Why this can't happen under OS X:

    I don't know if I'd go that far. OSX isn't 100% immune - it just has more common sense.

    • Re:Well written, but (Score:5, Informative)

      by alps (673371) on Wednesday August 23 2006, @12:36PM (#15963938)
      [ Parent ]
      • Re:Well written, but (Score:5, Informative)

        by macshome (818789) on Wednesday August 23 2006, @01:03PM (#15964148)
        (http://www.afp548.com/)
        Pimping myself here a bit, but our article on launchd [afp548.com] might be of more help to sysadmins. It later formed the basis for the wikipedia article and has thrilling Jordan Hubbard comments to boot!
        [ Parent ]
        • Re:Well written, but (Score:4, Insightful)

          by IamTheRealMike (537420) on Wednesday August 23 2006, @02:37PM (#15964886)
          (http://plan99.net/~mike/)

          From your article:

          First of all launchd replaced init and xinetd with one process. This is a bit scary as we now basically have init listening in a bunch of different ways for something to tell it to start a job. The security implications of this aren't really known yet with launchd being as young as it is.

          Secondly, and in the same vein, launchd is process 1 and it has the potential to take down the whole system. I've already seen unconfirmed reports of a ssh scan on a network causing launchd to freak out and make systems inaccessible. Having at least some sort of resource limit set on jobs might help here.

          I guess I'm struggling to see how yet another way to launch things is a revolution in security, given that it's a brand new (and therefore untested) codebase and already has reports of it "freaking out".

          The default in Windows is now to have no open ports as well due to the Firewall, so for any up to date installation of Windows the primary ways crap gets in is via browser exploits and malware. I am not seeing anything that Apple does fundamentally different here - Safari has already had several serious security problems, some of them near identical re-runs of problems Microsoft had before (eg help exploits). Malware is just a massively hard problem that nobody is really attacking right now, except maybe Microsoft with Vista, and there's certainly nothing in MacOS that would make it hard to write malware. Indeed there is very simple example code showing how to dump secure form information from Safari and you know how much marketeers would love that.

          A lot of the points made in TFA aren't valid either, they are apparently the result of an extreme lack of thought or knowledge:

          • The purpose of most of the DLLs in SYSTEM32 is documented, just look at the summary tab in Explorer, the problem is that with any complex operating system it's trivial to make up fake names that sound plausible. So it doesn't help as much as you might think. 3rd parties are "duty bound" to produce man pages? Please, how ridiculous. You could argue the same for Linux yet people routinely write new programs without man pages.

          • Windows requires users to use Administrator to install software? No, buggy software requires that. Historically a few Mac programs have had the same requirements ... iTunes springs to mind. Anyway, the Apple solution to buggy software requiring elevated privileges is "you can't run that software" - not very helpful if you need it.

          • "Microsoft made it easy for commercial applications to refuse a debugger's attempt to attach to a process or thread" ... no they didn't, there is no API to prevent yourself from being debugged. This is a total fantasy. Why should I believe this guy at all, when he is talking such nonsense? There are various tricks you can use to detect a debugger being attached but none of these are reliable and none have OS support. If you detect a debugger you cannot force it to detach, the best you can do is stop the program and put up a message box. I think he has seen these messages from copy protection software and assumed it's a flaw in Windows. Not so.

          • "Malicious code or data can be concealed in NTFS files' secondary streams. These are similar to HFS forks, but so few would think to look at these" ... a feature that OS X has as well.

          • "OS X's nearest equivalent to the Registry is Netinfo, but this requires authentication for modification. In later releases of OS X, it is fairly sparse" ... no it isn't, the "equivalent" is a mish-mash of Netinfo, XML plist files dotted around the filing system, UNIX style config files and proprietary datastores. I fail to see how this is an improvement.

          I could go on, most of these points are either wrong or very biased. The article seems worthless as a serious security analysis

          [ Parent ]
          • Re:Well written, but (Score:5, Interesting)

            by skiflyer (716312) on Wednesday August 23 2006, @04:23PM (#15965642)
            Ok, I agree with most of your post, but ...

            The purpose of most of the DLLs in SYSTEM32 is documented, just look at the summary tab in Explorer, the problem is that with any complex operating system it's trivial to make up fake names that sound plausible

            I just looked at the summary tab on a dozen random DLLs in my system32 directory (most from microsoft, some from 3rd parties), and there was no information in any of them. Why can't 3rd parties use a different location than MS... at least that would help a little (would help me anyway, if not the actual problem being discussed)

            Windows requires users to use Administrator to install software? No, buggy software requires that. Historically a few Mac programs have had the same requirements ... iTunes springs to mind. Anyway, the Apple solution to buggy software requiring elevated privileges is "you can't run that software" - not very helpful if you need it.

            "buggy" software? I think you mean to say legacy OR poorly coded... this is one of those side effects that windows carries from version to version (like the registry) because MS refuses to leave customers high and dry for old software. Back in the old days this was the right way to do things, store configs in programdirectory/conf... we didn't have an appdata directory like we do now. Same with registry hives, they weren't setup in the same way they are now where certain users could do certain things. Calling it buggy implies the software is behaving contrary to design, it's not, it's just that the target has moved and the software hasn't all moved with it.
            [ Parent ]
          • Re:Well written, but by jani (Score:2) Wednesday August 23 2006, @04:34PM
          • Re:Well written, but (Score:4, Insightful)

            by Sunrun (553558) <drewk.visi@com> on Wednesday August 23 2006, @04:41PM (#15965795)
            (http://slashdot.org/)
            - Windows requires users to use Administrator to install software? No, buggy software requires that. Historically a few Mac programs have had the same requirements ... iTunes springs to mind. Anyway, the Apple solution to buggy software requiring elevated privileges is "you can't run that software" - not very helpful if you need it.

            From TFA:
            "- Windows requires that users log in with administrative privileges to install software, which causes many to use privileged accounts for day-to-day usage." [emphasis mine]

            First, administrative privilege != the Administrator account.

            Secondly, yes, Windows does in fact require admin privs to install most software. Try this some time... Start with a fresh WinXP install. Immediately after setup, create an account with only User privilege and log in with it. Then, try to install all the software you'd normally install (anti-virus/spyware-checker/firewall, ANY productivity software (MS-Office, OpenOffice.org)) and see just how far you get. I'll save you the time: you can't. This is exactly the reason that most users run under an account with membership in the Administrators group for every-day tasks -- they're lazy and don't want to be bothered by being constantly denied access to this function or that resource because the account they're using isn't an Admin. By the way, this goes double for people whose job is Windows Administrator, but not just because they're lazy.. Because they're arrogant in addition to being lazy. [And before you label me a whiner, I'll say that it takes a Windows Admin to know a Windows Admin.]

            I further defy you to find a single piece of software for MacOS X that doesn't require Admin privs to install.

            I conclude that you're missing the point. A system requiring privilege to install ANY software will be inherently less prone to malware since it requires a brain to be sitting in front of the screen having to make a decision based essentially on whether or not they did anything to provoke such a request from the OS. It makes sense in a business environment where you don't want users installing just anything, and it makes sense in a home environment where you don't want your kids installing just anything -- especially when you don't want it installed by accident, which is (or should be) always. I would also point out that there's a difference between "want" and "need". In the above cases (business and home) "need" becomes "demonstrated need".

            /rant
            [ Parent ]
          • Windows Firewall????? by GlL (Score:2) Wednesday August 23 2006, @05:41PM
          • Re:Well written, but by Salmar (Score:1) Wednesday August 23 2006, @08:13PM
          • Re:Well written, but by macshome (Score:3) Wednesday August 23 2006, @09:14PM
          • You've drunk the kool-aid. by aug24 (Score:2) Thursday August 24 2006, @02:54AM
            • 1 reply beneath your current threshold.
          • 1 reply beneath your current threshold.
      • 1 reply beneath your current threshold.
    • Re:Well written, but (Score:4, Interesting)

      by ackthpt (218170) * on Wednesday August 23 2006, @12:39PM (#15963962)
      (http://www.dragonswest.com/ | Last Journal: Monday November 05, @07:35PM)

      I don't know if I'd go that far. OSX isn't 100% immune - it just has more common sense.

      In a nutshell, OS-X is built upon a known animal, whereas Windows is an animal which continues to be re-invented, like a leopard changing its spots to stripes, then plaid, then paisley, then something else. With such moving targets all the time it's small wonder they've got security issues. Some begin to be addressed with good programming practices (which Apple could certainly lapse at at any moment, and may well have and we haven't heard about) Another is to require tight control over interfaces between code from different departments. Microsoft going back to scratch time and again doesn't necessarily mean anything is getting better.

      [ Parent ]
      • Re:Well written, but (Score:5, Funny)

        by MECC (8478) * on Wednesday August 23 2006, @12:44PM (#15964010)
        whereas Windows is an animal which continues to be re-invented

        I'm not sure that 're-invented' is how I'd describe windows, or their efforts at security.

        [ Parent ]
        • Re:Well written, but (Score:5, Interesting)

          by ackthpt (218170) * on Wednesday August 23 2006, @12:55PM (#15964098)
          (http://www.dragonswest.com/ | Last Journal: Monday November 05, @07:35PM)

          I'm not sure that 're-invented' is how I'd describe windows, or their efforts at security.

          In the past Microsoft have commented that they have completely ditched the code Windows was written with and re-written from ground up, to try to address myriad flaws. That's pretty drastic. I've done it with small projects which simply grew too large and unwieldy because they were never expected to scale to newer demands* Microsoft is effectively doing this with Vista and yet... there still appear to be security flaws. Something wrong with that picture. Could be they're just a victim of their success and such a massive undertaking of code is approaching the event horizon just before the black hole.

          *You know the type.. you develop some nifty little tool to summarise information for your own use and someone sees it and says, "Hey! That thing does in seconds what I spend a week doing! I need it, set me up with it!" Next thing you know your little tool has to be user friendly, go to printers, be in colour, etc. Continually piling in changes makes it fragile so you step back, figure what it all needs to do and how to achieve the goals and then recode, with an eye toward more scalibility and unforeseen features later.

          [ Parent ]
          • Re:Well written, but by MECC (Score:2) Wednesday August 23 2006, @02:32PM
          • Re:Well written, but by prisoner-of-enigma (Score:2) Wednesday August 23 2006, @02:37PM
            • Re:Well written, but (Score:5, Interesting)

              by samkass (174571) on Wednesday August 23 2006, @02:57PM (#15965000)
              (http://www.samkass.com/blog | Last Journal: Thursday May 12 2005, @02:40PM)
              If you remove things like IE

              But IE is part of the OS... just ask Microsoft. Seriously, though, back when my previous company had to deal with IIS before moving to a more secure/sane server, one of the server bugs was fixed by upgrading IE on the server, so IE-is-fundamental-to-the-OS is frighteningly close to actual truth with Windows.

              Also, I'd like to see the statistics you cite that say that Windows hasn't been hit statistically more than MacOS. There are no MacOS-specific worms or viruses "in the wild", so it's hard to come up with the sigmas for what would be "expected" for what a comparable OS should expect.
              [ Parent ]
          • Re:Well written, but by Rob_Bryerton (Score:2) Wednesday August 23 2006, @02:41PM
          • Re:Well written, but by ben there... (Score:2) Wednesday August 23 2006, @07:02PM
          • 2 replies beneath your current threshold.
        • re-invented by Tumbleweed (Score:2) Wednesday August 23 2006, @02:37PM
      • Behavioral flaws, not just technical (Score:5, Insightful)

        by Kadin2048 (468275) <slashdot@kadin.xoxy@net> on Wednesday August 23 2006, @01:24PM (#15964309)
        (http://kadin.sdf-us.org/ | Last Journal: Tuesday October 16, @01:46PM)
        What I thought was interesting in the article was how many of his complaints were probably due not to bad design per se, but to poor practices -- things like documentation, structural transparency, consistent use of system policies, etc.

        What struck me is that there are definitely seeming flaws in Windows that make it insecure as-is, but that it doesn't have to be this way; Microsoft has chosen and continues to choose to operate in such a way that exacerbates rather than minimizes the effect of many of the inherent weaknesses of the platform. A similarly designed system, managed and documented differently, would probably be less problematic.
        [ Parent ]
      • Re:Well written, but (Score:5, Insightful)

        by 93 Escort Wagon (326346) on Wednesday August 23 2006, @01:36PM (#15964412)
        "In a nutshell, OS-X is built upon a known animal, whereas Windows is an animal which continues to be re-invented, like a leopard changing its spots to stripes, then plaid, then paisley, then something else."

        I am a Mac user, and I think it is an inherently safer platform design than Windows. But as was mentioned in a recent SANS newsletter, Apple has on occasion had problems with security issues that were resolved long ago on BSD proper and on Linux. So while it's true that OS X is "built upon a known animal", they haven't always been as consistent as I'd like with regard to learning from other groups' mistakes.
        [ Parent ]
        • Very true... by Constantin (Score:1) Wednesday August 23 2006, @05:16PM
      • Re:Well written, but (Score:5, Funny)

        by Mister Whirly (964219) on Wednesday August 23 2006, @02:01PM (#15964603)
        (http://localhost/)
        "whereas Windows is an animal which continues to be re-invented, like a leopard changing its spots to stripes, then plaid"

        I think you are confused. Leopard, Tiger, and Jaguar are all Mac operating systems...
        [ Parent ]
      • Re:Well written, but by wrf3 (Score:3) Wednesday August 23 2006, @03:14PM
      • Re:Well written, but by Nefarious Wheel (Score:2) Wednesday August 23 2006, @07:12PM
      • Re:Well written, but by eikonos (Score:1) Thursday August 24 2006, @12:20AM
      • 1 reply beneath your current threshold.
    • Re:Well written, but (Score:5, Insightful)

      by fruitbane (454488) on Wednesday August 23 2006, @12:57PM (#15964110)
      "I don't know if I'd go that far. OSX isn't 100% immune - it just has more common sense. "

      This is, I think, the best summary I've ever read of OS X's inherent security advantage. No OS could really succeed and be 100% air-tight at the same time, IMO. And user- and developer-friendliness does often mean compromises that lead to security problems, but the article that this discussion refers to covers a lot of it well and MECC (parent) summarized succintly and effectively.

      OS X, as an OS, has more common sense built-in.
      [ Parent ]
    • Re:Well written, but by GeckoX (Score:2) Wednesday August 23 2006, @02:09PM
      • Re:Well written, but (Score:5, Interesting)

        by Buran (150348) on Wednesday August 23 2006, @02:23PM (#15964779)
        (http://www.buran.org/)
        But at the same time Apple gets applauded for rolling EVERY SINGLE LITTLE POSSIBLE THING into their OS?

        Because they don't force you to use any of it. You can delete any of the utilities that you want. Don't want ichat? Trash it.

        On the other hand, good luck getting rid of Windows Messenger. It's even hidden in Add/Remove Programs and fixing that requires a hack well beyond most users.

        Don't want to use Safari? Make it go poof.

        On the other hand, you CANNOT get rid of Internet Explorer. And that's bad. IE is full of security holes and you can't get rid of it. Safari is far safer, and you can get rid of it.

        What hypocrisy was that, again? There's a damn good reason MS gets blasted and Apple doesn't. (Well, it does, but nowhere near as much, and I just explained why.)
        [ Parent ]
        • Re:Well written, but by amliebsch (Score:1) Wednesday August 23 2006, @03:40PM
          • Re:Well written, but (Score:5, Informative)

            by curious.corn (167387) on Wednesday August 23 2006, @03:58PM (#15965438)
            The go to the Desktop, open the nifty "My Computer" icon, clear the Address: field and type "http://www.slashdot.org", press enter. Boom! you're back to Internet Explorer.

            simply removing a filthy icon from the QuickLaunch menu while leaving the whole pile of unsafe, vulnerable infrastructure INTACT, completely BETRAYS the meaning of the word UNINSTALL.

            Sheesh... and people talk about Jobs's Reality Distortion Field

            [ Parent ]
          • Re:Well written, but by goofyspouse (Score:2) Wednesday August 23 2006, @04:02PM
          • Re:Well written, but by styrotech (Score:2) Wednesday August 23 2006, @04:08PM
          • Re:Well written, but by rabbit994 (Score:2) Wednesday August 23 2006, @04:18PM
          • Nice Try by Shawn Parr (Score:2) Wednesday August 23 2006, @04:41PM
          • Re:Well written, but by snuf23 (Score:2) Thursday August 24 2006, @02:16AM
          • 1 reply beneath your current threshold.
        • Re:Well written, but by ThousandStars (Score:2) Wednesday August 23 2006, @04:20PM
        • Re:Well written, but by Bastian (Score:2) Wednesday August 23 2006, @06:32PM
        • Re:Well written, but (Score:4, Informative)

          by toddestan (632714) on Wednesday August 23 2006, @10:13PM (#15967323)
          Don't want to use Safari? Make it go poof.

          On the other hand, you CANNOT get rid of Internet Explorer. And that's bad. IE is full of security holes and you can't get rid of it. Safari is far safer, and you can get rid of it.


          Deleting Safari on a Mac is about as effective as deleting iexplore.exe on a Windows PC as far as getting rid of the browser is concerned. Sure, you've just nuked the front end, but the backend still exists in the OS and is not easily removed. Have you ever heard of Webkit?
          [ Parent ]
          • WebKit != Explorer (Score:4, Informative)

            by tgv (254536) on Thursday August 24 2006, @01:57AM (#15968002)
            (Last Journal: Sunday November 05 2006, @02:26PM)
            WebKit isn't Explorer. The Windows equivalent of the Finder, the Explorer, shares (many) DLLs with Internet Explorer; it even seems to share resources at run-time with it. The OSX Finder doesn't use WebKit (at least not up until now). The only thing you will damage by removing the WebKit framework is applications that use it to display HTML or provide other simple browsing functionality, not any system application. Under Windows though, you would take away the entire interface.
            [ Parent ]
          • Re:Well written, but by Buran (Score:2) Thursday August 24 2006, @10:07AM
        • Re:Well written, but by Ihlosi (Score:2) Thursday August 24 2006, @04:40AM
        • Re:Well written, but by thinsoldier (Score:1) Thursday August 24 2006, @08:27AM
        • Re:Well written, but by teh kurisu (Score:1) Thursday August 24 2006, @10:15AM
      • Re:Well written, but by pboulang (Score:2) Wednesday August 23 2006, @02:34PM
      • Re:Well written, but by Orange Crush (Score:2) Wednesday August 23 2006, @02:36PM
      • Re:Well written, but by tacarat (Score:1) Wednesday August 23 2006, @02:36PM
      • 1 reply beneath your current threshold.
    • Re:Well written, but by D4rkn1ght (Score:1) Wednesday August 23 2006, @03:05PM
    • Re:Well written, but by vistic (Score:2) Thursday August 24 2006, @02:58AM
  • well, (Score:4, Insightful)

    by joe 155 (937621) on Wednesday August 23 2006, @12:30PM (#15963899)
    (Last Journal: Wednesday September 20 2006, @10:30AM)
    "Pretty soon any debate with Microsoft over security can be ended in one round when Apple stands up, says 'launchd', and sits back down"

    I would have though "(almost) no viruses" would have done the trick since OSX came out...

    Or, we don't effectively force everyone to run as super user all the time - if you prefer
    • Re:well, by Anonymous Coward (Score:1) Wednesday August 23 2006, @01:52PM
    • Re:well, by liegeofmelkor (Score:1) Wednesday August 23 2006, @02:52PM
      • Re:well, (Score:5, Interesting)

        by cyber-vandal (148830) on Wednesday August 23 2006, @03:15PM (#15965117)
        (http://slashdot.org/)
        The very successful worms of the early 21st century were all about causing as much aggravation as possible. The creator of the ILOVEYOU virus didn't make any money from disrupting corporate email servers but he did get to cause a lot of aggravation. You think there are no virus writers wanting to stick it to smug Mac/Linux users? You think no-one would take the time and effort to annoy them? You don't understand human nature too well if you believe it's merely marketshare that's keeping malware away from OS X and Linux.
        [ Parent ]
      • Re:well, by Nutria (Score:2) Wednesday August 23 2006, @09:25PM
    • Re:well, by chrismcdirty (Score:2) Wednesday August 23 2006, @12:45PM
    • 1 reply beneath your current threshold.
  • 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.

    Don't you think that if Microsoft offered this that everyone would cry monopoly? Actually, I've seen other people on Slashdot cry this before at the announcement of Microsoft's OneCare program, which isn't even bundled with the OS!
  • by FerretFrottage (714136) on Wednesday August 23 2006, @12:38PM (#15963953)
    What's worse than finding a worm in your Apple?

    Finding half a worm in your Apple.
  • Microsoft is just too nice? (Score:4, Insightful)

    by Shimmer (3036) <brianberns@gmail.com> on Wednesday August 23 2006, @12:39PM (#15963959)
    (http://www.bernsrite.com/ | Last Journal: Monday June 27 2005, @11:36PM)
    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

    So if they bundled everything you list (anti-virus, anti-spam, encryption, etc.) into the operating system, you don't think they'd be accused of illegally leveraging their monopoly advantage? Just look what happened when they integrated a web browser into the OS a few years ago.