MaMaDroid: Detecting Android Malware by Building Markov Chains of Behavioral Models (Extended Version)

by   Lucky Onwuzurike, et al.

As Android becomes increasingly popular, so does malware targeting it, this motivating the research community to propose many 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 app's API calls 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 improves over 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 including API calls that are equally or more frequently used by benign apps.


A Family of Droids: Analyzing Behavioral Model based Android Malware Detection via Static and Dynamic Analysis

As smartphones play an increasingly central role in our everyday lives, ...

Android Malware Detection using Deep Learning on API Method Sequences

Android OS experiences a blazing popularity since the last few years. Th...

apk2vec: Semi-supervised multi-view representation learning for profiling Android applications

Building behavior profiles of Android applications (apps) with holistic,...

Learning Malware Representation based on Execution Sequences

Malware analysis has been extensively investigated as the number and typ...

Longitudinal Characterization and Sustainable Classification of Android Apps via SAD Profiles

Machine learning-based malware detection dominates current security defe...

Similarity-based Android Malware Detection Using Hamming Distance of Static Binary Features

In this paper, we develop four malware detection methods using Hamming d...

MaMaDroid2.0 – The Holes of Control Flow Graphs

Android malware is a continuously expanding threat to billions of mobile...

Please sign up or login with your details

Forgot password? Click here to reset