A source-cited reference library 399 modules · 19 subdomains · 5 domains
Research Library
Malware on Android

Cybersecurity / Malware

Malware on Android

Malware targeting Android devices encompasses a range of tactics from droppers that install hidden payloads to abuse of accessibility services for covert data theft, overlay attacks that hijack the user interface, SMS fraud that generates illicit revenue, and stalkerware that enables covert surveillance. This documentation describes these behaviors as documented by public reports from Google Play Protect, Android Security Bulletins, threat research from ESET and Kaspersky, and advisories from CISA.

Executive brief

Android malware leverages the platform's openness and permission model to conduct diverse malicious activities. Droppers and loaders distribute secondary payloads under the guise of legitimate apps. Accessibility service abuse enables attackers to monitor user interactions and exfiltrate data. Overlay attacks deceive users by drawing fraudulent interfaces over legitimate apps. SMS fraud manipulates messaging systems to generate unauthorized charges. Stalkerware provides covert surveillance capabilities, often marketed as protective tools. These behaviors are documented in public sources and represent significant threats to user privacy and device security.

Overview and context

Android's dominant market share and open application ecosystem have made it a prime target for malware creators seeking financial gain, espionage opportunities, or avenues for surveillance. The platform's permission model, while designed to protect users, can be abused through deceptive tactics that trick users into granting dangerous capabilities. Malware families often combine multiple techniques: a dropper might install an accessibility service that then enables overlay attacks to steal credentials, which are used to fund SMS fraud operations. Documentation from Google Play Protect highlights the prevalence of hostile downloaders and backdoors masquerading as utility apps, while Android Security Bulletins regularly address vulnerabilities exploited by malware to gain elevated privileges. Threat research from ESET and Kaspersky documents the global reach of stalkerware and its associated security risks, and CISA advisories warn of specific campaigns targeting mobile devices.

The diversity of Android malware reflects the versatility of the mobile platform. Unlike traditional PC malware that often focuses on persistence and data extraction, mobile threats frequently exploit sensory inputs (camera, microphone, GPS) and communication channels (SMS, calls, mobile data) to achieve their goals. The financial motivations behind SMS fraud and the covert nature of stalkerware represent distinct threat models that require different defensive approaches. Understanding these behaviors as documented in public sources enables defenders to recognize indicators of compromise and implement appropriate mitigations without resorting to speculative or offensive techniques.

Ransom note displayed by Android Wipelocker.A malware
Overlay attack consequence — ransom note displayed by the Android malware Wipelocker.A, demonstrating UI hijacking capabilities. Image via Wikimedia Commons.

Technical and feature breakdown

Droppers & Loaders

Droppers and loaders are Android applications that appear benign but secretly download and install additional malicious payloads after installation. According to Google Play Protect documentation, hostile downloaders are classified when at least 5% of their downloads are potentially harmful applications (PHAs), with a minimum of 500 observed app downloads translating to 25 observed PHA downloads. These apps often masquerade as legitimate tools, games, or utilities to bypass user scrutiny. Once installed, they contact command-and-control servers to retrieve secondary payloads such as banking trojans, ransomware, or spyware, exploiting the user's trust in the initial app to gain persistence. The dropper itself may exhibit minimal harmful behavior to avoid detection, focusing instead on evading analysis through packing, encryption, or dynamic code loading techniques. Public reports from Google Play Protect note that droppers frequently originate from third-party app stores or are sideloaded via phishing links, though some have temporarily appeared in the official Play Store before removal.

Illustration of a dropper malware delivering a payload
Dropper operation — schematic showing how a dropper application downloads and installs a malicious payload. Image via Wikimedia Commons.

Accessibility-Service Abuse

Accessibility services on Android are designed to assist users with disabilities by providing alternative interaction methods, but malware abuses these services to monitor user input, intercept sensitive data, and perform actions without user consent. When granted accessibility permissions, an app can observe events such as text changes in input fields, button clicks, and window transitions, enabling keylogging of credentials and personal information. Malware can also programmatically perform gestures, toggle settings, or dismiss notifications to maintain persistence and evade detection.

Documentation from the Android Open Source Project shows that accessibility services receive detailed event data including node properties and action capabilities, which malicious apps exploit to build profiles of user behavior. Threat research indicates that families like Anubis, Chameleon, and VajraSpy use accessibility services to steal banking credentials, cryptocurrency wallet keys, and messages from encrypted communication apps. The Android Security Bulletin archive includes advisories addressing vulnerabilities that facilitate unauthorized accessibility service grants, though the primary risk remains users being deceived into enabling the service through social engineering or misleading app descriptions.

