[论文解读] Detecting Unknown Encrypted Malicious Traffic in Real Time via Flow Interaction Graph Analysis
HyperVision 是一种实时、无监督的机器学习系统,通过分析流交互模式的紧凑内存图,检测未知的加密恶意流量。它在无需标注数据集或攻击模式先验知识的情况下,实现了高检测准确率(AUC ≥ 0.92,F1 ≥ 0.86)和高吞吐量(>80.6 Gb/s)。
In this paper, we propose HyperVision, a realtime unsupervised machine learning (ML) based malicious traffic detection system. Particularly, HyperVision is able to detect unknown patterns of encrypted malicious traffic by utilizing a compact inmemory graph built upon the traffic patterns. The graph captures flow interaction patterns represented by the graph structural features, instead of the features of specific known attacks. We develop an unsupervised graph learning method to detect abnormal interaction patterns by analyzing the connectivity, sparsity, and statistical features of the graph, which allows HyperVision to detect various encrypted attack traffic without requiring any labeled datasets of known attacks. Moreover, we establish an information theory model to demonstrate that the information preserved by the graph approaches the ideal theoretical bound. We show the performance of HyperVision by real-world experiments with 92 datasets including 48 attacks with encrypted malicious traffic. The experimental results illustrate that HyperVision achieves at least 0.92 AUC and 0.86 F1, which significantly outperform the state-of-the-art methods. In particular, more than 50% attacks in our experiments can evade all these methods. Moreover, HyperVision achieves at least 80.6 Gb/s detection throughput with the average detection latency of 0.83s.
研究动机与目标
- 解决传统基于签名或有监督机器学习方法难以检测的未知加密恶意流量挑战。
- 实现实时检测加密攻击,且无需事先了解攻击模式或使用标注数据集。
- 通过多个网络流之间的交互模式建模复杂攻击行为,而非依赖单一流特征。
- 开发一种与任务无关的检测系统,适用于多种类型的加密攻击。
提出的方法
- 构建一个紧凑的内存流交互图,以捕捉网络流的连通性、稀疏性及统计特征。
- 采用两种策略从短流和长流中表示交互模式,实现对多样化流量行为的统一分析。
- 应用无监督图学习方法,基于图中结构和统计偏差检测异常。
- 采用信息论模型证明该图能保留接近最优的检测信息。
- 利用离散时间马尔可夫链(DTMC)量化图表示的信息保留效率。
- 集成实时处理流水线,实现低延迟检测(平均 0.83 秒)和高吞吐量(>80.6 Gb/s)。

实验结果
研究问题
- RQ1能否有效建模加密流量中的流交互模式,以在无标注数据的情况下检测未知攻击?
- RQ2紧凑的内存图在多大程度上保留了检测加密流量中恶意行为的关键信息?
- RQ3无监督图学习能否检测到单一流分析无法识别的加密流量中的异常?
- RQ4基于图的表示在恶意流量检测中的理论信息论上限是什么?
- RQ5HyperVision 在检测真实世界加密攻击方面相较于最先进方法表现如何?
主要发现
- HyperVision 在 92 个真实世界攻击数据集上,AUC 至少达到 0.92,F1 至少达到 0.86,显著优于最先进方法。
- 在测试的 48 个攻击中,超过 50%(24 个攻击)避开了全部五种现有最先进检测系统。
- 系统在平均延迟 0.83 秒下,维持超过 80.6 Gb/s 的检测吞吐量。
- 流交互图保留的信息量接近理论信息论上限。
- HyperVision 能够成功检测依赖加密流量的复杂多阶段攻击,而这些攻击对单一流分析完全不可见。
- 该方法在多种攻击类型中均表现有效,包括 C2 数据外传、恶意软件活动和数据外泄,且无需事先了解攻击特征签名。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。