One-Class Anomaly Detection for Iot Sensor Telemetry in the TON_Iot Dataset

Authors

Reginald Ekene Ogu

Federal University of Technology Owerri (Nigeria)

Article Information

DOI: 10.51244/IJRSI.2026.1311000054

Subject Category: Cybersecurity

Volume/Issue: 13/11 | Page No: 643-653

Publication Timeline

Submitted: 2026-11-02

Accepted: 2026-11-07

Published: 2026-11-22

Abstract

Deployed IoT gateways rarely have labelled attack data, so a detector trained only on normal behaviour is the realistic option for device-level monitoring. This study tests that option on the seven TON_IoT telemetry devices. Five one-class detectors were fitted per device: Mahalanobis distance, isolation forest, one-class SVM, local outlier factor and an autoencoder. Each was trained on the first 70% of normal readings in time order and evaluated on the remaining normal readings and all attack readings. Using sensor values alone, every detector scored an AUROC between 0.48 and 0.51 on five devices, meaning attack-period readings were indistinguishable from normal ones. The GPS tracker reached a detection rate of 0.96, but only at a false-alarm rate of 0.81 on held-out normal data, because its normal readings drift. The weather station gave the only usable signal (AUROC 0.75–0.82), and that signal reflects the different statistical character of its four-minute normal capture. Adding reading-interval features raised the AUROC to 0.97–1.00 on Modbus and weather data, but through a sampling artefact rather than attack behaviour. The results define which sensors are worth monitoring and what a credible telemetry benchmark would need.

Keywords

Anomaly detection, One-class classification, Internet of Things

Downloads

References

1. Al-Hawawreh, M., Sitnikova, E., Aboutorab, N., 2022. X-IIoTID: A connectivity-agnostic and device-agnostic intrusion data set for industrial Internet of Things. IEEE Internet of Things Journal, 9(5), 3962–3977. https://doi.org/10.1109/JIOT.2021.3102056 [Google Scholar] [Crossref]

2. Alsaedi, A., Moustafa, N., Tari, Z., Mahmood, A., Anwar, A., 2020. TON_IoT telemetry dataset: A new generation dataset of IoT and IIoT for data-driven intrusion detection systems. IEEE Access, 8, 165130–165150. https://doi.org/10.1109/ACCESS.2020.3022862 [Google Scholar] [Crossref]

3. Apruzzese, G., Laskov, P., Montes de Oca, E., Mallouli, W., Brdalo Rapa, L., Grammatopoulos, A.V., Di Franco, F., 2023a. The role of machine learning in cybersecurity. Digital Threats: Research and Practice, 4(1), 1–38. https://doi.org/10.1145/3545574 [Google Scholar] [Crossref]

4. Apruzzese, G., Laskov, P., Schneider, J., 2023b. SoK: Pragmatic assessment of machine learning for network intrusion detection. In: Proceedings of 2023 IEEE 8th European Symposium on Security and Privacy (EuroS&P), pp. 592–614. https://doi.org/10.1109/EuroSP57164.2023.00042 [Google Scholar] [Crossref]

5. Arp, D., Quiring, E., Pendlebury, F., Warnecke, A., Pierazzi, F., Wressnegger, C., Cavallaro, L., Rieck, K., 2024. Pitfalls in machine learning for computer security. Communications of the ACM, 67(11), 104–112. https://doi.org/10.1145/3643456 [Google Scholar] [Crossref]

6. Booij, T.M., Chiscop, I., Meeuwissen, E., Moustafa, N., den Hartog, F.T.H., 2022. ToN_IoT: The role of heterogeneity and the need for standardization of features and attack types in IoT network intrusion data sets. IEEE Internet of Things Journal, 9(1), 485–496. https://doi.org/10.1109/JIOT.2021.3085194 [Google Scholar] [Crossref]

7. Bovenzi, G., Aceto, G., Ciuonzo, D., Montieri, A., Persico, V., Pescapé, A., 2023. Network anomaly detection methods in IoT environments via deep learning: A fair comparison of performance and robustness. Computers & Security, 128, 103167. https://doi.org/10.1016/j.cose.2023.103167 [Google Scholar] [Crossref]

8. Breunig, M.M., Kriegel, H.-P., Ng, R.T., Sander, J., 2000. LOF: Identifying density-based local outliers. In: Proceedings of 2000 ACM SIGMOD International Conference on Management of Data, pp. 93–104. https://doi.org/10.1145/342009.335388 [Google Scholar] [Crossref]

9. Chatterjee, A., Ahmed, B.S., 2022. IoT anomaly detection methods and applications: A survey. Internet of Things, 19, 100568. https://doi.org/10.1016/j.iot.2022.100568 [Google Scholar] [Crossref]

