No Privacy Among Spies: Assessing the Functionality and Insecurity of Consumer Android Spyware Apps

Enze Liu, Sumanth Rao, Sam Havron, Grant Ho, Stefan Savage, Geoffrey M. Voelker, Damon McCoy

TL;DR

Consumer Android spyware apps are a growing threat, covertly monitoring users and exfiltrating data. This paper provides a deep technical dive into 14 such apps, revealing novel methods they use to bypass Android's security features and hide their presence. Crucially, it also exposes significant security and privacy failures in how these apps handle sensitive user data, making it vulnerable to external attackers.

What Problem Does This Paper Address?

The proliferation of consumer-grade spyware apps, often marketed as "stalkerware," poses a significant privacy risk. While the existence of these apps and their potential for abuse (e.g., in domestic violence situations) is known, the technical mechanisms they employ to operate covertly and securely remain poorly understood. This paper aims to bridge this knowledge gap by performing a thorough technical analysis of popular Android spyware, detailing how they achieve their functionalities, how they hide from users and the OS, and how they protect (or fail to protect) the sensitive data they collect.

Methods

The researchers employed a rigorous reverse-engineering approach to analyze 14 distinct leading Android spyware apps. Their methodology involved:

  • Acquisition: Obtaining the latest APKs directly from vendor websites.
  • Disassembly and Decompilation: Using tools like APKTOOL and JADX to analyze the app's manifest and code.
  • Manual Investigation: Deeply examining the decompiled Java code and smali code to identify API usage, control flow, and specific implementation details for various capabilities.
  • Capability Categorization: Grouping observed functionalities into three main categories: Data Gathering, Hiding the App, and Persistence.
  • In-situ Testing: Deploying and testing the apps on a monitored Android device to confirm observed behaviors and analyze network communications.
  • Network Traffic Analysis: Using tools like tcpdump and MITMProxy to capture and inspect network traffic, identifying unencrypted data transmission and backend interactions.
  • Vulnerability Assessment: Systematically testing for specific security vulnerabilities related to data protection, including eavesdropping, cross-account request forgery, unauthenticated access, and poor data retention.

Datasets

Not discussed in the paper. The primary "dataset" was the collection of 14 distinct Android spyware applications.

Key Insights and Ideas

  • Creative API Abuse: Spyware authors are highly innovative in their abuse of Android APIs, going beyond previously documented techniques. The paper highlights novel methods for invisible camera access (e.g., using an invisible browser) and hiding app icons that were not previously reported.
  • Stealth is Paramount: A significant portion of the research focuses on how these apps achieve stealth, from hiding their icons and launching discreetly to obscuring their uninstallation process and creating persistent "diehard" services.
  • Data Security is an Afterthought: Despite sophisticated methods for data collection and stealth, the security of the exfiltrated data is often severely lacking. This is a critical finding, as it exposes victims' sensitive information not only to the abuser but also to external attackers.
  • Android's Threat Model is Incomplete: The research reveals that Android's current security model does not adequately account for certain API abuses, particularly those related to hiding app icons, which the authors consider a vulnerability.
  • "Stalkerware" Ecosystem: The paper touches upon the interconnectedness of the spyware market, noting rebranded versions of apps and shared infrastructure, suggesting a consolidated industry behind these invasive tools.

Key Results

  • 14 Spyware Apps Analyzed: A comprehensive technical analysis of 14 leading consumer Android spyware apps.
  • Novel Stealth Techniques: Discovery of new methods for invisible camera access and hiding app icons.
  • Widespread Data Leakage: Four apps were found to transmit sensitive data over unencrypted HTTP connections.
  • Cross-Account Vulnerabilities: One app (TheTruthSpy) was vulnerable to cross-account request forgery.
  • Unauthenticated Data Access: Six apps exposed user data (images, audio, etc.) via public URLs without proper authentication.
  • Poor Data Retention: Four apps failed to adequately delete victim data from their servers, even after account deletion.
  • Unauthenticated SMS Commands: Two apps accepted sensitive SMS commands without robust authentication.
  • Persistence Mechanisms: Detailed documentation of how spyware apps ensure they remain on a device, including disabling uninstall buttons and creating self-restarting services.

Limitations and Future Work

  • Limited Scope: The study focused on 14 distinct apps, acknowledging that this is not an exhaustive list of all spyware available.
  • Dynamic Nature of Malware: Spyware authors constantly evolve their techniques, meaning findings may become outdated.
  • Future Work: The authors suggest several areas for future research, including:
  • Developing more robust detection mechanisms for spyware.
  • Investigating the role of payment systems in the spyware ecosystem.
  • Exploring regulatory and legal interventions to curb the spread of spyware.
  • Enhancing Android's threat model to address identified API abuses.
  • Improving privacy dashboards and user notifications to alert users to invasive app activities.

Summary updated

BibTeX
@inproceedings{liu2023no,
  author = {Enze Liu and Sumanth Rao and Sam Havron and Grant Ho and Stefan Savage and Geoffrey M. Voelker and Damon McCoy},
  title = {{No Privacy Among Spies: Assessing the Functionality and Insecurity of Consumer Android Spyware Apps}},
  booktitle = {Proc. Priv. Enhancing Technol},
  year = {2023},
  url = {https://openreview.net/forum?id=FAxTZjoHO1D},
}

Loading related content...

Figure