Slashdot Mirror


Worm Claimed For Apple OS X

SkiifGeek writes "Controversy is slowly building over the development of a claimed new worm that targets OS X systems, dubbed by its inventor Rape.osx. Using a currently undisclosed vulnerability in mDNSResponder, the worm is said to give access to root as it spreads across the local network. As with a number of recent Apple-related security discoveries, the author, InfoSec Sellout, is delaying reporting the vulnerability to Apple until after completing full testing of the worm. While the worm has yet to leave a testing environment (with 1,500 OS X systems), it is bound to join the likes of Inqtana and Leap as known OS X malware."

77 of 398 comments (clear)

  1. worm in apple? by linuxmeltz · · Score: 4, Funny

    Hey, there's a worm in my apple...

    1. Re:worm in apple? by Anonymous Coward · · Score: 5, Funny

      ... which is much better than half a worm!

    2. Re:worm in apple? by dotpavan · · Score: 3, Funny

      when God (Gates) specifically asked you NOT to eat the Apple (Inc), you should have listened :)

    3. Re:worm in apple? by catwh0re · · Score: 3, Insightful

      While I have no doubt that worms etc can be created for OSX (or any OS, given enough time.) I'm not really fond of companies blowing their trumpet until they're certain. It's very rich to claim all that publicity without notifing the vendor, or even being 100% certain. Otherwise it comes across as yet another company that is trying to claim solely for the benefit of the massive attention that it will draw on the company. Whether it's a fiasco involving wifi hardware or an antivirus company claiming endless vulnerabilities to sell their "protection tools". The apple community is well versed in frauds and half-truths spun as a "massive vulnerability" who cry wolf.

    4. Re:worm in apple? by Maniac-X · · Score: 2, Insightful

      If by "well versed in frauds and half-truths" you mean well versed in spreading their own brand of propoganda and half-truths, then yes, you are correct.

      --
      (A)bort, (R)etry, (I)gnore?_
    5. Re:worm in apple? by Anonymous Coward · · Score: 4, Funny

      Does that make Jobs the Snake? That does explain why he slithers.

    6. Re:worm in apple? by kestasjk · · Score: 2, Interesting

      If you have a sandpit it's much easier to bury your head in it, rather than try and come up with a reasonable explanation of why this worm is part of Jobs' master plan.

      --
      // MD_Update(&m,buf,j);
    7. Re:worm in apple? by Anonymous Coward · · Score: 3, Interesting

      Your opinion? Is it the result of envy because a mac user spends more time using their system productively instead of configuring it? Those that spend all day configuring their system, installing software they'll never use and reinstalling stuff for "fun" are obviously envious of the productive mac users who spend their computer time creating content and not just playing with the content designed by others.

  2. That's not true... by oogoliegoogolie · · Score: 2, Funny

    That's impossible!

    1. Re:That's not true... by kestasjk · · Score: 4, Funny

      That's impossible! It's possible, but:
      • It doesn't exist in the wild; this is because of OS X's stunning security features
      • This vulnerability was probably placed into the system by Jobs himself. If there were no vulnerabilities in OS X people would realize Jobs was supernatural, so he has to put one in there from time to time.
      • This vulnerability is probably the last vulnerability in OS X. Once Apple fixes this there'll be no more
      • Way, way more vulnerabilities are found in Windows and Windows products; this is because of OS X's breathtaking security features
      • This is probably a bug in BSD or Mach code, or one of the recent Intel chip bugs, or a Microsoft employee infiltrated the Cupertino campus. It's not Apple's fault.
      • Microsoft spends its entire R&D budget looking for these elusive Apple holes just as a way of discrediting Apple. If the real number of Microsoft and Linux vulnerabilities were actually disclosed there would be no comparison.
      • Apple puts the occasional vulnerability in its system because they know that Microsoft blindly copies anything Apple does. If Apple puts one bug into their system they know Microsoft will put 10 bugs in theirs.
      • Microsoft worms spread spambots and steal credit card information, Apple worms are just a misguided attempt of a loyal Apple fan to spread the good vibes and let the community know he cares. With Mac OS X only your unquestioning loyalty is contagious.
      Such a breathtaking OS on a rock solid foundation with over 1 million configurations. Say hello to OS X Panda. Starting at $99. Small sentence. Reinvented.
      --
      // MD_Update(&m,buf,j);
  3. Hey, be nice now! by Anonymous Coward · · Score: 4, Funny

    It's not a flaw; it's a feature. Remember, things are a little different in the Apple world ;)

  4. *ahem* by Duncan3 · · Score: 5, Insightful

    As with a number of recent Apple-related security discoveries, the author, InfoSec Sellout, is delaying reporting the vulnerability to Apple until after completing full testing of the worm.

    If by fully testing you mean "auctioning it to the highest bidder" then yea.

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
  5. temporary work-around by mzs · · Score: 4, Informative

    Disable mDNSResponder:

    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSRespon der.plist

    1. Re:temporary work-around by dch24 · · Score: 4, Informative

      Very good. That might disable the security hole, if what has been disclosed so far is 100% accurate. If not, well, all you lose is Bonjour (useful for discovering iChat and iTunes connections on your local subnet).

  6. I question the ethics, and my legality by Swift2001 · · Score: 4, Insightful

    First of all, if he's found a real vulnerability, he reports it. I don't care if it's Apple or Linux or even Windows. "Waiting until I finish it" is a disgusting excuse. Will he sell it to the bad guys? Is this free publicity for some jerk? I think the Slashdot world ought to have a serious discussion of this kind of jerk. I think Congress might to. If what he's doing isn't illegal now, maybe it should be.

    1. Re:I question the ethics, and my legality by Tobenisstinky · · Score: 5, Insightful

      Good idea. However, a serious discussion on /. is unlikely.

      --
      wha'? where am i?
    2. Re:I question the ethics, and my legality by Mr.+Flibble · · Score: 5, Funny

      I think the Slashdot world ought to have a serious discussion of this kind of jerk. I think Congress might to. If what he's doing isn't illegal now, maybe it should be.


      I agree. We should also question the ethics of Theo de Raadt. After all, this guy published an exploit for OpenSSH. Who does this guy think he is? Hell, he should have given the problem to the developers of OpenSSH to fix it, not be out there releasing exploits and stuff.
      --
      Try to hack my 31337 firewall!
    3. Re:I question the ethics, and my legality by QuantumG · · Score: 3, Insightful

      Sounds like a great plan. Make it compulsory to report vulnerabilities eh? Maybe even ban the selling of vulnerabilities. Kinda makes you wonder why any third party would bother looking for them.

      --
      How we know is more important than what we know.
    4. Re:I question the ethics, and my legality by QuietObserver · · Score: 4, Insightful

      From my point of view, the original argument never said anything about making vulnerability reporting compulsory, but that concealing a vulnerability is morally reprehensible, and claiming to keep a vulnerability secret until an exploit is finished is a disgusting excuse.

    5. Re:I question the ethics, and my legality by fox1324 · · Score: 5, Insightful
      If what he's doing isn't illegal now, maybe it should be.


      Maybe it shouldn't be. There are hundreds of /. threads filled up with complaints about the US government and legal system. Our rights are constantly eroded by attempts to 'legislate morality'. Repeat with me: just because something is unethical or immoral does NOT mean it needs to be illegal. Ethics and morals are nothing more than opinions, and they vary greatly from person to person.

      Neglecting to report a vulnerability is not remotely criminal, no matter how much you disagree with his motivation.

    6. Re:I question the ethics, and my legality by samkass · · Score: 4, Insightful

      I'm sure you're trying to be sarcastic, but it would DEFINITELY be a good idea to include everyone from your random teenage mom's basement hacker to Theo de Raadt in the discussion. Just because someone has done great things for the community it doesn't mean he's going about addressing exploits in the best way.

      --
      E pluribus unum
    7. Re:I question the ethics, and my legality by QuietObserver · · Score: 3, Interesting

      The only way for a person to improve is to receive constructive criticism and to listen when others point out their failings. I personally listen when others point out my mistakes, and do my best to correct them, so I likewise believe that concealing information for the sole purpose of one's own advantage, without consideration for anyone who might be hurt because of one's actions, is immoral. Furthermore, I don't understand how you can consider the creation of malware a complex issue; in the long run, no matter how well intentioned the creator is, malware inevitably harms the population as a whole, and all in all, that sounds pretty simple to me.

    8. Re:I question the ethics, and my legality by QuantumG · · Score: 3, Interesting

      And that's the problem. You want to look at it in simple terms instead of considering the whole issue.

      Apple and other software vendors have chosen a development model that maximizes their ability to hide defects in their software. If people are morally obliged to report any of the defects they independently find in the software then the vendor has no incentive to ensure the defects are found before the product hits the market. To put it another way, time to market is much more important to them than making a product free of defects. The only thing that motivates them to ensure their products are defect free is malware. As such, creation of malware actually *helps* to make the vendor take more responsibility for the defects in their product.

      --
      How we know is more important than what we know.
    9. Re:I question the ethics, and my legality by Sparks23 · · Score: 2, Insightful

      Oh, please. Most sensible Mac users recognize that while OS X is /more/ secure out-of-the-box than your average XP installation, and segments permissions better, there's still plenty of ways for things to mess up an OS X box. It's stupid to think any OS is invulnerable; Linux isn't, FreeBSD isn't, Mac OS X isn't, Windows sure as heck isn't. It's just harder to target an out-of-box configuration, and so people generally don't bother. (Which, I grant, doesn't mean some Mac users won't be up in arms and claiming this is impossible. They're wrong, if they do, but still.)

      HOWEVER, you don't have to be a fan of any specific platform to find the way the guy handles this to be extremely unprofessional.

      The /proper/ way to handle a vulnerability -- on ANY platform -- is to report it to the vendor/developer in a timely manner before trumpeting it to the world. Exploits should be released (not leastwise because developers can learn from each others' mistakes), but they should be reported first. This

      Meanwhile, this guy is proclaiming a vulnerability (but disclosing no details for anyone to learn from or judge the severity of), while simultaneously saying he has not yet -- and does not yet plan to -- report the vulnerability to the vendor. It's basically a shameless grab for publicity with vague information, rather than someone demonstrating that they take security research seriously.

      The nature of the exploit, or the platform it affects, is not relevant to the guy's behavior; it's just plain irresponsible of any security researcher to act this way. It would be equally irresponsible to find some serious, significant exploit in Linux and trumpet 'ZOMG, I just discovered that there's a way for any program to steal root through a specific exploit in the current version of KDE! But I'm not going to tell the KDE folks anything about it until I've finished testing.' (Also, the guy would get eaten ALIVE by the Slashdot community for pulling a stunt like that, but I digress.)

      Security researches are respected and taken seriously by vendors and developers (rather than being thought of as malicious hackers) specifically /because/ they handle exploit information in a professional and cooperative manner. This guy is not doing so, and THAT is the problem. Not what OS he's claiming an exploit in.

      That's my $0.02, anyway.

      --
      --Rachel
    10. Re:I question the ethics, and my legality by MadMidnightBomber · · Score: 4, Insightful

      Because Congress is well known for its mature and insightful discussion of computer and network security issues.

      --
      "It doesn't cost enough, and it makes too much sense."
  7. Tipping the scales? by dsdtzero · · Score: 5, Insightful

    The fact that the breaking news on slashdot is "someone found the third way to attack a mac machine" is a compelling argument to purchase a mac over a PC. Unless someone can explain to me how this is the seed of an impending snowball of mac-targeted malware.

    1. Re:Tipping the scales? by Daniel+Dvorkin · · Score: 4, Insightful

      Yes, exactly. Three proofs of concept vs. thousands, maybe millions, of vulnerabilities in the wild.

      The author claims, "While it is nothing special compared to Windows based Malware it does prove a point -- Apple Computers are just as susceptible to Malware as Windows based ones." Oh, bullshit. The fact that this particular security vulnerability exists does not mean that OS X is just as much a wide-open target as Windows is.

      In the "Classic" MacOS days, there was a fair amount of Mac malware -- never as much as in the PC world, of course, but plenty of it running around. Since OS X became the standard, this hasn't happened. The "vulnerability through popularity" argument just doesn't hold up to this fact.

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    2. Re:Tipping the scales? by timmarhy · · Score: 2, Interesting
      the number of vulnerabilities is irrelvant, what matters is how easily it spreads and what it's payload is like.

      IF this is real, and it can spread quickly and cause maximum damage then it's just as bad as windows, because the end result is an unsafe system.

      --
      If you mod me down, I will become more powerful than you can imagine....
    3. Re:Tipping the scales? by NatasRevol · · Score: 2, Insightful

      I really think this argument should be given a name, something along the lines of Godwin's law.

      Perhaps Paterson's folly?

      --
      There are two types of people in the world: Those who crave closure
    4. Re:Tipping the scales? by toadlife · · Score: 3, Interesting

      In the "Classic" MacOS days, there was a fair amount of Mac malware -- never as much as in the PC world, of course, but plenty of it running around. Since OS X became the standard, this hasn't happened. The "vulnerability through popularity" argument just doesn't hold up to this fact. Why not? OSX has never had nearly the same install-base that classic Mac OS did during it's heyday, and of all the predominant methods that malware spreads simply can't work on OSX like they do on Windows because there are not enough potential hosts.

      Take the classic email based worm for example. Given that only about 4-8% of computers run OSX, how would an email worm spread on Macs? If you sent it to 100,000 email addresses you'd be lucky if 8,000 OSX users received the email. If 50% of those 8000 OSX users fell for it and executed the payload, the worm would have to find 25 new email addresses that belong to uninfected OSX users in order to maintain it's population. Otherwise he number of new infections would decrease exponentially until the worm became extinct.

      The 50% infection rate and number of new email addresses required per infected host are both unrealistic IMO. More realistic numbers would only serve to further prove my point - that spreading malware to OSX computers is virtually impossible.

      Network borne malware is a different story, but that's become an almost non-issue since Windows XP SP2 came out and enabled the firewall by default.
      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    5. Re:Tipping the scales? by v1 · · Score: 2, Informative

      I doubt they are nearly as worried as they could be. From the looks of it, it can only spread locally on your subnet. Internet worms like code red, that can infect 70% of the vulnerable machines in the world in eight minutes, vs this whic may infect up to 254 machines on the typical network. Anyone that even attempts to put those two exploits in the same timezone needs a beating with a ClueBat.

      --
      I work for the Department of Redundancy Department.
  8. Windows affected? by nuckin+futs · · Score: 5, Interesting

    exactly what vulnerability in mDNSResponder is it exploiting? Since mDNSResponder also runs on windows if you install bonjour for Windows, does that mean it can possibly be affected too?

  9. Can this travel via "broader network segment"? by Anonymous Coward · · Score: 2, Interesting

    While InfoSec Sellout states that the worm only seeks out other systems on the same network for infection, they point out that it is not going to take much extra work for the worm to attack a much broader network segment.

    It's my understanding that the daemon in question works only on the LAN and is part of Bonjour/Rendezvous/Zeroconf/Avahi.... if this is the case, assuming a decent firewall, aren't you only vulnerable within your own local network?

    1. Re:Can this travel via "broader network segment"? by greed · · Score: 5, Interesting

      Sure, get infected on the school's lab LAN. Bring your iBook oops MacBook to the coffee shop and get everyone else there. They all go home and infect their room-mate's machines. Who go to a different lab and it gets loose on the LAN there.

      Most laptops aren't isolated to a single LAN these days; they move around. If there really is a flaw in mDNSResponder, then such a worm does have a chance to propagate. Especially if it is subtle and doesn't crash or overload machines, or do insane amounts of network I/O, or any of the other things that cause people to think something's wrong.

  10. Okay... let me get this straight... by Penguinisto · · Score: 4, Insightful
    Serious question here:

    Somebody writes a worm for OSX that works across a specific test network (of which we have no clue as to settings, layout, patch levels, etc etc), and it's really, really, really big news. Media orgs around the planet sound the klaxon, and (nearly) everyone gets all hyper-ventilated. Claims of "OSX is just as vulnerable!!!1111!!" will fly off the pages.

    Meanwhile, the next near-periodic iteration of MSFT-specific malware in-the-wild will get not so much as a grunt outside of security circles (such as SANS ISC and F-Secure's blog as ferinstances). It will likely subvert 40x as many victims in its first hour, and the media won't say so much as 'boo' about it.

    Perspective (at least outside of security and some geek circles)? Never heard of it.

    /P

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
    1. Re:Okay... let me get this straight... by Trillan · · Score: 3, Insightful

      I don't see any suggestions this be buried, only that it be kept in perspective. (Which, I'll grant, is impossible.)

    2. Re:Okay... let me get this straight... by BlueDjinn · · Score: 5, Insightful

      I don't know of a single Mac user or vendor who has ever claimed that OS X is *COMPLETELY* invulnerable to viruses/etc, only that there hasn't been a demonstrable, malicious, in-the-wild true OS X virus released YET, which is true.

      Major difference. In fact, every Mac user I know expects a "true" virus or two to show up for OS X sooner or later, but what of it? So the ratio will go from a bazillion to zero to a bazillion to one or two.

      Apple has roughly a 2.5% worldwide market share--wake me when they have anywhere close to 2.5% as many viruses as Windows and I'll start being overly concerned.

    3. Re:Okay... let me get this straight... by samkass · · Score: 2, Interesting

      You make a good point. The fact that there is not a single virus or worm in the wild for MacOS X probably does make this bigger news (assuming the unsubstantiated report is real and it ever makes it into the wild) than it would otherwise be. I'm not sure how much Apple's statements on the matter really affect it, but the fact that someone succeeded in creating such a worm for MacOS X really is pretty big news, I guess. That is, as long as the news organizations don't try to portray MacOS as being as vulnerable as Windows.

      --
      E pluribus unum
    4. Re:Okay... let me get this straight... by aesiamun · · Score: 2, Interesting

      actually the material was the commercial and the commercial went something like this:

      pc: careful i'm contagious, i have a virus
      mac: I'm ok, i can't get that from you. Macs don't have that problem (which is true, a windows virus doesn't infect macs and at the time there were no mac viruses)

      False advertising? No. Open ended advertising, sure.

    5. Re:Okay... let me get this straight... by aesiamun · · Score: 2, Insightful

      http://www.apple.com/getamac/ads/

      here, look for Viruses...

      Quote:
      PC: Better stand back this one's a doosy.

      Mac: That's ok I'll be fine.

      PC: No, no not be a hero. Last year there were 114,000 known viruses for PCs.

      Mac: PCs, but not Macs, so...

      Where does it say that Macs are invulnerable to viruses?

    6. Re:Okay... let me get this straight... by Caetel · · Score: 2, Interesting

      And how many of those 'bazillions' of viruses will infect a fully patched XP or Vista system? That is, without user interaction - I'll give you a hint, the answer is very close to 0.

      The biggest problem by far in terms of Windows security today is the user. You can't stop the user from downloading executable files from P2P networks, or 'codecs' for the latest funny videos, or programs which promise to speed up your PC or whatnot. Almost every major virus (including trojans, keyloggers, etc) is instigated by the user. Yes, Microsoft has had major issues with security in the past and will still have issues in the future, but the bottom line is that you can't protect the user from themselves.

      Following on, most viruses today are written with the intent of profiting from them, whether it be as part of a botnet, stealing financial information, or whatever else. If you were looking to make the most amount of money are you going to produce something that has a maximum target of 1 in 40 computers, or 19 in 20? Wake me up when Apple has an equal share of the market with Microsoft, and we'll do a fair comparison then.

    7. Re:Okay... let me get this straight... by DECS · · Score: 2, Interesting

      Viruses will infect a new Windows PC plugged into the Internet before its patches can be downloaded.

      You are right that users control their own security, but this is also the case on the Mac, and Mac users aren't plagued with constant malware problems. I have never scanned a PC and not found lots of malware. I work with a lot of different clients in different settings, from large enterprise groups that hire me to work on specific issues, to small business and home users. I have run large and medium sized IT environments, from several hundred users to several thousand.

      It is a bit absurd to first say that user security is the tough problem and Microsoft can't protect its users from themselves, and then concede that Microsoft owns the Enterprise of managed desktops with locked down security. That's where big money is being lost due to real viruses and worms.

      Apple has a very large business among home users and in education, both of which tend to have less draconian security in place, and a more permissive and less technically savvy userbase. But Mac users aren't poking their own eyes out downloading malware; it's the Windows users that are.

      You can't hide behind market share numbers forever. There is quite obviously a big problem architecturally for Windows when even tightly managed IT pros can't keep their systems up to date and safe, while Mac users experience zero problems and the only known exploits for the Mac are theoretical lab concepts that require crossed fingers and aligned planets.

      RoughlyDrafted Magazine

  11. Is mDNS even routable? by MBCook · · Score: 4, Interesting
    I was under the impression that mDNS was not routable (and specifically designed not to be routed). If that is true, doesn't that restrict this to propagating to computers on the same subnet? This could effect a business, or a computer lab (say at a university), but this fact should prevent it from spreading around the internet at large (as various Windows worms have).

    It's a bug, it's a problem, but it's no Blaster by a long shot.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    1. Re:Is mDNS even routable? by dch24 · · Score: 4, Insightful

      Bundle it with a Windows worm. Exploit Macs on the same subnet as Windows boxes. Then the infected Macs scan for vulnerable Windows boxes and spread the infection. Every vector is useful in an attacker's bad of tricks.

    2. Re:Is mDNS even routable? by anticypher · · Score: 4, Informative

      Multicast packets are routable, if the upstream routers support dealing with multicast packets correctly.

      mDNS/bonjour/zeroconf detects if a packet has crossed a router by setting the originating TTL to 255. If a multicast packet crosses a router, the TTL is supposed to be decremented, and zeroconf is supposed to ignore the packet as it is no longer considered local. Many suppositions there, as implementations vary.

      Worse, starting with a TTL of 255 means that the packets will be able to go anywhere on the internet where multicast packets can get routed. Better protected carriers will drop multicast packets with TTLs greater than 64 or 128, specifically to limit mDNS/zeroconf traffic while allowing reasonable traffic to flow. Most ISPs don't have the technical competence to deal with multicast, so they just block it, which will limit any spread of an mDNS worm.

      However, just because mDNS/zeroconf will ignore packets with TTL less that 255, doesn't mean that a buffer overflow bug isn't being treated by the protocol stack. Take a wait and see attitude on this disclosure, as it appears to be an extortion attempt rather than something from legitimate sources.

      the AC

      --
      Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
  12. It doesn't by SuperKendall · · Score: 3, Interesting

    Doesn't mean you can't build them. Just means none are released in the wild, true to this date.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  13. Local network only - depends on mDNS by mbessey · · Score: 3, Interesting

    So, not quite like the Internet-spanning, DDOS-producing Windows worms we've come to know and hate. I'm not too surprised the vulnerability was in MDNSResponder, though. Someone I work with found a few problems in the code when running it on Linux.

  14. Market share? by Dan_Bercell · · Score: 3, Insightful

    I havent really looked at the market share percentages of OSes recently, has Apple really grown large enough for Virus makers to start targeting Apple?

  15. Re:Probably similar by larry+bagina · · Score: 2, Interesting

    not necessarily. In 2002, there was a zlib vulnerability found (involving memory being freed twice). Windows was not affected since it safeguards against double freeing memory.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  16. Re:Apple Coded by Trillan · · Score: 5, Informative

    mDNSResponder is open source.

  17. Have mDNSresponder run without root privileges by e.+boaz · · Score: 5, Informative

    If this is a real concern, there is a workaround to have mDNSResponder run without root privileges. Part of the claim is that they can deliver root payloads - this is likely because mDNSResponder runs as the root user and they might be using a buffer overflow exploit [NOTE: I have not analyzed the mDNSResponder code - this is a guess.]

    % sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSRespon der.plist
    % sudo chown nobody:wheel /usr/sbin/mDNSResponder
    % sudo chmod 4750 /usr/sbin/mDNSResponder
    % sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSRespon der.plist

    If someone wants an explanation of what the above commands accomplish, please read further.
    1. launchctl is used to unload and load the mDNSResponder daemon.
    2. We change the owner of the mDNSResponder to nobody and ensure that wheel is the group. The group is used to ensure that members of the wheel group may launch mDNSResponder and not other users of the system (with the exception of root and anything else running as nobody.)
    3. We change the permissions of the mDNSResponder program to be setuid nobody. This means that mDNSResponder will run as nobody and only be able to affect files owned by that account or by files it may happen to have write privileges against.

    1. Re:Have mDNSresponder run without root privileges by QuantumG · · Score: 2, Informative

      If something is remote exploitable, you turn it off. If you do what he is suggesting you're only making it slightly harder for your box to get owned. Oh, and this won't stop a worm.. as the worm almost surely doesn't need root.

      --
      How we know is more important than what we know.
    2. Re:Have mDNSresponder run without root privileges by gotw · · Score: 2, Informative

      You might want to try 'ps -ax | grep mDNS'. HFS+ != case sensitive, grep == case sensitive.

      Oops

  18. Re:Root Account Disabled... by Mr2001 · · Score: 3, Informative

    No, just because you can't log into the account doesn't mean it doesn't exist. Type "sudo sh" and enter your password - presto, you're running a shell as root. Exploit any service running as superuser and you can do the same thing.

    --
    Visual IRC: Fast. Powerful. Free.
  19. 1500 Test stations? by theolein · · Score: 4, Insightful

    Apart from the claim by infosec sellout sounding less than adult - he says the payload was "weaponised" - and his claim that Apple will somehow not fix the "root cause" of the vulnerability if he gives it to them now - extortion anyone? mDNSResponder is Open Source - I seriously question how some independent reearcher can have, as he claims, a test base of 1500 systems. A big company with $1million to throw around might have that, or a university, but I seriously doubt he has the place or resources to afford a test base of this size unless he is using a local university or school, and judging by his spelling and grammar, he is either not English native or he is a teenager, or both. That says nothing about the veracity (truth) of his claim but it is somewhat juvenile, the whole thing.

  20. Re:Root Account Disabled... by v1 · · Score: 2, Informative

    All unix requires the root account, it's not really that accurate to say disabled. More like "inaccessible", or to say that "logging in as root is disabled". The password hash starts set to a value to which nothing can hash to, and so there is no valid password to login as root. To "enable root" is simply to set a legal password for it so you can login as root. 99% of mac users will never enable root, and most of them don't even know it exists to enable.

    To do root level things uses "su" (substitute user) - you can "su root" meaning do something with root's privs, so in that perspective root is always enabled, but only administrators can su, and that requires one to enter their administrator password, which a virus would have a tough time with.

    So yes, it would have to take over an account that had aministrator rights, and use that to do whatever. For all practical intents, an administrator can be root anytime they want to, so there is no need to get root. Getting an admin would be enough.

    The OS X Server (as opposed to the Client which many think is all that exists) has root enabled by default, with its password set to the same password as the first administrator you create. Not sure why they do this, it's not really necessary. They probably assume that almost every sysadmin will want root enabled and will be close to first on the order of business if it were not the default.

    --
    I work for the Department of Redundancy Department.
  21. Dear Apple Inc by deke_kun · · Score: 3, Interesting

    Seriously, sit down with this guy. Put a suitcase full of large bills on the table, and tell him it's his if he can prove it works. And then, give the guy some incentive to continue to disclose his so-called "root causes". He is CLEARLY a total whore for cash, which means he is easily bought. You have pockets deep enough, you just sold a bojillion iphones, so buy this guy. If he's full of crap, make the fact that you wanted his "root cause" and he couldnt show you it publicly known, then he gets shamed into STFU and stops spreading FUD. If he does show the root cause, then great, put him on retainer and continue to have a fantastic OS. I know jobs likes to do things all secretive and on his own terms, but this is a public perception issue, it needs to be handled in the public eye. Get on the private jet and go see this guy in person, use the RDF to mess with him and get this shit cleared up. Microsoft got into the situation they're in now by ignoring things like this and pulling the secretive garbage, you don't wanna go down that road, otherwise this crap will get out of hand.

  22. also quite useless by Jeremy_Bee · · Score: 3, Insightful

    IMO the really funny thing is that this joker decided to use a Bonjour vulnerability to work on, when everything I've heard indicates a major reworking of the Bonjour code in Leopard anyway.

    Isn't this kinda like working out a vulnerability in AppleTalk a month before they stopped using it?

    1. Re:also quite useless by zootm · · Score: 3, Insightful

      Many of the major Windows worms and so forth target vulnerabilities which have already been fixed (and the fixes pushed out) months before. Not only will many not upgrade to Leopard, if the OS X userbase is similar to the Windows userbase (I'm not sure if it is, but still), many will simply not click the button to install the updates, and leave themselves vulnerable.

    2. Re:also quite useless by TheRaven64 · · Score: 2, Interesting

      I'd really be interested as to whether this vulnerability is OS X only. Apple have released mDNSResponder under an Apache 2.0 license, and it runs on Windows and *NIX. Is the vulnerability in mDNSResponder, or how it interacts with OS X?

      --
      I am TheRaven on Soylent News
    3. Re:also quite useless by Gilmoure · · Score: 2, Insightful

      Read how Apple's Quicktime 7.2 update went and caused issues on Intel based Macs. It broke some PPC apps on some machines. Also, Apple's pulled a DVD drive firmware update, after it hosed some hardware. Now, I'm a Mac tech and have only owned Macs, except for my old TI 99/4A but you can't paint Apple in polished gold all the time. They screw up things just like any other computer company.

      --
      I drank what? -- Socrates
  23. Wow by Enrique1218 · · Score: 3, Funny

    3 hypothetical worms in seven years. At this rate, I may have to switch to Linux next century!

    --
    You don't have to be smart to use a Mac, you just have to be smart enough to buy one
  24. Re:Time to Market??? They aren't exactly rushing.. by QuantumG · · Score: 2, Interesting

    I'm not exactly quaking in my boots here... For every remote vulnerability you hear about there are dozens you don't. The vast majority of people looking for vulnerabilities are "bad guys", and they don't tell us what they find.

    Hopefully that will change sometime soon. I like to think there is a push coming that is going to make vendors think differently about software security.

    But maybe that's just over-optimistic.
    --
    How we know is more important than what we know.
  25. Re:rape.osx is fitting by Divebus · · Score: 2, Interesting

    One down, 140,000 to go until he catches up. Good thing mDNS doesn't work on the open Internet, though.

    --

    Most of the stuff on /. won't survive first contact with facts.
  26. Re:pfft by Divebus · · Score: 4, Insightful

    The Windows camp has nothing to gloat about as long as I'm getting a hundred spam messages a day from compromised Windows machines.

    --

    Most of the stuff on /. won't survive first contact with facts.
  27. This just in by chthonicdaemon · · Score: 2, Funny

    Researchers say that safes are not completely immune to attack. Some off-the-shelf "safes" can be cracked in less than 5 minutes! They advise that a cardboard box is a more cost-effective way to store valuables, as "people will get in anyway".

    --
    Languages aren't inherently fast -- implementations are efficient
  28. Covered in shit? by GrahamCox · · Score: 3, Insightful

    I frequently hear the old chestnut that the only reason Macs aren't infested with malware is their lack of market share. Whether true or not, it's a funny argument, especially if the person using it is defending their choice of Windows.

    "I'm not going to use Mac because while it may be clean now, I could get covered in shit at any time!"

    "But you're already covered in shit".

    "Errr... yes. But I'm sorta used to it..."

  29. 10.4.10 by djahz · · Score: 4, Interesting

    10.4.10 isn`t on the affected systems list.

    1. Re:10.4.10 by fplinn · · Score: 4, Interesting
      wasn't this patched in may ? http://docs.info.apple.com/article.html?artnum=305 530

      mDNSResponder
      CVE-ID: CVE-2007-2386
      Available for: Mac OS X v10.4.9, Mac OS X Server v10.4.9
      A remote attacker may be able to cause a denial of service or arbitrary code execution
      Description: A buffer overflow vulnerability exists in the UPnP IGD (Internet Gateway Device Standardized Device Control Protocol) code used to create Port Mappings on home NAT gateways in the OS X mDNSResponder implementation. By sending a maliciously crafted packet, a remote attacker can trigger the overflow which may lead to an unexpected application termination or arbitrary code execution. This update addresses the issue by performing additional validation when processing UPnP protocol packets. This issue does not affect systems prior to Mac OS X v10.4. Credit to Michael Lynn of Juniper Networks for reporting this issue.
  30. mDNSResponder is OSS, not? by FST777 · · Score: 2, Interesting

    If it is, this might be patches relatively soon (allthough it might take a while before Apple approves and deploys the fix). It might also mean that more systems could be affected by this vulnerability. I know FreeBSD uses mDNSResponder (the laptop I'm typing this on is actively using it right now).

    Anyone knows if this might provide a way to write a FreeBSD worm?

    --
    Free beer is never free as in speech. Free speech is always free as in beer.
  31. Re:rape.osx is fitting by TheRaven64 · · Score: 3, Insightful

    This could be a big problem on some university campuses, however. Mine, for example, has a huge flat-topology network that was deployed in the '80s (maybe before) and has been upgraded piecemeal without anyone really knowing how the whole thing fits together anymore. When I plug my laptop in, I get around 10KB/s of background traffic sent to the broadcast address hitting me. Running tcpdump shows that most of this is iTunes DAAP. Does this exploit also run on Windows? Apple bundle MDNSResponder with iTunes on Windows, so if that's where the exploit is then it could also be a problem there. It might also be a problem on other *NIX systems that bundle it, since Apple have released it under an Apache 2.0 license (cue all the 'Apple just takes from Open Source and never gives anything back' trolls).

    --
    I am TheRaven on Soylent News
  32. Actually... by LKM · · Score: 4, Insightful

    The only people I always see spouting such crap are the people who claim to hate Apple fanboys. I've never seen an Apple fanboy make absurd claims like yours. This is like a fucking self-fullfilling prophecy. Every damn article about Apple is run over by stupid Anti-Apple trolls who write hundreds of comments laughing about imaginary Apple fanboys and the imaginary stupid things they say.

    Here's an idea: Shut up, and let those who are interested in the article discuss it. Thanks.

    1. Re:Actually... by LKM · · Score: 2, Interesting

      Yes I am one of those cult infidels or traitors who flooded those forums because his mind couldn't handle all those non logical junk there. Now, I am happily missing.

      Here's a serious question for you: Are you stupid? Did you read anything I wrote? Are you answering to my post simply to proof that I was right? Okay, three questions. And no, you don't have to answer.

      Worst security nightmare is having some issues on host operating system and whoever tells such flaws gets burned by some zealot cult. I hate fanboys because they risk my OS security.

      Yeah. What fanboys? Reading through this discussion, I see dozens and dozens of people complaining about Apple fanboys. Yet I do not see a single post of one of these hypothetical Apple fanboys claiming that "Mac OS X can't be penetrated" or that "this security issue is actually a good thing."

      I'm not sure what your issue is, really. Why do you feel the need to make up stories about these hypothetical Mac users?

  33. Re:Surprise, sur-bloody-prise by Anonymous Coward · · Score: 2, Informative

    Sigh.

    The code for mDNSResponder is open source already (under an Apache 2.0 license).

    Enjoy.

  34. Closed source software like Sendmail and PHP? by argent · · Score: 3, Interesting

    The "Internet Worm" targeted Sendmail. Which has proceeded to become notorious for security holes.

    The biggest UNIX webserver security holes are due to PHP.

    The biggest problem is not "closed" vs "open" source. It's design. Is the API secure (that is, if the implementation is perfect, would the resulting system be perfectly secure)? Does the API fail "open" or "closed"? Is there a mechanism to request trusted access from *outside* the trusted domain? If so, is that enabled by default?

    If the answers are "yes", "closed", "no", and "no" then you may have built a secure system.

    Surprise, surprise, there's a lot of open source software that isn't secure by that standard, including the much-lauded Firefox. Now don't get me wrong, the surface area Firefox's XPI and the XPI install mechanism exposes to attack is like the radar signature of a stealth fighter, where Internet Explorer's "insecurity" zones and ActiveX give it the radar signature of a flock of 747s, but it's not necessary for either exposure to exist at all.

    Open Source doesn't create secure systems. It's a hell of a mitigating factor, yes, but the real source of long-lasting security holes (and we don't know if this is one or not, because the soi-disant "researcher" responsible isn't being open about the vulnerability he's found) is insecure design and a preference for patching particular attack vectors rather than fixing the insecure design. And that isn't limited to closed source systems.

  35. Assuming he hasn't made up that bit... by argent · · Score: 2, Insightful

    Even assuming he hasn't made up that bit, I'm sure some of the real, ethical researchers looking at the mDNSresponder source code right now will figure out what he's hinting at.

  36. Learn to read. by argent · · Score: 2, Informative

    From the things I read, Mac OS X is just as vulnerable and dangerous as Windows.

    You need to read deeper.

    OSX: No routed open ports by default. All services can be bound to localhost only. All IP-based services can be disabled. Conventional browser that requires applications to install extensions. Can be run securely with no firewall in place, the optional firewall is "defense in depth". It's not perfect, but the "surface area" exposed to remote attacks is small and can be eliminated.

    Windows: Routed open ports by default, most services are promiscuous, and some listening services are required for normal operation of the OS. Browser built around embedded code, and the ability to run remotely provided embedded code can not be removed without disabling the browser and parts of required utilities. Firewall is enabled by default because it's required to close *most* direct remote attacks (but not all, and not attacks through the HTML control). Even with the firewall in place Windows has a larger surface area to exploits than any other OS in use, and you can't eliminate it without disabling basic OS functionality.