
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.
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.
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.
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.
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.
| Aspect | Overlay attack | SMS fraud |
|---|---|---|
| Permission abused | SYSTEM_ALERT_WINDOW or accessibility | SMS and carrier billing |
| What the user sees | A false login or update screen | A premium subscription they did not choose |
| Detection signal | Unexpected window over a sensitive app | Warning notifications cancelled |
| Modern limit | Restricted by permission checks and API changes | Explicit 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.
| Finding | Documented detail | What it means |
|---|---|---|
| Security weaknesses are common | ESET found vulnerabilities in 58 of 86 Android stalkerware apps | Victim data is exposed to parties beyond the stalker |
| Disclosure is a policy marker | Play Protect requires persistent notification and accurate listing | Hidden monitoring is the policy violation, not monitoring itself |
| Targeted deployment exists | CISA advisories note use against specific individuals | The 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.
| Part | What the code does | What real malware adds |
|---|---|---|
| Overlay window | Draws a fake update dialog | Hides the window and requests dangerous permissions |
| Input capture | Reads one field and stores it locally | Exfiltrates captured credentials |
| Detection | Flags suspicious window titles and permissions | Evades 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.
| Safe | Unsafe |
|---|---|
| Stores locally | Transmits |
| Uses one visible window | Hides the window |
| Logs detection | Evades 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.
| Capability | Droppers/Loaders | Accessibility Abuse | Overlay Attacks | SMS Fraud | Stalkerware |
|---|---|---|---|---|---|
| Distribution via seemingly benign apps | Yes | No | No | No | No |
| Downloads secondary payloads | Yes | No | No | No | No |
| Monitors input fields (keylogging) | No | Yes | No | No | Yes |
| Can perform gestures/actions | No | Yes | No | No | Yes |
| Draws windows over other apps | No | No | Yes | No | No |
| Suppresses security notifications | No | Yes | Yes | Yes | Yes |
| Initiates premium SMS/calls | No | No | No | Yes | No |
| Collects location/mic/camera data | No | No | No | No | Yes |
| Marketed as protective/tools | No | No | No | No | Yes |
| Last documented public report | 2024 | 2024 | 2024 | 2024 | 2024 |
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
-
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.
-
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.
-
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.
-
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.
-
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.
| Check | Question asked | Artifact inspected |
|---|---|---|
| Installation sources | Where did this app come from? | Sideload logs and Play Protect alerts |
| Accessibility grants | Does the permission match the function? | Accessibility settings and event access |
| Overlay anomalies | Why is a window above a sensitive app? | SYSTEM_ALERT_WINDOW and window types |
| SMS and billing | Should this app send messages or bill? | Carrier permissions and subscriptions |
| Monitoring transparency | Is 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.
| Dimension | Stalkerware (this page) | Mercenary spyware |
|---|---|---|
| Market | Consumer apps sold for personal or domestic use | Bespoke or contractor-grade tools |
| Typical buyer | An individual, sometimes a parent or employer | A state or state-linked operator |
| Evidence base | App analyses and vulnerability reports | Targeted-operation reporting |
| Shared capability | Camera, microphone, location, exfiltration | Same, 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.
| Behavior | Permission or mechanism | First check |
|---|---|---|
| Dropper or loader | Install and network access | Installation source and download history |
| Accessibility abuse | Accessibility service | Permission versus stated function |
| Overlay attack | SYSTEM_ALERT_WINDOW | Unexpected window over a sensitive app |
| SMS fraud | SMS and carrier billing | Premium subscriptions and suppressed notices |
| Stalkerware | Location, camera, microphone, messages | Persistent 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 mode | Warning sign | Response |
|---|---|---|
| Trusting the store listing | Utility app asks for accessibility | Review the grant, not the description |
| Ignoring version limits | Old overlay technique assumed dead | Check current API restrictions |
| Missing the victim | Monitoring app with no notice | Verify disclosure and manifest flag |
| Conflating spyware markets | Consumer app treated as state tool | Separate 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.
- Google Play Protect — Malware Categories
- Android Security Bulletins — Overview
- ESET Research on Android Stalkerware (RSA Conference 2021)
- Kaspersky Mobile Malware Threat Reports
- CISA Cybersecurity Advisories
- MITRE ATT&CK® — Abuse Accessibility Features (T1453)
- Palo Alto Networks Unit 42 — Cloak and Dagger Overlay Attack
- WithSecure Labs — Mobile Threat Research
- Figure source: Ransom note displayed by Android Wipelocker.A malware (Wikimedia Commons)
- Figure source: Illustration of a dropper malware delivering a payload (Wikimedia Commons)
- Figure source: Diagram of Android system architecture (Wikimedia Commons)