Skip to main content
QUICK REVIEW

[Paper Review] Context-aware, Adaptive and Scalable Android Malware Detection through Online Learning (extended version)

A. Sankara Narayanan, Mahinthan Chandramohan|arXiv (Cornell University)|Jun 3, 2017
Advanced Malware Detection TechniquesComputer Science38 references7 citations
TL;DR

This paper proposes Casandra, a context-aware, adaptive, and scalable online learning framework for Android malware detection that uses a novel graph kernel to capture security-sensitive behaviors and contextual dependencies in program dependency graphs. It achieves 99.23% F-measure on a benchmark dataset and 89.92% accuracy on real-world apps, outperforming state-of-the-art methods by over 25% in batch learning and 7% in continuous retention settings.

ABSTRACT

It is well-known that Android malware constantly evolves so as to evade detection. This causes the entire malware population to be non-stationary. Contrary to this fact, most of the prior works on Machine Learning based Android malware detection have assumed that the distribution of the observed malware characteristics (i.e., features) does not change over time. In this work, we address the problem of malware population drift and propose a novel online learning based framework to detect malware, named CASANDRA (Contextaware, Adaptive and Scalable ANDRoid mAlware detector). In order to perform accurate detection, a novel graph kernel that facilitates capturing apps' security-sensitive behaviors along with their context information from dependency graphs is proposed. Besides being accurate and scalable, CASANDRA has specific advantages: i) being adaptive to the evolution in malware features over time ii) explaining the significant features that led to an app's classification as being malicious or benign. In a large-scale comparative analysis, CASANDRA outperforms two state-of-the-art techniques on a benchmark dataset achieving 99.23% F-measure. When evaluated with more than 87,000 apps collected in-the-wild, CASANDRA achieves 89.92% accuracy, outperforming existing techniques by more than 25% in their typical batch learning setting and more than 7% when they are continuously retained, while maintaining comparable efficiency.

Motivation & Objective

  • Address the challenge of non-stationary malware populations due to continuous evolution and feature drift in Android malware.
  • Overcome the limitations of batch-learning models that assume static data distributions and fail to adapt to evolving malware characteristics.
  • Develop a scalable and explainable malware detection system that maintains high accuracy over time despite concept drift.
  • Integrate contextual information from program dependency graphs to improve detection of semantic malware behaviors resistant to syntactic obfuscation.
  • Enable real-time, adaptive learning to continuously update the model with new malware samples without retraining from scratch.

Proposed method

  • Propose a novel context-aware weighted graph kernel (CWLK) that extends the Weisfeiler-Lehman kernel by incorporating contextual neighborhood label sequences from program dependency graphs.
  • Use explicit feature mapping to represent graphs as vectors, enabling efficient computation and explainability through feature importance analysis.
  • Apply online learning to continuously update the classifier as new malware samples arrive, adapting to concept drift without retraining on the full historical dataset.
  • Leverage program representation graphs (PRGs) such as control-, data-, and program-dependency graphs to capture semantic behaviors resilient to code obfuscation.
  • Integrate a vocabulary-based feature extraction mechanism to identify and rank the most significant sub-structures (e.g., API call sequences) contributing to malicious classification.
  • Combine the CWLK kernel with a kernel-based classifier (e.g., SVM) to perform graph classification in an online, incremental manner.

Experimental results

Research questions

  • RQ1How can a malware detection system effectively adapt to the non-stationary nature of evolving Android malware populations?
  • RQ2To what extent does incorporating contextual information from program dependency graphs improve detection accuracy compared to standard graph kernels?
  • RQ3Can an online learning framework maintain high detection performance over time while handling large-scale, real-world app streams?
  • RQ4How does the proposed context-aware graph kernel compare to existing graph kernels in terms of scalability, accuracy, and explainability?
  • RQ5What is the impact of continuous model updates on detection performance in the presence of concept drift?

Key findings

  • Casandra achieves a 99.23% F-measure on a benchmark dataset, outperforming two state-of-the-art batch-learning techniques.
  • On a real-world dataset of over 87,000 in-the-wild Android apps, Casandra achieves 89.92% accuracy, surpassing existing methods by more than 25% in standard batch learning settings.
  • When existing methods are adapted to continuous retention (i.e., retraining with new data), Casandra still outperforms them by over 7% in accuracy.
  • The proposed context-aware graph kernel (CWLK) enables explainable detection by identifying and ranking the most significant contextual feature sequences responsible for classification decisions.
  • The framework maintains high computational efficiency with a time complexity of O(he) per iteration, matching that of the standard Weisfeiler-Lehman kernel, ensuring scalability to large-scale app repositories.
  • The use of explicit feature mapping in CWLK supports both scalability and interpretability, enabling feature-level analysis of malware behavior patterns.

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.