Diagram of Android system architecture
Android system architecture — illustrating the layers where accessibility services operate as part of the application framework. Image via Wikimedia Commons.

Overlay & SMS Fraud

Overlay attacks involve malware drawing windows on top of other apps' interfaces to deceive users about what they are interacting with. By exploiting the SYSTEM_ALERT_WINDOW permission or, in older Android versions, the TYPE_TOAST window mechanism, malicious apps can display fraudulent login screens, fake system updates, or deceptive purchase prompts to capture credentials or manipulate users into granting additional permissions. The Cloak and Dagger technique, discovered by Palo Alto Networks Unit 42, demonstrated how toast overlays could be weaponized without special permissions on Android versions prior to 8.0, enabling clickjacking, device administrator abuse, and screen-locking ransomware. Google has since restricted overlay capabilities through permission checks and API changes, though variants continue to exploit accessibility services to achieve similar effects.

SMS fraud, also known as toll fraud, exploits carrier billing mechanisms to generate unauthorized charges to a user's phone bill. Malware may initiate premium-rate SMS subscriptions or place fraudulent calls through wireless application protocol (WAP) or interactive voice response (IVR) systems. To avoid detection, these apps often suppress incoming notifications that would alert users to the fraudulent activity, using APIs like NotificationListenerService to cancel warnings about successful subscriptions. Modern Android versions require explicit user consent before an app can send SMS to premium numbers, reducing but not eliminating the risk; social engineering tactics still trick users into approving such charges under false pretenses. Documentation from the Android Security Bulletin archive and threat research from groups like WithSecure details specific campaigns where apps disguised as photo editors, games, or utilities enrolled users in costly SMS services while actively suppressing warning messages.

Overlay versus SMS fraud, side by side — the two techniques in this section are often described together, but they ask for different permissions and leave different traces.

AspectOverlay attackSMS fraud
Permission abusedSYSTEM_ALERT_WINDOW or accessibilitySMS and carrier billing
What the user seesA false login or update screenA premium subscription they did not choose
Detection signalUnexpected window over a sensitive appWarning notifications cancelled
Modern limitRestricted by permission checks and API changesExplicit consent required for premium numbers

Reading — the overlay steals what the user types, while SMS fraud steals money through the carrier bill; a single app can chain both, but the evidence sits in different places.

Stalkerware

Stalkerware refers to software designed to covertly monitor a victim's device activities, often marketed as protective tools for children, employees, or personal safety. Unlike legitimate monitoring apps that provide transparent notices and persistent indicators, stalkerware attempts to hide its presence while collecting sensitive data such as location, messages, call logs, camera images, and microphone audio. ESET research analyzing 86 Android stalkerware apps found extensive security and privacy vulnerabilities across 58 of the applications, including insecure transmission of personal information, storage of sensitive data on external media, and exposure of user information to unauthorized parties.

These vulnerabilities not only endanger victims but can also jeopardize the stalkers themselves due to interconnected access. Google Play Protect categorizes stalkerware under monitoring tools that violate policies by failing to show persistent notifications, disclosing tracking functions in Play listings, or using the IsMonitoringTool manifest flag correctly. CISA advisories have noted instances where stalkerware was deployed in targeted operations against specific individuals, emphasizing the intersection of commercial spyware with threats to personal safety and privacy.

What the public record documents about Android stalkerware — three findings from the sources named in the text, and what each one changes for a defender or a victim.

FindingDocumented detailWhat it means
Security weaknesses are commonESET found vulnerabilities in 58 of 86 Android stalkerware appsVictim data is exposed to parties beyond the stalker
Disclosure is a policy markerPlay Protect requires persistent notification and accurate listingHidden monitoring is the policy violation, not monitoring itself
Targeted deployment existsCISA advisories note use against specific individualsThe threat includes personal safety, not only privacy

The table separates the consumer stalkerware ecosystem from the mercenary spyware document it overlaps with: same capabilities, different market and attribution.

The overlay example, annotated

This document's working example demonstrates a simplified, educational representation of how an overlay attack might capture user input, based on documented techniques from public research. The example creates a deceptive overlay that mimics a system update prompt to trick users into entering credentials, which are then logged to local storage for demonstration purposes. It is critical to emphasize that this code is strictly defensive and educational: it does not attempt to hide its behavior, request dangerous permissions, or transmit data externally. Security professionals can use such examples to understand the mechanics of UI deception and develop detection strategies for similar behaviors in real malware. The example does not include obfuscation, persistence mechanisms, or payload delivery, focusing solely on illustrating the input capture concept in a controlled, safe manner.

