Kevin Yaker, Boussad Ait Salem, Dave Appadoo, Nadjib Aitsaadi, Vivien Raynal
{"title":"Unsupervised CoAP-based anomaly detection in private 5G core network for Industrial-IoT","authors":"Kevin Yaker, Boussad Ait Salem, Dave Appadoo, Nadjib Aitsaadi, Vivien Raynal","doi":"10.1016/j.comcom.2026.108634","DOIUrl":null,"url":null,"abstract":"<div><div>In the ever-evolving Industry 4.0 landscape, logs and events play a critical role in maintaining the reliability and security of complex systems. This is especially true for 5G networks, where lightweight protocols such as CoAP and LwM2M produce massive volumes of structured but often unlabeled log data. Although machine learning and deep learning methods have become common tools for anomaly detection in such environments, they are frequently hindered by practical limitations: scarce labeled data, high-dimensionality, long log sequences, and the lack of realistic attack scenarios in available datasets. To address the above challenges, we adopt a deep clustering framework that learns low-dimensional structured latent representations without requiring labels. TF–IDF statistical analysis excels at detecting repetitive attack patterns and anomalous term frequencies characteristic of threats like distributed denial-of-service attacks and message flooding, while enabling rapid compression and interpretation of large-scale log data. However, TF–IDF alone fails to capture semantic context—for instance, distinguishing between benign timeouts and attack-induced timeout cascades. Conversely, while pre-trained models like sentence-transformer capture rich semantics, their latent spaces are optimized for classification and are often unsuitable for clustering, due to their entangled and non-topological structure. In this paper, we propose a novel hybrid architecture that fuses a TF–IDF-based autoencoder with a sentence-transformer encoder through a cross-attention mechanism. This combination leverages TF–IDF’s statistical sensitivity to repetitive attack signatures while enriching it with semantic understanding, allowing the latent representation to selectively incorporate both statistical anomalies and contextual semantic signals, thereby preserving the interpretability and clusterability of the learned space. We implement this architecture through a Wazuh-based SIEM deployment at the 5G network edge, demonstrating that unsupervised hybrid clustering can deliver effective CoAP anomaly detection in industrial IoT environments without labeled data, intrusive agents, or cloud-dependent processing addressing critical gaps in operational security for private 5G networks.</div></div>","PeriodicalId":55224,"journal":{"name":"Computer Communications","volume":"257 ","pages":"Article 108634"},"PeriodicalIF":4.2000,"publicationDate":"2026-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Communications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0140366426002240","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/8/3 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
In the ever-evolving Industry 4.0 landscape, logs and events play a critical role in maintaining the reliability and security of complex systems. This is especially true for 5G networks, where lightweight protocols such as CoAP and LwM2M produce massive volumes of structured but often unlabeled log data. Although machine learning and deep learning methods have become common tools for anomaly detection in such environments, they are frequently hindered by practical limitations: scarce labeled data, high-dimensionality, long log sequences, and the lack of realistic attack scenarios in available datasets. To address the above challenges, we adopt a deep clustering framework that learns low-dimensional structured latent representations without requiring labels. TF–IDF statistical analysis excels at detecting repetitive attack patterns and anomalous term frequencies characteristic of threats like distributed denial-of-service attacks and message flooding, while enabling rapid compression and interpretation of large-scale log data. However, TF–IDF alone fails to capture semantic context—for instance, distinguishing between benign timeouts and attack-induced timeout cascades. Conversely, while pre-trained models like sentence-transformer capture rich semantics, their latent spaces are optimized for classification and are often unsuitable for clustering, due to their entangled and non-topological structure. In this paper, we propose a novel hybrid architecture that fuses a TF–IDF-based autoencoder with a sentence-transformer encoder through a cross-attention mechanism. This combination leverages TF–IDF’s statistical sensitivity to repetitive attack signatures while enriching it with semantic understanding, allowing the latent representation to selectively incorporate both statistical anomalies and contextual semantic signals, thereby preserving the interpretability and clusterability of the learned space. We implement this architecture through a Wazuh-based SIEM deployment at the 5G network edge, demonstrating that unsupervised hybrid clustering can deliver effective CoAP anomaly detection in industrial IoT environments without labeled data, intrusive agents, or cloud-dependent processing addressing critical gaps in operational security for private 5G networks.
期刊介绍:
Computer and Communications networks are key infrastructures of the information society with high socio-economic value as they contribute to the correct operations of many critical services (from healthcare to finance and transportation). Internet is the core of today''s computer-communication infrastructures. This has transformed the Internet, from a robust network for data transfer between computers, to a global, content-rich, communication and information system where contents are increasingly generated by the users, and distributed according to human social relations. Next-generation network technologies, architectures and protocols are therefore required to overcome the limitations of the legacy Internet and add new capabilities and services. The future Internet should be ubiquitous, secure, resilient, and closer to human communication paradigms.
Computer Communications is a peer-reviewed international journal that publishes high-quality scientific articles (both theory and practice) and survey papers covering all aspects of future computer communication networks (on all layers, except the physical layer), with a special attention to the evolution of the Internet architecture, protocols, services, and applications.