Vulnerability Detection with Fine-Grained Interpretations

被引:129
|
作者
Li, Yi [1 ]
Wang, Shaohua [1 ]
Nguyen, Tien N. [2 ]
机构
[1] New Jersey Inst Technol, Newark, NJ 07102 USA
[2] Univ Texas Dallas, Richardson, TX 75083 USA
基金
美国国家科学基金会;
关键词
Vulnerability Detection; Deep Learning; Intelligence Assistant; Explainable AI (XAI); Interpretable AI;
D O I
10.1145/3468264.3468597
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Despite the successes of machine learning (ML) and deep learning (DL) based vulnerability detectors (VD), they are limited to providing only the decision on whether a given code is vulnerable or not, without details on what part of the code is relevant to the detected vulnerability. We present IVDETECT, an interpretable vulnerability detector with the philosophy of using Artificial Intelligence (AI) to detect vulnerabilities, while using Intelligence Assistant (IA) to provide VD interpretations in terms of vulnerable statements. For vulnerability detection, we separately consider the vulnerable statements and their surrounding contexts via data and control dependencies. This allows our model better discriminate vulnerable statements than using the mixture of vulnerable code and contextual code as in existing approaches. In addition to the coarse-grained vulnerability detection result, we leverage interpretable AI to provide users with fine-grained interpretations that include the sub-graph in the Program Dependency Graph (PDG) with the crucial statements that are relevant to the detected vulnerability. Our empirical evaluation on vulnerability databases shows that IVDETECT outperforms the existing DL-based approaches by 43%-84% and 105%-255% in top-10 nDCG and MAP ranking scores. IVDETECT correctly points out the vulnerable statements relevant to the vulnerability via its interpretation in 67% of the cases with a top-5 ranked list. IVDETECT improves over the baseline interpretation models by 12.3%-400% and 9%-400% in accuracy.
引用
收藏
页码:292 / 303
页数:12
相关论文
共 50 条
  • [31] A Fine-Grained Analysis of Radar Detection in Vehicular Networks
    Ghatak, Gourab
    Kalamkar, Sanket S.
    Gupta, Yash
    Sharma, Shubhi
    2021 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2021,
  • [32] FINE-GRAINED MONOLITH
    Louw, Michael
    ARCHITECTURE SOUTH AFRICA, 2019, (96): : 48 - 49
  • [33] Is fine-grained viable?
    Aaldering, M
    EDN, 1997, 42 (02) : 28 - 28
  • [34] Hierarchical Fine-Grained Image Forgery Detection and Localization
    Guo, Xiao
    Liu, Xiaohong
    Ren, Zhiyuan
    Grosz, Steven
    Masi, Iacopo
    Liu, Xiaoming
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR, 2023, : 3155 - 3165
  • [35] NumClaim: Investor's Fine-grained Claim Detection
    Chen, Chung-Chi
    Huang, Hen-Hsen
    Chen, Hsin-Hsi
    CIKM '20: PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, 2020, : 1973 - 1976
  • [36] A Method of Pedestrian Fine-grained Attribute Detection and Recognition
    Ma, Xianqin
    Yu, Chongchong
    Yang, Xin
    Chen, Xiuxin
    Chen, Jianzhang
    Zhou, Lan
    2019 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2019,
  • [37] Android Malware Detection Using Fine-Grained Features
    Jiang, Xu
    Mao, Baolei
    Guan, Jun
    Huang, Xingli
    SCIENTIFIC PROGRAMMING, 2020, 2020
  • [38] Efficient object detection and segmentation for fine-grained recognition
    Angelova, Anelia
    Zhu, Shenghuo
    2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2013, : 811 - 818
  • [39] Fine-grained Indoor Localization: Optical Sensing and Detection
    Vieira, M.
    Vieira, M. A.
    Louro, P.
    Vieira, P.
    Fantoni, A.
    OPTICAL SENSING AND DETECTION V, 2018, 10680
  • [40] Global predicate detection under fine-grained modalities
    Chandra, P
    Kshemkalyani, AD
    ADVANCES IN COMPUTING SCIENCE - ASIAN 2003: PROGRAMMING LANGUAGES AND DISTRIBUTED COMPUTATION, 2003, 2896 : 91 - 109