Litcius/Paper detail

Enhancing Deep Learning-based Vulnerability Detection by Building Behavior Graph Model

Bin Yuan, Yifan Lu, Yilin Fang, Yueming Wu, Deqing Zou, Zhen Li, Zhi Li, Hai Jin

202320 citationsDOI

Abstract

Software vulnerabilities have posed huge threats to the cyberspace security, and there is an increasing demand for automated vulnerability detection (VD). In recent years, deep learning-based (DL-based) vulnerability detection systems have been proposed for the purpose of automatic feature extraction from source code. Although these methods can achieve ideal performance on synthetic datasets, the accuracy drops a lot when detecting real-world vulnerability datasets. Moreover, these approaches limit their scopes within a single function, being not able to leverage the information between functions. In this paper, we attempt to extract the function's abstract behaviors, figure out the relationships between functions, and use this global information to assist DL-based VD to achieve higher performance. To this end, we build a Behavior Graph Model and use it to design a novel framework, namely VulBG. To examine the ability of our constructed Behavior Graph Model, we choose several existing DL-based VD models (e.g., TextCNN, ASTGRU, CodeBERT, Devign, and VulCNN) as our baseline models and conduct evaluations on two real-world datasets: the balanced <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\text{FFMpeg}+\text{Qemu}$</tex> dataset and the unbalanced <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\text{Chrome} +\text{Debian}$</tex> dataset. Experimental results indicate that VulBG enables all baseline models to detect more real vulnerabilities, thus improving the overall detection performance.

Topics & Concepts

Computer scienceLeverage (statistics)Artificial intelligenceMachine learningCyberspaceGraphVulnerability (computing)Feature engineeringFeature extractionData miningFunction (biology)Deep learningTheoretical computer scienceThe InternetWorld Wide WebComputer securityEvolutionary biologyBiologySoftware Engineering ResearchAdvanced Malware Detection TechniquesSoftware Reliability and Analysis Research
Enhancing Deep Learning-based Vulnerability Detection by Building Behavior Graph Model | Litcius