arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.20643cs.CR
收藏

CyberSleuth:自主蓝队LLM代理用于网络攻击取证

CyberSleuth: Autonomous Blue-Team LLM Agent for Web Attack Forensics

Politecnico di Torino(都灵理工大学);Huawei Technologies France(华为法国技术有限公司)

Stefano Fumero, Kai Huang, Matteo Boffa, Danilo Giordano, Marco Mellia, Dario Rossi

AI总结:

CyberSleuth通过LLM代理实现网络攻击自动化取证,展示了多代理专业化和有效设计在提升取证效率中的作用。

摘要:

事后分析被入侵系统是网络取证的关键方面,目前主要依赖手动操作,效率低且容易出错。基于代理的AI,即由大型语言模型(LLM)驱动的代理,是实现自动化的有前景途径。然而,将此类代理应用于网络安全仍处于初步探索阶段,因为该领域需要长期推理、上下文记忆和一致的证据关联能力,而当前LLM代理在这些方面难以掌握。本文首次系统研究了LLM代理自动化事后调查的可行性。作为首个场景,我们考虑了现实中的攻击,其中远程攻击者试图利用已知的CVE(30个受控案例)滥用在线服务。代理接收攻击的网络痕迹作为输入,并提取取证证据。我们比较了三种AI代理架构、六个LLM后端,并评估它们在i)识别被入侵的服务、ii)将漏洞映射到确切的CVE以及iii)准备详尽报告方面的能力。我们的最佳系统CyberSleuth在2025个事件中实现了80%的准确率,生成完整、连贯且实际有用的报告(由25名专家组成的评审团评估)。我们随后展示了CyberSleuth如何迅速适应分析受感染的机器流量,证明了有效的AI代理设计可以跨取证任务转移。我们的发现表明:(i)多代理专业化是持续推理的关键;(ii)简单的编排优于嵌套分层架构;(iii)CyberSleuth设计可以跨不同的取证任务进行泛化。

英文摘要:

Post-mortem analysis of compromised systems is a key aspect of cyber forensics, today a mostly manual, slow, and error-prone task. Agentic AI, i.e., LLM-powered agents, is a promising avenue for automation. However, applying such agents to cybersecurity remains largely unexplored and difficult, as this domain demands long-term reasoning, contextual memory, and consistent evidence correlation - capabilities that current LLM agents struggle to master. In this paper, we present the first systematic study of LLM agents to automate post-mortem investigation. As a first scenario, we consider realistic attacks in which remote attackers try to abuse online services using well-known CVEs (30 controlled cases). The agent receives as input the network traces of the attack and extracts forensic evidence. We compare three AI agent architectures, six LLM backends, and assess their ability to i) identify compromised services, ii) map exploits to exact CVEs, and iii) prepare thorough reports. Our best-performing system, CyberSleuth, achieves 80% accuracy on 2025 incidents, producing complete, coherent, and practically useful reports (judged by a panel of 25 experts). We next illustrate how readily CyberSleuth adapts to face the analysis of infected machine traffic, showing that the effective AI agent design can transfer across forensic tasks. Our findings show that (i) multi-agent specialisation is key to sustained reasoning; (ii) simple orchestration outperforms nested hierarchical architectures; and (iii) the CyberSleuth design generalises across different forensic tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