VulHunter: An Automated Vulnerability Detection System Based on Deep Learning and Bytecode

被引:8
|
作者
Guo, Ning [1 ]
Li, Xiaoyong [1 ]
Yin, Hui [2 ]
Gao, Yali [1 ]
机构
[1] Minist Educ, Key Lab Trustworthy Distributed Comp & Serv BUPT, Beijing, Peoples R China
[2] Shandong Univ Sci & Technol, Coll Comp Sci & Engn, Qingdao, Peoples R China
基金
国家重点研发计划;
关键词
Vulnerability detection; Deep learning; Bytecode;
D O I
10.1007/978-3-030-41579-2_12
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The automatic detection of software vulnerability is undoubtedly an important research problem. However, existing solutions heavily rely on human experts to extract features and many security vulnerabilities may be missed (i.e., high false negative rate). In this paper, we propose a deep learning and bytecode based vulnerability detection system called Vulnerability Hunter (VulHunter) to relieve human experts from the tedious and subjective task of manually defining features. To the best of knowledge, we are the first to leverage bytecode features to represent vulnerabilities. VulHunter uses the bytecode, which is the intermediate representation output by the source code, as input to the neural networks and then calculate the similarity between the target program and vulnerability templates to determine whether it is vulnerable. We detect SQL injection and Cross Site Scripting (XSS) vulnerabilities in PHP software to evaluate the effectiveness of VulHunter. Experimental results show that VulHunter achieves more than 88% (SQL injection) and 95% (XSS) Fl-measure when detecting a single type of vulnerability, as well as more than 90% Fl-measure when detecting mixed types of vulnerabilities. In addition, VulHunter has lower false positive rate (FPR) and false negative rate (FNR) than existing approaches or tools. In practice, we apply VulHunter to three real PHP software (SEACMS, ZZCMS and CMS Made Simple) and detect five vulnerabilities in which three have not been disclosed before.
引用
收藏
页码:199 / 218
页数:20
相关论文
共 50 条
  • [1] Smart Contract Vulnerability Detection Using Deep Learning Algorithms on EVM bytecode
    Prifti, Lejdi
    Cico, Betim
    Karras, Dimitrios
    2024 13TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING, MECO 2024, 2024, : 223 - 229
  • [2] VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
    Li, Zhen
    Zou, Deqing
    Xu, Shouhuai
    Ou, Xinyu
    Jin, Hai
    Wang, Sujuan
    Deng, Zhijun
    Zhong, Yuyi
    25TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2018), 2018,
  • [3] μVulDeePecker: A Deep Learning-Based System for Multiclass Vulnerability Detection
    Zou, Deqing
    Wang, Sujuan
    Xu, Shouhuai
    Li, Zhen
    Jin, Hai
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2021, 18 (05) : 2224 - 2236
  • [4] A Comparative Study of Deep Learning-Based Vulnerability Detection System
    Li, Zhen
    Zou, Deqing
    Tang, Jing
    Zhang, Zhihao
    Sun, Mingqian
    Jin, Hai
    IEEE ACCESS, 2019, 7 : 103184 - 103197
  • [5] AutoVAS: An automated vulnerability analysis system with a deep learning approach
    Jeon, Sanghoon
    Kim, Huy Kang
    COMPUTERS & SECURITY, 2021, 106
  • [6] Automated Vulnerability Detection in Source Code Using Deep Representation Learning
    Russell, Rebecca L.
    Kim, Louis
    Hamilton, Lei H.
    Lazovich, Tomo
    Harer, Jacob A.
    Ozdemir, Onur
    Ellingwood, Paul M.
    McConley, Marc W.
    2018 17TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA), 2018, : 757 - 762
  • [7] Smart contract vulnerability detection based on a bytecode critical path
    Yin, Guisheng
    Gao, Le
    Zhuang, Yuan
    Li, Jun
    Harbin Gongcheng Daxue Xuebao/Journal of Harbin Engineering University, 2022, 43 (02): : 255 - 261
  • [8] Deep Learning Based Vulnerability Detection: Are We There Yet?
    Chakraborty, Saikat
    Krishna, Rahul
    Ding, Yangruibo
    Ray, Baishakhi
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (09) : 3280 - 3296
  • [9] Vulnerability Detection with Deep Learning
    Wu, Fang
    Wang, Jigang
    Liu, Jiqiang
    Wang, Wei
    PROCEEDINGS OF 2017 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATIONS (ICCC), 2017, : 1298 - 1302
  • [10] A Deep Learning Based Automated Structural Defect Detection System for Sewer Pipelines
    Kumar, Srinath S.
    Abraham, Dulcy M.
    COMPUTING IN CIVIL ENGINEERING 2019: SMART CITIES, SUSTAINABILITY, AND RESILIENCE, 2019, : 226 - 233