Skip to main content
QUICK REVIEW

[Paper Review] A Framework for Unsupervised Classificiation and Data Mining of Tweets about Cyber Vulnerabilities

Kenneth Alperin, Emily Joback|arXiv (Cornell University)|Apr 23, 2021
Information and Cyber SecurityComputer Science20 references7 citations
TL;DR

This paper presents an unsupervised framework for classifying and mining cyber-vulnerability tweets using zero-shot BART classification, achieving 83.52% accuracy without labeled data. It demonstrates that tweet counts per CVE can reveal high-impact, low-CVSS vulnerabilities overlooked by traditional risk scoring, enabling real-time threat intelligence augmentation for NVD-based tools.

ABSTRACT

Many cyber network defense tools rely on the National Vulnerability Database (NVD) to provide timely information on known vulnerabilities that exist within systems on a given network. However, recent studies have indicated that the NVD is not always up to date, with known vulnerabilities being discussed publicly on social media platforms, like Twitter and Reddit, months before they are published to the NVD. To that end, we present a framework for unsupervised classification to filter tweets for relevance to cyber security. We consider and evaluate two unsupervised machine learning techniques for inclusion in our framework, and show that zero-shot classification using a Bidirectional and Auto-Regressive Transformers (BART) model outperforms the other technique with 83.52% accuracy and a F1 score of 83.88, allowing for accurate filtering of tweets without human intervention or labelled data for training. Additionally, we discuss different insights that can be derived from these cyber-relevant tweets, such as trending topics of tweets and the counts of Twitter mentions for Common Vulnerabilities and Exposures (CVEs), that can be used in an alert or report to augment current NVD-based risk assessment tools.

Motivation & Objective

  • To address the delay in vulnerability disclosure by the National Vulnerability Database (NVD), which often lags behind public discussions on social media like Twitter.
  • To develop an unsupervised method for filtering cyber-relevant tweets without requiring labeled training data or model fine-tuning.
  • To extract actionable insights from cyber-relevant tweets, such as trending topics and CVE mention frequency, to improve real-time situational awareness.
  • To demonstrate that tweet count metrics can prioritize vulnerabilities with low CVSS3 scores but high public exploitation interest.
  • To extend current risk assessment tools by integrating real-time social media intelligence (OSINT) into operational cyber defense workflows.

Proposed method

  • Employed zero-shot classification using a fine-tuned BART language model to determine if tweets are cyber-relevant without labeled data.
  • Compared the BART zero-shot approach against a traditional unsupervised method based on TF-IDF and cosine similarity for relevance filtering.
  • Collected and curated a dataset of tweets containing the term 'vulnerability' from Twitter, excluding reliance on CVE IDs for inclusion.
  • Extracted CVE mentions from relevant tweets using named entity recognition and linked them to known vulnerability records.
  • Calculated tweet counts per CVE over time to measure public interest and potential exploitability.
  • Analyzed correlation between tweet counts and CVSS3 scores to assess the predictive value of social media chatter.

Experimental results

Research questions

  • RQ1Can zero-shot classification with a pre-trained language model like BART accurately identify cyber-relevant tweets without any labeled training data?
  • RQ2How does the performance of zero-shot BART compare to traditional unsupervised methods like TF-IDF in filtering cyber-vulnerability tweets?
  • RQ3To what extent can tweet counts per CVE serve as a proxy for exploitability or public threat interest, especially for low-CVSS3 vulnerabilities?
  • RQ4Can social media data reveal high-impact vulnerabilities that are overlooked by NVD-based risk scoring systems like CVSS3?
  • RQ5How can real-time mining of cyber-relevant tweets enhance situational awareness and support operational cyber defense tools?

Key findings

  • The zero-shot BART classifier achieved 83.52% accuracy and an F1 score of 83.88 in identifying cyber-relevant tweets, outperforming the TF-IDF baseline.
  • The BART model successfully filtered relevant tweets without requiring any labeled data or model fine-tuning, enabling scalable deployment.
  • A correlation of 0.04 was found between tweet counts and CVSS3 scores, indicating no relationship—suggesting tweet volume captures different threat signals than CVSS3.
  • CVE-2019-15126 (KR00K), with a low CVSS3 score of 3.1, was the fifth most mentioned CVE, highlighting its widespread public discussion and real-world exploitation.
  • The tweet count metric successfully identified high-impact, publicly exploited vulnerabilities that would be deprioritized by CVSS3-based risk models.
  • The framework enables real-time situational awareness by detecting emerging threats through social media chatter before or alongside NVD publication.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.