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

针对基于大语言模型的网络流量分类器的可控性感知对抗样本

Controllability-Aware Adversarial Examples Against LLM-Based Network Traffic Classifiers

Guangzhou Health Science College(广州健康科学学院)

Zhenpeng Li

AI总结:

研究基于大语言模型的网络流量分类器的对抗鲁棒性,提出可控性感知黑盒迁移框架,按通信语义划分特征组限制扰动,生成对抗样本并迁移到多个目标,发现LLM迁移漏洞及相关特性,验证跨架构迁移层次和交叉代理有效性。

摘要:

大语言模型(LLMs)越来越多地被用作网络入侵检测分类器,但其在现实攻击者约束下的对抗鲁棒性仍不明确。本文提出了一个针对基于LLM的网络流量分类器的可控性感知黑盒迁移框架。该框架根据网络通信语义将流特征分为直接可控(DC)、间接可控(IC)和不可控(UC)组,在冻结IC/UC特征时将扰动限制在DC特征上。使用共享的XGBoost代理,生成有限差分PGD、贪婪坐标方向和NES对抗样本,并将其迁移到跨越1999年至2022年的五个IDS基准测试中的七个LLM目标和两个传统ML目标上。通过27个有效的LLM配置和超过50万个对抗样本,发现LLM迁移漏洞很大,但依赖于数据集和比较器。与LightGBM相比,LLMs在RT-IoT2022和CIC-IDS-2018上更易受攻击,在NSL-KDD和UNSW-NB15上相当,在HIKARI-2021上更不易受攻击;与平均ML基线相比,LLMs在所有五个数据集上显示出更高的攻击成功率(ASR)。还观察到一致的跨架构迁移层次:基于梯度和分数的扰动在所有27个LLM单元和9/10个ML单元中比贪婪扰动更有效地迁移。使用树、神经和线性代理进行的交叉代理验证产生了相似的LLM ASR,减少了结果是XGBoost特有的证据。构造的约束违反率为0%。

英文摘要:

Large language models (LLMs) are increasingly explored as network intrusion detection classifiers, but their adversarial robustness under realistic attacker constraints remains unclear. We present a controllability-aware black-box transfer framework for LLM-based network traffic classifiers. The framework partitions flow features into directly controllable (DC), indirectly controllable (IC), and uncontrollable (UC) groups according to network communication semantics, then restricts perturbations to DC features while freezing IC/UC features. Using a shared XGBoost surrogate, we generate finite-difference PGD, greedy coordinate-wise, and NES adversarial examples and transfer them to seven LLM targets and two conventional ML targets across five IDS benchmarks from 1999 to 2022. Across 27 valid LLM configurations and over 500,000 adversarial examples, we find that LLM transfer vulnerability is substantial but dataset- and comparator-dependent. Compared with LightGBM, LLMs are more vulnerable on RT-IoT2022 and CIC-IDS-2018, comparable on NSL-KDD and UNSW-NB15, and less vulnerable on HIKARI-2021; compared with the averaged ML baseline, LLMs show higher ASR on all five datasets. We further observe a consistent cross-architecture transfer hierarchy: gradient- and score-based perturbations transfer more effectively than greedy perturbations across all 27 LLM cells and 9/10 ML cells. Cross-surrogate validation with tree, neural, and linear surrogates yields similar LLM ASR, reducing evidence that the findings are XGBoost-specific. Constraint violation rate is 0\% by construction.

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

↑