A Unified Framework for Robust Encrypted Malicious Traffic Detection in Adverse Environments via Graph Structure Learning

Jianjin Zhao, Zhiwei Cui, Junsong Fu, Meng Shen, Qi Li*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

The widespread adoption of encryption protocols enables attackers to conceal malicious activities within encrypted traffic, rendering traditional detection methods ineffective. Graph Neural Networks (GNNs) have emerged as a promising solution by modeling network objects and their interactions within graph representations to capture the collaborative behavioral patterns of complex threat activities. However, the well-performed premise of GNNs does not always hold in adverse environments, leading to unsatisfactory performance, suffering from three critical issues including (1) incomplete information analysis, where heterogeneous relations among network objects are often overlooked (2) lack of solutions for evasion techniques, as existing methods focus on robust representation learning but fail to correct adversarial distortions, and (3) limited robustness evaluation, relying on synthetic feature perturbations rather than raw traffic manipulations in line with real-world attacks. To address these issues, we propose RETA, a unified framework for robust encrypted malicious traffic detection via graph structure learning. First, RETA unifies heterogeneous subgraphs capturing semantic metapaths and homogeneous subgraphs modeling behavioral similarities among encrypted sessions and takes a tailored Heterogeneous Graph Attention Network (HAN) encoder for neighborhood information aggregation. Then, it employs a unified graph structure learning framework to correct noisy relations induced by evasion techniques through channel attention-based aggregation and Bayesian inference-based estimation. Following an iterative manner, RETA mutually improves relation modeling and detection robustness. Finally, RETA simulates various realistic adverse conditions by modifying raw traffic captures, ensuring comprehensive robustness evaluations against network fluctuations and adversarial attacks. Extensive experiments demonstrate the superior robustness of RETA, significantly improving detection performance in adverse environments. Even under extreme adverse conditions (i.e., 30% packet loss rate and 5 perturbation edges), RETA still shows significant advantages, delivering 8.94% and 4.85% accuracy improvements over the baseline models on average.

Original languageEnglish
JournalIEEE Transactions on Network Science and Engineering
DOIs
Publication statusAccepted/In press - 2025

Keywords

  • Encrypted traffic
  • graph structure learning
  • malicious traffic detection

Fingerprint

Dive into the research topics of 'A Unified Framework for Robust Encrypted Malicious Traffic Detection in Adverse Environments via Graph Structure Learning'. Together they form a unique fingerprint.

Cite this