Learning to Detect Memory-related Vulnerabilities


연구 분야: Strategies



학회: ACM Transactions on Software Engineering and Methodology, Volume 33, Issue 2


초록

Memory-related vulnerabilities can result in performance degradation or even program crashes, constituting severe threats to the security of modern software. Despite the promising results of deep learning (DL)-based vulnerability detectors, there exist three main limitations: (1) rich contextual program semantics related to vulnerabilities have not yet been fully modeled; (2) multi-granularity vulnerability features in hierarchical code structure are still hard to be captured; and (3) heterogeneous flow information is not well utilized. To address these limitations, in this article, we propose a novel DL-based approach, called MVD+, to detect memory-related vulnerabilities at the statement-level. Specifically, it conducts both intraprocedural and interprocedural analysis to model vulnerability features, and adopts a hierarchical representation learning strategy, which performs syntax-aware neural embedding within statements and captures structured context information across statements based on a novel Flow-Sensitive Graph Neural Networks, to learn both syntactic and semantic features of vulnerable code. To demonstrate the performance, we conducted extensive experiments against eight state-of-the-art DL-based approaches as well as five well-known static analyzers on our constructed dataset with 6,879 vulnerabilities in 12 popular C/C++ applications. The experimental results confirmed that MVD+ can significantly outperform current state-of-the-art baselines and make a great trade-off between effectiveness and efficiency.


Author Profile
Sicong Cao

School of Information Engineering Yangzhou University China

China
Author Profile
Xiaobing Sun

School of Information Engineering Yangzhou University China

China
Author Profile
Lili Bo

School of Information Engineering Yangzhou University China

China

📄 논문 정보

발행 연도 2023년
인용수 10
출판 국가 Andorra, China
사이트 ACM
좋아요 수 0

연관 논문 목록 (190건)