Skip to main content
QUICK REVIEW

[论文解读] AutoIDS: Auto-encoder Based Method for Intrusion Detection System

M. Gharib, Bahram Mohammadi|arXiv (Cornell University)|Nov 8, 2019
Network Security and Intrusion DetectionComputer Science参考文献 50被引用 35
一句话总结

AutoIDS 使用两层自编码器级联(一个稀疏自编码器 SAE 和一个常规自编码器 AE),在正常流量上进行训练,以实现半监督地检测入侵,在 NSL-KDD 上达到 90.17% 的准确率,计算量更低。

ABSTRACT

Intrusion Detection System (IDS) is one of the most effective solutions for providing primary security services. IDSs are generally working based on attack signatures or by detecting anomalies. In this paper, we have presented AutoIDS, a novel yet efficient solution for IDS, based on a semi-supervised machine learning technique. AutoIDS can distinguish abnormal packet flows from normal ones by taking advantage of cascading two efficient detectors. These detectors are two encoder-decoder neural networks that are forced to provide a compressed and a sparse representation from the normal flows. In the test phase, failing these neural networks on providing compressed or sparse representation from an incoming packet flow, means such flow does not comply with the normal traffic and thus it is considered as an intrusion. For lowering the computational cost along with preserving the accuracy, a large number of flows are just processed by the first detector. In fact, the second detector is only used for difficult samples which the first detector is not confident about them. We have evaluated AutoIDS on the NSL-KDD benchmark as a widely-used and well-known dataset. The accuracy of AutoIDS is 90.17\% showing its superiority compared to the other state-of-the-art methods.

研究动机与目标

  • 用异常检测来驱动入侵检测,而不是仅依赖签名。
  • 开发一个仅从正常流量学习的半监督方法。
  • 通过两阶段探测器级联来提高检测准确率并降低计算成本。
  • 展示该方法对未见攻击在标准基准上的泛化能力。

提出的方法

  • 提出两个探测器的级联:一个轻量级的稀疏自编码器(SAE)和一个常规自编码器(AE)。
  • 仅在正常流量上训练两个探测器,以学习正常流量的表示。
  • D1(SAE)使用潜在表示的稀疏性,并通过阈值 tau_min 和 tau_max 来标记 Normal、Anomaly 或 Unknown 样本,从而实现快速早期拒绝。
  • D2(AE)使用重建误差,并通过阈值 thr_AE(通过 ROC 分析设定)来区分 Normal 与 Anomaly,在 D1 判定为 Unknown 的样本上。
  • 通过 D1 处理大量流量;仅将不确定样本传递给 D2,以在准确性和速度之间取得平衡。
  • 利用两个特征空间(D1 的稀疏性和 D2 的重建误差)来提高整体判别力。

实验结果

研究问题

  • RQ1AutoIDS 能否在仅使用正常流量进行训练的情况下准确检测异常(半监督学习)?
  • RQ2级联一个稀疏 SAE 和一个 AE 是否比单独使用任一探测器在检测准确性和每个流量的平均处理时间上更优?
  • RQ3与最先进的基于异常的 IDS 方法相比,AutoIDS 在未见/未知攻击上的表现如何?
  • RQ4阈值设计(tau_min、tau_max、thr_AE)对检测性能和 ROC 特性有何影响?

主要发现

  • AutoIDS 在 NSL-KDD 上达到 90.17% 的准确率,当在 KDDTrain+ 上训练、在 KDDTest+ 上测试时,优于若干最先进的基于异常的方法。
  • AutoIDS 在 NSL-KDD 上对未见攻击的泛化能力优于某些监督方法,这是通过在仅使用正常数据进行训练的比较来证明。
  • 消融研究表明两探测器级联(D1 使用稀疏性,D2 使用重建误差)比任一单独探测器获得更高的准确性、召回率和 F1 分数。
  • 级联降低运行时间:对每个进入的流量的平均测试时间为 AutoIDS(D1S→D2R)137 μs,而 D2R 为 195 μs,D1R 为 202 μs。
  • 基于 ROC 的 thr_AE 阈值选择优化了召回率与假阳性之间的权衡,有助于鲁棒的异常检测。
  • AutoIDS 的收益在于大多数样本在快速 D1 阶段处理完成,而将准确但成本较高的 D2 阶段保留给难样本。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。