EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Unveiling the Fragility of Binary Code Similarity Detection via Targeted Attacks with Model Explanations

Mingjie Chen, Tiancheng Zhu, Mingxue Zhang, Yiling He, Minghao Lin, Penghui Li, Kui Ren

Proceedings of the ACM on Software Engineering · 30.06.2026 · 3 (FSE) · 4116-4139

DOI: 10.1145/3808188 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 30.06.2026. Verfasst von Mingjie Chen und 6 weiteren Autor:innen. Die Arbeit nennt 70 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China, Fundamental Research Funds for the Central Universities.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Binary code similarity detection (BCSD) serves as a fundamental technique for various software engineering tasks, e.g., vulnerability detection and classification. Attacks against such BCSD models have therefore drawn extensive attention, aiming at misleading the models to generate erroneous predictions. Prior works have explored various approaches to generating semantic-preserving variants, i.e., adversarial samples, to evaluate the robustness of the models against adversarial attacks. However, they have mainly relied on heuristic criteria or iterative greedy algorithms to locate salient code influencing the model output, which often leads to inefficient search and high computational cost. Moreover, when processing programs with high complexities, such attacks tend to be time-consuming. In this work, we unveil the fragility of BCSD models through a novel attack framework guided by model explanations. In particular, we focus on targeted attacks where the attack goal is to mislead the model’s predictions to a specific target. Our attack leverages explainers to pinpoint critical code snippet for perturbations, reducing the exploration overhead. The evaluation results demonstrate that the proposed attacks effectively improve the attack efficiency, while maintaining comparable or higher success rates. Importantly, the speedup for perturbation target selection achieves up to 63.66×, demonstrating the practical value of explanation-guided localization. Our real-world case studies on vulnerability detection and classification further demonstrate the security implications of our attacks, highlighting fundamental robustness limitations in current BCSD models, and the urgent need for more robust designs.

Förderung

  • National Natural Science Foundation of China
  • Fundamental Research Funds for the Central Universities

Zitieren

APA

Chen, M., Zhu, T., Zhang, M., He, Y., Lin, M., Li, P., & Ren, K. (2026). Unveiling the Fragility of Binary Code Similarity Detection via Targeted Attacks with Model Explanations. Proceedings of the ACM on Software Engineering, 3(FSE), 4116-4139. https://doi.org/10.1145/3808188

Vancouver

Chen M, Zhu T, Zhang M, He Y, Lin M, Li P, et al. Unveiling the Fragility of Binary Code Similarity Detection via Targeted Attacks with Model Explanations. Proceedings of the ACM on Software Engineering. 2026;3(FSE):4116-4139. doi:10.1145/3808188

BibTeX
@article{Chen2026,
  author = {Chen, Mingjie and Zhu, Tiancheng and Zhang, Mingxue and He, Yiling and Lin, Minghao and Li, Penghui and Ren, Kui},
  title = {Unveiling the Fragility of Binary Code Similarity Detection via Targeted Attacks with Model Explanations},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {4116--4139},
  doi = {10.1145/3808188}
}
Kostenlos starten →