[论文解读] Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection
Kitsune 提供一个在线的、无监督的 NIDS,使用一个小自编码器集合(KitNET)来检测网络流量中的异常,内存和 CPU 要求低,表现与离线检测器竞争,并可在 Raspberry Pi 等设备上运行。
Neural networks have become an increasingly popular solution for network intrusion detection systems (NIDS). Their capability of learning complex patterns and behaviors make them a suitable solution for differentiating between normal traffic and network attacks. However, a drawback of neural networks is the amount of resources needed to train them. Many network gateways and routers devices, which could potentially host an NIDS, simply do not have the memory or processing power to train and sometimes even execute such models. More importantly, the existing neural network solutions are trained in a supervised manner. Meaning that an expert must label the network traffic and update the model manually from time to time. In this paper, we present Kitsune: a plug and play NIDS which can learn to detect attacks on the local network, without supervision, and in an efficient online manner. Kitsune's core algorithm (KitNET) uses an ensemble of neural networks called autoencoders to collectively differentiate between normal and abnormal traffic patterns. KitNET is supported by a feature extraction framework which efficiently tracks the patterns of every network channel. Our evaluations show that Kitsune can detect various attacks with a performance comparable to offline anomaly detectors, even on a Raspberry PI. This demonstrates that Kitsune can be a practical and economic NIDS.
研究动机与目标
- 激发对轻量级、在线、无监督 NIDS 的需求,适合集成到简单的网络网关上。
- 提出 KitNET:一个自编码器集合,由动态特征提取框架支持,用于实时异常检测。
- 开发一种在线方法,将高维特征映射到一个具有界定复杂度的集合中。
- 通过对真实网络和硬件受限设备的实验,展示 Kitsune 的实用性。
提出的方法
- 介绍 KitNET,一个由小型自编码器组成的集合,它们重建输入特征向量并将它们的重建误差用作异常分数。
- 使用一个特征提取框架,从 5 个时间窗口计算 115 个时序特征,以描述每个数据包的行为。
- 应用衰减型增量统计来维护时序特征,更新复杂度为 O(1),内存占用低。
- 通过基于相关距离的在线层次聚类,将 115 个特征映射到 k 个子实例(每个至多 m 个特征),以形成自编码器的集合输入。
- 使用每个自编码器输出的 RMSE 作为集合分数,通过作为非线性投票机制的输出自编码器来形成。
- 在训练模式下学习映射和阈值,然后切换到执行模式进行在线异常检测,阈值为 φ,灵敏度为 β(若 RMSE 超过 φβ 则发出警报)。
- 通过将每个自编码器限制为最多三层和七个可见神经元,提供一个轻量级的复杂度界限,以确保在网关上实现实时运行。
实验结果
研究问题
- RQ1Kitsune 是否能够在在线、无监督的方式下检测网络流量中的异常,而不需要标记数据?
- RQ2KitNET 的小型自编码器集合在检测性能上如何与离线异常检测器相比?
- RQ3在资源受限的设备(如 Raspberry Pi)上的运行时性能及其分组处理速率是多少?
- RQ4特征映射参数 m 如何影响检测准确性和运行时间?
主要发现
- Kitsune 实现了与离线异常检测器相当的检测性能。
- 该系统可以在 Raspberry Pi 上运行,证明在低成本硬件上的实用性。
- 特征提取跨五个时间窗口使用 115 个特征,为异常检测提供时序上下文。
- 由小型自编码器组成的集合(具有受控的最大输入大小 m)提供高效、可扩展的在线异常检测。
- 该框架提升了分组处理能力,并支持在简单网络设备中的插拔式部署。
- Kitsune 的在线、无监督方法消除了对标记数据和持续人工模型更新的依赖。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。