MaMaDroid: Detecting Android Malware by Building Markov Chains of Behavioral Models (Extended Version)
Not on the map. Why?
Abstract (arXiv)
As Android has become increasingly popular, so has malware targeting it, thus pushing the research community to propose different detection techniques. However, the constant evolution of the Android ecosystem, and of malware itself, makes it hard to design robust tools that can operate for long periods of time without the need for modifications or costly re-training. Aiming to address this issue, we set to detect malware from a behavioral point of view, modeled as the sequence of abstracted API calls. We introduce MaMaDroid, a static-analysis based system that abstracts the API calls performed by an app to their class, package, or family, and builds a model from their sequences obtained from the call graph of an app as Markov chains. This ensures that the model is more resilient to API changes and the features set is of manageable size. We evaluate MaMaDroid using a dataset of 8.5K benign and 35.5K malicious apps collected over a period of six years, showing that it effectively detects malware (with up to 0.99 F-measure) and keeps its detection capabilities for long periods of time (up to 0.87 F-measure two years after training). We also show that MaMaDroid remarkably outperforms DroidAPIMiner, a state-of-the-art detection system that relies on the frequency of (raw) API calls. Aiming to assess whether MaMaDroid's effectiveness mainly stems from the API abstraction or from the sequencing modeling, we also evaluate a variant of it that uses frequency (instead of sequences), of abstracted API calls. We find that it is not as accurate, failing to capture maliciousness when trained on malware samples that include API calls that are equally or more frequently used by benign apps.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Nov 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 2; 2024: 0; 2025: 3.
11 papers.
- 2022Markov Chain Monte Carlo-Based Machine Unlearning: Unlearning What Needs to be Forgottencited by 25
- 2021EvadeDroid: A Practical Evasion Attack on Machine Learning for Black-box Android Malware Detectioncited by 13
- 2021DexRay: A Simple, yet Effective Deep Learning Approach to Android Malware Detection based on Image Representation of Bytecodecited by 9
- 2022Fast & Furious: Modelling Malware Detection as Evolving Data Streamscited by 6
- 2023Efficient Concept Drift Handling for Batch Android Malware Detection Modelscited by 5
- 2022Level Up with ML Vulnerability Identification: Leveraging Domain Constraints in Feature Space for Robust Android Malware Detectioncited by 2
- 2023On building machine learning pipelines for Android malware detection: a procedural survey of practices, challenges and opportunitiescited by 1
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detectioncited by 1
- 2022Adversarial Patterns: Building Robust Android Malware Classifierscited by 0
- 2025Enhancing Android Malware Detection with Retrieval-Augmented Generationcited by 0
- 2025DeepTrust: Multi-Step Classification through Dissimilar Adversarial Representations for Robust Android Malware Detectioncited by 0
- 2025DeepTrust: Multi-Step Classification through Dissimilar Adversarial Representations for Robust Android Malware Detection14 Oct 2025
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detection11 Jul 2025
- 2025Enhancing Android Malware Detection with Retrieval-Augmented Generation28 Jun 2025
- 2023Efficient Concept Drift Handling for Batch Android Malware Detection Models18 Sep 2023
- 2023On building machine learning pipelines for Android malware detection: a procedural survey of practices, challenges and opportunities12 Jun 2023
- 2022Level Up with ML Vulnerability Identification: Leveraging Domain Constraints in Feature Space for Robust Android Malware Detection30 May 2022
- 2022Fast & Furious: Modelling Malware Detection as Evolving Data Streams24 May 2022
- 2022Adversarial Patterns: Building Robust Android Malware Classifiers4 Mar 2022
- 2022Markov Chain Monte Carlo-Based Machine Unlearning: Unlearning What Needs to be Forgotten28 Feb 2022
- 2021EvadeDroid: A Practical Evasion Attack on Machine Learning for Black-box Android Malware Detection7 Oct 2021
- 2021DexRay: A Simple, yet Effective Deep Learning Approach to Android Malware Detection based on Image Representation of Bytecode5 Sep 2021