Reading the code from top to bottom, the application requests the SYSTEM_ALERT_WINDOW permission through the manifest (commented out for safety in this example) and creates a window that overlays the current foreground app. A simple layout presents a fake update dialog with a text field for credentials. When the user enters information and clicks the simulated confirmation button, the entered text is captured and stored locally. This mirrors how real malware might use overlays to harvest passwords or financial information, though actual malicious implementations would include additional steps to conceal the activity, exfiltrate the data, and maintain presence on the device. The educational nature of this example ensures it serves only as a learning tool for defensive security practices.

Overlay input capture example (educational) — simplified simulation of credential harvesting via a deceptive overlay, annotated in the text.

# Educational overlay simulation (for defensive training only)
# This example does NOT request dangerous permissions or transmit data
import android.app.Activity
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import android.widget.LinearLayout
import android.widget.TextView

class OverlayExampleActivity : Activity() {
    private lateinit var inputField: EditText
    private lateinit var resultView: TextView

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        // Create layout
        val layout = LinearLayout(this).apply {
            orientation = LinearLayout.VERTICAL
            setPadding(20, 20, 20, 20)
        }

        // Add deceptive prompt
        layout.addView(TextView(this).apply {
            text = "System Update Required"
            setTextSize(24.0f)
            setPadding(0, 0, 0, 10)
        })

        // Add credential field
        inputField = EditText(this).apply {
            hint = "Enter PIN to continue"
            setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD)
        }
        layout.addView(inputField)

        // Add simulated confirmation button
        val confirmButton = Button(this).apply {
            text = "Confirm Update"
            setOnClickListener {
                val entered = inputField.text.toString()
                resultView.text = "Received: $entered (locally stored only)"
                // In real malware: data would be exfiltrated here
                // This example only stores locally for demonstration
            }
        }
        layout.addView(confirmButton)

        // Add result display
        resultView = TextView(this).apply {
            text = "Waiting for input..."
            setPadding(0, 10, 0, 0)
        }
        layout.addView(resultView)

        setContentView(layout)
    }
}

Defensive detection logic — example of identifying suspicious overlay behavior through permission and window analysis, annotated in the text.

# Defensive overlay monitoring (educational pseudocode)
# For use in security training and analysis scenarios only
import android.util.Log
import android.view.accessibility.AccessibilityEvent

class OverlayDetector {
    private const val TAG = "OverlayDetector"

    fun monitorAccessibilityEvent(event: AccessibilityEvent) {
        when (event.eventType) {
            AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED -> {
                // Check for unexpected overlay windows
                val windowTitle = event.text?.firstOrNull() ?: ""
                if (windowTitle.contains("Update") || windowTitle.contains("Confirm")) {
                    Log.w(TAG, "Suspicious overlay window detected: $windowTitle")
                    // In a real implementation: trigger further analysis
                }
            }
            AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED -> {
                // Monitor for potential credential harvesting
                val changedText = event.text?.firstOrNull() ?: ""
                if (changedText.matches(Regex(Regex.ESCAPE_MEMBER + "\\d{4,}"))) {
                    // Potential numeric PIN or password entry
                    Log.w(TAG, "Possible credential input detected in: ${event.className}")
                    // Log for review - do not transmit in production security tools
                }
            }
        }
    }

    fun checkOverlayPermissions(manifestPermissions: Set) {
        // Look for dangerous overlay permissions in app manifests
        val dangerousPermissions = setOf(
            "android.permission.SYSTEM_ALERT_WINDOW",
            "android.permission.BIND_ACCESSIBILITY_SERVICE"
        )
        val requested = manifestPermissions.intersect(dangerousPermissions)
        if (requested.isNotEmpty()) {
            Log.w(TAG, "App requests overlay-related permissions: $requested")
            // Indicates need for manual review
        }
    }
}

The example's three moving parts — how the overlay example maps onto the technique the section describes, and where the safe version stops short.

PartWhat the code doesWhat real malware adds
Overlay windowDraws a fake update dialogHides the window and requests dangerous permissions
Input captureReads one field and stores it locallyExfiltrates captured credentials
DetectionFlags suspicious window titles and permissionsEvades the same checks by changing titles and APIs

