Skip to main content
QUICK REVIEW

[Paper Review] Android Malware Detection using Deep Learning on API Method Sequences

ElMouatez Billah Karbab, Mourad Debbabi|arXiv (Cornell University)|Dec 25, 2017
Advanced Malware Detection TechniquesComputer Science26 references48 citations
TL;DR

MalDozer is a deep learning-based framework that detects Android malware and attributes it to its family using raw API method call sequences from DEX files. It achieves 96–99% F1-score in detection and 96–98% in family attribution, with low resource overhead enabling deployment on mobile and IoT devices.

ABSTRACT

Android OS experiences a blazing popularity since the last few years. This predominant platform has established itself not only in the mobile world but also in the Internet of Things (IoT) devices. This popularity, however, comes at the expense of security, as it has become a tempting target of malicious apps. Hence, there is an increasing need for sophisticated, automatic, and portable malware detection solutions. In this paper, we propose MalDozer, an automatic Android malware detection and family attribution framework that relies on sequences classification using deep learning techniques. Starting from the raw sequence of the app's API method calls, MalDozer automatically extracts and learns the malicious and the benign patterns from the actual samples to detect Android malware. MalDozer can serve as a ubiquitous malware detection system that is not only deployed on servers, but also on mobile and even IoT devices. We evaluate MalDozer on multiple Android malware datasets ranging from 1K to 33K malware apps, and 38K benign apps. The results show that MalDozer can correctly detect malware and attribute them to their actual families with an F1-Score of 96%-99% and a false positive rate of 0.06%-2%, under all tested datasets and settings.

Motivation & Objective

  • Address the growing threat of Android malware targeting mobile and IoT devices due to the OS's widespread adoption.
  • Develop a malware detection system with high accuracy, low false positive rates, and minimal human intervention.
  • Enable deployment across diverse architectures, including low-power IoT devices, without sacrificing performance.
  • Extend detection beyond binary classification to include malware family attribution for improved threat prioritization.
  • Minimize preprocessing overhead to support lightweight, scalable, and automatic feature extraction from raw DEX-level API sequences.

Proposed method

  • Extract raw sequences of API method calls directly from DEX files without intermediate static analysis or code transformation.
  • Map each API method to a fixed-length, high-dimensional semantic vector to preserve functional meaning.
  • Feed the sequence of embedded vectors into a deep neural network for end-to-end learning of malicious and benign patterns.
  • Use a sequence classification architecture that learns temporal dependencies in API call flows without manual feature engineering.
  • Train the model end-to-end on raw API sequences to automatically discover discriminative patterns for malware detection and family attribution.
  • Optimize model efficiency to support deployment on resource-constrained devices, including IoT platforms.

Experimental results

Research questions

  • RQ1Can a deep learning model trained on raw API method sequences achieve high accuracy in detecting Android malware across diverse datasets?
  • RQ2To what extent can such a model perform malware family attribution with comparable performance to detection?
  • RQ3How efficient is the model in terms of inference time and memory usage across deployment environments from servers to IoT devices?
  • RQ4How does the proposed method compare to existing solutions like MAMADroid in terms of scalability, preprocessing overhead, and robustness?
  • RQ5Can the framework handle new Android APIs and obfuscated malware without requiring manual reconfiguration or feature engineering?

Key findings

  • MalDozer achieves an F1-score of 96–99% in malware detection across multiple datasets, including Malgenome (1K), Drebin (5.5K), and a merged dataset of 33K malware samples.
  • The framework attains an F1-score of 96–98% in malware family attribution, enabling precise threat classification.
  • False positive rates are low, ranging from 0.06% to 2%, even under diverse dataset configurations.
  • MalDozer's inference time is only 5.3 seconds on average on the most resource-constrained IoT device, demonstrating high efficiency.
  • The framework outperforms MAMADroid in deployment flexibility, preprocessing overhead, and robustness, with no failure in processing apps (vs. 4.6% failure rate in MAMADroid).
  • MalDozer requires no manual feature engineering or complex preprocessing, enabling automatic adaptation to new APIs and malware variants.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.