Exploring Runtime Evolution in Android: A Cross-Version Analysis and Its Implications for Memory Forensics
Preprint
Abstract
Userland memory forensics has become a critical component of smartphone investigations and incident response, enabling the recovery of volatile evidence such as deleted messages from end-to-end encrypted apps and cryptocurrency transactions. However, these forensics tools, particularly on Android, face significant challenges in adapting to different versions and maintaining reliability over time due to the constant evolution of low-level structures critical for evidence recovery and reconstruction. Structural changes, ranging from simple offset modifications to complete architectural redesigns, pose substantial maintenance and adaptability issues for forensic tools that rely on precise structure interpretation. Thus, this paper presents the first systematic study of Android Runtime (ART) structural evolution and its implications for memory forensics. We conduct an empirical analysis of critical Android runtime structures, examining their evolution across six versions for four different architectures. Our findings reveal that over 73.2% of structure members underwent positional changes, significantly affecting the adaptability and reliability of memory forensic tools. Further analysis of core components such as Runtime, Thread, and Heap structures highlights distinct evolution patterns and their impact on critical forensic operations, including thread state enumeration, memory mapping, and object reconstruction. These results demonstrate that traditional approaches relying on static structure definitions and symbol-based methods, while historically reliable, are increasingly unsustainable on their own. We recommend that memory forensic tools in general and Android in particular evolve toward hybrid approaches that retain the validation strength of symbolic methods while integrating automated structure inference, version-aware parsing, and redundant analysis strategies.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- AutoProfile: Towards Automated Profile Generation for Memory AnalysisACM Transactions on Privacy and Security, 2021
- Windows Memory Forensics: Detecting (Un)Intentionally Hidden Injected Code by Examining Page Table EntriesDigital Investigation, 2019
- HookTracer: A System for Automated and Accessible API Hooks AnalysisDigital Investigation, 2019
- Memory forensics and the Windows Subsystem for LinuxDigital Investigation, 2018
- Linux memory forensics: Dissecting the user space process heapDigital Investigation, 2017
- Memory forensics: The path forwardDigital Investigation, 2017
- An adaptive approach for Linux memory analysis based on kernel code reconstructionEURASIP Journal on Information Security, 2016
- Characterization of the windows kernel version variability for accurate memory analysisDigital Investigation, 2015
- Acquisition and analysis of volatile memory from android devicesDigital Investigation, 2011
- FATKit: A framework for the extraction and analysis of digital forensic data from volatile system memoryDigital Investigation, 2006