paper-with-me

Papers

GraphEye: A Novel Solution for Detecting Vulnerable Functions Based on Graph Attention Network

2022-02-05 · Li Zhou, Minhuan Huang, YuJun Li, Yuanping Nie, Jin Li, Yiwei Liu

With the continuous extension of the Industrial Internet, cyber incidents caused by software vulnerabilities have been increasing in recent years. However, software vulnerabilities detection is still heavily relying on code review done by experts, and how to automatedly detect software vulnerabilities is an open problem so far. In this paper, we propose a novel solution named GraphEye to identify whether a function of C/C++ code has vulnerabilities, which can greatly alleviate the burden of code auditors. GraphEye is originated from the observation that the code property graph of a non-vulnerable function naturally differs from the code property graph of a vulnerable function with the same functionality. Hence, detecting vulnerable functions is attributed to the graph classification problem.GraphEye is comprised of VecCPG and GcGAT. VecCPG is a vectorization for the code property graph, which is proposed to characterize the key syntax and semantic features of the corresponding source code. GcGAT is a deep learning model based on the graph attention graph, which is proposed to solve the graph classification problem according to VecCPG. Finally, GraphEye is verified by the SARD Stack-based Buffer Overflow, Divide-Zero, Null Pointer Deference, Buffer Error, and Resource Error datasets, the corresponding F1 scores are 95.6%, 95.6%,96.1%,92.6%, and 96.1% respectively, which validate the effectiveness of the proposed solution.

📄 PDF Abstract BibTeX arXiv:2202.02501

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codeGraph AttentionGraph Classification

Similar Papers 제목 키워드 기반

DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection

2023-04-01 · Yizheng Chen, Zhoujie Ding, Lamya Alowain, Xinyun Chen 외

We propose and release a new vulnerable source code dataset. We curate the dataset by crawling security issue websites, extracting vulnerability-fixing commits and source codes from the corresponding projects. Our new da…

Deep LearningFeature EngineeringVulnerability Detection

Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detection

2024-08-23 · Niklas Risse, Jing Liu, Marcel Böhme

According to our survey of machine learning for vulnerability detection (ML4VD), 9 in every 10 papers published in the past five years define ML4VD as a function-level binary classification problem: Given a function, doe…

BenchmarkingBinary ClassificationVulnerability Detection

Malicious Source Code Detection Using Transformer

2022-09-16 · Chen Tsfaty, Michael Fire

Open source code is considered a common practice in modern software development. However, reusing other code allows bad actors to access a wide developers' community, hence the products that rely on it. Those attacks are…

Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection

2017-08-22 · Xiaojun Xu, Chang Liu, Qian Feng, Heng Yin 외

The problem of cross-platform binary code similarity detection aims at detecting whether two binary functions coming from different platforms are similar or not. It has many security applications, including plagiarism de…

Computer SecurityGraph EmbeddingGraph MatchingMalware Detection

On using distributed representations of source code for the detection of C security vulnerabilities

2021-06-01 · David Coimbra, Sofia Reis, Rui Abreu, Corina Păsăreanu 외

This paper presents an evaluation of the code representation model Code2vec when trained on the task of detecting security vulnerabilities in C source code. We leverage the open-source library astminer to extract path-co…