Vulnerability Scrying Method for Software Vulnerability Discovery Prediction Without a Vulnerability Database

S. Rahimi, Mehdi R. Zargham

IEEE Transactions on Reliability · 2013 · 62 citations · 34 references

Concepts

TL;DR

Software vulnerability discovery models aim to forecast trends for secure deployment, but existing schemes rely on extensive historical data, limiting their applicability to new releases and yielding high error. This study introduces vulnerability scrying, a method that predicts vulnerability discovery using code properties instead of historical data. The authors perform compiler‑based static analysis to extract code complexity and secure‑coding compliance metrics, then feed these into a stochastic model that predicts vulnerability discovery trends, validated on four real‑world applications and applied to three additional ones. Results show that vulnerability scrying achieves better precision and lower divergence over time compared to methods that use historical data.

Abstract

Predicting software vulnerability discovery trends can help improve secure deployment of software applications and facilitate backup provisioning, disaster recovery, diversity planning, and maintenance scheduling. Vulnerability discovery models (VDMs) have been studied in the literature as a means to capture the underlying stochastic process. Based on the VDMs, a few vulnerability prediction schemes have been proposed. Unfortunately, all these schemes suffer from the same weaknesses: they require a large amount of historical vulnerability data from a database (hence they are not applicable to a newly released software application), their precision depends on the amount of training data, and they have significant amount of error in their estimates. In this work, we propose vulnerability scrying, a new paradigm for vulnerability discovery prediction based on code properties. Using compiler-based static analysis of a codebase, we extract code properties such as code complexity (cyclomatic complexity), and more importantly code quality (compliance with secure coding rules), from the source code of a software application. Then we propose a stochastic model which uses code properties as its parameters to predict vulnerability discovery. We have studied the impact of code properties on the vulnerability discovery trends by performing static analysis on the source code of four real-world software applications. We have used our scheme to predict vulnerability discovery in three other software applications. The results show that even though we use no historical data in our prediction, vulnerability scrying can predict vulnerability discovery with better precision and less divergence over time.

References

34