How an overlay attack works, in plain terms
Android lets apps draw windows on top of other apps. The feature exists for legitimate reasons: chat heads, screen filters, and floating widgets all use it. The permission behind it is called "draw over other apps", and a malicious app that holds it can place a window anywhere on the screen, including exactly over your banking app's login fields.
The attack has a simple choreography. The malicious app sits quietly in the background and watches which app comes to the foreground. When it sees a banking app open, it slides its own copy of that app's login screen into place, pixel-aligned so the user notices nothing. The victim types credentials into the copy. The copy then either forwards the victim to the real app, so the login appears to succeed, or shows a fake error and asks them to try again, harvesting a second attempt.
Accessibility services make the trick stronger. An app with accessibility access can read what is on the screen, including text in other apps, and can perform taps and swipes on the user's behalf. Combined with an overlay, that means the attacker can both steal the login and, once inside the account, drive the real banking app to approve transfers. This is why the same families of banking trojans that use overlays almost always push hard for accessibility access too.
Delivery follows the familiar path. The malicious app usually arrives as a download from a message link — a parcel notice, a bank alert, a fake update — and talks the user through granting the permissions it needs. Android has added friction here: since Android 13, sideloaded apps face restricted settings that block accessibility grants until the user manually allows them, and Android 15 widened those restrictions. Those barriers help, but they rely on the user not tapping through them when a convincing message says to.
What an overlay attack actually is
Strip away the jargon and an overlay attack is a forgery of a screen. It does not break your bank's encryption, and it does not need to guess your password. It simply puts a fake sheet of glass over the real window and collects what you write on it. That is also why it is so hard to spot: everything the victim sees looks correct, because the fake screen was designed to look correct.
It differs from a fake banking app in one important way. A fake banking app is the app you open. An overlay attack leaves your real banking app in place and covers it. You can have the genuine app, installed from the official store, and still be caught, because the attack lives in a different app entirely — one that may look harmless, like a cleaner or a video player.
Overlays are not limited to login screens. The same technique is used to fake payment-confirmation screens, to cover the amount field while showing a different number, and to draw invisible keypads over genuine PIN screens, recording taps while the real app keeps working underneath. When a screen asks for money or a code, and something about it feels slightly off — a flicker as it opens, a keyboard that behaves oddly, a layout that is a fraction different — that feeling is worth listening to.
Where overlays show up
Banking login screens
The classic case. A copy of the login page appears the moment the real app opens, and the credentials go to the attacker.
Payment confirmations
A fake confirmation screen hides the real amount or recipient, so the victim approves a transfer they did not intend.
One-time code prompts
A fake OTP screen asks for the code the bank just sent, while the malicious app also reads the code from the victim's messages.
PIN keypads
An invisible keypad is laid over the genuine one, recording each tap while the real app underneath keeps working normally.
The two permission checks that matter
Open Settings, then Apps, then Special app access. Two lists deserve a regular look. The first is "Display over other apps": it shows every app allowed to draw over others. A chat app or a screen filter belongs there. A cleaner, a video player, or an app you installed from a link does not. The second is Accessibility: it shows which apps can read your screen and act for you. Only apps you deliberately chose for accessibility — a genuine screen reader, a switch-control tool — should appear there.
Revoke anything you do not recognise, and anything whose reason for holding the permission you cannot explain. Android will warn you that the app may stop working properly; that is fine. An app that needs to read your screen to play videos was never doing what it claimed.
What to do if you suspect one
Stop using the banking app on that phone until you have checked. Uninstall any app you installed from a message link around the time the odd behaviour started, and revoke the overlay and accessibility permissions from anything unfamiliar. Then, from a different clean device, change your banking password and check recent transactions. Call your bank on the number printed on your card and tell them what you saw; they can watch the account and, if needed, block and reissue the card.
Keep your phone's software updated, because the platform restrictions on sideloaded apps and accessibility grants keep getting tighter, and each update closes a little more of the path these trojans use. Install apps from the official store only, and treat any message that asks you to install an app from a link as suspect by default. Android's built-in Play Protect also scans sideloaded apps and can warn you about known malicious ones, but it is a backstop, not a substitute for refusing the install in the first place.
Frequently asked questions
What should I do if I suspect an overlay attack?
Stop typing anything into the banking app, close it, and check Settings for apps allowed to display over other apps and apps holding accessibility access. Remove anything unfamiliar, then change your banking password from a different clean device and call your bank on the number printed on your card.
How can I protect myself from overlay attacks?
Install apps only from the official store, never grant draw-over-apps or accessibility permission to an app that has no clear reason to need it, keep your phone updated so the newer sideloading restrictions apply, and review the two special-access lists every few months.
Are overlay attacks common in mobile banking?
They are a known, recurring technique rather than a rare one. Banking trojan families have used overlays for years, and recent advisories still describe live campaigns using them, which is why the permission checks above are worth doing even if you have never seen an attack yourself.
Can an overlay attack work if I use the genuine banking app?
Yes. The attack does not replace your banking app; it covers it. The malicious app is a different app entirely, and it draws its fake screen over the genuine one, so having the real app installed from the official store does not by itself stop it.
Related security explainers
Cut down the messages that carry these apps
Use a free disposable address from TempoMailUSA for casual signups, so fewer phishing links reach your real inbox.
Get a free temp inbox