FLOATING OVERLAY & PHISHING ALERT — CATEGORY E (SPECIAL SYSTEM ACCESS & DEVICE CONTROL) • XPAND PRIVACY JOURNAL: Ever opened a banking app, crypto wallet, or login prompt and noticed a floating pop-up box sitting directly over the screen? Behind every floating overlay sits SYSTEM_ALERT_WINDOW (“Display over other apps”)—the Special App Access privilege behind spoofed bank logins, tapjacking tricks, and Georgia Tech’s famous Cloak & Dagger attack.
In simple English, android.permission.SYSTEM_ALERT_WINDOW allows an app running in the background to paint its own interactive window on top of almost any other app currently on your display—from your launcher to your password manager or banking app.
Android 8 and Android 12 introduced tough defenses such as untrusted-touch blocking and HIDE_OVERLAY_WINDOWS to crush stealth overlay phishing. Still, intrusive screen dimmers, aggressive adware, and fake bank overlays continue hunting for this toggle. Here is how it works and how to audit yours safely.
Protection LevelSpecial Access (Settings)
Severity Rating
Critical — Spoofed UI & Tapjacking
Android 12+ DefenseHIDE_OVERLAY_WINDOWS
1. What Is SYSTEM_ALERT_WINDOW (“Display Over Other Apps”)?
Unlike runtime popups for location or camera, SYSTEM_ALERT_WINDOW lives inside Android’s Special app access settings under “Display over other apps”. Once allowed, the app creates TYPE_APPLICATION_OVERLAY windows via Android’s WindowManager—allowing buttons, widgets, or full screens to float above other apps.
Legitimate Uses vs. Modern Zero-Permission Alternatives: Screen recorders with floating pause controls, translation magnifiers, and older floating calculators genuinely draw small overlays. However, video players, navigation maps, video calls, and chat apps can now use Android’s native Picture-in-Picture (PiP) and Bubbles API—handled safely by SystemUI with zero SYSTEM_ALERT_WINDOW permission required.

Notice in Graph 1 how Android systematically clamped down on overlay touch hijacking from Android 7 through Android 12+:

TYPE_TOAST bypasses, pushed overlays behind system dialogs, and blocked untrusted touch passthrough in Android 12.2. Why It Is Dangerous: Fake Bank Logins, Tapjacking & Cloak & Dagger
When malware or adware gains Display over other apps, attackers exploit trust in whatever legitimate app you opened beneath:

Three High-Risk Overlay Attacks Explained Simply
- 1. Full-Screen Phishing Overlays on Banking Apps: Malware watches foreground app launches, then instantly floats a pixel-accurate fake login screen matching your bank’s colors and logo. You think you are signing into your bank—but your password and PIN go straight to a remote attacker server.
- 2. Tapjacking (Mobile Clickjacking / UI Redressing): A malicious window covers part of a genuine screen with decoy text (like a game reward button) positioned exactly over a sensitive action beneath—tricking your finger into confirming something you never meant to tap.
- 3. Cloak & Dagger & Relentless Out-of-App Adware: Academic researchers at Georgia Tech and UC Santa Barbara uncovered Cloak & Dagger, pairing stealth overlays with Accessibility privileges to spoof context and silently take over permissions—while adware clones use overlays to blast full-screen popups even when the app is closed.

