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

知识到数据:基于大语言模型的结构化网络流量合成用于无测试床IDS评估

Knowledge-to-Data: LLM-Driven Synthesis of Structured Network Traffic for Testbed-Free IDS Evaluation

Norwegian University of Science and Technology(挪威科技大学);University of the Aegean(爱琴海大学);University of Piraeus(比雷埃夫斯大学)

Konstantinos E. Kampourakis, Vyron Kampourakis, Efstratios Chatzoglou, Georgios Kambourakis, Stefanos Gritzalis

AI总结:

本文提出利用大语言模型生成结构化网络流量数据集,以实现无测试床的IDS评估,通过显式约束提升数据真实性,使分类器在真实样本上的F1分数达到0.956。

摘要:

现实的、大规模的、标注良好的网络安全数据集对于训练和评估入侵检测系统(IDS)至关重要。然而,由于隐私限制、数据敏感性和构建受控收集环境(如测试床和网络范围)的成本,这些数据集仍然难以获得。本文探讨了大型语言模型(LLMs)是否可以作为受控的知识到数据引擎,生成适用于IDS研究的结构化合成网络流量数据集。我们提出了一种结合协议文档、攻击语义和显式统计规则的方法,以条件化LLMs,而无需微调或访问原始样本。使用AWID3 IEEE~802.11基准作为严苛的案例研究,我们使用四种最先进的LLMs生成标注数据集,并通过多级验证框架进行评估,包括全局相似性度量、每个特征分布测试、结构比较和跨领域分类。结果表明,在显式约束下,LLM生成的数据集可以近似真实网络流量的统计和结构特征,使梯度提升分类器在真实样本上的F1分数可达到0.956。总体而言,研究发现表明,受约束的LLM驱动生成可以促进按需IDS实验,提供一种无测试床、隐私保护的替代方案,克服了传统物理流量收集和手动标注的瓶颈。

英文摘要:

Realistic, large-scale, and well-labeled cybersecurity datasets are essential for training and evaluating Intrusion Detection Systems (IDS). However, they remain difficult to obtain due to privacy constraints, data sensitivity, and the cost of building controlled collection environments such as testbeds and cyber ranges. This paper investigates whether Large Language Models (LLMs) can operate as controlled knowledge-to-data engines for generating structured synthetic network traffic datasets suitable for IDS research. We propose a methodology that combines protocol documentation, attack semantics, and explicit statistical rules to condition LLMs without fine-tuning or access to raw samples. Using the AWID3 IEEE~802.11 benchmark as a demanding case study, we generate labeled datasets with four state-of-the-art LLMs and assess fidelity through a multi-level validation framework including global similarity metrics, per-feature distribution testing, structural comparison, and cross-domain classification. Results show that, under explicit constraints, LLM-generated datasets can closely approximate the statistical and structural characteristics of real network traffic, enabling gradient-boosting classifiers to achieve F1-scores up to 0.956 when evaluated on real samples. Overall, the findings suggest that constrained LLM-driven generation can facilitate on-demand IDS experimentation, providing a testbed-free, privacy-preserving alternative that overcomes the traditional bottlenecks of physical traffic collection and manual labeling.

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

↑