Looking Beyond IoCs: Automatically Extracting Attack Patterns from External CTI

Md Tanvirul Alam, Dipkamal Bhusal, Youngja Park, Nidhi Rastogi

Abstract

Public and commercial organizations extensively share cyberthreat intelligence (CTI) to prepare systems to defend against existing and emerging cyberattacks. However, traditional CTI has primarily focused on tracking known threat indicators such as IP addresses and domain names, which may not provide long-term value in defending against evolving attacks. To address this challenge, we propose to use more robust threat intelligence signals called attack patterns. LADDER is a knowledge extraction framework that can extract text-based attack patterns from CTI reports at scale. The framework characterizes attack patterns by capturing the phases of an attack in Android and enterprise networks and systematically maps them to the MITRE ATT&CK pattern framework. LADDER can be used by security analysts to determine the presence of attack vectors related to existing and emerging threats, enabling them to prepare defenses proactively. We also present several use cases to demonstrate the application of LADDER in real-world scenarios. Finally, we provide a new, open-access benchmark malware dataset to train future cyberthreat intelligence models.

Introduction

In the current cybersecurity landscape, defenders often rely on Indicators of Compromise (IoCs)—such as file hashes, IP addresses, or domain names—to identify threats. However, these indicators are "brittle"; a minor change in a malware binary can generate a new hash, rendering previous intelligence obsolete. This concept is illustrated by the "Pyramid of Pain," where IoCs reside at the bottom (easy for attackers to change) and Tactics, Techniques, and Procedures (TTPs) sit at the apex (difficult for attackers to change).

While TTPs offer more robust defensive value, they are typically buried within thousands of unstructured, human-written reports. Manually extracting these patterns is an overwhelming task for security analysts. LADDER (Link-based Attack Detection and Defense Evaluation Repository) addresses this by automating the extraction of high-level attack patterns and organizing them into a machine-readable format.

The LADDER Framework

LADDER utilizes a multi-stage pipeline to transform unstructured text into a structured Knowledge Graph (KG). The process begins with high-performance web crawling, scraping over 12,000 reports from sources like McAfee, Symantec, and Kaspersky.

LADDER extracts entities and relationships from unstructured text to build a structured Knowledge Graph.

The core pipeline involves:

  1. Named Entity Recognition (NER): Using Transformer models (BERT, RoBERTa, XLM-RoBERTa) to identify entities such as Malware, Operating Systems, and Locations.
  2. Relationship Extraction: Identifying triples (e.g., <Malware> uses <AttackPattern>) to define how entities interact.
  3. TTPClassifier: A novel component that maps extracted attack phrases to standardized MITRE ATT&CK IDs using semantic similarity. This ensures accuracy even when different reports use varying terminology for the same behavior.

Knowledge Graph and Predictive Inference

Once the triples are extracted, they are integrated into a Knowledge Graph. A key innovation of LADDER is its ability to move beyond simple summarization to active prediction. By employing the TuckER link prediction algorithm, the system can infer missing information.

Example queries showing how LADDER infers missing attack patterns and targets with confidence scores.

As shown in the inference queries, if the graph identifies that a specific malware (e.g., Cerberus) shares characteristics with other known threats, it can predict likely attack patterns or targets even if they were not explicitly mentioned in the source report. This allows defenders to anticipate adversary behavior proactively.

Benchmark Dataset and Results

To support future research, the authors have released a new, open-access benchmark malware dataset. This dataset contains 140,447 tokens with 11,555 manually annotated entities and 5,499 relations, focusing on 36 representative malware families from 2015–2022.

Empirical results demonstrate LADDER's effectiveness:

  • NER Performance: XLM-RoBERTa-large achieved an F1-score of 78.98%.
  • Relationship Extraction: BERT-large achieved a 92.62% F1-score.
  • Attack Pattern Extraction: The framework reached a 90.64% F1-score, significantly outperforming traditional template-matching tools like TTPDrill by reducing false positives through semantic mapping.

Conclusion

LADDER represents a significant advancement in proactive defense. By shifting focus from ephemeral IoCs to the fundamental DNA of cyberattacks—attack patterns—it provides security teams with the tools to predict and prepare for emerging threats. Future work will focus on integrating temporal dynamics to track how malware evolves over time and bridging the gap between CTI reports and real-time system logs.

Summary updated

Abstract