Reading — the educational code stops at the visible mechanics, which is exactly why the detection logic can be taught alongside it without shipping a usable attack.

Safe versus unsafe in one line each — the boundary the example is built to keep.

SafeUnsafe
Stores locallyTransmits
Uses one visible windowHides the window
Logs detectionEvades detection
# Boundary rule
no exfiltration, no hidden window

The two columns are the whole difference between a training aid and a working credential harvester.

Comparative data and specs

The table below compiles documented behaviors from public sources across four prevalent categories of Android malware, drawing from Google Play Protect reports, Android Security Bulletins, and threat research publications from ESET, Kaspersky, and similar vendors. Each row represents a distinct capability or observed behavior, with columns indicating whether the capability has been documented in the respective malware category. The information reflects only behaviors verified through public analysis and does not include speculative or undisclosed capabilities.

Examining the comparative data reveals how different threat models prioritize specific techniques. Droppers and loaders show near-universal documentation as distribution mechanisms, reflecting their role in delivering secondary payloads across multiple malware families. Accessibility service abuse appears consistently in research literature due to its effectiveness for data theft and device control, while overlay attacks show slightly lower documentation frequency as Android versions have progressively restricted the underlying mechanisms. SMS fraud remains predominantly associated with financially motivated malware, particularly those targeting specific regions through carrier billing systems. Stalkerware, while less frequently discussed in general malware reports, appears consistently in privacy-focused research and vulnerability disclosures due to its surveillance nature and associated security risks. The "Last documented public report" column provides temporal context, showing that all categories remain active threats with recent documentation in public sources as of the writing of this document.

# Triage questions drawn from the capability table
which permission does the app hold that its listed function needs?
which capability appears in no public report for this family?

Reading the capability table as a coverage map — the blank-looking cells are the ones most likely to be reporting gaps rather than true negatives.

# Ask of every "No" cell
is the capability absent, or simply not documented?

A "Yes" is evidence of capability; a "No" is only evidence of the public record, which is the page's stated caution.

# Evidence rule
Yes = observed | No = not observed

Documented capabilities across Android malware categories — the comparison table from the section above, given the full page width so every column stays readable.

CapabilityDroppers/LoadersAccessibility AbuseOverlay AttacksSMS FraudStalkerware
Distribution via seemingly benign appsYesNoNoNoNo
Downloads secondary payloadsYesNoNoNoNo
Monitors input fields (keylogging)NoYesNoNoYes
Can perform gestures/actionsNoYesNoNoYes
Draws windows over other appsNoNoYesNoNo
Suppresses security notificationsNoYesYesYesYes
Initiates premium SMS/callsNoNoNoYesNo
Collects location/mic/camera dataNoNoNoNoYes
Marketed as protective/toolsNoNoNoNoYes
Last documented public report20242024202420242024

Reading — capabilities like distribution and payload downloading are consistently documented due to their role in malware delivery chains, while capabilities requiring direct user deception (such as overlay attacks) show variability based on Android version restrictions and reporting focus. Source basis: Google Play Protect, Android Security Bulletins, ESET and Kaspersky research, and CISA advisories.

Actionable steps for analysts

  1. Monitor installation sources

    Track application installations from unknown sources and third-party app stores, as droppers and loaders frequently originate outside official distribution channels. Enable Google Play Protect alerts and review installation logs for sideloaded applications lacking clear provenance.

  2. Review accessibility service grants

    Regularly audit which applications have been granted accessibility permissions, looking for inconsistencies between app functionality and the sensitivity of the accessed data. Legitimate accessibility services should correlate with visible usability features, not background data collection.

  3. Detect overlay anomalies

    Monitor for applications requesting SYSTEM_ALERT_WINDOW or BIND_ACCESSIBILITY_SERVICE permissions without clear justification, and watch for unusual window types appearing in the foreground during sensitive operations such as credential entry or payment confirmation.

  4. Audit SMS and carrier billing permissions

    Review which applications have been granted permissions to send SMS or access carrier billing services, particularly those lacking legitimate communication or utility functions. Unexpected premium service subscriptions should trigger immediate investigation.

  5. Verify transparency of monitoring apps

    For any application claiming to monitor device activity (for parental control, enterprise management, or personal safety), verify that it provides persistent notifications, discloses its functions in the Play Store listing, and uses the appropriate manifest flags as required by Google Play Protect policies.

The five checks as an operating list — each numbered step answers one question, and the table keeps the question next to the permission or artifact that answers it.

