On the effectiveness of memory analysis in revealing maliciousness in android applications

Nowadays, Android malware has gained attention due to its ability to infect widely used mobile devices. Typically, current detection approaches rely on static and dynamic techniques to extract several kinds of features, to learn and identify common malicious patterns. However, modern Android malware often exhibits anti-analysis techniques (e.g., obfuscation, environmental checks, and runtime loading) hindering its full identification. To address this problem, we propose RAMimgDroid to analyse and detect malware as soon as it is loaded in memory. Furthermore, RAMimgDroid identifies and presents the analyst with relevant artifacts (e.g. variable declaration with their runtime content, encryption keys), useful to understand the runtime behavior. In detail, we extract the volatile memory allocated by the target process at application startup time. Subsequently, we encode the resulting dump as a 2D/1D RGB/grayscale image and feed it to a CNN for fast detection and identification of the most influential patterns (i.e. pixels and, subsequently, bytes of the dumped RAM). We test RAMimgDroid with 2073 Android malware and 2279 benign samples, assessing the effectiveness of various pre-trained and custom CNNs. Our results demonstrate that RAMimgDroid improves the detection of stealthy Android malware evading traditional detection methods (e.g. obfuscated or with anti-decompilation and environmental checks). Additional experiments on memory dumps acquired later in the malware execution show that RAMimgDroid remains effective even when malware behavior evolves over time (e.g. the malicious routine appears after a time of execution, not immediately at application startup). Moreover, we developed RAMstrDroid to extract the readable UTF-8 characters in the meaningful artifacts from the memory dump, interpreted as Indicator of Compromise (IoC), and compared with popular state-of-the-art tools i.e. VirusTotal and MobSF. The current implementation requires a rooted Android device or emulator and is limited to offline analysis because memory acquisition and image conversion remain too resource-intensive for continuous on-device monitoring.

Authors

Institutions

Publication Details

Journal
Journal of Information Security and Applications
Published
2026-09-18
DOI
https://doi.org/10.1016/j.jisa.2026.104632
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

On the effectiveness of memory analysis in revealing maliciousness in android applications

Davide Maiorca, Leonardo Regano, Giorgio Giacinto, Silvia Lucia Sanna
Journal of Information Security and Applications
Advanced Malware Detection Techniques
article

On the effectiveness of memory analysis in revealing maliciousness in android applications

Davide Maiorca, Leonardo Regano, Giorgio Giacinto, Silvia Lucia Sanna
article en

Abstract

Nowadays, Android malware has gained attention due to its ability to infect widely used mobile devices. Typically, current detection approaches rely on static and dynamic techniques to extract several kinds of features, to learn and identify common malicious patterns. However, modern Android malware often exhibits anti-analysis techniques (e.g., obfuscation, environmental checks, and runtime loading) hindering its full identification. To address this problem, we propose RAMimgDroid to analyse and detect malware as soon as it is loaded in memory. Furthermore, RAMimgDroid identifies and presents the analyst with relevant artifacts (e.g. variable declaration with their runtime content, encryption keys), useful to understand the runtime behavior. In detail, we extract the volatile memory allocated by the target process at application startup time. Subsequently, we encode the resulting dump as a 2D/1D RGB/grayscale image and feed it to a CNN for fast detection and identification of the most influential patterns (i.e. pixels and, subsequently, bytes of the dumped RAM). We test RAMimgDroid with 2073 Android malware and 2279 benign samples, assessing the effectiveness of various pre-trained and custom CNNs. Our results demonstrate that RAMimgDroid improves the detection of stealthy Android malware evading traditional detection methods (e.g. obfuscated or with anti-decompilation and environmental checks). Additional experiments on memory dumps acquired later in the malware execution show that RAMimgDroid remains effective even when malware behavior evolves over time (e.g. the malicious routine appears after a time of execution, not immediately at application startup). Moreover, we developed RAMstrDroid to extract the readable UTF-8 characters in the meaningful artifacts from the memory dump, interpreted as Indicator of Compromise (IoC), and compared with popular state-of-the-art tools i.e. VirusTotal and MobSF. The current implementation requires a rooted Android device or emulator and is limited to offline analysis because memory acquisition and image conversion remain too resource-intensive for continuous on-device monitoring.

Journal of Information Security and ApplicationsVol. 103
University of Cagliari (IT), Consorzio Interuniversitario Nazionale per l'Informatica (IT)
Sapienza Università di Roma
Openalex Percentile: Top 10%
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.