How Android Overlay Attacks Manipulate Banking Transactions and Evade Detection
How Android Overlay Attacks Manipulate Banking Transactions and Evade Detection
How Android Overlay Attacks Manipulate Banking Transactions and Evade Detection
Discover how Android overlay attacks exploit banking screens and how developers can detect malicious activity, protect credentials, and secure transactions.
Author
Team Bureau



See how Bureau has helped industry leaders defend against networked Industrial-scale frauds →
Schedule a Demo
TABLE OF CONTENTS
See Less
While a bank can control the screens inside its mobile app, it isn't responsible for everything that appears on a customer's phone.
Mobile banking security focuses heavily on protecting applications, verifying identities, and securing transactions. But what happens when another application interferes with the experience?
An overlay attack exploits this gap, allowing malicious software to manipulate what customers see or interact with, even when the banking app itself remains secure.
What Is an Overlay Attack?
An overlay attack occurs when a malicious application places a deceptive or transparent interface over a legitimate app to steal sensitive information or manipulate user actions. On Android, attackers misuse screen overlay capabilities, sometimes alongside Accessibility Services, to intercept credentials or redirect sensitive interactions.
A customer reviewing a bank transfer, for instance, might encounter a counterfeit security prompt requesting additional permissions. Approving it could give malware the access needed to interfere with subsequent banking interactions.
An overlay attack typically has two outcomes:
Credential interception: Counterfeit login forms capture passwords, PINs, or other sensitive information that attackers can exploit for identity theft.
Interaction manipulation: Deceptive interfaces trick customers into granting permissions, activating unintended controls, or approving unauthorized transactions.
In July 2025, Cifas reported over 7,600 mobile malware fraud cases involving more than 40 UK banks, explaining the scale of the wider mobile banking malware threat. For financial institutions, protecting the banking app alone is insufficient when malware can exploit deceptive interfaces and abused device permissions.
Related Read: How Does Jailbreak Detection Work on iOS? Methods and Risks
How Do Overlay Attacks Work on Android?
Android supports floating notifications and accessibility controls that allow apps to display content over other applications. Attackers misuse these features to disguise malicious prompts as part of trusted apps, sometimes abusing Accessibility Services to inspect screens or automate interactions.
The fake screen is only one part of the attack. Its success depends on malware obtaining the right privileges and appearing precisely when the customer expects to perform a sensitive action.
Understanding Android Overlay Permissions
Overlay windows and accessibility windows operate under different Android permissions. A conventional floating window requires different access from an accessibility window, and neither mechanism gives an application unrestricted control over every screen.
Three Android mechanisms are particularly relevant:
‘SYSTEM_ALERT_WINDOW’ (Display over other apps): Allows applications to display floating windows over other apps. On modern Android versions, users generally grant this special access through system settings. Malware may disguise the request as necessary for a utility feature or security update.
‘Settings.ACTION_MANAGE_OVERLAY_PERMISSION’: Opens the system settings for overlay access without granting permission automatically. On Android 11 and later, it generally opens the broader overlay settings screen rather than an individual application's permission page.
‘AccessibilityService’ Application Programming Interface (API): Supports legitimate accessibility functions such as observing interface content and assisting with interactions.
The distinction determines which interfaces malware can present and whether it can go beyond visual deception to interfere with actions inside the banking app.
Step-by-Step Example of an Android Overlay Attack
A counterfeit banking screen is often the final visible stage of an attack that began with a seemingly harmless app. The sequence typically unfolds in six steps:
Malicious app installation: A customer installs a utility app or software update containing hidden malware.
Permission acquisition: Through social engineering, the app persuades the customer to enable 'Display over other apps' or grant Accessibility Service access under the pretext of necessary functionality.
Target identification: The malware detects when the targeted banking app enters the foreground and prepares its deceptive interface.
Overlay activation: An attacker-controlled login form appears over the banking app, closely resembling its authentication screen.
Credential or interaction capture: Credentials entered into the counterfeit form reach the malicious app rather than the bank. Depending on its capabilities, the malware may also manipulate touch interactions or request further permissions.
Attempted account compromise: Stolen credentials can be used in subsequent account takeover attempts. Malware with sufficient accessibility privileges may also attempt unauthorized actions within the active banking session.
The detection window differs between the two attack paths. Stolen credentials may be exploited later from another device, while accessibility-driven manipulation can turn an already authenticated banking session into the point of compromise.
What Are the Different Types of Overlay Attacks?
The four common types of overlay attacks are credential harvesting, tapjacking and touch manipulation, malware delivery and permission abuse, and task hijacking. Each exploits trust in a legitimate application differently, from collecting banking credentials through counterfeit screens to manipulating touch inputs or tricking users into granting sensitive permissions.
The table below shows how each technique works and the interactions it targets.
Overlay Attack Type | How It Works | Example |
Credential Harvesting | A malicious overlay imitates a legitimate login or authentication screen to collect passwords, PINs, or other sensitive information | A counterfeit banking login form captures credentials entered by a customer |
Tapjacking and Touch Manipulation | Transparent or deceptive overlays misrepresent what users see or which controls their touches activate | A customer taps an apparently harmless button but unknowingly activates a sensitive control |
Malware Delivery and Permission Abuse | Deceptive overlays present false warnings or requests that persuade users to install malware or grant additional privileges | A fake security update prompts the customer to enable accessibility access |
Task Hijacking and Privilege Escalation | A malicious activity impersonates a legitimate application workflow to obtain information, permissions, or unauthorized access | A counterfeit banking activity replaces the expected screen and tricks the customer into approving a sensitive action |
Full-screen overlays imitate legitimate interfaces, while partial or transparent overlays manipulate specific interactions through tapjacking. Accessibility abuse extends these attacks through screen observation and automated gestures, whereas task hijacking can operate without overlay permissions.
Android banking malware families such as Xenomorph, Medusa, and Anatsa demonstrate how these techniques can overlap, exposing threats that mobile app attestation alone cannot detect.
Why Are Overlay Attacks Dangerous for Mobile Applications?
Overlay attacks are dangerous because users can unknowingly expose credentials or approve sensitive actions while interacting with what appears to be a trusted banking app. The threat is particularly relevant as mobile financial malware becomes more prevalent.
According to Kaspersky's 2026 research, detected Android banking Trojan attacks increased by 56% in 2025. While not specific to overlays, the finding highlights the broader threat from malware targeting mobile banking interactions.
For banks and payment applications, the consequences include:
Credential theft and account takeover: Counterfeit login screens capture banking passwords or PINs that attackers can attempt to reuse for unauthorized account access.
Unauthorized financial transactions: Deceptive interfaces can misrepresent transaction details or trick customers into approving unintended transfers.
Malware and device compromise: Abused accessibility privileges can enable automated taps, navigation of banking screens, or interference with authenticated sessions.
Sensitive data exposure: Malicious interfaces can collect account details, card information, or authentication codes entered during banking interactions.
Financial losses and customer trust: Overlay-enabled payment fraud can lead to disputed transactions, investigation costs, account recovery expenses, and loss of customer confidence.
How Can Developers Detect Overlay Attacks?

