用大模型+检索增强实现SDN中地毯式DDoS攻击的实时检测与防御。
Intelligent Detection and Mitigation of Carpet-Bombing DDoS Attacks in SDN Using Retrieval-Augmented Generation and Large Language Models
- 基于RAG框架融合流量特征与大模型语义推理,无需训练即可分类异常行为。
- 在多场景下检测准确率高,使用Gemma-4-31B-IT模型效果最佳。
- 适合网络安全研究者与SDN运维人员,助力智能防御系统建设。
软件定义网络(SDN)提供灵活可编程的网络管理,但其集中式控制架构易受分布式拒绝服务(DDoS)攻击威胁,尤其是将恶意流量分散至多个目标以规避传统检测机制的地毯式DDoS攻击。本文提出一种基于检索增强生成(RAG)的框架,用于在SDN环境中实时检测与缓解地毯式DDoS攻击。该框架结合接口级流量特征表示、语义嵌入生成、基于FAISS的相似性检索以及大语言模型(LLM)驱动的上下文推断,实现无需传统监督模型训练或重训的流量行为分类。为评估有效性,实验在多种地毯式DDoS攻击场景及不同攻击强度下进行。同时,对比了基于结构化JSON的表示与自然语言表示(NLR)两种策略,使用多个主流大模型进行测试。结果表明,所提框架具备高精度且稳定的攻击检测能力,采用Gemma-4-31B-IT模型的配置取得最优整体检测性能。实时实验进一步验证了该框架能快速响应并缓解攻击,同时保持SDN网络稳定运行。结果凸显了将RAG机制与大语言模型结合在智能自适应SDN安全分析中的有效性。
原文摘要 · Abstract (English)
Software-Defined Networking (SDN) provides flexible and programmable network management; however, its centralized control architecture remains highly vulnerable to Distributed Denial-of-Service (DDoS) attacks, particularly Carpet-Bombing DDoS attacks that distribute malicious traffic across multiple targets to evade conventional detection mechanisms. In this paper, a Retrieval-Augmented Generation (RAG)-based framework is proposed for real-time detection and mitigation of Carpet-Bombing DDoS attacks in SDN environments. The proposed framework combines interface-level traffic features representation, semantic embedding generation, FAISS-based similarity retrieval, and Large Language Model (LLM)-driven contextual inference to classify traffic behavior without requiring conventional supervised model training or retraining. To evaluate the effectiveness of the proposed framework, extensive experiments were conducted under multiple Carpet-Bombing DDoS attack scenarios with different attack intensities. In addition, two traffic representation strategies, namely structured JSON-based representation and natural language-based representation (NLR), were investigated using multiple state-of-the-art LLMs. The experimental results demonstrate that the proposed framework achieved highly accurate and stable attack detection performance, while the framework configuration utilizing the Gemma-4-31B-IT model achieved the strongest overall detection results. Furthermore, real-time experiments confirmed the capability of the proposed framework to rapidly detect and mitigate Carpet-Bombing DDoS attacks while maintaining stable SDN network operation. The obtained results highlight the effectiveness of integrating RAG mechanisms with LLM for intelligent and adaptive SDN security analysis.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。