10. DeMedeiros, K., Hendawi, A., Alvarez, M., 2023. A survey of AI-based anomaly detection in IoT and sensor networks. Sensors, 23(3), 1352. https://doi.org/10.3390/s23031352 [Google Scholar] [Crossref]

11. D'hooge, L., Verkerken, M., Volckaert, B., Wauters, T., De Turck, F., 2022. Establishing the contaminating effect of metadata feature inclusion in machine-learned network intrusion detection models. In: Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA 2022). Lecture Notes in Computer Science, vol. 13358. Springer, Cham, pp. 23–41. https://doi.org/10.1007/978-3-031-09484-2_2 [Google Scholar] [Crossref]

12. Ferrag, M.A., Friha, O., Hamouda, D., Maglaras, L., Janicke, H., 2022. Edge-IIoTset: A new comprehensive realistic cyber security dataset of IoT and IIoT applications for centralized and federated learning. IEEE Access, 10, 40281–40306. https://doi.org/10.1109/ACCESS.2022.3165809 [Google Scholar] [Crossref]

13. Guerra, J.L., Catania, C., Veas, E., 2022. Datasets are not enough: Challenges in labeling network traffic. Computers & Security, 120, 102810. https://doi.org/10.1016/j.cose.2022.102810 [Google Scholar] [Crossref]

14. Gyamfi, E., Jurcut, A., 2022. Intrusion detection in Internet of Things systems: A review on design approaches leveraging multi-access edge computing, machine learning, and datasets. Sensors, 22(10), 3744. https://doi.org/10.3390/s22103744 [Google Scholar] [Crossref]

15. Haque, S., El-Moussa, F., Komninos, N., Rajarajan, M., 2023. A systematic review of data-driven attack detection trends in IoT. Sensors, 23(16), 7191. https://doi.org/10.3390/s23167191 [Google Scholar] [Crossref]

16. Heidari, A., Jabraeil Jamali, M.A., 2023. Internet of Things intrusion detection systems: A comprehensive review and future directions. Cluster Computing, 26(6), 3753–3780. https://doi.org/10.1007/s10586-022-03776-z [Google Scholar] [Crossref]

17. Hewamalage, H., Ackermann, K., Bergmeir, C., 2023. Forecast evaluation for data scientists: Common pitfalls and best practices. Data Mining and Knowledge Discovery, 37(2), 788–832. https://doi.org/10.1007/s10618-022-00894-5 [Google Scholar] [Crossref]

18. Kapoor, S., Narayanan, A., 2023. Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 100804. https://doi.org/10.1016/j.patter.2023.100804 [Google Scholar] [Crossref]

19. Koay, A.M.Y., Ko, R.K.L., Hettema, H., Radke, K., 2023. Machine learning in industrial control system (ICS) security: Current landscape, opportunities and challenges. Journal of Intelligent Information Systems, 60(2), 377–405. https://doi.org/10.1007/s10844-022-00753-1 [Google Scholar] [Crossref]

20. Layeghy, S., Portmann, M., 2023. Explainable cross-domain evaluation of ML-based network intrusion detection systems. Computers and Electrical Engineering, 108, 108692. https://doi.org/10.1016/j.compeleceng.2023.108692 [Google Scholar] [Crossref]

21. Liu, F.T., Ting, K.M., Zhou, Z.-H., 2008. Isolation forest. In: Proceedings of 2008 Eighth IEEE International Conference on Data Mining (ICDM), pp. 413–422. https://doi.org/10.1109/ICDM.2008.17 [Google Scholar] [Crossref]

22. Moustafa, N., 2019. ToN_IoT datasets. [Data set]. IEEE Dataport. https://doi.org/10.21227/fesz-dm97 [Google Scholar] [Crossref]

23. Moustafa, N., 2021. A new distributed architecture for evaluating AI-based security systems at the edge: Network TON_IoT datasets. Sustainable Cities and Society, 72, 102994. https://doi.org/10.1016/j.scs.2021.102994 [Google Scholar] [Crossref]

24. Naz, N., Khan, M.A., Alsuhibany, S.A., Diyan, M., Tan, Z., Khan, M.A., Ahmad, J., 2022. Ensemble learning-based IDS for sensors telemetry data in IoT networks. Mathematical Biosciences and Engineering, 19(10), 10550–10580. https://doi.org/10.3934/mbe.2022493 [Google Scholar] [Crossref]

25. Naz, N., Khan, M.A., Khan, M.A., Khan, M.A., Jan, S.U., Shah, S.A., Arshad, Abbasi, Q.H., Ahmad, J., 2023. A comparison of ensemble learning for intrusion detection in telemetry data. In: Advances on Intelligent Computing and Data Science. Lecture Notes on Data Engineering and Communications Technologies, vol. 179. Springer, Cham, pp. 451–462. https://doi.org/10.1007/978-3-031-36258-3_40 [Google Scholar] [Crossref]

