Automated Vulnerability Detection in Source Code Using Deep Representation Learning
Rebecca L. Russell, Louis Y. Kim, Lei Hamilton et al. · IEEE International Conference on Machine Learning and Applications (ICMLA) · 2018
Increasing numbers of software vulnerabilities are discovered every year whether they are reported publicly or discovered internally in proprietary code. These vulnerabilities can pose serious risk of exploit and result in system compromise, information leaks, or denial of service. We leveraged the wealth of C and C++ open-source code available to develop a largescale function-level vulnerability detection system using machine learning. To supplement existing labeled vulnerability datasets, we compiled a vast dataset of millions of open-source functions and labeled it with carefully-selected findings from three different static analyzers that indicate potential exploits. Using these datasets, we developed a fast and scalable vulnerability detection tool based on deep feature representation learning that directly interprets lexed source code. We evaluated our tool on code from both real software packages and the NIST SATE IV benchmark dataset. Our results demonstrate that deep feature representation learning on source code is a promising approach for automated software vulnerability detection.
Cited by 623 works. doi:10.1109/icmla.2018.00120 Open-access PDF
Authors
- Rebecca L. Russell
- Louis Y. Kim
- Lei Hamilton
- T. Lazovich
- Jacob Harer
- Onur Özdemir
- Paul M. Ellingwood
- Marc W. McConley
References
- Convolutional Neural Networks for Sentence Classification
- Learning Deep Features for Discriminative Localization
- Symbolic execution and program testing
- Maintaining mental models
- VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
- The ManyBugs and IntroClass Benchmarks for Automated Repair of C Programs
- Automated identification of security issues from commit messages and bug reports
- Software vulnerability prediction using text analysis techniques
- Predicting Vulnerable Software Components through N-Gram Analysis and Statistical Feature Selection
- A Memory Model for Static Analysis of C Programs