Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation
summary
The gist
Modern defense mechanisms rely on large-scale data to model, analyze, and counter cyber threats.<ref:2609.07280#pg1>.
In short
The research proposes an automated pipeline using Retrieval-Augmented Generation (RAG) and a Small Language Model (SLM) to transform fragmented Cyber Threat Intelligence (CTI) into a structured, enriched Attack Graph. This system manually correlates scattered evidence from diverse sources to derive tactical attack progressions, annotating each step with explicit preconditions and postconditions for better prevention and response planning.
Key concepts
- Attack Graph
- A visual representation of a cyberattack's progression, structured as nodes (Milestones and Attack Steps) showing how tactics align. This graph captures the coarse sequence of an attack from initial stages to execution checkpoints, providing a holistic view that is easier for analysts to understand than raw documents.
- Retrieval-Augmented Generation (RAG)
- A technique where a Large Language Model (LLM) uses external, retrieved documents as context before generating an answer. In this pipeline, RAG retrieves relevant CTI evidence from various sources to ground the SLM's inferences, ensuring that the resulting attack graph details are supported by actual threat intelligence.
- Small Language Model (SLM)
- A compact AI model deployed locally on-device to process and consolidate information across disparate CTI documents. Using an SLM allows organizations to derive rich attack representations without relying on external, potentially insecure, commercial LLMs, addressing data protection concerns while performing complex reasoning.
Terminology used across episodes
This episode discusses
- Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation · Paper Radio
- Small Language Models are the Future of Agentic AI · Paper Radio
- The Faiss library
- Retrieval-Augmented Generation for Large Language Models: A Survey
- A Survey on LLM-as-a-Judge
- Leveraging Large Language Models for NLG Evaluation: Advances and Challenges
- Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attacks
- LRCTI: A Large Language Model-Based Framework for Multi-Step Evidence Retrieval and Reasoning in Cyber Threat Intelligence Credibility Verification
- ThreatPilot: Attack-Driven Threat Intelligence Extraction
- BERTScore: Evaluating Text Generation with BERT
The paper
Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation · Read on arXiv
University of Cagliari · IMT School for Advanced Studies Lucca · Consorzio Interuniversitario Nazionale per l’Informatica
Modern cybersecurity operations rely on CTI collected from heterogeneous sources, including semi-structured threat representations, IoCs, and narrative technical reports. However, these artifacts are often insufficient in isolation to reconstruct how an attack unfolds, under which conditions each step is feasible, and which traces it leaves behind. In practice, analysts must manually correlate partial evidence scattered across multiple and only partially structured sources, delaying the design of effective prevention, detection, and response actions. To address this gap, we propose an automated pipeline that derives an actionable representation of a cyberattack from heterogeneous CTI sources. The pipeline combines a RAG architecture with a locally deployable SLM, used to consolidate such evidence and infer missing operational details. Starting from a semi-structured threat representation and auxiliary CTI documents, the pipeline produces an enriched Attack Graph that captures a coarse, tactic-aligned progression of the attack and annotates each step with explicit pre-conditions and post-conditions, and an enriched description. This representation supports prevention by exposing execution requirements, detection by highlighting observable traces, and response by clarifying the temporal progression of the attack. Then, due to the lack of validated datasets with ground-truth information on the temporal evolution of real-world attacks, we test the complete pipeline on 10 real-world case studies spanning multiple threat types, including backdoors and staged downloaders delivered via phishing. A manual assessment across 10 real-world case studies provides initial evidence that the generated graphs are consistent with expected attack progressions, indicating that the proposed approach can support analysts by consolidating dispersed CTI evidence into a structured and actionable view of attacks.
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: I'm Nadia.
Elias: And I'm Elias, here with Priya.
Nadia: We're looking at the paper: "Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation".
Title and authors: Nadia: So we're looking at this paper now, "Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation." It sounds like they're trying to solve that problem where analysts have all this messy information from different places and they just can't stitch it together into a usable picture of an attack.
Elias: Exactly, Nadia. The core idea here is using Retrieval Augmented Generation and a Small Language Model to turn that fragmented data into something structured, like an Attack Graph. It’s about getting beyond just having a pile of reports and actually showing how the attack moves through different stages.
Nadia: Right. So what they're doing is taking things like STIX files or technical reports and feeding them into this system so it can build this graph with milestones and steps that show the tactic-aligned progression of the attack, right?
Elias: That’s right. They are using a Small Language Model to derive that coarse attack progression, where each step is an atomic attacker action, and then they enrich those steps by grounding them in actual evidence from those different documents.
Nadia: It sounds like they're moving from just seeing indicators of compromise to actually understanding the sequence of events that led to them, which is a big shift for defense planning.
Elias: And it’s not just about sequencing; they’re adding explicit pre-conditions and post-conditions to each step, which helps you filter out steps that might be physically impossible or provide concrete clues for detection and investigation.
Priya: From my side, I'm curious how much of this structured representation actually matters for the person on the ground when they are trying to stop an attack in real time.
The paper's summary: Nadia: Well, what they’re summarizing is that modern defense relies on massive amounts of data, but currently, analysts have to manually correlate partial evidence across sources that aren't even structured the same way, which really slows down designing prevention or response actions.
Elias: They propose this automated pipeline that uses a Retrieval Augmented Generation architecture with a Small Language Model to derive an actionable representation of an attack from those heterogeneous CTI sources. This means you stop manually correlating everything and start getting this enriched Attack Graph.
Nadia: So they are essentially creating this graph that captures the coarse, tactic-aligned progression of the attack and annotates every single step with an enriched description, plus those explicit pre-conditions and post-conditions we talked about before.
Elias: That’s right. The first part of their approach is using a Small Language Model over documents that are retrieved via Retrieval Augmented Generation to model that coarse progression, where milestones are tactic-aligned execution checkpoints and attack steps are atomic attacker actions.
Priya: But I want to know about the evidence grounding part, because if it's just the LLM guessing based on what it read, then the resulting graph is just a fancy drawing without any real substance for incident response teams.
Nadia: That's a fair question. They ground those attack steps in evidence from those heterogeneous documents using this hybrid retriever, which combines lexical ranking, that best matching twenty five score with embedding-based retrieval over a FAISS vector database to get the supporting evidence.
Elias: They use that combined search to pull relevant chunks and then feed those into the Small Language Model so it can infer those actions preconditions and resulting post-conditions for each step, which is what makes the enrichment grounded in source material.
The paper's improvements: Nadia: The key improvement they point to is this entire pipeline structure. It’s local-first, meaning it uses a locally deployable Small Language Model and grounds all those enrichments directly in retrieved evidence, which cuts down on the need for analysts to manually do all that correlation work.
Elias: They're leveraging that on-device Small Language Model to consolidate information across disparate sources without needing to share sensitive data externally, which makes it much more suitable for environments with strict security constraints.
Nadia: So, what they’re doing is using the Retrieval Augmented Generation and the SLM to model the attack graph and then enriching each step by grounding it in evidence from heterogeneous documents while inferring those pre-conditions and post-conditions.
Elias: The benefit of those pre-conditions is that they directly support prevention oriented prioritization because you can filter out steps that are infeasible, while the post-conditions provide concrete indicators for detection and post incident investigation.
Priya: I mean, if the pipeline does this well, it means we get a graph that shows not just *what* happened but *why* it could happen and what to look for during the attack. That moves us toward better proactive defense planning.
Nadia: It does, because the resulting graph describes a coarse, tactic-aligned progression of the attack and was manually verified for node and edge correctness across ten real-world case studies spanning multiple threat families, showing it works in diverse scenarios.
Conclusion: Elias: So to wrap up, this paper on Merging Cyber Threat Intelligence Through Retrieval Augmented Generation and Small Language Models for Rich Threat Representation proposes a system that infers an enriched representation of coarse cyber attack progression from heterogeneous CTI sources.
Nadia: By transforming fragmented CTI into a structured, tactic-aligned representation enriched with step level operational details, the goal is to reduce the analyst effort needed to move from threat reporting straight to prevention, detection, and response planning.
Elias: This representation is powerful because it exposes execution requirements for prevention and highlights observable traces for detection. It’s using an open model instead of a commercial one, which makes it better for data protection when dealing with CTI reports.
Priya: I just want to say that while they show this works across ten real-world case studies and shows stability in results, the authors themselves flag that there are still typical RAG failure modes like retrieval misses or conflicting sources that might lead to generic pre-conditions or post-conditions.
Nadia: That's true. The limitation is that the pipeline inherits those RAG issues, so future work needs to focus on improving inference faithfulness and using those pre-conditions to actually evaluate attack feasibility.
Elias: I agree with Nadia there. The authors plan to use post-conditions specifically to drive incident response operations, which sounds like a very practical next step for making this tool even more useful in the field.
Nadia: So, this work takes complex CTI and turns it into something actionable by using RAG and SLMs locally deployed, setting a new path for how we can structure our understanding of cyber threats.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04