Slashdot Mirror


WireLurker Mac OS X Malware Found, Shut Down

msm1267 writes WireLurker is no more. After causing an overnight sensation, the newly disclosed family of Apple Mac OS X malware capable of also infecting iOS devices has been put to rest. Researchers at Palo Alto Networks confirmed this morning that the command and control infrastructure supporting WireLurker has been shut down and Apple has revoked a legitimate digital certificate used to sign WireLurker code and allow it to infect non-jailbroken iOS devices.

Researchers at Palo Alto Networks discovered and dubbed the threat WireLurker because it spreads from infected OS X computers to iOS once the mobile device is connected to a Mac via USB. The malware analyzes the connected iOS device looking for a number of popular applications in China, namely the Meitu photo app, the Taobao online auction app, or the AliPay payment application. If any of those are found on the iOS device, WireLurker extracts its and replaces it with a Trojanized version of the same app repackaged with malware.

Patient zero is a Chinese third-party app store called Maiyadi known for hosting pirated apps for both platforms. To date, Palo Alto researchers said, 467 infected OS X apps have been found on Maiyadi and those apps have been downloaded more than 350,000 times as of Oct. 16 by more than 100,000 users.

9 of 59 comments (clear)

  1. risk vs opportunity by Anonymous Coward · · Score: 2

    Why take a risk in going beyond the walden garden for a bloody photo-app, while in paradise there exist countless photo-apps for free?

  2. No honor among thieves by DigiShaman · · Score: 2

    Some lessons are never learned.

    --
    Life is not for the lazy.
  3. Re:Good by Anonymous Coward · · Score: 2, Funny

    Yes. EXACTLY. Mac’s are as vulnerable as Windows and iPhones as vulnerable as Android because not only did a rogue app store send fake apps, but “a few years back” there was a botnet. Idiot.

  4. Re:Now by Aaden42 · · Score: 5, Informative

    RTFA, please. This didn’t require jailbreaking to infect the phone.

    Infection process:

    1) Download pirate-friendly AppStore app for your Mac.
    2) Download & run one of the trojaned, probably pirated apps on your Mac.
    3) Plug in your phone.
    4) Accept the prompt to install an enterprise provisioning profile, enter your device’s unlock code to authorize that, confirm one more time that you’re certain you want to install the profile (at least that was the process last time I added a custom profile: Two “Are you sure?"’s and an authentication prompt, not just TouchID).
    5) Trojaned apps on Mac scan for interesting apps on the phone & replace them with trojaned versions of the iOS apps.

    No iOS or Mac bugs were exploited.

    The Mac side was just downloading & running dodgy software from (software) houses of ill repute.

    The iOS side relied on a legitimate Apple-signed key that was issued to some company (haven’t found the name of the company yet — redacted to protect the careless?) It does seem that the key had greater than usual entitlements to allow additional background execution beyond what’s usually allowed. The trojaned iOS apps ran on a non-jailbroken, non-compromised (by bugs anyways) phone because the user allowed installation of the enterprise provisioning profile which allows the phone to run apps signed by someone other than Apple.

    As far as mitigation, Apple added signatures for the Mac-side stuff to Gatekeeper so OS X won’t run them any more unless you stand on your head and accept a bunch of, “This will explode your computer!” prompts.

    They also revoked the provisioning profile signing key on the phone side, so it can’t create newly trojaned apps on the phone, and the profile won’t be installable on new phones. I’m not sure at the moment what effect that revocation has on phones that have already installed the profile or on apps that were already modified by it. I’m also not sure if it’s vulnerable to the “change the date on your phone” thing that was used to installed NES emulators a while back. At one point, apps’ signatures were only checked on initial install, but I *think* expired or revoked enterprise profiles are actually checked at each launch and the apps should die now.

  5. Re:Now by tlhIngan · · Score: 4, Informative

    Once installed on the Mac OS X computer, making use of legittimage Apple developer credentials, the software seems to have been able to infect non-jailbroken iOS devices when those devices were attached to the machine via USB.

    No, it wasn't developer credentials, it was enterprise credentials.

    Developer credentials is that every year, you get to add up to 100 devices to your "testing" list. You submit that list to Apple and Apple gives you back a .mobileprovisioning file that is signed by Apple containing the list of those 100 devices. Beta testers then install that file on their device and it lets you test unsigned software on it. But 100 devices max, and you can only reset it once a year (so it's not 100 devices, reset it, another 100 devices, etc). You can add devices if you have less than 100 at any time, but to clear it can only be done annually.

    An enterprise certificate costs more ($500/year) but it comes with signing rights, so you can make provisioning files, sign apps (so you can bypass the App Store) and other things. Of course, you have to install the enterprise certificate to run enterprise signed apps.

    The malware used a legit developer cert ($99/year) to sign the malware app on OS X (you can bypass the Mac App Store by buying a certificate from Apple to sign your own apps as the OS X default is "Mac App Store and Signed Apps Only"). That malware then installs the enterprise provisioning onto a connected iOS device and then pushes the signed malware to it.

    Thus, what Apple did was revoke the signing key, revoke the enterprise cert, and install new XProtect signatures to neuter the OS X apps.

  6. Re:Now by the+computer+guy+nex · · Score: 4, Insightful

    "RTFA, please. This didn’t require jailbreaking to infect the phone."

    Non-jailbroken phones were never 'infected.' WireLurker simply loaded a harmless comic book app on non-jailbroken devices. Since WireLurker didn't jailbreak your device, it was limited to the iOS sandbox.

    This wasn't even malware for non-jailbreak devices. The user was prompted to install an enterprise app, and had the ability to allow/deny. The app itself was harmless. The only malware was for jailbroken devices.

  7. Re:No. by Paradise+Pete · · Score: 2

    it does not prevent someone from doing it again in the future so stop thinking you're safe because you run a Mac.

    How about if I just feel safer? Is that OK?

  8. Re:Good by jazzis · · Score: 3, Informative
  9. Re:Good by Jeremi · · Score: 2

    Hard to see what extras a person gets with proprietary software. Or what is nor fixed or fixed later.

    If a piece of software has had lots of development and testing done on it by very talented individuals, the user gets to enjoy better-designed, higher-quality software.

    In some (but not all) cases, the proprietary nature of the software supplies the money necessary to pay those talented programmers and testers to spend the extra time necessary to really develop/debug/polish the software's quality.

    Open source software sometimes gets that extra attention too, but since it's often written by self-directed volunteers, the extra-mile polishing often happens only to the parts of the software that software developers find interesting. Hence Linux's great kernel, but mediocre [relative to OS/X] GUI.

    Does being proprietary make software more secure? Unlikely -- but security is not the only yardstick by which software is judged.

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.