A banking app can authenticate a legitimate customer while malware manipulates the screen. Detecting such interference requires examining obscured touches, accessibility activity, and runtime behavior beyond authentication checks.
Detect Obscured Windows and Suspicious Touch Events
An overlapping window can alter the information displayed around a bank transfer's 'Confirm' button without covering the button itself. Android provides two touch-event flags to help developers detect such interference:
‘MotionEvent.FLAG_WINDOW_IS_OBSCURED’: Indicates that another window obscures the receiving window at the touch location, signaling a potentially manipulated interaction.
‘MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED’: Indicates that another window obscures part of the receiving window without covering the touch location, allowing a payment button to remain accessible while surrounding content is altered.
Neither flag confirms malware or detects every overlay attack. Legitimate system and accessibility windows can also trigger obscuration signals, so sensitive actions such as payment approval require contextual validation rather than automatic rejection.
Monitor Accessibility Services and Overlay Permissions
Malware with accessibility privileges can inspect banking screens and automate interactions, even when ordinary overlay checks reveal no interference.
Investigating possible accessibility abuse involves looking beyond permissions to three areas:
Enabled Accessibility Services: Android's ‘AccessibilityManager’ provides information about enabled services within supported API limits.
Overlay permissions: ‘Settings.canDrawOverlays()’ checks the calling app's overlay access but cannot identify other apps holding that permission.
Suspicious accessibility behavior: Automated gestures, unexpected navigation, or interactions without corresponding customer input may indicate unauthorized control.
A banking session showing abnormal gestures alongside device-compromise indicators requires investigation, particularly when an accessibility service is active. However, legitimate assistive technologies use similar privileges, so service activation alone is insufficient evidence of malware.
Identify Suspicious Runtime Activity and Malware
Some attacks leave no obscured-touch evidence because malware manipulates application functions or automates interactions during execution. Runtime monitoring helps identify threats that standard user interface (UI) checks miss.
Runtime threats can leave several clues during a banking session:
Suspicious window interactions: Unexpected focus changes or unusual window behavior during banking operations.
Runtime manipulation: Attempts to hook functions, inject code, or alter application behavior.
Malware-driven automation: Software-generated gestures or navigation inconsistent with genuine customer activity.
Compromised environments: Rooting, virtualization, or app-tampering indicators associated with suspicious activity.
An unexpected window during payment approval becomes more concerning when accompanied by automated taps or application tampering. Correlating these signals helps security teams decide whether to investigate or interrupt a transaction.
For instance, Bureau's Runtime Application Self-Protection (RASP) uses OS-level inter-process communication monitoring to identify overlay and tapjacking threats. It extends detection beyond Android's built-in UI checks by providing evidence of suspicious activity during application execution.
How to Prevent Overlay Attacks on Android Apps

