The operating system and installed applications often have legitimate needs to prompt the user for sensitive information such as account credentials, bank account information, or Personally Identifiable Information (PII). Adversaries may mimic this functionality to prompt users for sensitive information.
Compared to traditional PCs, the constrained display size of mobile devices may impair the ability to provide users with contextual information, making users more susceptible to this technique’s use.[1]
Specific approaches to this technique include:
A malicious application could impersonate the identity of a legitimate application (e.g. use the same application name and/or icon) and get installed on the device. The malicious app could then prompt the user for sensitive information.[2]
A malicious application could display a prompt on top of a running legitimate application to trick users into entering sensitive information into the malicious application rather than the legitimate application. Typically, the malicious application would need to know when the targeted application (and individual activity within the targeted application) is running in the foreground, so that the malicious application knows when to display its prompt. Android 5.0 and 5.1.1, respectively, increased the difficulty of determining the current foreground application through modifications to the ActivityManager
API.[3][4]. A malicious application can still abuse Android’s accessibility features to determine which application is currently in the foreground.[5] Approaches to display a prompt include:
SYSTEM_ALERT_WINDOW
permission to create overlay windows. This permission is handled differently than typical Android permissions, and at least under certain conditions is automatically granted to applications installed from the Google Play Store.[8][9][10] The SYSTEM_ALERT_WINDOW
permission and its associated ability to create application overlay windows are expected to be deprecated in a future release of Android in favor of a new API.[11]A malicious application could send fake device notifications to the user. Clicking on the device notification could trigger the malicious application to display an input prompt.[12]
ID | Name | Description |
---|---|---|
S0422 | Anubis |
Anubis can create overlays to capture user credentials for targeted applications.[13] |
S0480 | Cerberus |
Cerberus can generate fake notifications and launch overlay attacks against attacker-specified applications.[14] |
S0301 | Dendroid |
Dendroid can open a dialog box to ask the user for passwords.[15] |
S0478 | EventBot | |
S0522 | Exobot |
Exobot can show phishing popups when a targeted application is running.[17] |
S0423 | Ginp |
Ginp can use a multi-step phishing overlay to capture banking credentials and then credit card numbers after login.[18] |
S0536 | GPlayed |
GPlayed can show a phishing WebView pretending to be a Google service that collects credit card information.[19] |
S0406 | Gustuff |
Gustuff uses WebView overlays to prompt the user for their device unlock code, as well as banking and cryptocurrency application credentials. Gustuff can also send push notifications pretending to be from a bank, triggering a phishing overlay. [20][12] |
S0485 | Mandrake |
Mandrake can manipulate visual components to trick the user into granting dangerous permissions, and can use phishing overlays and JavaScript injection to capture credentials.[21] |
S0317 | Marcher |
Marcher attempts to overlay itself on top of legitimate banking apps in an effort to capture user credentials. Marcher also attempts to overlay itself on top of legitimate apps such as the Google Play Store in an effort to capture user credit card information.[22] |
S0399 | Pallas |
Pallas uses phishing popups to harvest user credentials.[23] |
S0539 | Red Alert 2.0 |
Red Alert 2.0 has used malicious overlays to collect banking credentials.[24] |
S0403 | Riltok |
Riltok can open a fake Google Play screen requesting bank card credentials and mimic the screen of relevant mobile banking apps to request user/bank card details.[25] |
S0411 | Rotexy |
Rotexy can use phishing overlays to capture users' credit card information.[26] |
S0545 | TERRACOTTA |
TERRACOTTA has displayed a form to collect user data after installation.[27] |
S0558 | Tiktok Pro |
Tiktok Pro can launch a fake Facebook login page.[28] |
S0298 | Xbot |
Xbot uses phishing pages mimicking Google Play's payment interface as well as bank login pages.[29] |
S0297 | XcodeGhost |
XcodeGhost can prompt a fake alert dialog to phish user credentials.[30] |
ID | Mitigation | Description |
---|---|---|
M1005 | Application Vetting | |
M1012 | Enterprise Policy |
An EMM/MDM can use the Android |
M1006 | Use Recent OS Version |
The user can view and manage which applications hold the SYSTEM_ALERT_WINDOW permission to create overlay windows on top of other apps through the device settings in Apps & notifications -> Special app access -> Display over other apps (the exact menu location may vary between Android versions).