用零训练大模型在端口级实时检测并拦截分布式拒绝服务攻击
Proactive DDoS Detection and Mitigation in Decentralized Software-Defined Networking via Port-Level Monitoring and Zero-Training Large Language Models
- 通过端口级流量统计+提示工程,让大模型无需训练即可识别恶意流量
- 在多种攻击场景下实现99.99%准确率、100%召回率,检测近乎完美
- 适合需要快速部署、低维护成本的去中心化网络防御场景
集中式软件定义网络(cSDN)虽具灵活可控优势,但受限于中心控制器,存在可扩展性和可靠性问题。去中心化SDN(dSDN)通过分布式本地控制器缓解此问题,却仍易受分布式拒绝服务(DDoS)攻击影响。本文提出一种专为dSDN设计的主动检测与缓解框架。该框架结合轻量级端口级统计信息与提示工程,利用DeepSeek-v3大语言模型进行零训练推理,实现对流量是否为恶意的分类。一旦检测到异常,即在攻击者端口处直接实施阻断,确保恶意流量被源端拦截,正常流量不受影响。攻击结束后自动恢复机制可快速恢复正常运行。实验在多种DDoS攻击场景下验证,结果表明该方法达到99.99%准确率、99.97%精确率、100%召回率、99.98%F1分数和1.0的AUC值,充分证明了分布式监测与零训练大模型推理相结合,在保障安全的同时提供高效可扩展的主动防御能力。
原文摘要 · Abstract (English)
Centralized Software-Defined Networking (cSDN) offers flexible and programmable control of networks but suffers from scalability and reliability issues due to its reliance on centralized controllers. Decentralized SDN (dSDN) alleviates these concerns by distributing control across multiple local controllers, yet this architecture remains highly vulnerable to Distributed Denial-of-Service (DDoS) attacks. In this paper, we propose a novel detection and mitigation framework tailored for dSDN environments. The framework leverages lightweight port-level statistics combined with prompt engineering and in-context learning, enabling the DeepSeek-v3 Large Language Model (LLM) to classify traffic as benign or malicious without requiring fine-tuning or retraining. Once an anomaly is detected, mitigation is enforced directly at the attacker's port, ensuring that malicious traffic is blocked at their origin while normal traffic remains unaffected. An automatic recovery mechanism restores normal operation after the attack inactivity, ensuring both security and availability. Experimental evaluation under diverse DDoS attack scenarios demonstrates that the proposed approach achieves near-perfect detection, with 99.99% accuracy, 99.97% precision, 100% recall, 99.98% F1-score, and an AUC of 1.0. These results highlight the effectiveness of combining distributed monitoring with zero-training LLM inference, providing a proactive and scalable defense mechanism for securing dSDN infrastructures against DDoS threats.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。