Protecting a banking app from overlays requires controls at different points in the transaction journey. Android can restrict certain overlapping windows and reject obscured touches, while stronger authorization and runtime monitoring address threats that continue beyond the visible interface.
To prevent overlay attacks on Android apps, developers can follow the steps below:
1. Restrict Overlays on Sensitive Application Screens
Android 12 (API level 31) introduced ‘Window.setHideOverlayWindows(true)’, allowing developers to hide non-system overlays during sensitive interactions such as banking login and payment approval.
Developers must declare the ‘HIDE_OVERLAY_WINDOWS’ permission in the app's manifest and enable protection using Kotlin:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { window.setHideOverlayWindows(true) } |
The required manifest declaration is:
<uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" />
Effectiveness depends on the Android version and window type. Accessibility-based attacks may require additional safeguards.
2. Filter Obscured Touch Events
Android's ‘View.setFilterTouchesWhenObscured(true)’ rejects touch events when another window obscures the touch location, helping prevent tapjacking during sensitive actions.
Developers can also enable it in the button's XML layout:
android:filterTouchesWhenObscured="true" |
The filter addresses full occlusion. To detect partial occlusion, where surrounding content is obscured but the button remains visible, developers need to inspect ‘MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED.’
These controls mitigate obscured-touch attacks but cannot prevent other forms of interface manipulation. Since legitimate accessibility tools and floating windows can also trigger filtering, applying it selectively to sensitive actions limits unnecessary disruption
3. Secure Authentication and Transaction Authorization
Credentials stolen through counterfeit banking screens can enable account takeover and unauthorized transfers. Stronger digital payment authentication and transaction-level controls reduce that exposure.
Three measures address different risks:
Biometric authentication: Android's ‘BiometricPrompt’ adds verification for sensitive actions, reducing reliance on potentially stolen credentials.
Device binding: Hardware-backed cryptographic keys tied to registered devices make stolen credentials harder to reuse elsewhere.
Transaction-specific authorization: Protected confirmation of the recipient and amount, backed by server-side validation, reduces unauthorized transfer risks.
At the same time, device binding alone cannot establish whether a banking session is trustworthy. Bureau's 2026 Global Fraud Intelligence Report found that more than 42% of high-risk account takeover sessions involved device reuse across multiple accounts. The finding reinforces the need to monitor device and session behavior beyond the initial authentication.
Effective account takeover protection must also address malware operating on registered devices. Biometric verification and device binding alone cannot prevent manipulation within authenticated sessions
4. Detect Malicious Applications and Accessibility Abuse
Detecting malicious behavior before it affects banking operations requires three controls:
Identify malicious applications: Use mobile threat intelligence and device-risk signals to flag known malware, suspicious installations, or malicious behavior.
Recognize accessibility abuse: Detect automated gestures, unauthorized navigation, and suspicious privilege usage.
Apply risk-based controls: Correlate suspicious activity with runtime and behavioral signals to trigger additional verification or block high-risk transactions.
During high-value transfers, behavioral red flags, such as abnormal gestures combined with device-compromise indicators, require closer scrutiny. An enabled accessibility service alone is insufficient evidence because legitimate assistive tools use similar privileges.
Encouraging installation from trusted sources and regular permission reviews further limits malware exposure.
5. Implement Runtime Application Self-Protection
Native Android controls address specific overlay interactions but provide limited visibility into app tampering, automated abuse, and compromised execution environments. Runtime Application Self-Protection (RASP) extends detection to threats occurring during execution.
For banking and payment apps, RASP supports three functions:
Identify active interference: Detect UI manipulation, code injection, app tampering, and automated gestures.
Assess runtime integrity: Identify rooting, emulation, and compromised execution conditions.
Respond based on risk: Log events, warn customers, restrict transactions, or block execution based on threat severity.
Bureau's mobile app shielding and runtime protection use OS-level monitoring to identify overlay and tapjacking threats, with configurable response policies.
Risk-based restrictions also account for legitimate accessibility tools, protecting sensitive transactions without unnecessarily disrupting genuine customers
Related Read: RASP Security: How It Works, Threats, and Implementation
How Bureau Helps Detect and Prevent Overlay Attacks
Android's built-in protections provide an important first line of defense, but threats operating within the application's runtime environment can remain undetected.
Bureau brings together identity, device, behavioral, and transaction intelligence to support fraud risk decisions. Its RASP solution extends protection to the application during execution, identifying attempts to manipulate interfaces, automate gestures, or interfere with sensitive operations.
Bureau addresses overlay-based fraud through four capabilities:
OS-level overlay and tapjacking detection: Monitors inter-process communication (IPC) signals to identify suspicious overlay activity and attempts to manipulate sensitive interface interactions.
Runtime environment protection: Detects rooting, jailbreaking, emulation, app cloning, and tampering that can expose applications to further manipulation.
Software gesture attack detection: Identifies malware-driven touch automation through runtime behavior analysis, including interactions that conventional screen-level checks may miss.
Configurable threat responses: Allows security teams to monitor, warn, or block based on the detected threat, with device and session context available for investigation.
A transaction may appear legitimate to backend fraud systems while malware interferes with the customer's screen or actions. Bureau's RASP provides runtime evidence of that interference, complementing device intelligence and behavioral risk signals within its Unified Risk Decisioning Platform.
Beyond threat detection, deployment speed matters for mobile security teams managing existing applications. Bureau's RASP delivers a reported 99.7% threat detection rate and supports integration in under two minutes without application source-code changes, bringing runtime protection into existing security workflows with minimal implementation effort.
Protect Mobile Apps Against Overlay-Based Fraud
Effective mobile app protection combines Android's native safeguards with runtime monitoring that identifies malicious activity directly on the device.
Bureau extends this approach through RASP, bringing OS-level overlay detection and configurable threat responses into sensitive mobile workflows. Security teams gain greater visibility into suspicious execution conditions without unnecessarily disrupting legitimate customers.
To strengthen protection against overlay manipulation, app tampering, and related mobile threats, book a demo with Bureau to explore how RASP fits into existing application security workflows.
FAQs
1. What does 'Screen Overlay Detected' mean on Android?
The 'Screen Overlay Detected' warning appears when Android identifies another app displaying content over a permission-sensitive screen. It doesn't necessarily indicate malware, since legitimate floating apps can trigger it too. Android may temporarily restrict the action to prevent unintended interactions.
2. How can users remove a suspicious screen overlay on Android?
Users can start by opening Android's 'Display over other apps' settings and disabling access for unfamiliar applications. If suspicious behavior continues, reviewing enabled Accessibility Services, uninstalling untrusted apps, and running a Google Play Protect scan can help identify the cause.
3. What should someone do after entering credentials into a fake banking overlay?
Anyone who has entered banking credentials into a suspicious screen should change them immediately using a trusted device and notify their bank. Checking recent transactions and revoking active sessions, where supported, is equally important because removing the malware doesn't invalidate stolen credentials.
4. Does Android's FLAG_SECURE prevent overlay attacks?
No. Android's ‘FLAG_SECURE’ protects sensitive screen content from screenshots and display on non-secure screens, but it doesn't prevent malicious overlays from appearing. Developers still need overlay-specific safeguards to protect sensitive interfaces against deceptive windows and manipulated interactions.
5. How can developers test Android apps for overlay vulnerabilities?
Developers can simulate full and partial screen occlusion during sensitive actions, such as payment approvals, to verify whether suspicious touches are rejected. Bureau's RASP adds OS-level visibility into overlay and tapjacking threats, complementing native Android checks while allowing developers to assess protection across supported Android versions without disrupting legitimate accessibility features.
6. Can overlay attacks affect Android apps installed from the Google Play Store?
Yes. Even an app downloaded from Google Play can be targeted by malicious software operating on the same device. Since the attack manipulates the interface rather than necessarily modifying the trusted application, its installation source alone cannot establish protection against overlays.
While a bank can control the screens inside its mobile app, it isn't responsible for everything that appears on a customer's phone.
Mobile banking security focuses heavily on protecting applications, verifying identities, and securing transactions. But what happens when another application interferes with the experience?
An overlay attack exploits this gap, allowing malicious software to manipulate what customers see or interact with, even when the banking app itself remains secure.
What Is an Overlay Attack?
An overlay attack occurs when a malicious application places a deceptive or transparent interface over a legitimate app to steal sensitive information or manipulate user actions. On Android, attackers misuse screen overlay capabilities, sometimes alongside Accessibility Services, to intercept credentials or redirect sensitive interactions.
A customer reviewing a bank transfer, for instance, might encounter a counterfeit security prompt requesting additional permissions. Approving it could give malware the access needed to interfere with subsequent banking interactions.
An overlay attack typically has two outcomes:
Credential interception: Counterfeit login forms capture passwords, PINs, or other sensitive information that attackers can exploit for identity theft.
Interaction manipulation: Deceptive interfaces trick customers into granting permissions, activating unintended controls, or approving unauthorized transactions.
In July 2025, Cifas reported over 7,600 mobile malware fraud cases involving more than 40 UK banks, explaining the scale of the wider mobile banking malware threat. For financial institutions, protecting the banking app alone is insufficient when malware can exploit deceptive interfaces and abused device permissions.
Related Read: How Does Jailbreak Detection Work on iOS? Methods and Risks
How Do Overlay Attacks Work on Android?
Android supports floating notifications and accessibility controls that allow apps to display content over other applications. Attackers misuse these features to disguise malicious prompts as part of trusted apps, sometimes abusing Accessibility Services to inspect screens or automate interactions.
The fake screen is only one part of the attack. Its success depends on malware obtaining the right privileges and appearing precisely when the customer expects to perform a sensitive action.
Understanding Android Overlay Permissions
Overlay windows and accessibility windows operate under different Android permissions. A conventional floating window requires different access from an accessibility window, and neither mechanism gives an application unrestricted control over every screen.
Three Android mechanisms are particularly relevant:
‘SYSTEM_ALERT_WINDOW’ (Display over other apps): Allows applications to display floating windows over other apps. On modern Android versions, users generally grant this special access through system settings. Malware may disguise the request as necessary for a utility feature or security update.
‘Settings.ACTION_MANAGE_OVERLAY_PERMISSION’: Opens the system settings for overlay access without granting permission automatically. On Android 11 and later, it generally opens the broader overlay settings screen rather than an individual application's permission page.
‘AccessibilityService’ Application Programming Interface (API): Supports legitimate accessibility functions such as observing interface content and assisting with interactions.
The distinction determines which interfaces malware can present and whether it can go beyond visual deception to interfere with actions inside the banking app.
Step-by-Step Example of an Android Overlay Attack
A counterfeit banking screen is often the final visible stage of an attack that began with a seemingly harmless app. The sequence typically unfolds in six steps:
Malicious app installation: A customer installs a utility app or software update containing hidden malware.
Permission acquisition: Through social engineering, the app persuades the customer to enable 'Display over other apps' or grant Accessibility Service access under the pretext of necessary functionality.
Target identification: The malware detects when the targeted banking app enters the foreground and prepares its deceptive interface.
Overlay activation: An attacker-controlled login form appears over the banking app, closely resembling its authentication screen.
Credential or interaction capture: Credentials entered into the counterfeit form reach the malicious app rather than the bank. Depending on its capabilities, the malware may also manipulate touch interactions or request further permissions.
Attempted account compromise: Stolen credentials can be used in subsequent account takeover attempts. Malware with sufficient accessibility privileges may also attempt unauthorized actions within the active banking session.
The detection window differs between the two attack paths. Stolen credentials may be exploited later from another device, while accessibility-driven manipulation can turn an already authenticated banking session into the point of compromise.
What Are the Different Types of Overlay Attacks?
The four common types of overlay attacks are credential harvesting, tapjacking and touch manipulation, malware delivery and permission abuse, and task hijacking. Each exploits trust in a legitimate application differently, from collecting banking credentials through counterfeit screens to manipulating touch inputs or tricking users into granting sensitive permissions.
The table below shows how each technique works and the interactions it targets.
Overlay Attack Type | How It Works | Example |
Credential Harvesting | A malicious overlay imitates a legitimate login or authentication screen to collect passwords, PINs, or other sensitive information | A counterfeit banking login form captures credentials entered by a customer |
Tapjacking and Touch Manipulation | Transparent or deceptive overlays misrepresent what users see or which controls their touches activate | A customer taps an apparently harmless button but unknowingly activates a sensitive control |
Malware Delivery and Permission Abuse | Deceptive overlays present false warnings or requests that persuade users to install malware or grant additional privileges | A fake security update prompts the customer to enable accessibility access |
Task Hijacking and Privilege Escalation | A malicious activity impersonates a legitimate application workflow to obtain information, permissions, or unauthorized access | A counterfeit banking activity replaces the expected screen and tricks the customer into approving a sensitive action |
Full-screen overlays imitate legitimate interfaces, while partial or transparent overlays manipulate specific interactions through tapjacking. Accessibility abuse extends these attacks through screen observation and automated gestures, whereas task hijacking can operate without overlay permissions.
Android banking malware families such as Xenomorph, Medusa, and Anatsa demonstrate how these techniques can overlap, exposing threats that mobile app attestation alone cannot detect.
Why Are Overlay Attacks Dangerous for Mobile Applications?
Overlay attacks are dangerous because users can unknowingly expose credentials or approve sensitive actions while interacting with what appears to be a trusted banking app. The threat is particularly relevant as mobile financial malware becomes more prevalent.
According to Kaspersky's 2026 research, detected Android banking Trojan attacks increased by 56% in 2025. While not specific to overlays, the finding highlights the broader threat from malware targeting mobile banking interactions.
For banks and payment applications, the consequences include:
Credential theft and account takeover: Counterfeit login screens capture banking passwords or PINs that attackers can attempt to reuse for unauthorized account access.
Unauthorized financial transactions: Deceptive interfaces can misrepresent transaction details or trick customers into approving unintended transfers.
Malware and device compromise: Abused accessibility privileges can enable automated taps, navigation of banking screens, or interference with authenticated sessions.
Sensitive data exposure: Malicious interfaces can collect account details, card information, or authentication codes entered during banking interactions.
Financial losses and customer trust: Overlay-enabled payment fraud can lead to disputed transactions, investigation costs, account recovery expenses, and loss of customer confidence.
How Can Developers Detect Overlay Attacks?