CheckQuestion askedArtifact inspected
Installation sourcesWhere did this app come from?Sideload logs and Play Protect alerts
Accessibility grantsDoes the permission match the function?Accessibility settings and event access
Overlay anomaliesWhy is a window above a sensitive app?SYSTEM_ALERT_WINDOW and window types
SMS and billingShould this app send messages or bill?Carrier permissions and subscriptions
Monitoring transparencyIs the monitoring disclosed?Persistent notice, listing, manifest flag
# Order that avoids tipping off a monitored device
inventory -> compare to policy -> preserve logs -> act

The first two checks cover installation and capability; the last three cover what the app does once it is running, which is where the documented harm appears.

Additional context — the stalkerware overlap with spyware documentation

As noted in the stalkerware section, this malware category overlaps significantly with the spyware document covering mercenary spyware (Mercenary Spyware). Both categories describe covert surveillance capabilities involving camera, microphone, location, and data exfiltration. However, stalkerware typically refers to commercially available tools marketed toward personal or domestic use, while mercenary spyware denotes bespoke or state-linked tools used in targeted operations. The documentation in this Android malware file focuses on the consumer-facing stalkerware ecosystem as documented through public app analyses and vulnerability reports, whereas the mercenary spyware document addresses nation-state and contractor-grade tools. Where the behaviors overlap — such as clandestine data collection and transmission — the records remain consistent in describing the technical capabilities without conflating the distinct threat models and attribution contexts.

Stalkerware and mercenary spyware compared — the overlap is technical, while the difference is who sells the tool and who is accountable for it.

DimensionStalkerware (this page)Mercenary spyware
MarketConsumer apps sold for personal or domestic useBespoke or contractor-grade tools
Typical buyerAn individual, sometimes a parent or employerA state or state-linked operator
Evidence baseApp analyses and vulnerability reportsTargeted-operation reporting
Shared capabilityCamera, microphone, location, exfiltrationSame, plus remote exploitation
# Keep the two records separate
consumer app + disclosed use -> stalkerware
targeted implant + state link -> mercenary spyware

Reading — the capability rows match by design, so attribution and market context are what keep the two documents from collapsing into one claim.

Quick reference — the rules at a glance

Android malware on this page is best read as five behaviors that share one platform. Droppers and loaders arrive disguised as utilities and download a second payload. Accessibility-service abuse turns a permission designed for disability support into keylogging and remote control. Overlay attacks draw a false screen over a real app. SMS fraud converts the carrier bill into revenue. Stalkerware hides monitoring behind a protective-sounding product. The common thread is permission: each behavior needs a capability that a user was persuaded to grant.

The second thread is that public documentation is uneven. Droppers and accessibility abuse appear in most reports; overlay documentation declines as Android versions restrict the underlying mechanisms; SMS fraud concentrates in financially motivated campaigns; stalkerware appears mainly in privacy research. That unevenness is a reporting artifact, not a measure of danger, so an analyst should not infer safety from silence.

The defensive rule follows: check the grant, not the app's story. Installation source, permission set, window behavior, billing access, and disclosure each answer a different question. The stalkerware overlap with mercenary spyware is real at the capability level, but the market and the attribution are different, and keeping them separate is part of reading the record honestly.

Five behaviors, their permission, and the first check — the page condensed into the one artifact that gives each behavior away.

BehaviorPermission or mechanismFirst check
Dropper or loaderInstall and network accessInstallation source and download history
Accessibility abuseAccessibility servicePermission versus stated function
Overlay attackSYSTEM_ALERT_WINDOWUnexpected window over a sensitive app
SMS fraudSMS and carrier billingPremium subscriptions and suppressed notices
StalkerwareLocation, camera, microphone, messagesPersistent notice and honest listing

Every row reduces to a permission the user granted, which is why permission review catches more than app-name blocklists.

Failure modes and responses — what goes wrong when the checks are skipped, and the response the page's steps assign.

Failure modeWarning signResponse
Trusting the store listingUtility app asks for accessibilityReview the grant, not the description
Ignoring version limitsOld overlay technique assumed deadCheck current API restrictions
Missing the victimMonitoring app with no noticeVerify disclosure and manifest flag
Conflating spyware marketsConsumer app treated as state toolSeparate market from capability
# Triage in the order the checks run
source -> permission -> behavior -> disclosure -> attribution

The sequence matters: attribution comes last because the technical evidence is the same across the consumer and state-linked cases.

Research Library · Cybersecurity · Malware · Malware on Android Neutral, source-cited reference · updated 2026-10-23