Public and commercial organizations extensively share cyberthreat intelligence (CTI) to prepare systems to defend against existing and emerging cyberattacks. However, traditional CTI has primarily focused on tracking known threat indicators such as IP addresses and domain names, which may not provide long-term value in defending against evolving attacks. To address this challenge, we propose to use more robust threat intelligence signals called attack patterns. LADDER is a knowledge extraction framework that can extract text-based attack patterns from CTI reports at scale. The framework characterizes attack patterns by capturing the phases of an attack in Android and enterprise networks and systematically maps them to the MITRE ATT\&CK pattern framework. LADDER can be used by security analysts to determine the presence of attack vectors related to existing and emerging threats, enabling them to prepare defenses proactively. We also present several use cases to demonstrate the application of LADDER in real-world scenarios. Finally, we provide a new, open-access benchmark malware dataset to train future cyberthreat intelligence models.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MITRE ATT&CK · Attack pattern extraction on five MITRE ATT&CK reports cTTPClassifierRecall0.63+0.05 vs baselineAttack Pattern Extraction · reports=5 · platform=enterprise
Source quote
L364: TTPClassifier │ 41 │ 24 │ 22 │ 0.65 │ 0.63 │ 0.64
AttackPattern prediction for AnubisTuckER (LADDER knowledge graph)Correct predictions in top 109 predictionsLink Prediction · k=10 · target=Anubis · knowledge-graph=KG2
Source quote
L415: We show the top 20 attack patterns predicted for the two malware with confidence scores in Table \ref{tab:usecase}. As we include more predictions, it invariably includes less confident outputs resulting in more false positives. However, we see promising results for the top predictions. We get 9 correct predictions for Anubis and 7 correct predictions for Flubot out of the top 10. When we extend to the top 15, the number of correct predictions is 12 for both malware. These results suggest a strong correlation exists between different malware behavior. We can use a knowledge graph to leverage this for predicting unknown behavior, viz., infer future attack patterns from the available information. We can also use this for filling up missing information in existing knowledge graphs.
AttackPattern prediction for FlubotTuckER (LADDER knowledge graph)Correct predictions in top 107 predictionsLink Prediction · k=10 · target=Flubot · knowledge-graph=KG2
Source quote
L415: We show the top 20 attack patterns predicted for the two malware with confidence scores in Table \ref{tab:usecase}. As we include more predictions, it invariably includes less confident outputs resulting in more false positives. However, we see promising results for the top predictions. We get 9 correct predictions for Anubis and 7 correct predictions for Flubot out of the top 10. When we extend to the top 15, the number of correct predictions is 12 for both malware. These results suggest a strong correlation exists between different malware behavior. We can use a knowledge graph to leverage this for predicting unknown behavior, viz., infer future attack patterns from the available information. We can also use this for filling up missing information in existing knowledge graphs.
AttackPattern prediction for AnubisTuckER (LADDER knowledge graph)Correct predictions in top 1512 predictionsLink Prediction · k=15 · target=Anubis · knowledge-graph=KG2
Source quote
L415: We show the top 20 attack patterns predicted for the two malware with confidence scores in Table \ref{tab:usecase}. As we include more predictions, it invariably includes less confident outputs resulting in more false positives. However, we see promising results for the top predictions. We get 9 correct predictions for Anubis and 7 correct predictions for Flubot out of the top 10. When we extend to the top 15, the number of correct predictions is 12 for both malware. These results suggest a strong correlation exists between different malware behavior. We can use a knowledge graph to leverage this for predicting unknown behavior, viz., infer future attack patterns from the available information. We can also use this for filling up missing information in existing knowledge graphs.
AttackPattern prediction for FlubotTuckER (LADDER knowledge graph)Correct predictions in top 1512 predictionsLink Prediction · k=15 · target=Flubot · knowledge-graph=KG2
Source quote
L415: We show the top 20 attack patterns predicted for the two malware with confidence scores in Table \ref{tab:usecase}. As we include more predictions, it invariably includes less confident outputs resulting in more false positives. However, we see promising results for the top predictions. We get 9 correct predictions for Anubis and 7 correct predictions for Flubot out of the top 10. When we extend to the top 15, the number of correct predictions is 12 for both malware. These results suggest a strong correlation exists between different malware behavior. We can use a knowledge graph to leverage this for predicting unknown behavior, viz., infer future attack patterns from the available information. We can also use this for filling up missing information in existing knowledge graphs.
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
MITRE ATT&CK · Attack pattern extraction on five MITRE ATT&CK reports cMITRE baselineRecall0.58Attack Pattern Extraction · reports=5 · platform=enterprise
Source quote
L361: Method │ TP │ FN │ FP │ Precision │ Recall │ F1-score MITRE │ 38 │ 27 │ 0 │ 1.00 │ 0.58 │ 0.74
BibTeX
@inproceedings{alam2023looking,
  author = {Md Tanvirul Alam and Dipkamal Bhusal and Youngja Park and Nidhi Rastogi},
  title = {{Looking Beyond IoCs: Automatically Extracting Attack Patterns from External CTI}},
  booktitle = {RAID},
  year = {2023},
  doi = {10.1145/3607199.3607208},
}
Figure