EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Shigang, Cao, Di, Kim, Junae, Abraham, Tamas, Montague, Paul, Camtepe, Seyit, Zhang, Jun, Xiang, Yang
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917735404929024
author Liu, Shigang
Cao, Di
Kim, Junae
Abraham, Tamas
Montague, Paul
Camtepe, Seyit
Zhang, Jun
Xiang, Yang
author_facet Liu, Shigang
Cao, Di
Kim, Junae
Abraham, Tamas
Montague, Paul
Camtepe, Seyit
Zhang, Jun
Xiang, Yang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_19216
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detection
Liu, Shigang
Cao, Di
Kim, Junae
Abraham, Tamas
Montague, Paul
Camtepe, Seyit
Zhang, Jun
Xiang, Yang
Cryptography and Security
Artificial Intelligence
Software Engineering
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.
title EaTVul: ChatGPT-based Evasion Attack Against Software Vulnerability Detection
topic Cryptography and Security
Artificial Intelligence
Software Engineering
url https://arxiv.org/abs/2407.19216