Application security feature

Android overlay attack detection

Otukan protects sensitive Android screens from deceptive overlays, obscured touches and injected activities, while chat heads and assistive tools keep working.

  • Android
Deceptive overlay is met at the obscured-touch checks boundary before it reaches the appDeceptive overlayObscured-touch checksYour app
  • Three attacks, told apart

    Fake screens drawn on top, touches passed through a hidden layer and activities slipped into your task each get their own check.

  • Built for Android releases

    Otukan uses the defences each Android release offers and adds its own checks where older releases leave a gap.

  • Chat heads still welcome

    Floating chat bubbles, screen dimmers and assistive tools are tested and allowed, so only the sensitive tap is questioned.

Overlay techniques Otukan handles

Select a technique to see how Otukan catches it on Android, how your screen reacts and what your backend receives.

Credential-stealing overlays

  1. Detect

    Otukan notices when your login or card screen loses focus to a window drawn by another app.

  2. Respond

    Input is paused and the customer is told another app is covering the screen.

  3. Report

    Your backend receives an overlay signal with the next login attempt.

Tapjacking

  1. Detect

    Otukan inspects each touch on a protected button for signs it passed through a window placed above it.

  2. Respond

    The obscured tap is ignored and the customer is asked to tap again on a clear screen.

  3. Report

    The approval request carries an obscured-touch flag.

Activity injection

  1. Detect

    Otukan checks that the screen in front of the customer belongs to your app when a sensitive flow resumes.

  2. Respond

    Your app returns to a known safe screen instead of trusting an injected one.

  3. Report

    A task-integrity signal is recorded for your security team.

Non-system floating windows

  1. Detect

    Otukan identifies application overlays present while a protected screen is showing.

  2. Respond

    Where Android supports it, Otukan asks the system to hide those windows for as long as the screen is open.

  3. Report

    The overlay state during the step is logged with the session.

Controls that pair with overlay defence

Attackers combine overlays with other Android techniques, so Otukan links these controls to the same protected screens.

  • Accessibility abuse detection

    Detects the partner technique: services that read what the overlay hides and tap on the victim's behalf.

  • Banking trojan detection

    Joins overlay, accessibility and capture signals into the combined pattern banking malware leaves.

  • Screen capture protection

    Keeps protected screens out of recordings, so a recorder working alongside an overlay does not get a copy.

  • Social engineering protection

    Reads the context of a coached approval, such as an active call or shared screen, and interrupts with a clear way out.

You choose the response

Set a response for each user flow. Start by observing, then tighten flow by flow as the signals prove themselves.

Observe

Signal sent to your backend

Rolling out a new policy and measuring real-world signals.

Warn

This device looks modified. Continue with care.

Conditions some genuine users create, such as developer settings.

Restrict

Payments are unavailable on this device.

Payments, stored data and account changes.

Terminate

Session closed for your security.

Clear tampering on a high-risk flow.

How it works

  1. List the screens

    Login, card entry, payee approval and recovery screens are flagged as protected.

  2. Integrate the protection

    Otukan becomes one stage of your existing Android release process, with keys in your custody.

  3. Test across makers

    Interaction-state tests run on handsets from several manufacturers, whose window handling differs.

  4. Allow the harmless

    Chat heads, dimmers and assistive tools are confirmed to pass without interruption.

  5. Switch on protection

    Each screen moves from observe to its chosen response once the results are signed off.

Free for app publishers

Check your app's exposure

A passive review of your published app by an Otukan engineer. No files, no access to your systems. Findings go by email to the verified publisher.

You finish the request on the next page.

A sensitive Android flow resists deceptive overlays when it knows three things at the moment of a tap: that its own screen is the one in front of the customer, that the touch did not pass through another app’s window, and that no foreign screen has been slipped into its task. Otukan checks all three on the screens you mark as protected, pauses or ignores the tap when something is wrong and reports the event to your backend. It builds on the defences newer Android releases provide and adds its own checks where older releases leave a gap. Chat heads, screen filters and assistive tools are tested and allowed.

Threat distinction

“Overlay attack” covers three techniques. They need different checks, so Otukan keeps them apart.

Malicious overlays

Malware with permission to display over other apps waits for your app to open, then draws a copy of your login or card screen on top. The customer types into the copy. Otukan notices that your real screen has lost focus to a window drawn by another app while it should be receiving input.

