Bridging MITRE ATT&CK and OSC&R: A Sentence-Level Cyber Threat Intelligence Classification Study

Nimmy Binte Islam, Md Erfan, Ahmed Ryan, Md Rayhanur RahmanarXiv 2026

TL;DR

When hackers poison a software supply chain, standard security dictionaries are too broad to capture the exact mechanics of the breach. This paper builds the first sentence-level dataset and machine learning benchmark that bridges general attacker tactics (MITRE ATT&CK) with specialized software supply-chain techniques (OSC&R). Surprisingly, smaller, domain-specific BERT models handily beat a fine-tuned 7-billion-parameter LLM on this task—though pinpointing exact attack IDs remains an uphill battle due to scarce data.

What Problem Does This Paper Address?

Every time a major cyberattack happens, security researchers publish Cyber Threat Intelligence (CTI) reports detailing the incident in plain English. Analysts translate this prose into standardized labels to build detection rules. Usually, they rely on MITRE ATT&CK, an encyclopedia of adversary behavior.

Here is the catch: ATT&CK paints software supply chain attacks with a very broad brush. Whether an attacker compromises a build pipeline (like SolarWinds) or hijacks a software update (like NotPetya), ATT&CK essentially lumps them together. Enter OSC&R (Open Software Supply Chain Attack Reference), a newer, specialized framework designed specifically to capture the fine-grained mechanics of supply chain compromises.

Until now, automated NLP tools only mapped text to ATT&CK, leaving OSC&R sitting on the shelf as static documentation. The authors ask: Can we train models to read CTI reports sentence by sentence, decide whether the text describes general hacking (ATT&CK), supply-chain tampering (OSC&R), both, or neither, and extract the exact technique IDs?

Figure 1: The top segment is labeled BOTH because it describes ATT&CK (T1078) and OSC&R (T0109) behavior. The bottom segments are labeled ATTCK, OSCR, and NON-ATTACK. The technique identifiers shown for the attack segments illustrate our secondary task of identifying applicable techniques within each framework.

Methods

The authors frame this as two tasks: a primary four-way framework classification (ATTCK, OSCR, BOTH, or NON-ATTACK) and a secondary multi-label technique identification task (predicting specific codes like T1078 or T0109).

To avoid a classic machine learning trap—data leakage—they split their data by report rather than by random sentences. Since sentences from the same report share vocabulary and incident context, keeping reports intact ensures models are tested on truly unseen incidents.

They pit six models against each other:

  • Baselines: A majority-class guesser and a classic TF-IDF + Linear SVM.
  • Domain-Specific Encoders (CTI-BERT): Three variations of a cybersecurity-pretrained BERT model: a single-head 4-way classifier, a two-stage cascade (first filtering out NON-ATTACK, then classifying the rest), and a multi-task model that jointly predicts framework presence and specific technique IDs.
  • Adapted LLM: Qwen2.5-7B-Instruct fine-tuned via QLoRA (4-bit quantization with low-rank adapters) prompted to output structured JSON.

Datasets

Because no sentence-level OSC&R benchmark existed, the authors built one from scratch. They scraped and filtered 20 technical supply-chain incident reports (covering events like XZ Utils and npm/PyPI compromises) published between 2023 and 2026.

After stripping out HTML boilerplate, replacing indicators of compromise with placeholders, and splitting multi-action sentences, they annotated 2,254 sentence-level segments (achieving strong inter-annotator agreement, $\kappa = 0.857$ at the framework level). Like real-world reports, the corpus is heavily imbalanced: roughly 63% of sentences are NON-ATTACK, 16.7% are BOTH, 13.1% are ATTCK, and 7.2% are OSCR. Four reports (451 segments) were locked in a vault as the held-out test set, leaving 16 reports for 4-fold cross-validation.

Key Insights and Ideas

  • Domain encoders crush the QLoRA LLM: In an era where LLMs are thrown at everything, the 7B-parameter QLoRA model stumbled badly. It predicted NON-ATTACK for over 91% of test segments, never once predicted ATTCK or BOTH, and failed to output valid JSON 6.4% of the time. Lightweight, fine-tuned CTI-BERT models were far more reliable.
  • The "BOTH" blind spot: When CTI-BERT models made mistakes, their most frequent error was misclassifying BOTH sentences as ATTCK-only (the multi-task model missed 70.3% of BOTH segments). Supply chain breaches naturally involve general post-compromise behavior, making the subtle supply-chain signal easy for models to overlook.
  • Architecture ties: Whether CTI-BERT used a single head, two stages, or multi-task heads made no statistically significant difference—any differences fell well within report-to-report sampling noise.
  • Fine-grained ID extraction hits a data wall: Predicting exact technique codes (out of 47 ATT&CK and 41 OSC&R classes) yielded near-zero scores. Over half of ATT&CK techniques and a third of OSC&R techniques appeared five or fewer times in the corpus, starving the models of training examples.

Key Results

On the held-out test set (451 segments), macro-F1—which weights all four classes equally despite imbalance—told a clear story:

Table 4: Test-Set Framework Metrics
  • Framework Classification (Macro-F1): Two-stage CTI-BERT led at 0.6392, closely followed by single-head (0.6244) and multi-task (0.6065). Classical TF-IDF + SVM scored 0.4846, while QLoRA Qwen2.5-7B-Instruct trailed at 0.1985 (barely above the majority-class baseline of 0.1872).
  • Technique Identification: The multi-task CTI-BERT model achieved test micro-F1 scores of just 0.0215 (ATT&CK) and 0.0212 (OSC&R), dropping to 0.0006 and 0.0004 on rare techniques. The QLoRA model scored 0.0000 across the board on test techniques.

Limitations and Future Work

The corpus is relatively small—20 vendor reports (with 4 in the test set)—meaning results might not generalize to government advisories or non-supply-chain incidents. Additionally, statistical tests treated segments as independent, though sentences from the same report are naturally correlated, and standard macro-F1 gives zero partial credit when a BOTH sentence is half-correctly labeled as ATTCK. Finally, the QLoRA model was trained for just one epoch with fixed hyperparameters, leaving room for deeper LLM exploration.

Moving forward, the authors suggest expanding the corpus and tackling sparse technique labels using synthetic data generation, oversampling, ontology fusion, or retrieval-augmented descriptions, alongside designing loss functions and metrics that give partial credit for overlapping frameworks.

Summary updated

BibTeX
@misc{islam2026bridging,
  author = {Nimmy Binte Islam and Md Erfan and Ahmed Ryan and Md Rayhanur Rahman},
  title = {{Bridging MITRE ATT\&CK and OSC\&R: A Sentence-Level Cyber Threat Intelligence Classification Study}},
  year = {2026},
  eprint = {2611.39752},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39752},
}
Figure