[论文解读] Holmes: An Evidence-Grounded LLM Agent for Auditable DDoS Investigation in Cloud Networks
Holmes 将 LLM 重新框定为虚拟 SRE,在云网络中通过分层、按需工作流和证据包进行可审计、基于证据的 DDoS 调查。
Cloud environments face frequent DDoS threats due to centralized resources and broad attack surfaces. Modern cloud-native DDoS attacks further evolve rapidly and often blend multi-vector strategies, creating an operational dilemma: defenders need wire-speed monitoring while also requiring explainable, auditable attribution for response. Existing rule-based and supervised-learning approaches typically output black-box scores or labels, provide limited evidence chains, and generalize poorly to unseen attack variants; meanwhile, high-quality labeled data is often difficult to obtain in cloud settings. We present Holmes (DDoS Detective), an LLM-based DDoS detection agent that reframes the model as a virtual SRE investigator rather than an end-to-end classifier. Holmes couples a funnel-like hierarchical workflow (counters/sFlow for continuous sensing and triage; PCAP evidence collection triggered only on anomaly windows) with an Evidence Pack abstraction that converts binary packets into compact, reproducible, high-signal structured evidence. On top of this evidence interface, Holmes enforces a structure-first investigation protocol and strict JSON/quotation constraints to produce machine-consumable reports with auditable evidence anchors. We evaluate Holmes on CICDDoS2019 reflection/amplification attacks and script-triggered flooding scenarios. Results show that Holmes produces attribution decisions grounded in salient evidence anchors across diverse attack families, and when errors occur, its audit logs make the failure source easy to localize, demonstrating the practicality of an LLM agent for cost-controlled and traceable DDoS investigation in cloud operations.
研究动机与目标
- 解决传统基于 ML 的云环境 DDoS 检测器在可解释性、可审计证据和泛化能力方面的不足。
- 提出一个按需的分层工作流,将线速监控与昂贵的深入分析分离开来。
- 引入证据包,将二进制流量转换为可用于 LLM 推理的高信号、可引用的证据。
- 强制执行基于证据的结构优先推理过程,采用严格的 JSON 输出与引文约束以便可审计的事件报告。
提出的方法
- 实现漏斗状的分层工作流,将持续遥测(L1)、轻量化初筛(L2)和按需调查(L3)分开。
- 开发证据包,将具有代表性的二进制数据包综合成紧凑的语义锚点(PRIMARY 样本),供 LLM 使用。
- 创建基于证据的推理协议,包含引用规则(Quote Rule)和严格的 JSON 架构,确保可验证、可审计的结论。
- 将代理行为编码在带不变量、Route-1 结构优先流程和严格的 JSON 输出格式的提示合同中。
- 整合审计日志系统,记录异常上下文、初筛结果、证据包与代理输出,供事件审查使用。
实验结果
研究问题
- RQ1在预算和延迟约束内,LLM 基于 DDoS 调查的代理如何实现线速监控与按需深度推理并行?
- RQ2基于证据、引文受限的 LLM 工作流是否能为云网络中多样化的 DDoS 攻击族群提供可审计的归因?
- RQ3语义证据包是否能够在操作环境中有效 bridging 二进制流量数据与 LLM 的语义推理?
- RQ4在 DDoS 调查中,以结构优先的基于证据的 LLM 代理的局限性和故障模式是什么?
主要发现
- 分层工作流在不牺牲云环境线速监控的前提下,实现了按需的深度调查。
- 证据包将二进制 PCAP 数据转化为紧凑、可观察的锚点,支持可审计、基于引文的归因。
- 引用规则和严格的 JSON 架构减少了不忠实推理,提高了事件报告的可审计性。
- 在 CICDDoS2019 反射/放大攻击和合成洪峰的实验中,代理能够对多样化攻击给出可追溯证据锚点的归因。
- 审计日志便于定位故障源和误归因,展示了实际部署和可观测性方面的优势。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。