arrow
Return

Vulnerable Code Detection Using Software Metrics and Machine Learning

delete2020-01-01
delete15
delete
OA
AI
N
Nádia Medeiros
N
Naghmeh Ivaki *
P
Pedro Costa
M
Marco Vieira
DOI:10.1109/ACCESS.2020.3041181delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Software metrics are widely-used indicators of software quality and several studies have shown that such metrics can be used to estimate the presence of vulnerabilities in the code. In this paper, we present a comprehensive experiment to study how effective software metrics can be to distinguish the vulnerable code units from the non-vulnerable ones. To this end, we use several machine learning algorithms (Random Forest, Extreme Boosting, Decision Tree, SVM Linear, and SVM Radial) to extract vulnerability-related knowledge from software metrics collected from the source code of several representative software projects developed in C/C++ (Mozilla Firefox, Linux Kernel, Apache HTTPd, Xen, and Glibc). We consider different combinations of software metrics and diverse application scenarios with different security concerns (e.g., highly critical or non-critical systems). This experiment contributes to understanding whether software metrics can effectively be used to distinguish vulnerable code units in different application scenarios, and how can machine learning algorithms help in this regard. The main observation is that using machine learning algorithms on top of software metrics helps to indicate vulnerable code units with a relatively high level of confidence for security-critical software systems (where the focus is on detecting the maximum number of vulnerabilities, even if false positives are reported), but they are not helpful for low-critical or non-critical systems due to the high number of false positives (that bring an additional development cost frequently not affordable).
Keywords:
Software
Software metrics
Security
Tools
Measurement
Machine learning algorithms
Support vector machines
Application scenarios
machine learning
software metrics
software security
security vulnerabilities
Context-Aware Software Vulnerability Classification Using Machine Learning
err2021-01-01
err11
errOAAI
errSiewruk, Grzegorz; Mazurczyk, Wojciech
errShare
errSave
The rise of software vulnerability: Taxonomy of software vulnerabilities detection and machine learning approaches
err2021-04-01
err60
PREAI
errHanif, Hazim; Nasir, Mohd Hairul Nizam Md; Ab Razak, Mohd Faizal; Firdaus, Ahmad; Anuar, Nor Badrul
errShare
errSave
Vulnerability Prediction From Source Code Using Machine Learning
err2020-01-01
err48
errOAAI
errBilgin, Zeki; Ersoy, Mehmet Akif; Soykan, Elif Ustundag; Tomur, Emrah; Comak, Pinar; Karacay, Leyli
errShare
errSave
A Systematic Literature Review on Automated Software Vulnerability Detection Using Machine Learning
err2024-11-11
err2
errOAAI
errHarzevili, NS; Belle, AB; Wang, JJ; Wang, S; Jiang, ZM; Nagappan, N
errShare
errSave
The Effect of Dimensionality Reduction on Software Vulnerability Prediction Models
err2017-03-01
err42
PREAI
errStuckman, Jeffrey; Walden, James; Scandariato, Riccardo
errShare
errSave
Deep Learning Approach for Software Maintainability Metrics Prediction
err2019-01-01
err58
errOAAI
errJha, Sudan; Kumar, Raghvendra; Le Hoang Son; Abdel-Basset, Mohamed; Priyadarshini, Ishaani; Sharma, Rohit; Hoang Viet Long
errShare
errSave

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
10.1W
Citations:
36.3W

Organization

U
universidade de coimbra
Scholars:
304
Papers: 109
Citations: 8.6K
Cited Papers

Cited Papers

Optimal fineness ratio for minimum drag in large whales
err2009-02-01
err0
PREAI
errBoye K. Ahlborn; Robert W. Blake; Keith H.S. Chan
errShare
errSave
The substrate specificity of SARS coronavirus 3C-like proteinase
err2005-04-01
err0
errOAAI
errKeqiang Fan; Liang Ma; Xiaofeng Han; Huanhuan Liang; Ping Wei; Ying Liu; Luhua Lai
errShare
errSave
Measuring software product quality: A survey of ISO/IEC 9126
err2004-09-01
err156
PREAI
errJung, HW; Kim, SG; Chung, CS
errShare
errSave
Surgery in Thyroid Eye Disease
err2023-03-23
err0
PREAI
errJaviera Araya; Sabhyta Sabharwal; César A. Briceño
errShare
errSave
errShare
errSave
errShare
errSave
Wrapper-based gene selection with Markov blanket
err2017-02-01
err65
PREAI
errWang, Aiguo; An, Ning; Yang, Jing; Chen, Guilin; Li, Lian; Alterovitz, Gil
errShare
errSave
researcher View more