Unpatched stealthy iOS MDM hack spells ruin for Apple tech enterprises

Clicking 'OK' to ordinary and expected phishing prompt enough for complete iPhone compromise


Black Hat Asia Enterprises the world over are at risk from a seamless new attack that allows the latest Apple devices to be quietly compromised in what researchers say requires a total overhaul of Cupertino's enterprise provisioning architecture for mobile device management.

The unpatched hack – dubbed SideStepper and crafted by Israel-based Check Point hackers Ohad Bobrov and Avi Bashan – begins with a near-perfect phishing attack targeted at staff, and ends with complete compromise of fully updated iOS devices running version 9.2.

It takes advantage of Apple's newly streamlined enterprise provisioning architecture, which allows tech shops to install non-App Store applications on staff handsets.

Mobile device management of Apple devices is a system used by almost all Fortune 100 companies and scores more enterprises. Almost all are at risk of the attack, the pair told The Register.

Apple's upgrade means attackers need only send an SMS – to trick staff into accepting a legitimate-looking request to install a configuration file – for attackers to have remote man-in-the-middle access. From there, attackers can install applications that will quietly eviscerate Apple devices.

The attack demonstrated to The Register by Bobrov and Bashan ahead of their presentation at BlackHat Asia today generates a pop-up on staff handsets that would appear typical of those requests generated by mobile device management platforms.

Apple has been contacted for comment. However, the pair say they informed the tech giant of their research, and Apple labeled it "a feature, not a bug."

The pair say the attack is cleaner and more deadly than any that have come before, and is explicitly thanks to Apple borking its enterprise provisioning service.

"We found a way to do a man-in-the-middle attack on an iOS mobile device and replace an original command such as 'query device' with one to install a malicious enterprise certificate application," Bobrov says.

"That pretty much seamlessly installs a malicious application on the device, and then game over."

Bashan says a configuration profile sent to devices and accepted by users will install routing commands and root certificates, which combined let attackers route and decrypt handset traffic to their servers.

"Once staff open the malicious app, sensitive data like contacts, emails, screenshots can be sent to a server so that personal and enterprise data is compromised," Bashan says.

"Apple tried to solve the problem but actually made it worse, because now it is even easier to infect a mobile device."

Cupertino indeed made it easier for enterprise provisioning, which has been a target of black and white hats since the FinFisher government mobile malware was identified in 2013. Following that revelation, jailbreakers Pangu and white hats behind the Masque attack have targeted the enterprise provisioning vector. Last year alone, Wire Lurker, Hacking Team, and YiSpecter surfaced to pwn the latest iOS devices using the channel.

The phishing configuration file bait resembles a legitimate prompt that is a common sight for staff using handsets controlled by mobile device management systems. Attackers can even mark the phishing installation prompt to continually pop up until users click accept.

Asked what Apple can do to remediate the problem, Bobrov and Bashan say little short of an architectural overhaul will fix the attack vector; patching will not help, they say. Moreover, any significant fix could disrupt businesses running existing mobile device management deployments for Apple devices.

There is also little a typical system administrator can do to detect a handset compromised by the attack. Eagle-eyed staff could report a newly-installed application to IT, foiling the hack, but further attack research makes this scenario even more unlikely.

Separate research by MetaIntell architect Chilik Tamir also showcased at the Singapore hacking conference demonstrates how attackers can install a malicious application that not only looks like a legitimate app, but when tapped, calls and launches the original expected app after it pwns the handsets.

Combined, the two tactics spell trouble for enterprises and opportunity for ambitious attackers.

Bobrov and Bashan are already working on further iOS vulnerability and exploitation research. They also have Android in their sights.

"We love mobile," Bobrov says. "Android as well." ®

Similar topics


Other stories you might like

  • To cut off all nearby phones with these Chinese chips, this is the bug to exploit
    Android patches incoming for NAS-ty memory overwrite flaw

    A critical flaw in the LTE firmware of the fourth-largest smartphone chip biz in the world could be exploited over the air to block people's communications and deny services.

    The vulnerability in the baseband – or radio modem – of UNISOC's chipset was found by folks at Check Point Research who were looking for ways the silicon could be used to remotely attack devices. It turns out the flaw doesn't just apply to lower-end smartphones but some smart TVs, too.

    Check Point found attackers could transmit a specially designed radio packet to a nearby device to crash the firmware, ending that equipment's cellular connectivity, at least, presumably until it's rebooted. This would be achieved by broadcasting non-access stratum (NAS) messages over the air that when picked up and processed by UNISOC's firmware would end in a heap memory overwrite.

    Continue reading
  • China-linked Twisted Panda caught spying on Russian defense R&D
    Because Beijing isn't above covert ops to accomplish its five-year goals

    Chinese cyberspies targeted two Russian defense institutes and possibly another research facility in Belarus, according to Check Point Research.

    The new campaign, dubbed Twisted Panda, is part of a larger, state-sponsored espionage operation that has been ongoing for several months, if not nearly a year, according to the security shop.

    In a technical analysis, the researchers detail the various malicious stages and payloads of the campaign that used sanctions-related phishing emails to attack Russian entities, which are part of the state-owned defense conglomerate Rostec Corporation.

    Continue reading
  • Flaw could have granted criminals control over Ever Surf crypto wallets
    Check Point uncovers web vulnerability that could have led to cryptocurrency theft

    A flaw detected in the browser version of the Ever Surf cryptocurrency wallet could have given hackers who exploited it full control over a targeted user's wallet, say threat hunters at Check Point Research.

    The security vulnerability made it possible for threat actors to decrypt the private keys and seed phrases found in the browser's local storage, opening the door to cracking the victim's wallet and accessing the cryptocurrency stored there, the researchers wrote in a blog post Monday.

    "As the browser's local storage is unprotected, the data stored there must be securely encrypted," they wrote. "Despite the fact that Surf uses reliable cryptographic libraries for the key derivation and the encryption, the sensitive data in the web version of Surf doesn't appear to have adequate protection."

    Continue reading

Biting the hand that feeds IT © 1998–2022