Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

Overlay Attack

← Back to Glossary
By NHI Mgmt Group Updated November 4, 2026 Domain: Threats, Abuse & Incident Response

An overlay attack is a mobile attack in which a malicious app draws a fake or transparent interface on top of a legitimate one. The user believes they are interacting with the real app, but input is captured or redirected by the attacker-controlled layer.

What an Overlay Attack Is

An overlay attack is a form of mobile interface deception. The malicious app places a fake, translucent, or visually convincing layer over a legitimate screen so the user believes they are interacting with the real application. The attacker can capture taps, keystrokes, approvals, or other sensitive actions without the victim noticing.

The core danger is not just spoofing a lookalike screen. It is the abuse of user trust at the exact moment the user is expected to authenticate, approve a payment, or enter confidential data. That makes overlay attacks especially effective for fraud, credential theft, and transaction manipulation.

How Overlay Attacks Work

Overlay attacks depend on timing, context, and visual fidelity. A malicious app may wait until a banking, payment, or login app is opened, then render an interface that matches the legitimate one closely enough to hide the takeover. In some cases the overlay blocks the real UI entirely; in others it lets parts of the underlying screen remain visible so the deception feels normal.

Because the attack happens on the device, the user often sees a familiar app and assumes the environment is safe. The attacker does not need to break encryption or defeat the backend directly. Instead, the malware abuses the human interface layer to redirect input before it reaches the intended app.

This is why overlay abuse is often discussed alongside mobile malware and on-device fraud controls, especially where a malicious app can combine overlays with accessibility abuse, notification capture, or SMS interception.

Why Overlay Attacks Are Dangerous

Overlay attacks are dangerous because they can steal the exact inputs that matter most: passwords, one-time codes, PINs, payment approvals, and account recovery steps. They can also create false confidence by showing a convincing success screen after the attacker has already captured the sensitive action.

The impact is often immediate and operational rather than theoretical. A compromised mobile session can lead to unauthorized payments, account takeover, fraud confirmation, or the misuse of trusted mobile apps in ways that are hard to distinguish from genuine user activity.

For a broader view of how mobile banking malware uses this pattern, see Android Banking Trojans Guide and Mobile Malware Guide. Both explain how overlays fit into the wider mobile malware toolkit.

Detection and Defences Against Overlay Attacks

Overlay attacks are hard to detect from the backend alone because the abuse happens before data reaches the legitimate app. Defence therefore depends on a mix of mobile hardening, app integrity checks, user-interface protections, and fraud monitoring that looks for inconsistent interaction patterns.

On Android, defenders commonly look at whether risky app capabilities are being abused, whether overlay permission patterns are abnormal, and whether the device shows signs of hostile app coexistence. Application teams can also reduce exposure by tightening sensitive flows so that critical actions are not easily completed through generic screen overlays or untrusted third-party interfaces.

For organisations that need a threat-led reference point, CISA threat advisories help track current mobile abuse patterns and related malware activity, while the NIST and MITRE resources below provide broader control and threat-model context for detection and response.

Risk and Threat Considerations

Overlay attacks matter because they turn the user interface into an attack surface. When a malicious layer intercepts input on a trusted device, the defender may see a normal backend transaction while the victim has already been manipulated into approving the wrong action.

Failure mechanism: The attacker abuses visual deception and input capture at the device layer, often during a high-trust moment such as login, payment approval, or credential entry.

Impact: The result can be account takeover, fraudulent transactions, session compromise, or theft of sensitive authentication material without an obvious server-side alert.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementOverlay attacks often target credential and code entry on mobile devices.
SI-3 — Malicious Code ProtectionOverlay attacks are usually delivered through malicious mobile apps or malware behaviour.
AC-11 — Session LockOverlay abuse often aims at active sessions during high-trust interactions.
Recommendation — Harden authenticator handling so intercepted entry data cannot be reused easily. Detect and block malicious mobile applications before they can present deceptive overlays. Lock sensitive sessions promptly to reduce the window for on-device UI manipulation.
OWASP API Security Top 10API2 — Broken AuthenticationOverlay attacks commonly steal credentials or one-time codes used to authenticate to services.
Recommendation — Treat overlay-mediated credential capture as an authentication abuse path and add stronger checks.
MITRE ATT&CKT1111 — Multi-Factor Authentication InterceptionOverlay attacks can capture user approvals, codes, or prompts during authentication flows.
Recommendation — Map suspicious mobile approval abuse to MFA interception activity and tune detections accordingly.

Practitioner Guidance

Why practitioners should care: Overlay attacks are most damaging when mobile apps rely on the user to visually confirm identity, consent, or transaction details. Security teams should treat the mobile interface as part of the trust boundary, not just the backend service.

What to watch for: Repeated input anomalies, suspicious permission combinations, unexpected screen transitions, and fraud signals that do not match the apparent user journey can all indicate overlay abuse or a related mobile malware chain.

Practitioner takeaway: If a mobile flow is sensitive enough that a fake screen would change the outcome, it is sensitive enough to deserve explicit anti-overlay hardening and fraud monitoring.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 4, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org