POSTER
Guanjun Lin, Jun Zhang, Wei Luo et al. · ACM SIGSAC Conference on Computer and Communications Security (CCS) · 2017
In cybersecurity, vulnerability discovery in source code is a fundamental problem. To automate vulnerability discovery, Machine learning (ML) based techniques has attracted tremendous attention. However, existing ML-based techniques focus on the component or file level detection, and thus considerable human effort is still required to pinpoint the vulnerable code fragments. Using source code files also limit the generalisability of the ML models across projects. To address such challenges, this paper targets at the function-level vulnerability discovery in the cross-project scenario. A function representation learning method is proposed to obtain the high-level and generalizable function representations from the abstract syntax tree (AST). First, the serialized ASTs are used to learn project independence features. Then, a customized bi-directional LSTM neural network is devised to learn the sequential AST representations from the large number of raw features. The new function-level representation demonstrated promising performance gain, using a unique dataset where we manually labeled 6000+ functions from three open-source projects. The results confirm that the huge potential of the new AST-based function representation learning.
Cited by 122 works. doi:10.1145/3133956.3138840
Authors
References
- Long Short-Term Memory
- Evaluating Complexity, Code Churn, and Developer Activity Metrics as Indicators of Software Vulnerabilities
- Generating robust parsers using island grammars
- Predicting Vulnerable Software Components via Text Mining
- Generalized vulnerability extrapolation using abstract syntax trees
- Using complexity, coupling, and cohesion metrics as early indicators of vulnerabilities
- Vulnerability extrapolation: assisted discovery of vulnerabilities using machine learning
- Method-level bug prediction