Peregrine:面向Terabit网络的基于ML的恶意流量检测
Where to Sample: Rethinking ML-Based Malicious Traffic Detection at Terabit Scale
AI总结:
针对Terabit网络中ML恶意流量检测因高速采样导致性能下降的问题,提出Peregrine,通过将ML特征计算卸载至数据平面交换机,实现全流量特征计算,显著提升检测性能、吞吐量与能效。
摘要:
利用机器学习(ML)的恶意流量检测器,即结合深度学习技术的检测器,在应对多种攻击时展现出卓越的检测能力。然而,当部署在处理Terabit速率流量的网络中时,其有效性会受到削弱。在实践中,这些系统需要进行大量流量采样,以协调高速的数据平面数据包速率与相对较慢的ML检测处理速度。由于采样显著降低了流量可观测性,它从根本上破坏了其检测能力。我们提出了Peregrine,一种面向Terabit网络的基于ML的恶意流量检测器。核心思想是在网络数据平面中部分运行检测过程。具体而言,我们将检测器的ML特征计算卸载到商用交换机上。Peregrine交换机以Tbps线路速率处理每个数据包的多种特征,比最快的检测器高出三个数量级,从而为控制平面中基于ML的组件提供数据。我们的卸载方法具有明显优势。在实践中,当前系统对原始流量进行采样,而在Peregrine中,采样发生在特征计算之后。这一基本特征使得能够对所有流量计算特征,从而显著提升检测性能。Peregrine检测器不仅适用于Terabit网络,而且具备高能效与高性价比。此外,通过将计算密集型组件转移到交换机上,它节省了宝贵的CPU周期并提高了检测吞吐量。
英文摘要:
Machine Learning (ML)-based malicious traffic detectors can identify unseen attacks, including in encrypted traffic, but scaling them to Terabit rates remains challenging. Packet sampling, commonly used to meet processing limits, can discard essential behavioral information and render detection ineffective. We present Peregrine, a hardware-software co-designed architecture built around a simple principle: compute features before sampling. Peregrine updates ML features over all traffic at line rate in a programmable switch, then downsamples the feature records sent to software inference. We instantiate this design with two detectors that impose distinct feature-computation requirements on the switch. Across 84 attack traces from three datasets, we show that approximate features computed over all packets can outperform exact features computed from sampled packets. In our evaluation, Peregrine preserves detection effectiveness while reducing feature-record rates by three orders of magnitude - even where pre-feature sampling causes detection to collapse.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。