3. Technical Breakdown: How Modern Android Stops Overlay Abuse
Understand the exact technical shields Google built into Android and app-level security SDKs:
| Android Protection / Flag | Layer & Version | How It Protects Users | Bypass / Remaining Risk |
|---|---|---|---|
TYPE_APPLICATION_OVERLAY Priority | Android 8.0+ OS WindowManager | Forces overlays underneath status bar, lockscreen, and runtime permission dialogs. | Does not stop fake overlays drawn atop third-party bank apps alone. |
| Block Untrusted Touches | Android 12+ Input Pipeline | Drops touch events passing through another app’s obscuring overlay above opacity limits (~0.8 alpha threshold). | Full-screen solid phishing overlays still receive direct touches if user types into them. |
HIDE_OVERLAY_WINDOWS / setHideOverlayWindows(true) | Android 12+ App Security API | Sensitive banking/fintech screens command the OS to vanish all non-system overlays automatically while open. | Only active if the bank/wallet app developer adopts it on sensitive screens. |
filterTouchesWhenObscured="true" | Android View Security Flag | Drops taps on critical buttons whenever another window obscures the target view (FLAG_WINDOW_IS_PARTIALLY_OBSCURED). | Older apps without touch filtering remain vulnerable on pre-Android 12 phones. |
4. Red Flags vs. Legitimate Uses: Which Apps Need Overlays?
Audit every entry inside “Display over other apps” with this simple decision guide:
| App Category | Needs SYSTEM_ALERT_WINDOW? | Verdict | Safe Privacy Advice |
|---|---|---|---|
| Screen Recorders & Floating Developer / Magnifier Tools | Yes (Requires persistent floating stop/record widget) | Allow Trusted Apps Only | Toggle OFF after recording if you prefer zero floating layers over banking screens. |
| YouTube, Maps, Video Calls & Chat Apps | No (Should use Picture-in-Picture / Bubbles API) | Deny Overlay Switch | Denying “Display over other apps” keeps native PiP video working cleanly. |
| Blue-Light Filters, “Battery Boosters” & Cleaners | No (Android has built-in Night Light; cleaners don’t need overlays) | Always Deny / Uninstall | Classic vector for lockscreen ads, dimmed fake buttons, and intrusive popups. |
| Games, Flashlight Clones & Sideloaded APKs | Never | Always Deny Immediately | Top indicator of pop-up adware or credential-harvesting overlay kits. |
| Local Hardware & Privacy Utilities (AmpereFlow & VEYRO) | No | Zero Overlay Access | Battery diagnostics and offline utilities keep 100% inside their own sandboxed window. |
SYSTEM_ALERT_WINDOW.5. The Safe Way: 4 Steps to Lock Down “Display Over Other Apps”
Clean out unneeded overlay permissions across your phone in one minute:
- Open “Display Over Other Apps” Settings: Go to
Settings > Apps > Special app access > Display over other apps(on Samsung devices:Settings > Apps > ⋮ > Special access > Appear on top). - Revoke Everything Unessential: Switch OFF games, cleaners, screen dimmers, browsers, shopping apps, and chat apps unless you genuinely use a non-Bubble floating widget. Video apps will keep floating via Android Picture-in-Picture automatically.
- Stay on Android 12+ & Watch for Unusual Login Screens: If your bank app ever looks slightly blurry, shifts fonts unexpectedly, or asks for an extra PIN prompt right after opening, close it immediately and audit active overlays—Android 12+ enforces untrusted touch blocks and supports
HIDE_OVERLAY_WINDOWS. - Choose Minimal, Zero-Overlay Offline Tools: Stick with focused utilities—like AmpereFlow and VEYRO on clickpms.com—that run diagnostics and privacy tools cleanly with zero Special App Access overlays.

6. Frequently Asked Questions
Will denying “Display over other apps” break YouTube mini-player or Google Maps floating navigation?
No. Picture-in-Picture (PiP) is managed directly by Android SystemUI under Settings > Apps > Special app access > Picture-in-picture, completely separate from SYSTEM_ALERT_WINDOW.
Can an app with SYSTEM_ALERT_WINDOW read passwords typed into my bank app underneath it?
Not directly by reading screen text—that takes Accessibility—but it can draw a fake login window ON TOP of your bank app so you accidentally type your username and PIN straight into the attacker’s overlay instead of your bank.
Why does Android 12+ sometimes say an app won’t respond when an overlay or screen filter is active?
That is Android’s anti-tapjacking “untrusted touches” shield in action. When a third-party screen filter or overlay obscures another app without meeting strict transparency rules, Android drops passthrough touches automatically to prevent hidden clickjacking.
7. Verified Official Documentation & Security Research References
- Android Developers — Tapjacking Security Risk & Mitigations: Official developer defense documentation covering
filterTouchesWhenObscuredandFLAG_WINDOW_IS_PARTIALLY_OBSCURED— developer.android.com/privacy-and-security/risks/tapjacking - Android Developers — Behavior Changes in Android 12 (Untrusted Touch Events Blocked): Platform security rule blocking click-passthrough overlays — developer.android.com/about/versions/12/behavior-changes-all
- Android Developers — Android 12 Security Features (
HIDE_OVERLAY_WINDOWS): Sensitive app API letting activities automatically hide third-party application overlays — developer.android.com/about/versions/12/features - Android Developers — Activity Fraud Prevention Guidance: Best practices for banking and authentication screens against UI redressing — developer.android.com/security/fraud-prevention/activities
- Kaspersky Threat Analysis — Cloak & Dagger Overlay & Accessibility Attack: Breakdown of the landmark Georgia Tech & UC Santa Barbara research demonstrating UI feedback loop attacks — kaspersky.com/blog/cloak-and-dagger-attack/16960/
Xpand Privacy Journal — Recommended Reading & Related Guides
← Previous Guide: BIND_ACCESSIBILITY_SERVICE — Screen Reading, Automated Taps & Banking Trojan Abuse
→ Next Guide: PACKAGE_USAGE_STATS — App Usage History, Screen-Time Tracking & Behavioral Profiling
Related Special System Access Guides: WRITE_SETTINGS · REQUEST_INSTALL_PACKAGES · ACCESS_NOTIFICATION_POLICY
Explore Xpand Apps: Xpand Privacy Journal · Android Security Archive · VEYRO Offline Monitor
