EaTVul:基于ChatGPT的针对软件漏洞检测的规避攻击
EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detection
AI总结:
本文提出EaTVul方法,结合支持向量机、注意力机制、ChatGPT与模糊遗传算法生成对抗样本,对软件漏洞检测模型实施规避攻击,实验证明其在特定条件下攻击成功率可达100%,凸显了加强防御的必要性。
摘要:
近年来,深度学习在提高漏洞检测准确性和识别软件漏洞方面展现出了可喜的成果。然而,这些技术仍然容易受到攻击。对抗样本可以利用深度神经网络内部的漏洞,对系统安全构成重大威胁。本研究展示了深度学习模型对对抗攻击的易感性,其可以达到100%的攻击成功率(参见表5)。所提出的方法EaTVul包含六个阶段:使用支持向量机识别重要样本;使用注意力机制识别重要特征;基于这些特征利用ChatGPT生成对抗数据;准备对抗攻击池;使用模糊遗传算法选择种子数据;以及执行规避攻击。大量实验证明了EaTVul的有效性,当代码片段大小大于2时,攻击成功率超过83%。此外,在代码片段大小为4的大多数情况下,EaTVul实现了100%的攻击成功率。这项研究的发现强调了在软件漏洞检测中针对对抗攻击采取鲁棒防御的必要性。
英文摘要:
Recently, deep learning has demonstrated promising results in enhancing the accuracy of vulnerability detection and identifying vulnerabilities in software. However, these techniques are still vulnerable to attacks. Adversarial examples can exploit vulnerabilities within deep neural networks, posing a significant threat to system security. This study showcases the susceptibility of deep learning models to adversarial attacks, which can achieve 100% attack success rate (refer to Table 5). The proposed method, EaTVul, encompasses six stages: identification of important samples using support vector machines, identification of important features using the attention mechanism, generation of adversarial data based on these features using ChatGPT, preparation of an adversarial attack pool, selection of seed data using a fuzzy genetic algorithm, and the execution of an evasion attack. Extensive experiments demonstrate the effectiveness of EaTVul, achieving an attack success rate of more than 83% when the snippet size is greater than 2. Furthermore, in most cases with a snippet size of 4, EaTVul achieves a 100% attack success rate. The findings of this research emphasize the necessity of robust defenses against adversarial attacks in software vulnerability detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。