[Paper Review] Black-box Adversarial Example Attack towards FCG Based Android Malware Detection under Incomplete Feature Information
This paper proposes BagAmmo, a black-box adversarial attack targeting function call graph (FCG)-based Android malware detection under incomplete feature information. It uses a GAN with multi-population co-evolution (Apoem) to generate perturbations by inserting 'never-executed' function calls via try-catch traps, preserving malware functionality while evading detection with a 99.9% average success rate across multiple models.
The function call graph (FCG) based Android malware detection methods have recently attracted increasing attention due to their promising performance. However, these methods are susceptible to adversarial examples (AEs). In this paper, we design a novel black-box AE attack towards the FCG based malware detection system, called BagAmmo. To mislead its target system, BagAmmo purposefully perturbs the FCG feature of malware through inserting "never-executed" function calls into malware code. The main challenges are two-fold. First, the malware functionality should not be changed by adversarial perturbation. Second, the information of the target system (e.g., the graph feature granularity and the output probabilities) is absent. To preserve malware functionality, BagAmmo employs the try-catch trap to insert function calls to perturb the FCG of malware. Without the knowledge about feature granularity and output probabilities, BagAmmo adopts the architecture of generative adversarial network (GAN), and leverages a multi-population co-evolution algorithm (i.e., Apoem) to generate the desired perturbation. Every population in Apoem represents a possible feature granularity, and the real feature granularity can be achieved when Apoem converges. Through extensive experiments on over 44k Android apps and 32 target models, we evaluate the effectiveness, efficiency and resilience of BagAmmo. BagAmmo achieves an average attack success rate of over 99.9% on MaMaDroid, APIGraph and GCN, and still performs well in the scenario of concept drift and data imbalance. Moreover, BagAmmo outperforms the state-of-the-art attack SRL in attack success rate.
Motivation & Objective
- To address the challenge of generating effective black-box adversarial examples against FCG-based Android malware detection systems under incomplete feature information.
- To preserve malware functionality while perturbing the FCG feature to evade detection.
- To overcome the lack of knowledge about target system architecture, feature granularity, and output probabilities.
- To develop a method that operates solely in the problem space (malware code) while inducing desired changes in the feature space (FCG embedding).
- To evaluate robustness against concept drift and data imbalance in real-world detection scenarios.
Proposed method
- BagAmmo employs a try-catch trap mechanism to insert 'never-executed' function calls into malware code, ensuring functionality preservation.
- It uses a generative adversarial network (GAN) with a generator that evolves candidate perturbations in the problem space.
- A multi-population co-evolution algorithm (Apoem) is used to explore different FCG feature granularities (e.g., class, package, family level) simultaneously.
- Each population in Apoem represents a candidate feature granularity, and convergence identifies the real target granularity.
- The generator is trained to produce perturbations that mislead the target classifier while maintaining semantic equivalence in runtime behavior.
- The method operates under a strict black-box setting with no access to model architecture, parameters, or output probabilities.
Experimental results
Research questions
- RQ1Can adversarial perturbations be effectively generated in a black-box setting where the target model's feature granularity and output probabilities are unknown?
- RQ2How can malware functionality be preserved while modifying the FCG through code-level insertions?
- RQ3To what extent can a GAN-based approach with co-evolutionary optimization achieve high evasion success without prior knowledge of the target system?
- RQ4How does the attack perform under real-world conditions such as concept drift and data imbalance?
- RQ5Can the attack be detected via static analysis heuristics like try-catch block counting?
Key findings
- BagAmmo achieves an average attack success rate of over 99.9% on MaMaDroid, APIGraph, and GCN models under black-box conditions.
- The method maintains malware functionality, as confirmed by dynamic analysis showing identical runtime behavior and UI between original and perturbed samples.
- No inserted function calls were executed in 50 tested APKs, confirming that the perturbations are semantically inert and do not alter behavior.
- The attack remains effective under concept drift and data imbalance, demonstrating robustness in real-world deployment scenarios.
- The attack outperforms the state-of-the-art SRL method in attack success rate.
- Try-catch block-based detection is ineffective due to the low and variable number of inserted blocks, leading to high false positive or negative rates.
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.