26. Neto, E.C.P., Dadkhah, S., Ferreira, R., Zohourian, A., Lu, R., Ghorbani, A.A., 2023. CICIoT2023: A real-time dataset and benchmark for large-scale attacks in IoT environment. Sensors, 23(13), 5941. https://doi.org/10.3390/s23135941 [Google Scholar] [Crossref]

27. Pang, G., Shen, C., Cao, L., van den Hengel, A., 2021. Deep learning for anomaly detection: A review. ACM Computing Surveys, 54(2), 1–38. https://doi.org/10.1145/3439950 [Google Scholar] [Crossref]

28. Poonkuzhal, S., Shobana, M., Jeyalakshmi, J., 2023. A deep transfer learning approach for IoT/IIoT cyber attack detection using telemetry data. Neural Network World, 33(4), 225–244. https://doi.org/10.14311/NNW.2023.33.014 [Google Scholar] [Crossref]

29. Rosenblatt, M., Tejavibulya, L., Jiang, R., Noble, S., Scheinost, D., 2024. Data leakage inflates prediction performance in connectome-based machine learning models. Nature Communications, 15(1), 1829. https://doi.org/10.1038/s41467-024-46150-w [Google Scholar] [Crossref]

30. Ruff, L., Kauffmann, J.R., Vandermeulen, R.A., Montavon, G., Samek, W., Kloft, M., Dietterich, T.G., Müller, K.-R., 2021. A unifying review of deep and shallow anomaly detection. Proceedings of the IEEE, 109(5), 756–795. https://doi.org/10.1109/JPROC.2021.3052449 [Google Scholar] [Crossref]

31. Russell, P., Elsayed, M.A., Nandy, B., Seddigh, N., Zincir-Heywood, N., 2023. On the fence: Anomaly detection in IoT networks. In: Proceedings of NOMS 2023 – IEEE/IFIP Network Operations and Management Symposium, pp. 1–4. https://doi.org/10.1109/NOMS56928.2023.10154271 [Google Scholar] [Crossref]

32. Saba, T., Rehman, A., Sadad, T., Kolivand, H., Bahaj, S.A., 2022. Anomaly-based intrusion detection system for IoT networks through deep learning model. Computers and Electrical Engineering, 99, 107810. https://doi.org/10.1016/j.compeleceng.2022.107810 [Google Scholar] [Crossref]

33. Sarhan, M., Layeghy, S., Portmann, M., 2022. Evaluating standard feature sets towards increased generalisability and explainability of ML-based network intrusion detection. Big Data Research, 30, 100359. https://doi.org/10.1016/j.bdr.2022.100359 [Google Scholar] [Crossref]

34. Schölkopf, B., Platt, J.C., Shawe-Taylor, J., Smola, A.J., Williamson, R.C., 2001. Estimating the support of a high-dimensional distribution. Neural Computation, 13(7), 1443–1471. https://doi.org/10.1162/089976601750264965 [Google Scholar] [Crossref]

35. Shi, T., McCann, R.A., Huang, Y., Wang, W., Kong, J., 2024. Malware detection for Internet of Things using one-class classification. Sensors, 24(13), 4122. https://doi.org/10.3390/s24134122 [Google Scholar] [Crossref]

36. Tekin, N., Acar, A., Aris, A., Uluagac, A.S., Gungor, V.C., 2023. Energy consumption of on-device machine learning models for IoT intrusion detection. Internet of Things, 21, 100670. https://doi.org/10.1016/j.iot.2022.100670 [Google Scholar] [Crossref]

37. Umer, M.A., Junejo, K.N., Jilani, M.T., Mathur, A.P., 2022. Machine learning for intrusion detection in industrial control systems: Applications, challenges, and recommendations. International Journal of Critical Infrastructure Protection, 38, 100516. https://doi.org/10.1016/j.ijcip.2022.100516 [Google Scholar] [Crossref]

38. Verkerken, M., D'hooge, L., Wauters, T., Volckaert, B., De Turck, F., 2022. Towards model generalization for intrusion detection: Unsupervised machine learning techniques. Journal of Network and Systems Management, 30(1), 12. https://doi.org/10.1007/s10922-021-09615-7 [Google Scholar] [Crossref]

39. Whalen, S., Schreiber, J., Noble, W.S., Pollard, K.S., 2022. Navigating the pitfalls of applying machine learning in genomics. Nature Reviews Genetics, 23(3), 169–181. https://doi.org/10.1038/s41576-021-00434-9 [Google Scholar] [Crossref]

40. Yang, L., Shami, A., 2022. IoT data analytics in dynamic environments: From an automated machine learning perspective. Engineering Applications of Artificial Intelligence, 116, 105366. https://doi.org/10.1016/j.engappai.2022.105366 [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles