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

对抗学习在基于机器学习的网络入侵检测中的作用

The Role of Learning in Attacking ML-based Network Intrusion Detection

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Kyle Domico, Jean-Charles Noirot Ferrand, Patrick McDaniel

AI总结:

本文提出轻量级对抗代理,利用强化学习评估ML入侵检测模型鲁棒性,通过离线学习生成可重用策略,提升攻击效率和可扩展性。

摘要:

基于机器学习的网络入侵检测系统易受攻击者扰动恶意网络流量以逃避检测的攻击。现有评估模型鲁棒性的方法依赖于梯度优化,计算成本高且局限于可微分架构。为此,我们开发了轻量级对抗代理,通过强化学习训练,将学习逃避策略的成本与执行成本解耦。这些代理通过离线学习扰动恶意NetFlow记录以逃避替代入侵检测模型,将生成的策略编码为可重用的策略,部署时无需梯度计算。我们在四个涵盖企业、云和物联网环境的NetFlow数据集上评估了该方法,针对多种模型架构,包括无法直接评估的非可微分分类器。代理在0.31毫秒每攻击的时间内达到最高58.1%的攻击成功率,比基于梯度的方法提高了1,042倍的吞吐量(每毫秒攻击成功率)。在非可微分目标上,基于梯度的方法在替代转移下失去超过59%的效能,而强化学习代理可直接评估这些模型,达到29.8%的攻击成功率。我们还对ML入侵检测进行了全面的可转移性研究,评估代理在未见模型架构和流量分布上的泛化能力。实验结果表明,轻量级强化学习代理成为评估不同网络入侵检测环境下ML鲁棒性的实用且可扩展的工具。

英文摘要:

Machine Learning-based Network Intrusion Detection Systems (ML-NIDS) can be bypassed by rudimentary adversarial perturbations. Recent work has focused on identifying where such perturbations can realistically be applied by a host-side adversary. Yet every one of these attacks produces perturbations the same way: searching from scratch for every flow. The cost of an attack therefore grows in lockstep with the number of flows it must perturb, and real networks produce them by the tens of millions. In this paper, we show that using reinforcement learning to train lightweight perturbation-generating policies lets an adversary amortize that cost across flows it perturbs. Counting every detector query and every second an attack spends, training included, we compare learned policies against gradient, query-based, and random search across six ML-NIDS environments at two operating points, under both evasion and alert inflation. One successful adversarial example costs a learned policy 1.5 to 18 detector queries against 52 to 1,100 for the strongest search baseline, and the policy amortizes its training cost after 76 to 1,622 examples, a volume a monitored link produces in seconds of traffic. We further find that the RL formulation literature adopts by default is unnecessary for evasion, that the policy conditions on the flow it is given rather than converging on a fixed perturbation, and that it transfers to detectors and traffic it never trained against. The value of learning to attack ML-NIDS is therefore not a matter of effectiveness, but of scale.

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

↑