Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Cloud

11/10/2014
02:00 PM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

New Attack Method Can Hit 95% Of iOS Devices

Masque Attack replaces legit apps with malware using the same bundle identifier names.

The majority of non-jailbroken iOS devices are vulnerable to an attack method that could replace genuine apps with malware through a bit of application-naming skullduggery. Dubbed a "Masque Attack" by the FireEye researchers who discovered this technique this summer, the attack was described publicly for the first time in a report today.

FireEye had previously held details about the attack methods close to the vest to give Apple time to handle a disclosure made to Cupertino at the end of July. But after examining the WireLurker malware that hit headlines last week, researchers with FireEye found it was using Masque methods and felt it necessary to shed light on a vulnerability that it says affects 95% of iOS devices.

"We consider it urgent to let the public know, since there could be existing attacks that haven't been found by security vendors," they wrote in the report.

Masque works by convincing users to download an app with a tricky name and then using that install to replace a legitimate app with the same bundle identifier name. There are a number of attack implications from this method. First of all, attackers could mimic the original app's login interface to steal credentials and upload them remotely. Secondly, the data under the original app's directory remains in the malware's local directory after the switch, allowing for further data theft. Additionally, an attacker can use the Masque Attack to bypass the app sandbox and get root privileges by attacking known iOS vulnerabilities.

According to FireEye, Masque is particularly dangerous for enterprises for a number of reasons. First of all, apps distributed using enterprise provisioning profiles aren't subject to Apple's review process.

"Therefore, the attacker can leverage iOS private APIs for powerful attacks such as background monitoring and mimic iCloud's UI to steal the user's Apple ID and password," the researchers wrote.

Additionally, Masque is very difficult for enterprises to detect because MDM software can't distinguish malware from legit apps using the same bundle identifier.

"This means that attackers can use spear phishing via email or text message to conduct targeted attacks very effectively against enterprise users," Tao Wei, senior research scientist at FireEye, told Dark Reading. "Because MDM software cannot detect this attack, and until Apple releases a fix for this vulnerability, organizations must educate their employees on the threat spear phishing now poses to their non-jailbroken iOS devices."

Because an attacker can run arbitrary code on the iOS device, malware using the Masque Attack can serve as a stepping stone into the corporate network, Wei warns. "For example, the attacker can potentially harvest email and SMS, which may have two-step login tokens, to get further access to more privileged contents."

FireEye recommends that organizations warn users to protect themselves three ways. One, users shouldn't install apps from third-party sources other than Apple's official store or an enterprise app store. Two, users shouldn't click on install buttons on a pop-up from third-party web pages. Three, if iOS shows an alert with an "Untrusted App Developer" warning, users should click "Don't Trust" and uninstall the app immediately.

Ericka Chickowski specializes in coverage of information technology and business innovation. She has focused on information security for the better part of a decade and regularly writes about the security industry as a contributor to Dark Reading.  View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
SenseCyBlog
50%
50%
SenseCyBlog,
User Rank: Apprentice
11/26/2014 | 3:39:02 AM
An Increasing Tendency Toward Smartphone-Based Attacks
We have recently seen the development and publishing of hack applications for smartphones on underground forums. Most tools are only available for Android smartphones, and many require root permissions. The most popular tool for cookie theft is DroidSheep. For details visit our blog / follow our twitter account.
Marilyn Cohodas
50%
50%
Marilyn Cohodas,
User Rank: Strategist
11/12/2014 | 8:13:45 AM
Re: Doesn't make much sense
I don't think you are being cynical at all, @aws0513. Vendors who aren't responsive to issues about the security of their products don't deserve to be in business..
aws0513
50%
50%
aws0513,
User Rank: Ninja
11/11/2014 | 10:37:51 AM
Re: Doesn't make much sense
My cynicism, in all cases, is on the vendor side of the equation.
In my opinion, all product vendors must be intentionally responsive to any legitimate claims of security vulnerabilities of any kind that are relevant to their products.
AnonymousMan
50%
50%
AnonymousMan,
User Rank: Moderator
11/11/2014 | 8:49:40 AM
Re: Doesn't make much sense
I guess I'm more cynical than you, or at least in a different way.  I believe the details are left out because they make the attack less practical and relevant to the vast majority of iOS users.  Just like WireLurker.
aws0513
50%
50%
aws0513,
User Rank: Ninja
11/11/2014 | 8:40:50 AM
Re: Doesn't make much sense
I think the details are left out intentionally in order to prevent copy-cat activites.
However, what I find more disturbing is that Apple has yet (as of this posting) to release any official statement specific to the threat.  Part of me wants to believe that Apple is investigating the claim in detail.
AnonymousMan
50%
50%
AnonymousMan,
User Rank: Moderator
11/10/2014 | 6:03:37 PM
Doesn't make much sense
how does one pull down apps from 3rd parties on an iPhone that is not jailbroken?  I'm confused about how this attack would work in reality, and it seems to me the FireEye is leaving out some important details.  
aws0513
50%
50%
aws0513,
User Rank: Ninja
11/10/2014 | 3:26:54 PM
Re: Protection is vital
Other than the three recommendations noted in the last paragraph, not much more can be done.
The first point in the recommendations crucial.  As long as users are not pulling down apps from 3rd party sources, the risk is likely mitigated.  For many organizations, it looks like there should be little "pants on fire" reaction as long as they have a good handle on how their users use the iOS devices that they manage.

To me, the bigger concern would be with end users and organizations that are not aware of this attack.  This concern is especially enhanced for organizations that have embraced BYOD for iOS devices on a broad scale.
SecOpsSpecialist
50%
50%
SecOpsSpecialist,
User Rank: Moderator
11/10/2014 | 2:35:37 PM
Protection is vital
So I'm going to ask the million dollar question that is probably swimming through everyone's mind as they read this: How do we protect against it?

Obviously in a non-commercial environment, it is easier because we as consumers can easily put protection on our phones, laptops etc to prevent this kind of thing. But, for the commercial environment, how would a business go about protecting its end users and so on?
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/10/2020
Researcher Finds New Office Macro Attacks for MacOS
Curtis Franklin Jr., Senior Editor at Dark Reading,  8/7/2020
Exploiting Google Cloud Platform With Ease
Dark Reading Staff 8/6/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-8904
PUBLISHED: 2020-08-12
An arbitrary memory overwrite vulnerability in the trusted memory of Asylo exists in versions prior to 0.6.0. As the ecall_restore function fails to validate the range of the output_len pointer, an attacker can manipulate the tmp_output_len value and write to an arbitrary location in the trusted (en...
CVE-2020-8905
PUBLISHED: 2020-08-12
A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to. The 'enc_untrusted_recvfrom' function generates a return value which is deserialized by 'MessageReader', and copied into three different 'extents'. The length of ...
CVE-2020-12106
PUBLISHED: 2020-08-12
The Web portal of the WiFi module of VPNCrypt M10 2.6.5 allows unauthenticated users to send HTTP POST request to several critical Administrative functions such as, changing credentials of the Administrator account or connect the product to a rogue access point.
CVE-2020-12107
PUBLISHED: 2020-08-12
The Web portal of the WiFi module of VPNCrypt M10 2.6.5 allows command injection via a text field, which allow full control over this module's Operating System.
CVE-2020-7374
PUBLISHED: 2020-08-12
Documalis Free PDF Editor version 5.7.2.26 and Documalis Free PDF Scanner version 5.7.2.122 do not appropriately validate the contents of JPEG images contained within a PDF. Attackers can exploit this vulnerability to trigger a buffer overflow on the stack and gain remote code execution as the user ...