Retrieval-Augmented LLMs for Security Incident Analysis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cadet, Xavier, Singh, Aditya Vikram, Mamania, Harsh, Koh, Edward, Fitts, Alex, Van Bruggen, Dirk, Boboila, Simona, Chin, Peter, Oprea, Alina
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909012392411136
author Cadet, Xavier
Singh, Aditya Vikram
Mamania, Harsh
Koh, Edward
Fitts, Alex
Van Bruggen, Dirk
Boboila, Simona
Chin, Peter
Oprea, Alina
author_facet Cadet, Xavier
Singh, Aditya Vikram
Mamania, Harsh
Koh, Edward
Fitts, Alex
Van Bruggen, Dirk
Boboila, Simona
Chin, Peter
Oprea, Alina
contents Investigating cybersecurity incidents requires collecting and analyzing evidence from multiple log sources, including intrusion detection alerts, network traffic records, and authentication events. This process is labor-intensive: analysts must sift through large volumes of data to identify relevant indicators and piece together what happened. We present a RAG-based system that performs security incident analysis through targeted query-based filtering and LLM semantic reasoning. The system uses a query library with associated MITRE ATT&CK techniques to extract indicators from raw logs, then retrieves relevant context to answer forensic questions and reconstruct attack sequences. We evaluate the system with eight LLM configurations on malware traffic incidents and a multi-stage Active Directory attack. We find that LLMs have different performance and tradeoffs, with Claude Sonnet 4 achieving 94% and DeepSeek V3 achieving 89% average recall across 17 malware scenarios, while DeepSeek costs 15$\times$ less than Claude per analysis, and locally-deployed Llama 3.1:70b achieves 81% recall at zero per-query cost. Attack step detection on the Active Directory scenario reaches 100% precision and up to 96% recall with an enumeration prompt. These results demonstrate that combining targeted query-based filtering with RAG-based retrieval -- confirmed essential by ablation studies -- enables accurate, cost-effective security analysis within LLM context limits.
format Preprint
id arxiv_https___arxiv_org_abs_2603_18196
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Retrieval-Augmented LLMs for Security Incident Analysis
Cadet, Xavier
Singh, Aditya Vikram
Mamania, Harsh
Koh, Edward
Fitts, Alex
Van Bruggen, Dirk
Boboila, Simona
Chin, Peter
Oprea, Alina
Cryptography and Security
Artificial Intelligence
Investigating cybersecurity incidents requires collecting and analyzing evidence from multiple log sources, including intrusion detection alerts, network traffic records, and authentication events. This process is labor-intensive: analysts must sift through large volumes of data to identify relevant indicators and piece together what happened. We present a RAG-based system that performs security incident analysis through targeted query-based filtering and LLM semantic reasoning. The system uses a query library with associated MITRE ATT&CK techniques to extract indicators from raw logs, then retrieves relevant context to answer forensic questions and reconstruct attack sequences. We evaluate the system with eight LLM configurations on malware traffic incidents and a multi-stage Active Directory attack. We find that LLMs have different performance and tradeoffs, with Claude Sonnet 4 achieving 94% and DeepSeek V3 achieving 89% average recall across 17 malware scenarios, while DeepSeek costs 15$\times$ less than Claude per analysis, and locally-deployed Llama 3.1:70b achieves 81% recall at zero per-query cost. Attack step detection on the Active Directory scenario reaches 100% precision and up to 96% recall with an enumeration prompt. These results demonstrate that combining targeted query-based filtering with RAG-based retrieval -- confirmed essential by ablation studies -- enables accurate, cost-effective security analysis within LLM context limits.
title Retrieval-Augmented LLMs for Security Incident Analysis
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2603.18196