A banking app can authenticate a legitimate customer while malware manipulates the screen. Detecting such interference requires examining obscured touches, accessibility activity, and runtime behavior beyond authentication checks.
Detect Obscured Windows and Suspicious Touch Events
An overlapping window can alter the information displayed around a bank transfer's 'Confirm' button without covering the button itself. Android provides two touch-event flags to help developers detect such interference:
‘MotionEvent.FLAG_WINDOW_IS_OBSCURED’: Indicates that another window obscures the receiving window at the touch location, signaling a potentially manipulated interaction.
‘MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED’: Indicates that another window obscures part of the receiving window without covering the touch location, allowing a payment button to remain accessible while surrounding content is altered.
Neither flag confirms malware or detects every overlay attack. Legitimate system and accessibility windows can also trigger obscuration signals, so sensitive actions such as payment approval require contextual validation rather than automatic rejection.
Monitor Accessibility Services and Overlay Permissions
Malware with accessibility privileges can inspect banking screens and automate interactions, even when ordinary overlay checks reveal no interference.
Investigating possible accessibility abuse involves looking beyond permissions to three areas:
Enabled Accessibility Services: Android's ‘AccessibilityManager’ provides information about enabled services within supported API limits.
Overlay permissions: ‘Settings.canDrawOverlays()’ checks the calling app's overlay access but cannot identify other apps holding that permission.
Suspicious accessibility behavior: Automated gestures, unexpected navigation, or interactions without corresponding customer input may indicate unauthorized control.
A banking session showing abnormal gestures alongside device-compromise indicators requires investigation, particularly when an accessibility service is active. However, legitimate assistive technologies use similar privileges, so service activation alone is insufficient evidence of malware.
Identify Suspicious Runtime Activity and Malware
Some attacks leave no obscured-touch evidence because malware manipulates application functions or automates interactions during execution. Runtime monitoring helps identify threats that standard user interface (UI) checks miss.
Runtime threats can leave several clues during a banking session:
Suspicious window interactions: Unexpected focus changes or unusual window behavior during banking operations.
Runtime manipulation: Attempts to hook functions, inject code, or alter application behavior.
Malware-driven automation: Software-generated gestures or navigation inconsistent with genuine customer activity.
Compromised environments: Rooting, virtualization, or app-tampering indicators associated with suspicious activity.
An unexpected window during payment approval becomes more concerning when accompanied by automated taps or application tampering. Correlating these signals helps security teams decide whether to investigate or interrupt a transaction.
For instance, Bureau's Runtime Application Self-Protection (RASP) uses OS-level inter-process communication monitoring to identify overlay and tapjacking threats. It extends detection beyond Android's built-in UI checks by providing evidence of suspicious activity during application execution.
How to Prevent Overlay Attacks on Android Apps

