IEEE Transactions on Fuzzy Systems · 2019 · 108 citations · 53 references
ComputingComputer ScienceCybersecurityComputer SecurityMachine LearningVulnerability AnalysisDeep LearningRepresentation LearningSoftware Security EngineeringSoftware Vulnerability DiscoveryThreat DetectionClass ImbalanceClass Imbalance LearningCode Vulnerability AnalysisDeep Learning For Code SecurityDeep Learning For Vulnerability DetectionLong Short-term Memory NetworksMachine Learning For Vulnerability DetectionVulnerability Detection
Software vulnerability has long been an important but critical research issue in cybersecurity. Recently, the machine learning (ML)-based approach has attracted increasing interest in the research of software vulnerability detection. However, the detection performance of existing ML-based methods require further improvement. There are two challenges: one is code representation for ML and the other is class imbalance between vulnerable code and nonvulnerable code. To overcome these challenges, this article develops a DeepBalance system, which combines the new ideas of deep code representation learning and fuzzy-based class rebalancing. We design a deep neural network with bidirectional long short-term memory to learn invariant and discriminative code representations from labeled vulnerable and nonvulnerable code. Then, a new fuzzy oversampling method is employed to rebalance the training data by generating synthetic samples for the class of vulnerable code. To evaluate the performance of the new system, we carry out a series of experiments in a real-world ground-truth dataset that consists of the code from the projects of LibTIFF, LibPNG, and FFmpeg. The results show that the proposed new system can significantly improve the vulnerability detection performance. For example, the improvement is 15% in terms of F-measure.
53
SMOTE: Synthetic Minority Over-sampling Technique
Nitesh V. Chawla, Kevin W. Bowyer, Lawrence Hall et al. · Journal of Artificial Intelligence Research · 2002 · 31.2K citations · Full text
ADASYN: Adaptive synthetic sampling approach for imbalanced learning
Haibo He, Yang Bai, Edwardo A. Garcia et al. · 2008 · 4.4K citations
VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
2018 · 812 citations · Full text