Slashdot Mirror


Less Than a Minute to Hijack a MacBook's Wireless

Kadin2048 writes "As reported by Ars Technica and the Washington Post, two hackers have found an exploitable vulnerability in the wireless drivers used by Apple's MacBook. Machines are vulnerable if they have wireless enabled and are set to connect to any available wireless network, fairly close to their default state, and the exploit allows an attacker to gain "total access" -— apparently a remote root. Although the demo, performed via video at the BlackHat conference, takes aim at what one of the hackers calls the "Mac userbase aura of smugness on security," Windows users shouldn't get too smug themselves: according to the Post article, "the two have found at least two similar flaws in device drivers for wireless cards either designed for or embedded in machines running the Windows OS." Ultimately, it may be the attacks against embedded devices which are the most threatening, since those devices are the hardest to upgrade. Currently there have not been any reports of this vulnerability 'in the wild.'" According to this story at ITwire.com, they were able to exploit Linux and Windows machines, too. (Thanks to Josh Fink.)

18 of 390 comments (clear)

  1. Re:How about warning the vendor. by Snover · · Score: 5, Informative
    You mean like this, from TFA?

    Maynor said he and Ellch have been in contact with Apple, Microsoft and other companies responsible for vetting the device drivers that power the embedded or third-party wireless card devices meant for those systems, and that both companies are working with wireless card vendors and original equipment manufacturers (OEMs) to remedy the problems.


    Also, christ, I'd say they're being pretty responsible about it.

    Maynor said he and his colleague opted in favor of a videotaped demonstration versus a live one because of the possibility that someone in the audience could intercept the traffic sent to a potentially live target and deconstruct the attack -- possibly to use the exploit in the wild against other Macbook users.
    --

    [insert witty comment here]
  2. In related news... by Kranfer · · Score: 4, Informative

    In related news, there is an article at ITWire about Intel admitting to a security flaw with their wireless technology as well. Check it out at http://www.vnunet.com/vnunet/news/2161539/intel-ad mits-centrino-wi

    --
    -- Josh
    "Whoopie! Man, that may have been a small one for Neil, but that's a long one for me!" - Pete Conrad
  3. Re:How about warning the vendor. by Whiney+Mac+Fanboy · · Score: 4, Informative
    They should have disclosed the vulunerability to Apple and give fair time to patch OS X before going public with it.

    Seeing you can't be bothered reading tfa to find out that they haven't discolsed & gone to some trouble to ensure the vulnerability's details weren't leaked, I'll quote the relevant sections for you:

    hile those device driver flaws are particular to the Macbook -- and presently not publicly disclosed

    and:

    Maynor said he and his colleague opted in favor of a videotaped demonstration versus a live one because of the possibility that someone in the audience could intercept the traffic sent to a potentially live target and deconstruct the attack -- possibly to use the exploit in the wild against other Macbook users.

    One last quote for you (just 'cause its funny):

    "We're not picking specifically on Macs here, but if you watch those 'Get a Mac' commercials enough, it eventually makes you want to stab one of those users in the eye with a lit cigarette or something,"
    --
    There are shills on slashdot. Apparently, I'm one of them.
  4. 3rd party by Tom · · Score: 3, Informative

    One should probably mention that they exploited 3rd party drivers and not the ones that the MacBook actually uses.

    And I was joking about this on a security mailing list yesterday. I mean, come on: 3rd party drivers that nobody is using anyways because the ones you get with the system are perfectly ok? What's next? Writing the exploitable drivers yourself?

    --
    Assorted stuff I do sometimes: Lemuria.org
    1. Re:3rd party by fatrat · · Score: 5, Informative


      Read Brian Krebs' follow up

      http://blog.washingtonpost.com/securityfix/2006/08 /followup_to_macbook_post.html

      Apple 'leaned heavily' on the presenters to make them use a different card. The built in card *is* vulnerable.

  5. Re:Uh by TheRaven64 · · Score: 4, Informative

    R'ing TFA, I found that the chipset in question is an Atheros. As a Free- and OpenBSD user, this made me feel incredibly smug since, unlike Linux, the OpenBSD driver (now ported to FreeBSD) for Atheros cards is entirely blob-free (and has undergone the same security audit as the rest of OpenBSD) and so is almost certainly not vulnerable to this attack.

    --
    I am TheRaven on Soylent News
  6. Actually, your Powerbook probably IS safe! by mrchaotica · · Score: 4, Informative

    MacBooks use different wireless drivers (because they have Intel wireless chips). Your Powerbook has the old Airport card; unless there's also a similar flaw in it, it's safe.

    --

    "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

  7. The ISC discussed this yesterday by pbrammer · · Score: 5, Informative

    Look for more information on the ISC Web site. Bottom line is this is not an OS issue, rather a "firmware/driver" issue.

  8. Re:Centrino. Feh. by Nick+Fury · · Score: 5, Informative

    It's not Centrino. Centrino is the name given to Intel's package of Motherboard chipset + wireless chipset + Processor. The new Apple machines don't use an Intel wireless card. They use Intel's chipset and Processor but not their wireless card. This does not make them Centrino machines.

    To be specific the new Macbooks/pros use a Atheros 5006x. This is in comparison to the powerbooks that use a broadcom based card. So Apple doesn't use Centrino.

  9. Watch the video by eturro · · Score: 5, Informative

    The actual video is here.

  10. Re:Smug Mac users? by Anonymous Coward · · Score: 3, Informative
    Mac OS X does not enable root by default
    Network drivers run in kernel mode, and an exploit in kernel mode gives full control of the system to the attacker. The privileges of any user processes running on the machine are neither here nor there.
  11. The built-in card IS vunerable by everphilski · · Score: 4, Informative

    check Security Fix:

    During the course of our interview, it came out that Apple had leaned on Maynor and Ellch pretty hard not to make this an issue about the Mac drivers -- mainly because Apple had not fixed the problem yet. Maynor acknowledged that he used a third-party wireless card in the demo so as not to draw attention to the flaw resident in Macbook drivers. But he also admitted that the same flaws were resident in the default Macbook wireless device drivers, and that those drivers were identically exploitable. And that is what I reported.

  12. Apple's wiress drivers are flawed too, read ... by everphilski · · Score: 5, Informative

    check Security Fix:

    During the course of our interview, it came out that Apple had leaned on Maynor and Ellch pretty hard not to make this an issue about the Mac drivers -- mainly because Apple had not fixed the problem yet. Maynor acknowledged that he used a third-party wireless card in the demo so as not to draw attention to the flaw resident in Macbook drivers. But he also admitted that the same flaws were resident in the default Macbook wireless device drivers, and that those drivers were identically exploitable. And that is what I reported.

    ( Looks like Apple was wielding a big stick ... )

  13. Re:Mac Users by marklark · · Score: 5, Informative
    According to John Gruber of Daring Fireball, the affected MacBook was seen to be using a 3rd party wireless card. MacBooks (Pro or not) have wireless built in these days. This is a non-story. And this will probably be fixed soon by Apple for others.

    Next?

  14. Re:Uh by TheRaven64 · · Score: 3, Informative
    was talking to a wireless security guy a month ago about something like this, and he was telling me that every wireless card has an inbeaded driver for testing purposes before leaving the factory to insure it is working

    There are two possibilities here. If the testing driver is in the firmware, then it will still be present in OpenBSD. Since the firmware does not run on the host CPU, however, compromising it is only useful if you can then return something to the driver that will be executed, usually be exploiting a flaw in the driver causing it to execute arbitrary code in ring 0.

    The other alternative is that this really is a driver you are talking about. In which case, it would not be present in OpenBSD, since the OpenBSD driver is a clean-room implementation and shares no code with the official driver.

    And if OpenBSD has no problem and its the OS driver that needs replacing, then Apple will just take your OpenBSD driver and port it to their system, problem solved. That is why they went with BSD, they can borrow from any BSD that is out there.

    I'm sorry, but that's not even remotely true. OS X uses IOKit for all device drivers, which is an Embedded C++ API. OpenBSD and FreeBSD use derivatives of the old BSD device API. It is possible to port device drivers between FreeBSD and OpenBSD relatively easily, because the API changes between the two have been small and incremental. If you try 'porting' a network driver from OpenBSD to OS X, then what you are really doing is using the OpenBSD driver as a substitute for real documentation and writing a driver from scratch. Doing this is likely to introduce bugs, since code (even good code) is a poor substitute for documentation.

    --
    I am TheRaven on Soylent News
  15. Re:Uh by TheRaven64 · · Score: 3, Informative

    As I explained above, no. OS X is not 'based off BSD,' it is based on OPENSTEP, which is based on Mach with a BSD subsystem and a BSD userland. The drivers are all handled by the IOKit layer, which is new for OS X. IOKit is a set of Embedded C++ libraries and is very different to other BSD driver APIs (for one thing it's Embedded C++ not C, but the structure is also very different). At best Apple could use the OpenBSD driver as a substitute for chipset documentation and write an IOKit driver from scratch; there is not likely to be very much code that can be shared between the two.

    --
    I am TheRaven on Soylent News
  16. Re:Mac Users by Uncertain+Bohr · · Score: 3, Informative

    The title of the article is misleading: the macbook was not hacked using its normal built-in wireless adapter and its Apple drivers. The video (http://www.washingtonpost.com/wp-dyn/content/vide o/2006/08/02/VI2006080201424.html) of the exploit *clearly* shows and explains that they are using an *external* third party wireless adapter which comes with its own wireless driver. This driver is the culpit and is succeptible to the exploit. The wireless adapter they demoes is widly used with PC laptop and the drivers on PC are similarly flawed. This demo was to show that device driver makers need to be a lot less careless and test their drivers a lot more.
    One thing that is unclear in the demo is whether root access was gained. The demo shows creating, reading, and deleting files on the MacBook user's Desktop. I would have like them to do a "rm -rf /" and see whether they could really do this.