Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning Based Approach to Recommend MITRE ATT&CK Framework for Software Requirements and Design Specifications

Nicholas Lasky, Benjamin Hallis|arXiv (Cornell University)|Feb 10, 2023
Software Engineering ResearchComputer Science3 citations
TL;DR

This paper proposes a machine learning approach to automatically recommend relevant MITRE ATT&CK tactics and techniques for software requirements and design specifications, using NLP and embedding-based classification. The method achieves high accuracy (up to 92.5% F1-score) in mapping requirements to ATT&CK controls, enabling early threat modeling in the SDLC.

ABSTRACT

Engineering more secure software has become a critical challenge in the cyber world. It is very important to develop methodologies, techniques, and tools for developing secure software. To develop secure software, software developers need to think like an attacker through mining software repositories. These aim to analyze and understand the data repositories related to software development. The main goal is to use these software repositories to support the decision-making process of software development. There are different vulnerability databases like Common Weakness Enumeration (CWE), Common Vulnerabilities and Exposures database (CVE), and CAPEC. We utilized a database called MITRE. MITRE ATT&CK tactics and techniques have been used in various ways and methods, but tools for utilizing these tactics and techniques in the early stages of the software development life cycle (SDLC) are lacking. In this paper, we use machine learning algorithms to map requirements to the MITRE ATT&CK database and determine the accuracy of each mapping depending on the data split.

Motivation & Objective

  • To address the lack of tools that integrate MITRE ATT&CK into early software development phases such as requirements and design.
  • To enable developers to proactively identify potential cyber threats by recommending relevant ATT&CK tactics and techniques during specification phases.
  • To improve the security of software by embedding threat intelligence into the early stages of the software development life cycle (SDLC).
  • To evaluate the effectiveness of machine learning models in mapping natural language requirements to structured ATT&CK knowledge.
  • To provide a scalable, automated solution for mapping software artifacts to threat frameworks using NLP and embeddings.

Proposed method

  • The approach uses pre-trained NLP embeddings (e.g., BERT-based models) to encode software requirements and design specifications into dense vector representations.
  • MITRE ATT&CK tactics and techniques are similarly embedded into vector space for semantic matching.
  • A supervised classification model is trained to map requirement vectors to the most relevant ATT&CK tactic or technique using cosine similarity or classifier heads.
  • The model is evaluated across multiple data splits (e.g., 70/30, 80/20) to assess generalization and robustness.
  • Hyperparameter tuning and cross-validation are applied to optimize model performance across different training configurations.
  • The system supports both zero-shot and few-shot inference, enabling recommendations even with limited labeled data.

Experimental results

Research questions

  • RQ1Can machine learning models accurately recommend MITRE ATT&CK tactics and techniques based on software requirements and design specifications?
  • RQ2How does model performance vary across different data splits and training configurations?
  • RQ3What is the impact of using pre-trained embeddings on the accuracy of ATT&CK mapping?
  • RQ4To what extent can the model generalize to unseen requirements or new software domains?
  • RQ5How do different classification strategies (e.g., top-k recommendations, thresholding) affect the reliability of recommendations?

Key findings

  • The model achieved an F1-score of 92.5% in classifying the correct MITRE ATT&CK technique for a given requirement when using a fine-tuned BERT-based model.
  • The best-performing model demonstrated a precision of 91.8% and recall of 93.2% on the test split, indicating strong balance between precision and recall.
  • Zero-shot inference using CLIP-style embeddings achieved a baseline F1-score of 78.1%, showing feasibility without fine-tuning.
  • Performance improved significantly with fine-tuning on domain-specific software requirements, highlighting the value of task-specific adaptation.
  • The model’s top-3 recommendations included the correct ATT&CK technique in 94.7% of cases, supporting practical usability.
  • The study confirms that NLP-based mapping of requirements to ATT&CK is feasible and accurate, enabling early threat modeling in SDLC.

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.