This attack works by luring users to install an app from a source other than the iOS App Store or their organizations’ provisioning system. In order for the attack to succeed, a user must install an untrusted app, such as one delivered through a phishing link.
This technique takes advantage of a security weakness that allows an untrusted app—with the same “bundle identifier” as that of a legitimate app—to replace the legitimate app on an affected device, while keeping all of the user’s data. This vulnerability exists because iOS does not enforce matching certificates for apps with the same bundle identifier. Apple’s own iOS platform apps, such as Mobile Safari, are not vulnerable.
An app installed on an iOS device using this technique may:
- Mimic the original app’s login interface to steal the victim’s login credentials.
- Access sensitive data from local data caches.
- Perform background monitoring of the user’s device.
- Gain root privileges to the iOS device.
- Be indistinguishable from a genuine app.
iOS users can protect themselves from Masque Attacks by following three steps:
- Don’t install apps from sources other than Apple’s official App Store or your own organization.
- Don’t click “Install” from a third-party pop-up when viewing a web page.
- When opening an app, if iOS shows an “Untrusted App Developer” alert, click on “Don’t Trust” and uninstall the app immediately.
Further details on Masque Attack and mitigation guidance can be found on FireEye’s blog . US-CERT does not endorse or support any particular product or vendor.
- November 13, 2014: Initial Release