arXiv:2605.07536cs.CRcs.LG2026-05

用图结构重建通信语义,无恶意样本也能发现隐蔽攻击。

GESR: Graph-Based Edge Semantic Reconstruction for Stealthy Communication Detection with Benign-Only Training

论文配图:GESR: Graph-Based Edge Semantic Reconstruction for Stealthy Communication Detection with Benign-Only Training
图 1 · 摘自论文原文
  • 从局部拓扑推断通信模式,不依赖标签
  • 在CICIDS2017上达0.9753的ROC-AUC,5%误报率下召回率达85.69%
  • 适合无恶意样本训练场景,尤其适合检测伪装成正常流量的攻击

在仅使用正常流量训练的条件下,从流日志中检测隐蔽恶意通信仍是网络安全中的关键挑战。恶意通信常伪装为标准HTTPS流量。传统入侵检测器依赖已知标注攻击,或完全独立评分各流量,难以应对稀疏且依赖上下文的可疑行为。为此,我们提出GESR,一种基于图的框架,在仅正常样本训练下检测可疑通信与异常主机。GESR将复杂网络活动建模为带属性的通信图,仅通过局部结构上下文重构边语义,而非孤立特征。这种非直观设计迫使模型从邻居拓扑预测预期通信模式,攻击者难以操控深层结构依赖。模型将结构不一致性转化为主机级异常分数,并采用稳健的中位绝对偏差(MAD)校准。我们在CTU-13和CICIDS2017数据集上进行严格评估,设定低误报率约束。在CICIDS2017上,GESR取得0.9753的ROC-AUC,5% FPR阈值下达到0.8569的高真阳性率。结果表明,结构条件下的边重建是可行的入侵检测方向。

原文摘要 · Abstract (English)

Detecting stealthy malicious communications from flow logs under benign-only training remains a critical challenge in network security. Malicious communications often camouflage as normal traffic like standard HTTPS flows. Conventional intrusion detectors rely strictly on known labeled attacks. Alternatively, they score flows completely independently. These approaches fail against sparse and context-dependent suspicious activity. To capture this essential context, graph anomaly detectors have been introduced to add valuable relational information to the analysis. However, existing methods fail to test the structural consistency of specific communication edges. To overcome these fundamental limitations, we present GESR, a novel graph-based framework for detecting suspicious communications and anomalous hosts under a benign-only training setting. GESR models complex network activity as attributed communication graphs. It cleverly reconstructs edge semantics entirely from local structural context rather than isolated features. This non-intuitive design forces the framework to predict expected communication patterns from neighborhood topologies. Attackers cannot easily manipulate this deep structural dependency. The model then converts the resulting structural inconsistencies into host-level anomaly scores. It utilizes robust Median Absolute Deviation (MAD) calibration for this final step. We evaluate GESR extensively on CTU-13 and CICIDS2017 datasets. These evaluations strictly impose tight false-positive operating constraints. On CICIDS2017, GESR achieves an outstanding ROC-AUC of 0.9753. It also yields a high TPR of 0.8569 at a strict 5% FPR threshold. GESR consistently outperforms existing methods across both evaluated benchmarks. The results prove that structure-conditioned edge reconstruction is a credible direction for practical intrusion detection.

图神经网络异常检测隐蔽攻击

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。