Introduction
Machine learning (ML) has become a cornerstone of Android Malware Detection (AMD), providing automated and scalable defenses against an ever-evolving threat landscape. However, these models are susceptible to adversarial examples—malicious files modified to appear benign while retaining their harmful functionality. While many existing adversarial attacks operate under "white-box" or "gray-box" assumptions (where the attacker has knowledge of the model's features or parameters), real-world scenarios typically present a zero-knowledge environment.
In this setting, attackers face two primary hurdles: a massive search space within complex Android APKs and coarse feedback, often limited to a simple label or confidence score. To address these challenges, researchers from Zhejiang University developed AdvDroidZero, a highly efficient framework designed to bypass state-of-the-art detectors with minimal queries.
The AdvDroidZero Framework
AdvDroidZero overcomes the limitations of zero-knowledge attacks through two core innovations that prioritize semantic intelligence over random trial-and-error.
1. Perturbation Selection Tree
Instead of treating all possible file modifications as equal, AdvDroidZero organizes 492 specific perturbations—such as adding hardware permissions or content provider components—into a hierarchical, semantically-aware tree. By grouping features with similar functions (e.g., hardware-audio and hardware-microphone), the framework can sample paths through the tree, effectively narrowing the "needle in a haystack" search space of an Android application.
2. Semantic-Based Adjustment Policy
This policy acts as the framework's optimization engine. When a modification is queried against a target model, the resulting feedback is used to update the tree's selection probabilities. If a specific perturbation successfully reduces the model's malware confidence score, the policy triggers a "cascading" update, increasing the likelihood of selecting semantically similar modifications. This allows the attacker to rapidly identify and exploit the specific blind spots of a target model.
To ensure the resulting adversarial samples remain functional, AdvDroidZero utilizes Android’s subprocess mechanisms and intent filters. This ensures that the added "benign" components do not interfere with the original malicious payload, maintaining functional consistency.
Experimental Evaluation
The study evaluated AdvDroidZero using a massive dataset of 151,637 applications (sourced from AndroZoo) and a supplementary set of 20,206 modern malware samples from VirusShare (2022). The attack was tested against four state-of-the-art detection methods: Drebin, Drebin-DL, APIGraph, and MaMadroid.
Key Results
- High Success Rates: AdvDroidZero achieved an average Attack Success Rate (ASR) of approximately 90% against mainstream ML-based detectors.
- Extreme Efficiency: The attack is remarkably fast; most successful bypasses required only 15 queries and were completed within 10 minutes. Against the MaMadroid model, 80% of samples were successfully modified in just 6 queries.
- Real-World Impact: When tested against the VirusTotal platform, the attack reduced the number of detecting antivirus (AV) engines by 92% for the majority of samples. It achieved a 100% success rate against specific products from major vendors like McAfee and Symantec.
- Resilience to Defense: Even when facing FD-VAE, a detector specifically designed to be robust against adversarial examples, AdvDroidZero maintained a 77% success rate within 30 queries.
Discussion and Future Work
The success of AdvDroidZero highlights a critical vulnerability in current AMD systems: the Semantic Similarity Hypothesis. Because ML models often group features semantically, an attacker who understands these groupings can generalize from a single query to find multiple points of failure.
However, the framework does have limitations. It currently performs best when provided with a confidence score; if a detector only provides a hard "Malware/Benign" label, the adjustment policy becomes less efficient. Furthermore, while highly effective against static analysis, bypassing hybrid analysis (which combines static and dynamic features) remains a significant challenge for future research. The authors suggest that expanding the Perturbation Selection Tree using Large Language Models (LLMs) could further enhance the attack's reach and sophistication.
Summary updated