Rule-ATT&CK Mapper (RAM): Mapping SIEM Rules to TTPs Using LLMs

Prasanna N. Wudali, Moshe Kravchik, Ehud Malul, Parth Atulbhai Gandhi, Yuval Elovici, Asaf ShabtaiarXiv 2025 · DOI

Introduction

Security Operations Centers (SOCs) rely heavily on Security Information and Event Management (SIEM) platforms to detect potential threats. These platforms ingest vast amounts of log data and trigger alerts based on detection rules written in vendor-specific languages like Splunk's SPL or Microsoft's KQL. To effectively prioritize and respond to these alerts, security analysts must map them to the MITRE ATT&CK framework—a globally recognized knowledge base of adversary tactics, techniques, and procedures (TTPs).

Historically, this mapping process has been manual, making it slow, expensive, and prone to human error. While automation has been attempted using machine learning, most existing models focus on unstructured text like threat reports. SIEM rules present a unique challenge: they are highly structured, syntactically rigid, and often lack the semantic context required for a model to understand the underlying threat. This paper introduces Rule-ATT&CK Mapper (RAM), a novel framework designed to bridge this semantic gap using Large Language Models (LLMs).

The RAM Framework

RAM utilizes a multi-stage pipeline inspired by prompt chaining and the ReAct (Reasoning & Acting) framework. Rather than training a static classifier, RAM orchestrates a sequence of LLM interactions to build context and refine its TTP predictions.

Overview of the RAM multi-stage pipeline architecture.

The pipeline consists of six key stages:

  1. IoC Extraction: Extracts Indicators of Compromise (IoCs) such as process names and command-line arguments from raw SIEM rules.
  2. Contextual Information Retrieval: Uses a web-search agent to gather real-world intelligence about the extracted IoCs (e.g., identifying a specific executable as an enumeration tool).
  3. Natural Language Translation: Converts the structured rule and retrieved context into a format-agnostic natural language description.
  4. Data Source Identification: Employs Retrieval-Augmented Generation (RAG) to query MITRE ATT&CK data components for relevant data sources.
  5. Probable Technique Recommendation: Generates a list of candidate MITRE ATT&CK techniques based on the natural language summary.
  6. Relevant Technique Extraction: Filters candidates using Chain-of-Thought (CoT) prompting to provide final mappings with human-readable rationales.

Evaluation and Key Insights

The authors evaluated RAM using the Splunk Security Content dataset. To prevent data leakage, they specifically selected 360 rules created after the LLMs' knowledge cut-off dates.

Examples of IoC extraction, contextual retrieval, and technique recommendation stages.

Performance and Context

GPT-4-Turbo emerged as the top performer, achieving an Average Recall (AR) of 0.75 and an Average Precision (AP) of 0.52, significantly outperforming fine-tuned BERT models (0.68 AR) and zero-shot baselines (0.46 AR). A critical finding was the importance of external context; an ablation study showed that recall jumped from 0.46 to 0.75 when web-retrieved information was added to the pipeline. This proves that LLMs require more than just internal weights to understand domain-specific structured data.

Explainability

Unlike "black box" classifiers, RAM provides transparency. By using Chain-of-Thought prompting, the system generates a natural language explanation for every mapping. This allows security analysts to verify the logic behind an automated recommendation, fostering trust in the system.

Conclusion and Future Work

While RAM demonstrates high accuracy, it faces challenges regarding latency and data privacy when using hosted models like GPT-4. Future research will focus on fine-tuning local, open-source LLMs to match the performance of hosted models while keeping sensitive SIEM data within secure environments. Additionally, the authors plan to integrate organization-specific internal intelligence to further refine the mapping accuracy.

Summary updated

BibTeX
@misc{wudali2025rule,
  author = {Prasanna N. Wudali and Moshe Kravchik and Ehud Malul and Parth Atulbhai Gandhi and Yuval Elovici and Asaf Shabtai},
  title = {{Rule-ATT\&CK Mapper (RAM): Mapping SIEM Rules to TTPs Using LLMs}},
  year = {2025},
  eprint = {2502.02337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.02337},
}
Figure