Skip to content
Open access

A Representation-and-Scoring Framework for Zero-Day Malicious Traffic Detection Using Self-Supervised Graph Learning

2026 · IEEE Access · Vol 14, pp. 114115-114127 · 0 citations · 27 references
Computer Science

TL;DR

A graph-based approach for zero-day malicious traffic detection is explored, showing that graph-based zero-day detection is both feasible and effective, but its success strongly depends on how traffic is segmented, represented, and evaluated.

Abstract

Recent network traffic detection systems tend to perform well when identifying known attacks, yet their effectiveness drops significantly when faced with previously unseen malicious behavior. This issue becomes particularly important in zero-day scenarios, where predefined signatures and attack- specific patterns are either unavailable or unreliable. In this study, we explore a graph-based approach for zero-day malicious traffic detection. Network flows are first converted into traffic graphs, then encoded using self-supervised representation learning, and finally evaluated through post-hoc distance-based scoring methods. Instead of limiting the analysis to a single benchmark, we examine the proposed framework across three widely used datasets—USTC-TFC2016, CTU-13, and CIC-IDS2017—while focusing on key factors such as scorer design, graph construction, sampling strategy, and robustness under different evaluation settings. The proposed framework integrates self-supervised graph representation learning with lightweight zero-day scoring techniques, including centroid distance, Mahalanobis distance, and k-prototype minimum distance. The results indicate that the choice of scoring method has a significant impact on generalization performance. On USTC-TFC2016, the framework performs particularly well, with k-prototype scoring achieving the best overall results, while Mahalanobis distance also remains highly competitive. For CTU- 13, the findings indicate that mixed-traffic graph construction poses notable challenges; however, applying chunk purity filtering yields a clear performance improvement. In the case of CIC-IDS2017, adopting train- aware balanced chunk sampling enhances both overall accuracy and consistency across folds, suggesting that graph construction and sampling strategies play a role as important as the encoder itself in achieving reliable zero-day detection. Across all three datasets, a consistent pattern emerges: graph-based zero-day detection is both feasible and effective, but its success strongly depends on how traffic is segmented, represented, and evaluated. Additional ablation studies—covering training epochs, chunk size, number of sampled graphs, and random seed variations—further confirm the robustness of the proposed approach. Notably, increasing training depth proves beneficial, whereas simply increasing the number of sampled graphs per capture does not necessarily yield better results. Overall, this work presents a practical graph- based pipeline for zero-day traffic detection and provides a detailed empirical analysis of the conditions under which such methods can generalize effectively across diverse and heterogeneous malicious traffic datasets.

Read PDF

Similar papers

#machine learning Preprint Sep 2026

FoundAna: A GNN-assisted Foundation Model for Graph Anomaly Detection

FindAna is introduced, a GNN-assisted Foundation Model for Graph Anomaly Detection - the first foundation model framework designated for generalizable, cross-graph anomaly detection by combining GNNs and transformers.

Suprim Nakarmi, Chahana Dahal, Yue Zhao et al. · 0 citations
Open access Aug 2026

Dual-autoencoder multi-task self-supervised one-class graph anomaly detection for network traffic

GDAE is proposed, a multi-task self-supervised one-class anomaly detection framework for network traffic graphs, with strong stability and efficiency, offering a new pathway for lightweight, robust self-supervised one-class intrusion detection.

Ji Zhao, Da-Min Zhang, Tian-Yi Wang et al. · 0 citations
Open access Aug 2026

A Data-Centric Network Traffic Dataset for Anomaly Detection: Construction, Reproducible Pipeline, and Technical Validation

This work presents a network traffic dataset derived from operational firewall logs collected in a heterogeneous institutional environment dominated by HTTPS/TLS traffic, confirming data consistency, structural diversity, and class separability.

Daniel Quirumbay Yagual, Diego Fernández Iglesias, F. Nóvoa et al. · 0 citations
Open access 2026

A Framework for Simulated Zero-Day Detection Using Synthetic Attack Generation and Out-of-Distribution Evaluation

: Zero-day attacks pose a significant threat to computer systems and networks as they exploit weaknesses that have not been recognized by security professionals or software creators and for which there are no existing protective measures. This study introduced an innovative method for identifying Zero-day attacks throu...

Peter Kipngeno Langat, Michael W. Kimwele, D. Kaburu · 0 citations
Open access Aug 2026

Generate and Filter: A GNN-Based Approach for Graph Anomaly Detection

A novel framework, Generate and Filter graph learning for Graph Anomaly Detection (GFGAD), which generates a diverse set of synthetic anomalies with enriched feature and structural information to balance the data distribution and significantly outperforms state-of-the-art baselines.

Meng-Yu Li, Yong-Hao Liu, Xi-Ming Li et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.