CyberRAG: An Agentic RAG cyber attack classification and reporting tool
On the map: Retrieval-augmented generation → Privacy and security of RAG
also in 1 more
Abstract (arXiv)
Intrusion Detection and Prevention Systems (IDS/IPS) in large enterprises can generate hundreds of thousands of alerts per hour, overwhelming analysts with logs requiring rapidly evolving expertise. Conventional machine-learning detectors reduce alert volume but still yield many false positives, while standard Retrieval-Augmented Generation (RAG) pipelines often retrieve irrelevant context and fail to justify predictions. We present CyberRAG, a modular agent-based RAG framework that delivers real-time classification, explanation, and structured reporting for cyber-attacks. A central LLM agent orchestrates: (i) fine-tuned classifiers specialized by attack family; (ii) tool adapters for enrichment and alerting; and (iii) an iterative retrieval-and-reason loop that queries a domain-specific knowledge base until evidence is relevant and self-consistent. Unlike traditional RAG, CyberRAG adopts an agentic design that enables dynamic control flow and adaptive reasoning. This architecture autonomously refines threat labels and natural-language justifications, reducing false positives and enhancing interpretability. It is also extensible: new attack types can be supported by adding classifiers without retraining the core agent. CyberRAG was evaluated on SQL Injection, XSS, and SSTI, achieving over 94% accuracy per class and a final classification accuracy of 94.92% through semantic orchestration. Generated explanations reached 0.94 in BERTScore and 4.9/5 in GPT-4-based expert evaluation, with robustness preserved against adversarial and unseen payloads. These results show that agentic, specialist-oriented RAG can combine high detection accuracy with trustworthy, SOC-ready prose, offering a flexible path toward partially automated cyber-defense workflows.
Key facts. Cited by 11 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 27 of its 78 references that are in the map. First posted on arXiv 3 Jul 2025.
Builds on
27 of 78 references.
Closest ancestors · 2
Same direction, newest first
- 2025AURA: A Multi-Agent Intelligence Framework for Knowledge-Enhanced Cyber Threat Attribution11 Jun
- 2025TechniqueRAG: Retrieval Augmented Generation for Adversarial Technique Annotation in Cyber Threat Intelligence Text17 May
Other references · 25
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
13 more
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
- 2022News Summarization and Evaluation in the Era of GPT-3cited by 324
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2016Modular Multitask Reinforcement Learning with Policy Sketchescited by 200
- 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 122
- 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2024SecBench: A Comprehensive Multi-Dimensional Benchmarking Dataset for LLMs in Cybersecuritycited by 21
- 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattackscited by 15
- 2024A RAG-Based Question-Answering Solution for Cyber-Attack Investigation and Attributioncited by 9
- 2025LLM Cyber Evaluations Don't Capture Real-World Riskcited by 4
- 2016Analysis of SQL Injection Detection Techniquescited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 9.
11 papers.
- 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromisecited by 4
- 2026Retrieval-Augmented LLMs for Security Incident Analysiscited by 4
- 2025AutoBnB-RAG: Enhancing Multi-Agent Incident Response with Retrieval-Augmented Generationcited by 3
- 2026DiagChain: A Diagnostic Benchmark for Evaluating LLM Agents on Evidence-Grounded Attack Chain Reconstructioncited by 3
- 2026CyberAId: AI-Driven Cybersecurity for Financial Service Providerscited by 1
- 2026A Multi-Layer Cloud-IDS Pipeline with LLM and Adaptive Q-Learning Calibrationcited by 0
- 2026From Detection to Response: A Deep Learning and Retrieval-Augmented Generation Framework for Network Intrusion Mitigationcited by 0
- 2026An Organization-Scoped LLM Agent Runtime Architecture for Regulated Cybersecurity Operationscited by 0
- 2026MIRROR: Novelty-Constrained Memory-Guided MCTS Red-Teaming for Agentic RAGcited by 0
- 2026Defending Retrieval-Augmented Intrusion Detection Against Knowledge Poisoning and Prompt Injectioncited by 0
- 2026Structured but Fragile: On the Limits of LLMs in Cybersecurity Decision-Makingcited by 0
- 2026Structured but Fragile: On the Limits of LLMs in Cybersecurity Decision-Making21 Aug 2026
- 2026Defending Retrieval-Augmented Intrusion Detection Against Knowledge Poisoning and Prompt Injection8 Aug 2026
- 2026DiagChain: A Diagnostic Benchmark for Evaluating LLM Agents on Evidence-Grounded Attack Chain Reconstruction4 Aug 2026
- 2026MIRROR: Novelty-Constrained Memory-Guided MCTS Red-Teaming for Agentic RAG25 Jun 2026
- 2026An Organization-Scoped LLM Agent Runtime Architecture for Regulated Cybersecurity Operations28 May 2026
- 2026From Detection to Response: A Deep Learning and Retrieval-Augmented Generation Framework for Network Intrusion Mitigation18 May 2026
- 2026A Multi-Layer Cloud-IDS Pipeline with LLM and Adaptive Q-Learning Calibration15 May 2026
- 2026CyberAId: AI-Driven Cybersecurity for Financial Service Providers3 May 2026
- 2026Retrieval-Augmented LLMs for Security Incident Analysis18 Mar 2026
- 2025AutoBnB-RAG: Enhancing Multi-Agent Incident Response with Retrieval-Augmented Generation18 Aug 2025
- 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise9 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2026Beyond RAG for Cyber Threat Intelligence: A Systematic Evaluation of Graph-Based and Agentic Retrieval
- 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines
- 2026Towards Agentic Investigation of Security Alerts
- 2026MA-IDS: Multi-Agent RAG Framework for IoT Network Intrusion Detection with an Experience Library
- 2026When LLMs Team Up: A Coordinated Attack Framework for Automated Cyber Intrusions
- 2026(EC)2: Event-Centric Explainability for Cybersecurity Through Multi-Agent LLM Investigations
- 2026Detecting Offensive Cyber Agents: A Detection-in-Depth Approach
- 2026Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation