arXiv:2412.06239cs.CRcs.AI2024-12被引 6

用BERT分析网络流量,能识别未见过的攻击。

Unseen Attack Detection in Software-Defined Networking Using a BERT-Based Large Language Model

  • 将网络流数据转为文本格式,让BERT捕捉复杂流量模式。
  • 对已知和未见攻击均达99.96%准确率,表现稳定。
  • 适合需要防御新型攻击的SDN安全系统部署。

软件定义网络(SDN)通过解耦控制面与数据面,实现集中化、灵活化的网络资源管理,但其集中式控制也面临诸多安全威胁。现有研究在特征选择、攻击类型覆盖、多流决策及未见攻击检测方面仍存空白。本文提出一种基于预训练BERT模型的新型方法,将网络流数据转化为语言模型可理解的形式,使BERT能够捕捉流量中的复杂模式与关联。结合随机森林进行特征选择,提升模型性能并降低计算开销。攻击判定基于多个流的综合分析,增强检测可靠性。特别地,该方法具备识别未在训练中出现过的攻击能力。实验在两种场景下验证:针对已知攻击的检测准确率达99.96%,对未见攻击的检测同样达到99.96%,充分证明了其在应对动态威胁时的鲁棒性,显著提升了SDN网络的安全性。

原文摘要 · Abstract (English)

Software defined networking (SDN) represents a transformative shift in network architecture by decoupling the control plane from the data plane, enabling centralized and flexible management of network resources. However, this architectural shift introduces significant security challenges, as SDN's centralized control becomes an attractive target for various types of attacks. While current research has yielded valuable insights into attack detection in SDN, critical gaps remain. Addressing challenges in feature selection, broadening the scope beyond DDoS attacks, strengthening attack decisions based on multi flow analysis, and building models capable of detecting unseen attacks that they have not been explicitly trained on are essential steps toward advancing security in SDN. In this paper, we introduce a novel approach that leverages Natural Language Processing (NLP) and the pre trained BERT base model to enhance attack detection in SDN. Our approach transforms network flow data into a format interpretable by language models, allowing BERT to capture intricate patterns and relationships within network traffic. By using Random Forest for feature selection, we optimize model performance and reduce computational overhead, ensuring accurate detection. Attack decisions are made based on several flows, providing stronger and more reliable detection of malicious traffic. Furthermore, our approach is specifically designed to detect previously unseen attacks, offering a solution for identifying threats that the model was not explicitly trained on. To rigorously evaluate our approach, we conducted experiments in two scenarios: one focused on detecting known attacks, achieving 99.96% accuracy, and another on detecting unseen attacks, where our model achieved 99.96% accuracy, demonstrating the robustness of our approach in detecting evolving threats to improve the security of SDN networks.

SDN安全BERT未见攻击流量分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。