Obscured touches

Tapjacking works the other way round. A harmless-looking window covers your screen, and the customer’s tap passes through to a button underneath, often approve or allow. Android marks touches that pass through another window; Otukan reads that evidence on every protected button.

Activity injection

Instead of drawing over your app, the attacker places its own screen inside your app’s task, so the back button and recent-apps view make it look like yours. Otukan hardens your task configuration and checks, when a sensitive flow resumes, that the screen in front of the customer belongs to your app.

TechniqueWhat the customer seesOtukan’s check
Malicious overlayA convincing copy of your screenFocus loss to another app’s window
TapjackingA harmless screen hiding yoursObscured-touch evidence on protected controls
Activity injectionA foreign screen inside your app’s flowTask integrity on resume

Platform support

Android’s own defences have grown stronger over successive releases, but customers carry a wide mix of versions and manufacturer builds. Otukan layers its checks so the same protected screen behaves consistently across them.

ControlNewer Android releasesOlder Android releases
Untrusted touches through overlaysBlocked by the system in many cases; Otukan confirms and reportsOtukan’s obscured-touch checks decide
Hiding non-system windowsOtukan asks the system to hide them on protected screensOtukan detects the overlay and pauses input
Task injectionOtukan’s task hardening and resume checksTask hardening and resume checks, tested against older task-switching behaviour
Manufacturer variationTested per maker on physical devicesTested per maker on physical devices

Framework apps need the same care. A Flutter or React Native screen still runs inside an Android activity, so Otukan applies the checks at that level and confirms them on the protected screens your framework renders.

System windows, such as the notification shade or a phone call screen, sit outside any app’s control and are expected. Otukan does not treat them as attacks, and a protected screen behind them simply waits until they close. For the wider Android picture, see Android app security.

Usability

Plenty of honest apps draw over others. The protection should notice them without punishing the people who use them.

Chat heads and floating tools

Messaging bubbles, floating video players, screen dimmers and blue-light filters all create windows above your app. Otukan checks only on protected screens and only at the moment of a sensitive tap. When a harmless window is in the way, the customer is asked to move or close it, then carries on.

Assistive tools

Some accessibility tools add floating controls or magnifiers. They are part of Otukan’s test baseline, so customers who depend on them are not blocked. Where an accessibility service also reads or taps the screen, accessibility abuse detection handles it.

Tested on real devices

Every protected screen is tested in an authorised lab with an overlay, a tapjacking window and an injected activity, then with the legitimate-window baseline, then through install, update, sign-in and approval. Devices, Android versions, expected results and the reviewer are recorded.

Overlay defence is one part of mobile fraud prevention, which covers the related controls.

Common questions

  • Why is overlay protection Android only?

    iOS does not let one app draw over another, so the attack does not exist there in this form. Android offers a permission to display over other apps for legitimate uses such as chat bubbles and navigation hints, and malware requests it too. Otukan's overlay checks are therefore built for Android, and iOS apps are protected against their own risks with separate controls.

  • Does Android already block overlay attacks by itself?

    Newer Android releases block many untrusted touches that pass through overlays and let apps hide non-system windows on sensitive screens. Your customers use a mix of releases and manufacturer versions, though. Otukan uses the system defence where it exists and adds its own checks where it does not, so one policy covers the devices your customers actually carry.

  • Will customers with chat heads or screen filters be locked out?

    No. Otukan checks only on screens you mark as protected and only at the moment of a sensitive tap. Chat bubbles, blue-light filters and accessibility tools are part of the test baseline, and the default response for a harmless window is to ask the customer to move it rather than to block them.

  • What is the difference between an overlay and tapjacking?

    An overlay usually imitates your screen to collect what the customer types. Tapjacking hides your real screen under a harmless-looking one, so the customer's tap lands on a button they cannot see, such as approve. Otukan checks for both: focus loss for imitation screens and obscured-touch evidence for hidden ones.

On the mobile engineering team?

How protection fits your build, signing and release, platform by platform.

Make every Android approval visible

Tell us the app framework, the Android devices your customers use most and the screens that need protection, such as login or payment approval. We do not ask for binaries, signing keys or production credentials.

Or request a technical demo