mlsanityData to 7 Oct 2026

Retrieval-Augmented LLMs for Security Incident Analysis

arXiv 2603.18196 ↗First posted 18 Mar 2026cs.CR cs.AIcited by 4

On the map: Retrieval-augmented generation → Privacy and security of RAG

Abstract (arXiv)

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× 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.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 12 of its 37 references that are in the map. First posted on arXiv 18 Mar 2026.

Builds on

12 of 37 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025CyberRAG: An Agentic RAG cyber attack classification and reporting tool3 Jul

Other references · 11

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
  3. 2022SecureBERT: A Domain-Specific Language Model for Cybersecuritycited by 60
  4. 2022CySecBERT: A Domain-Adapted Language Model for the Cybersecurity Domaincited by 31
  5. 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontierscited by 26
  6. 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 21
  7. 2024Audit-LLM: Multi-Agent Collaboration for Log-based Insider Threat Detectioncited by 18
  8. 2025CORTEX: Collaborative LLM Agents for High-Stakes Alert Triagecited by 14
  9. 2025LLMs in the SOC: An Empirical Study of Human-AI Collaboration in Security Operations Centrescited by 13
  10. 2024Using LLMs to Automate Threat Intelligence Analysis Workflows in Security Operation Centerscited by 10
  11. 2025LLMLogAnalyzer: A Clustering-Based Log Analysis Chatbot using Large Language Modelscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM-based event log analysis techniques: A survey
  2. 2026LLMs for Zero-Shot Threat Detection via Structured Risk Indicators
  3. 2025Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generation
  4. 2025MalRAG: A Retrieval-Augmented LLM Framework for Open-set Malicious Traffic Identification
  5. 2026Before You Hand Over the Wheel: Evaluating LLMs for Security Incident Analysis
  6. 2026Toward Autonomous SOC Operations: End-to-End LLM Framework for Threat Detection, Query Generation, and Resolution in Security Operations
  7. 2025ExCyTIn-Bench: Evaluating LLM agents on Cyber Threat Investigation
  8. 2025LLM-Assisted Proactive Threat Intelligence for Automated Reasoning