[Paper Review] EvadeDroid: A Practical Evasion Attack on Machine Learning for Black-box Android Malware Detection
EvadeDroid is a query-efficient, problem-space adversarial evasion attack that generates real-world Android malware variants capable of evading black-box machine learning-based malware detectors. By leveraging n-gram-based similarity to identify benign donor apps and iteratively applying optimized, executable transformations, it achieves 80–95% evasion rates across diverse detectors with only 1–9 queries, while maintaining stealth against commercial antivirus engines.
Over the last decade, researchers have extensively explored the vulnerabilities of Android malware detectors to adversarial examples through the development of evasion attacks; however, the practicality of these attacks in real-world scenarios remains arguable. The majority of studies have assumed attackers know the details of the target classifiers used for malware detection, while in reality, malicious actors have limited access to the target classifiers. This paper introduces EvadeDroid, a problem-space adversarial attack designed to effectively evade black-box Android malware detectors in real-world scenarios. EvadeDroid constructs a collection of problem-space transformations derived from benign donors that share opcode-level similarity with malware apps by leveraging an n-gram-based approach. These transformations are then used to morph malware instances into benign ones via an iterative and incremental manipulation strategy. The proposed manipulation technique is a query-efficient optimization algorithm that can find and inject optimal sequences of transformations into malware apps. Our empirical evaluations, carried out on 1K malware apps, demonstrate the effectiveness of our approach in generating real-world adversarial examples in both soft- and hard-label settings. Our findings reveal that EvadeDroid can effectively deceive diverse malware detectors that utilize different features with various feature types. Specifically, EvadeDroid achieves evasion rates of 80%-95% against DREBIN, Sec-SVM, ADE-MA, MaMaDroid, and Opcode-SVM with only 1-9 queries. Furthermore, we show that the proposed problem-space adversarial attack is able to preserve its stealthiness against five popular commercial antiviruses with an average of 79% evasion rate, thus demonstrating its feasibility in the real world.
Motivation & Objective
- To address the gap in practical evasion attacks on black-box Android malware detectors, where attackers lack knowledge of the target classifier.
- To develop a method that operates directly in the problem space (i.e., on actual APKs) rather than feature space, ensuring executable and functional adversarial malware.
- To minimize query cost and manipulation overhead while preserving malware functionality and evading both academic and commercial detectors.
- To evaluate the robustness and reusability of adversarial examples across diverse malware detection systems using different classifiers and feature types.
- To demonstrate real-world feasibility by evading both academic and commercial antivirus solutions with minimal detectability.
Proposed method
- EvadeDroid constructs a set of problem-space transformations by identifying benign donor apps with high opcode-level similarity to target malware using an n-gram-based approach.
- It employs an iterative, incremental manipulation strategy to morph malware into benign-looking variants by injecting sequences of transformations that preserve functionality.
- A query-efficient optimization algorithm (formulated as an optimization problem in Algorithm 1) selects and applies optimal transformation sequences based on feedback from the target detector.
- The method focuses on transformations that modify Dalvik bytecode and app features (e.g., permissions, opcodes) without breaking the app’s malicious payload or triggering static analysis heuristics.
- It leverages program slicing to identify and extract 'organs' (code segments) for transformation, with the goal of minimizing size increase and maintaining stealth.
- The attack operates under a zero-knowledge assumption, requiring only label feedback (e.g., benign/malicious) from the black-box detector, not model weights or architecture.
Experimental results
Research questions
- RQ1Can a problem-space adversarial attack effectively evade black-box Android malware detectors with minimal query usage?
- RQ2Can such an attack preserve the malicious functionality of malware while evading both academic and commercial antivirus engines?
- RQ3How effective is the attack across diverse malware detectors using different classifiers (linear vs. non-linear) and feature types (syntax, opcode, semantic)?
- RQ4To what extent do the generated adversarial examples generalize across different detectors, indicating reusability?
- RQ5Can the attack maintain stealth by avoiding detection through size increase or behavioral anomalies?
Key findings
- EvadeDroid achieves evasion rates of 80–95% against five academic malware detectors (DREBIN, Sec-SVM, ADE-MA, MaMaDroid, Opcode-SVM) using only 1–9 queries in both soft- and hard-label settings.
- The attack maintains an average evasion rate of 79% against five commercial antivirus engines, demonstrating real-world stealth and feasibility.
- Adversarial examples generated for one detector show high reusability, successfully evading multiple other detectors, indicating strong generalization across different models.
- The method is robust across diverse feature types—discrete (permissions) and continuous (opcode sequences)—and classifier types, including gradient-based and non-gradient-based models.
- The attack significantly reduces query cost and manipulation overhead compared to prior methods, enabling efficient, autonomous generation of adversarial malware.
- Despite some increase in payload size, the attack remains effective even for small malware apps, though larger size increases may raise suspicion in high-traffic scenarios.
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.