Ghosts in the Memory: Detecting Unintended Sensitive Data in Android Apps
Seonghyeon Song, Taeyoung Kim, Woojoo Kim, Seojin Park, Sungjae Hwang, Hyoungshick Kim
Key points
From the paper's conclusion- We present Android-MRI, an OS-level analysis tool that embeds tracing directly into the Android kernel to detect unintended sensitive data leakage through memory while remaining invisible to application-layer defenses.
Abstract
Android apps often retain sensitive information such as co-users’ data, authentication tokens, and encryption keys in memory, leaving them vulnerable to unauthorized access. Existing dynamic analysis tools struggle to detect such memory-resident leaks because of three fundamental challenges: (i) runtime application self-protection (RASP) and other anti-analysis mechanisms actively detect and block conventional instrumentation;(ii) the semantic gap between high-level data types and their raw memory representations obscures sensitive content; and (iii) the transient nature of memory-resident data causes snapshot-based methods to misscritical exposures. We present Android-MRI, an OS-level analysis tool that embeds tracing directly into the Android kernel to detect unintended sensitive data leakage through memory while remaining invisible to application-layer defenses. Android-MRI provides instruction-granular monitoring to track the propagation of sensitive data in memory, surfacing the full context of unintended persistence. In an evaluation of 50 popular apps (≥1M installs), Android-MRI bypassed 97.6% of RASP protections (vs. 52.4% for Frida) and revealed 17 previously unknown memory disclosures. These included leaks of profile PINs, subscription-only content, and cryptographic keys. 12 vendors confirmed the issues; 4 have patched them, and 3 (Netflix, Smule, and Delivery Express) acknowledged them via bug bounty programs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Sensitive APIs: Detecting Access Control Flaws at Sensitive Callsites in Android FirmwarearXiv · 2026
- How Safe Is Your Screen? Understanding and Detecting Privacy Leaks in Sensitive ActivitiesProceedings of the ACM on Software Engineering · 2026
- Secrets Unlocked: Evaluating LLMs for Secrets Detection in Android AppsProceedings of the ACM on Software Engineering · 2026
- Fraudulent Android app detection: a systematic framework based on multi-dimensional behavioral characteristicsCybersecurity · 2026
- A Data-Driven Analysis of Infostealer Malware VictimsarXiv · 2026
- Enhancing android malware detection with retrieval-augmented generationInternational Journal of Information Security · 2026