Information-theoretic source code vulnerability highlighting

Van Nguyen, Trung Le, Olivier De Vel, Paul Montague, John Grundy, Dinh Phung

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

20 Citations (Scopus)

Abstract

Software vulnerabilities are a crucial and serious concern in the software industry and computer security. A variety of methods have been proposed to detect vulnerabilities in real-world software. Recent methods based on deep learning approaches for automatic feature extraction have improved software vulnerability identification compared with machine learning approaches based on hand-crafted feature extraction. However, these methods can usually only detect software vulnerabilities at a function or program level, which is much less informative because, out of hundreds (thousands) of code statements in a program or function, only a few core statements contribute to a software vulnerability. This requires us to find a way to detect software vulnerabilities at a fine-grained level. In this paper, we propose a novel method based on the concept of mutual information that can help us to detect and isolate software vulnerabilities at a fine-grained level (i.e., several statements that are highly relevant to a software vulnerability that include the core vulnerable statements) in both unsupervised and semi-supervised contexts. We conduct comprehensive experiments on real-world software projects to demonstrate that our proposed method can detect vulnerabilities at a fine-grained level by identifying several statements that mostly contribute to the vulnerability detection decision.

Original languageEnglish
Title of host publication2021 International Joint Conference on Neural Networks (IJCNN 2021)
EditorsZeng-Guang Hou
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages4823-4830
Number of pages8
ISBN (Electronic)9780738133669, 9781665439008
ISBN (Print)9781665445979
DOIs
Publication statusPublished - 2021
EventIEEE International Joint Conference on Neural Networks 2021 - Online, Shenzhen, China
Duration: 18 Jul 202122 Jul 2021
https://ieeexplore.ieee.org/xpl/conhome/9533266/proceeding (Proceedings)

Publication series

NameProceedings of the International Joint Conference on Neural Networks
PublisherIEEE, Institute of Electrical and Electronics Engineers
Volume2021-July

Conference

ConferenceIEEE International Joint Conference on Neural Networks 2021
Abbreviated titleIJCNN 2021
Country/TerritoryChina
CityShenzhen
Period18/07/2122/07/21
Internet address

Cite this