Protecting a banking app from overlays requires controls at different points in the transaction journey. Android can restrict certain overlapping windows and reject obscured touches, while stronger authorization and runtime monitoring address threats that continue beyond the visible interface.
To prevent overlay attacks on Android apps, developers can follow the steps below:
1. Restrict Overlays on Sensitive Application Screens
Android 12 (API level 31) introduced ‘Window.setHideOverlayWindows(true)’, allowing developers to hide non-system overlays during sensitive interactions such as banking login and payment approval.
Developers must declare the ‘HIDE_OVERLAY_WINDOWS’ permission in the app's manifest and enable protection using Kotlin:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { window.setHideOverlayWindows(true) } |
The required manifest declaration is:
<uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" />
Effectiveness depends on the Android version and window type. Accessibility-based attacks may require additional safeguards.
2. Filter Obscured Touch Events
Android's ‘View.setFilterTouchesWhenObscured(true)’ rejects touch events when another window obscures the touch location, helping prevent tapjacking during sensitive actions.
Developers can also enable it in the button's XML layout:
android:filterTouchesWhenObscured="true" |
The filter addresses full occlusion. To detect partial occlusion, where surrounding content is obscured but the button remains visible, developers need to inspect ‘MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED.’
These controls mitigate obscured-touch attacks but cannot prevent other forms of interface manipulation. Since legitimate accessibility tools and floating windows can also trigger filtering, applying it selectively to sensitive actions limits unnecessary disruption
3. Secure Authentication and Transaction Authorization
Credentials stolen through counterfeit banking screens can enable account takeover and unauthorized transfers. Stronger digital payment authentication and transaction-level controls reduce that exposure.
Three measures address different risks:
Biometric authentication: Android's ‘BiometricPrompt’ adds verification for sensitive actions, reducing reliance on potentially stolen credentials.
Device binding: Hardware-backed cryptographic keys tied to registered devices make stolen credentials harder to reuse elsewhere.
Transaction-specific authorization: Protected confirmation of the recipient and amount, backed by server-side validation, reduces unauthorized transfer risks.
At the same time, device binding alone cannot establish whether a banking session is trustworthy. Bureau's 2026 Global Fraud Intelligence Report found that more than 42% of high-risk account takeover sessions involved device reuse across multiple accounts. The finding reinforces the need to monitor device and session behavior beyond the initial authentication.
Effective account takeover protection must also address malware operating on registered devices. Biometric verification and device binding alone cannot prevent manipulation within authenticated sessions
4. Detect Malicious Applications and Accessibility Abuse
Detecting malicious behavior before it affects banking operations requires three controls:
Identify malicious applications: Use mobile threat intelligence and device-risk signals to flag known malware, suspicious installations, or malicious behavior.
Recognize accessibility abuse: Detect automated gestures, unauthorized navigation, and suspicious privilege usage.
Apply risk-based controls: Correlate suspicious activity with runtime and behavioral signals to trigger additional verification or block high-risk transactions.
During high-value transfers, behavioral red flags, such as abnormal gestures combined with device-compromise indicators, require closer scrutiny. An enabled accessibility service alone is insufficient evidence because legitimate assistive tools use similar privileges.
Encouraging installation from trusted sources and regular permission reviews further limits malware exposure.
5. Implement Runtime Application Self-Protection
Native Android controls address specific overlay interactions but provide limited visibility into app tampering, automated abuse, and compromised execution environments. Runtime Application Self-Protection (RASP) extends detection to threats occurring during execution.
For banking and payment apps, RASP supports three functions:
Identify active interference: Detect UI manipulation, code injection, app tampering, and automated gestures.
Assess runtime integrity: Identify rooting, emulation, and compromised execution conditions.
Respond based on risk: Log events, warn customers, restrict transactions, or block execution based on threat severity.
Bureau's mobile app shielding and runtime protection use OS-level monitoring to identify overlay and tapjacking threats, with configurable response policies.
Risk-based restrictions also account for legitimate accessibility tools, protecting sensitive transactions without unnecessarily disrupting genuine customers
Related Read: RASP Security: How It Works, Threats, and Implementation
How Bureau Helps Detect and Prevent Overlay Attacks
Android's built-in protections provide an important first line of defense, but threats operating within the application's runtime environment can remain undetected.
Bureau brings together identity, device, behavioral, and transaction intelligence to support fraud risk decisions. Its RASP solution extends protection to the application during execution, identifying attempts to manipulate interfaces, automate gestures, or interfere with sensitive operations.
Bureau addresses overlay-based fraud through four capabilities:
OS-level overlay and tapjacking detection: Monitors inter-process communication (IPC) signals to identify suspicious overlay activity and attempts to manipulate sensitive interface interactions.
Runtime environment protection: Detects rooting, jailbreaking, emulation, app cloning, and tampering that can expose applications to further manipulation.
Software gesture attack detection: Identifies malware-driven touch automation through runtime behavior analysis, including interactions that conventional screen-level checks may miss.
Configurable threat responses: Allows security teams to monitor, warn, or block based on the detected threat, with device and session context available for investigation.
A transaction may appear legitimate to backend fraud systems while malware interferes with the customer's screen or actions. Bureau's RASP provides runtime evidence of that interference, complementing device intelligence and behavioral risk signals within its Unified Risk Decisioning Platform.
Beyond threat detection, deployment speed matters for mobile security teams managing existing applications. Bureau's RASP delivers a reported 99.7% threat detection rate and supports integration in under two minutes without application source-code changes, bringing runtime protection into existing security workflows with minimal implementation effort.
Protect Mobile Apps Against Overlay-Based Fraud
Effective mobile app protection combines Android's native safeguards with runtime monitoring that identifies malicious activity directly on the device.
Bureau extends this approach through RASP, bringing OS-level overlay detection and configurable threat responses into sensitive mobile workflows. Security teams gain greater visibility into suspicious execution conditions without unnecessarily disrupting legitimate customers.
To strengthen protection against overlay manipulation, app tampering, and related mobile threats, book a demo with Bureau to explore how RASP fits into existing application security workflows.
FAQs
1. What does 'Screen Overlay Detected' mean on Android?
The 'Screen Overlay Detected' warning appears when Android identifies another app displaying content over a permission-sensitive screen. It doesn't necessarily indicate malware, since legitimate floating apps can trigger it too. Android may temporarily restrict the action to prevent unintended interactions.
2. How can users remove a suspicious screen overlay on Android?
Users can start by opening Android's 'Display over other apps' settings and disabling access for unfamiliar applications. If suspicious behavior continues, reviewing enabled Accessibility Services, uninstalling untrusted apps, and running a Google Play Protect scan can help identify the cause.
3. What should someone do after entering credentials into a fake banking overlay?
Anyone who has entered banking credentials into a suspicious screen should change them immediately using a trusted device and notify their bank. Checking recent transactions and revoking active sessions, where supported, is equally important because removing the malware doesn't invalidate stolen credentials.
4. Does Android's FLAG_SECURE prevent overlay attacks?
No. Android's ‘FLAG_SECURE’ protects sensitive screen content from screenshots and display on non-secure screens, but it doesn't prevent malicious overlays from appearing. Developers still need overlay-specific safeguards to protect sensitive interfaces against deceptive windows and manipulated interactions.
5. How can developers test Android apps for overlay vulnerabilities?
Developers can simulate full and partial screen occlusion during sensitive actions, such as payment approvals, to verify whether suspicious touches are rejected. Bureau's RASP adds OS-level visibility into overlay and tapjacking threats, complementing native Android checks while allowing developers to assess protection across supported Android versions without disrupting legitimate accessibility features.
6. Can overlay attacks affect Android apps installed from the Google Play Store?
Yes. Even an app downloaded from Google Play can be targeted by malicious software operating on the same device. Since the attack manipulates the interface rather than necessarily modifying the trusted application, its installation source alone cannot establish protection against overlays.
TABLE OF CONTENTS
See More
Recommended Blogs
Landing Page.
Simple, bold.
Sign Up
Download

Products
Solutions
© 2026 Bureau . All rights reserved.
Solutions
Industries
Resources
Company
Solutions
Industries
Resources
Company
© 2026 Bureau . All rights reserved.
Follow Us
Leave behind fragmented tools. Stop fraud rings, cut false declines, and deliver secure digital journeys at scale
Our Presence








Leave behind fragmented tools. Stop fraud rings, cut false declines, and deliver secure digital journeys at scale
Our Presence








© 2026 Bureau . All rights reserved.




