Explainable attention-based intrusion detection for encrypted 5G network traffic
Abstract The widespread adoption of end-to-end encryption in 5G networks limits the effectiveness of traditional intrusion detection systems that rely on payload inspection. This challenge is particularly critical for detecting Advanced Persistent Threats (APTs), which employ low-rate, long-duration, and stealthy communication strategies to evade conventional defenses. This study presents a privacy-preserving intrusion detection framework that operates exclusively on flow-level traffic metadata without deep packet inspection. Network packets are aggregated into bidirectional flows, from which temporal, statistical, and directional features are extracted to characterize behavioral patterns. A Transformer-based model with self-attention is employed to capture long-range dependencies across encrypted traffic sequences and identify subtle, temporally dispersed attack indicators. The framework is evaluated on a large-scale 5G-relevant dataset containing over one million flow records and compared against classical machine learning, ensemble, CNN, and LSTM models. Results demonstrate high recall and strong F1-score in distinguishing APT from benign traffic. Attention-based and feature-level explanations further reveal that prolonged communication, irregular timing gaps, and directional asymmetry significantly influence detection decisions. The findings support the practicality of explainable Transformer models for secure and scalable APT detection in encrypted 5G environments.
Authors
- Syed Ziaur Rahman (ORCID: https://orcid.org/0000-0002-3460-1993)
- Dr.D. Pramodh Krishna
- Varun Vemulapalli
- Kranthi Kumar Lella (ORCID: https://orcid.org/0000-0001-7736-5321)
- Udayaraju Pamula
- Raghu Dhumpati
- N. Sandeep Chaitanya
Institutions
- Infosys (India) (IN)
- Manipal Academy of Higher Education (IN)
- Kalmyk State University (RU)
- Vignana Jyothi Institute of Management (IN)
- SRM University, Andhra Pradesh (IN)
- Bahrain Polytechnic (BH)
- Koneru Lakshmaiah Education Foundation (IN)
Publication Details
- Journal
- Discover Applied Sciences
- Published
- 2026-07-30
- DOI
- https://doi.org/10.1007/s42452-026-09287-5
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00