[Paper Review] Adaptive and Scalable Android Malware Detection through Online Learning
This paper proposes DroidOL, an online learning-based Android malware detection framework that adapts to evolving malware through continuous model updates using inter-procedural control-flow graph features and a passive-aggressive classifier. It achieves 84.29% accuracy, outperforming state-of-the-art batch methods by over 20% in typical settings and demonstrating superior adaptability to population drift and scalability.
It is well-known that malware constantly evolves so as to evade detection and this causes the entire malware population to be non-stationary. Contrary to this fact, prior works on machine learning based Android malware detection have assumed that the distribution of the observed malware characteristics (i.e., features) do not change over time. In this work, we address the problem of malware population drift and propose a novel online machine learning based framework, named DroidOL to handle it and effectively detect malware. In order to perform accurate detection, security-sensitive behaviors are captured from apps in the form of inter-procedural control-flow sub-graph features using a state-of-the-art graph kernel. In order to perform scalable detection and to adapt to the drift and evolution in malware population, an online passive-aggressive classifier is used. In a large-scale comparative analysis with more than 87,000 apps, DroidOL achieves 84.29% accuracy outperforming two state-of-the-art malware techniques by more than 20% in their typical batch learning setting and more than 3% when they are continuously re-trained. Our experimental findings strongly indicate that online learning based approaches are highly suitable for real-world malware detection.
Motivation & Objective
- Address the challenge of malware population drift, where evolving malware characteristics invalidate static batch-trained models.
- Overcome scalability limitations of batch learning in large-scale Android malware detection due to high data volume and frequent retraining needs.
- Develop a real-time, adaptive detection system that continuously updates its model with new samples to maintain high detection accuracy.
- Demonstrate that online learning is more effective than batch learning for practical, large-scale malware detection in dynamic environments.
Proposed method
- Extract security-sensitive features from Android apps using inter-procedural control-flow sub-graphs (ICFGs) to capture behavioral semantics.
- Apply the Weisfeiler-Lehman (WL) graph kernel to transform ICFGs into explicit, high-dimensional feature vectors for machine learning.
- Employ an online passive-aggressive classifier that updates incrementally upon each new labeled sample, enabling continuous adaptation to feature drift.
- Maintain long-term memory of past malware patterns by processing all historical data sequentially, simulating an effectively infinite batch size.
- Use a streaming, incremental learning approach where model parameters are updated after each new app is analyzed, ensuring low-latency detection.
- Evaluate the framework on a real-world dataset of over 87,000 apps, comparing performance against two state-of-the-art batch-learning methods.
Experimental results
Research questions
- RQ1Can online learning effectively handle the non-stationary nature of evolving Android malware populations?
- RQ2How does the performance of online learning compare to batch learning in terms of accuracy and adaptability over time?
- RQ3To what extent do fast retraining and long-term memory impact detection accuracy in the presence of polymorphic and long-lived malware families?
- RQ4Can graph kernel-based structural features from ICFGs improve robustness against obfuscation and evasion techniques in malware?
Key findings
- DroidOL achieves 84.29% detection accuracy on a real-world dataset of over 87,000 Android apps, significantly outperforming two state-of-the-art batch-learning methods by more than 20% in their standard batch-learning configuration.
- When retrained daily, the batch-learning baselines improve but still fall short of DroidOL’s performance, which exceeds them by over 3% even under continuous retraining.
- Nearly 80% of malware samples in the Drebin 5K dataset have a minimum variant delay of zero days, indicating rapid polymorphic release patterns that necessitate daily or continuous model updates.
- More than 40% of malware families exhibit maximum variant delays exceeding one year, highlighting the need for long-term memory in detection models to capture evolving behaviors.
- Online learning inherently supports long-term memory and continuous adaptation, enabling effective detection without the computational burden of large batch retraining.
- The results confirm that online learning is better suited than batch learning for large-scale, real-world Android malware detection due to its adaptability and scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.