Unveiling the Fragility of Binary Code Similarity Detection via Targeted Attacks with Model Explanations
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, failing to operate on a solid theoretical basis. 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 the superior capability of black-box, model-agnostic explainers in interpreting the model decision boundaries, thereby pinpointing the critical code snippet to apply semantic-preserving perturbations. The evaluation results demonstrate that compared with the state-of-the-art attacks, the proposed attacks achieve higher attack success rate in almost all scenarios, while also improving the efficiency and transferability. Our real-world case studies on vulnerability detection and classification further demonstrate the security implications of our attacks, highlighting fundamental vulnerabilities in current BCSD models, and the urgent need for more robust designs.
Tue 7 JulDisplayed time zone: Eastern Time (US & Canada) change
16:00 - 17:20 | Offensive securityResearch Papers / Industry Papers at MB 3.430 Chair(s): Kevin Leach Vanderbilt University | ||
16:00 20mTalk | PoCGen: Generating Proof-of-Concept Exploits for Vulnerabilities in Npm Packages Research Papers Deniz Simsek University of Stuttgart, Aryaz Eghbali CISPA Helmholtz Center for Information Security, Germany, Michael Pradel CISPA Helmholtz Center for Information Security Pre-print | ||
16:20 20mTalk | Exorcist: Enabling Atomic-Level Runtime Detection of Spectre Attacks Using Precise Event Based Sampling Research Papers Hao Jia Xidian University, Haoyu Ma Beijing Jiaotong University, Changfeng Ding Xidian University, Jinku Li Xidian University | ||
16:40 20mTalk | Unveiling the Fragility of Binary Code Similarity Detection via Targeted Attacks with Model Explanations Research Papers Mingjie Chen Zhejiang University, Tiancheng Zhu Huazhong University of Science and Technology, Mingxue Zhang Zhejiang University, Yiling He University College London, Minghao Lin Independent Researcher, Penghui Li Columbia University, Kui Ren The State Key Laboratory of Blockchain and Data Security, Zhejiang University | ||
17:00 20mTalk | AVDA: Autonomous Vibe Detection Authoring for Cybersecurity Industry Papers Muhammed Fatih Bulut Microsoft, Carlo DePaolis Microsoft, Raghav Batta Microsoft, Anjali Mangal Microsoft | ||