Skip to main content

BANEI: Black-Box Budget-Adaptive Node Evolution Injection Attack Method Against GNN-Based Malware Detection

By
Jiacheng Guo; Hai Liu

Graph Neural Networks (GNNs) have been adopted for malware detection by modeling programs as Control Flow Graphs (CFGs), achieving promising performance. However, these detectors remain vulnerable to adversarial node injection attacks. Existing methods still face notable limitations: (1) They adopt fixed-size injection strategies and thus ignore how CFG scale affects both imperceptibility and attack success; (2) they rely on simplistic centrality heuristics to select target nodes, which often fail to pinpoint structurally vulnerable regions; (3) they typically depend on surrogate models for white-box or gray-box attacks, which poorly reflect realistic black-box settings and frequently suffer from limited transferability. To address these challenges, we propose BANEI, a black-box budget-adaptive node evolution injection attack method. First, we design a budget-adaptive cost predictor that forecasts the required numbers of injected nodes and edges from the target-model and CFG state, enabling adaptive budget allocation. Second, we present a K-Hop Integrated Score Topology Selector (KISTS) that replaces conventional centrality metrics and more accurately identifies structural weak points. Finally, we develop a Low-Rank Evolutionary Strategy Optimizer (LRESO). It uses only the target model’s prediction probabilities to guide semantics-preserving node injection. Extensive experiments across seven GNN detectors show that, under the same black-box setting, BANEI consistently outperforms the two black-box baselines and, in most cases, surpasses white-box attacks used only as a reference. In particular, on GraphSAGE, BANEI achieves an 81.04% evasion rate under a strict 1% perturbation limit, significantly exceeding the 32.01% attained by the strongest black-box baseline.

Read on IEEE Xplore