A Comparison of Vulnerability Feature Extraction Methods from Textual Attack Patterns
Refat Othman, Bruno Rossi, Russo Barbara
TL;DR
The paper addresses extracting vulnerability information from unstructured attack-pattern reports to link to CVEs. It compares five feature-extraction methods—TF-IDF, LSI, BERT, MiniLM, and RoBERTa—across multiple classifiers using a novel VULDAP dataset that maps MITRE CAPEC/CWE to CVEs. TF-IDF yields the best overall performance, guiding method selection for text-to-CVE extraction in threat intelligence pipelines. The work provides a dataset, an evaluation framework, and actionable insights to advance automated vulnerability extraction in cyber threat intelligence.
Abstract
Nowadays, threat reports from cybersecurity vendors incorporate detailed descriptions of attacks within unstructured text. Knowing vulnerabilities that are related to these reports helps cybersecurity researchers and practitioners understand and adjust to evolving attacks and develop mitigation plans. This paper aims to aid cybersecurity researchers and practitioners in choosing attack extraction methods to enhance the monitoring and sharing of threat intelligence. In this work, we examine five feature extraction methods (TF-IDF, LSI, BERT, MiniLM, RoBERTa) and find that Term Frequency-Inverse Document Frequency (TF-IDF) outperforms the other four methods with a precision of 75\% and an F1 score of 64\%. The findings offer valuable insights to the cybersecurity community, and our research can aid cybersecurity researchers in evaluating and comparing the effectiveness of upcoming extraction methods.
