Skip to main content

An Isolation Forest Model for Anomaly Detection in IoT Networks Using Directional Graphs

  • Conference paper
  • First Online:
Advances on Broad-Band Wireless Computing, Communication and Applications (BWCCA 2024)

Abstract

As technology trends towards the ubiquitous presence of Internet of Things (IoT) solutions in everyday life, implementations to facilitate the communication and optimise functionality become more and more key. For this research, we have looked at Isolation Forests (iForests) as a Machine Learning (ML) solution and approach to the optimisation of communication efficiency and security. To this end, a dataset containing data that can be interpreted as a Directional Graph which can then be extrapolated and interpreted by this model to flag anomalous communications and to return a certain of accuracy. In this context, we then plot accuracy scores returned by our model to ascertain the accuracy of anomaly detection during legitimate communication, as well as some strained scenarios like bruteforce and flood attacks. Looking at anomaly scores as well as duration of communications, we can then establish that communication is healthy, or under attack, and even which sort of attack it is most likely to be.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Liu, X., Zhang, X.: Rate and energy efficiency improvements for 5g-based IoT with simultaneous transfer. IEEE Internet Things J. 6(4), 5971–5980 (2018)

    Article  Google Scholar 

  2. Hussain, F., Hussain, R., Hassan, S.A., Hossain, E.: Machine learning in IoT security: current solutions and future challenges. IEEE Commun. Surv. Tutorials 22(3), 1686–1721 (2020)

    Article  Google Scholar 

  3. Jordan, M.I., Mitchell, T.M.: Machine learning: trends, perspectives, and prospects. Science 349(6245), 255–260 (2015)

    Article  MathSciNet  Google Scholar 

  4. Liu, F.T., Ting, K.M., Zhou, Z.-H.: Isolation forest. In: 2008 Eighth IEEE International Conference on Data Mining, pp. 413–422. IEEE (2008)

    Google Scholar 

  5. Abughazaleh, N., Bin, R., Btish, M., et al.: Dos attacks in IoT systems and proposed solutions. Int. J. Comput. Appl. 176(33), 16–19 (2020)

    Google Scholar 

  6. Elmazi, D., Karras, D.A., Alkholidi, A., Çapari, K.: Cybersecurity and privacy attacks detection in IoT networks with improved data engineering and machine learning methods. In: 2023 IEEE Ninth International Conference on Big Data Computing Service and Applications (BigDataService), pp. 223–228. IEEE (2023)

    Google Scholar 

  7. Vaccari, I., Chiola, G., Aiello, M., Mongelli, M., Cambiaso, E.: Mqttset, a new dataset for machine learning techniques on MQTT. Sensors 20(22), 6578 (2020)

    Article  Google Scholar 

  8. Elmazi, D., Mehmeti, F., Kulla, E.: Implementation and optimization of narrow-band internet of things (NB-IoT) nodes coverage using doppler effect shift chips. In: Barolli, L. (eds.) Advances on P2P, Parallel, Grid, Cloud and Internet Computing, 3PGCIC 2023, LNDECT, vol. 189, pp. 150–162. Springer, Cham (2024). https://doi.org/10.1007/978-3-031-46970-1_14

  9. Laghari, A.A., Wu, K., Laghari, R.A., Ali, M., Khan, A.A.: A review and state of art of internet of things (IoT). Arch. Comput. Methods Eng. 1–19 (2021). https://doi.org/10.1007/s11831-021-09622-6

  10. Sakamoto, S., Asakura, K., Barolli, L., Takizawa, M.: An intelligent system based on cuckoo search for node placement problem in WMNs: tuning of scale and host bird recognition rate hyperparameters. In: Barolli, L. (ed.) Advances on Broad-Band and Wireless Computing, Communication and Applications, BWCCA 2023, LNDECT, vol. 186, pp. 168–177. Springer, Cham (2024). https://doi.org/10.1007/978-3-031-46784-4_15

  11. Madakam, S., Ramaswamy, R., Tripathi, S.: Internet of things (IoT): a literature review. J. Comput. Commun. 3(5), 164–173 (2015)

    Article  Google Scholar 

  12. Sakamoto, S.: A hybrid intelligent system for wireless mesh networks: assessment of implemented system for two instances and three router replacement methods using v max parameter. Int. J. Web Grid Serv. 19(3), 389–400 (2023)

    Article  Google Scholar 

  13. Gokhale, P., Bhat, O., Bhat, S.: Introduction to IoT. Int. Adv. Res. J. Sci. Eng. Technol. 5(1), 41–44 (2018)

    Google Scholar 

  14. Kulla, E., Elmazi, D., Barolli, L.: Neuro-adaptive learning fuzzy-based system for actor selection inwireless sensor and actor networks. In: 2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS), pp. 488–493. IEEE (2016)

    Google Scholar 

  15. Kakkar, L., Gupta, D., Saxena, S., Tanwar, S.: IoT architectures and its security: a review. In: Goyal, D., Gupta, A.K., Piuri, V., Ganzha, M., Paprzycki, M. (eds.) Proceedings of the Second International Conference on Information Management and Machine Intelligence. LNNS, vol. 166, pp. 87–94. Springer, Singapore (2021). https://doi.org/10.1007/978-981-15-9689-6_10

    Chapter  Google Scholar 

  16. Kulla, E.: Performance evaluation of focused beam routing for IoT applications in underwater environment. Internet Things 17, 100471 (2022)

    Article  Google Scholar 

  17. Navani, D., Jain, S., Nehra, M.S.: The internet of things (IoT): a study of architectural elements. InL 2017 13th International Conference on Signal-Image Technology & Internet-Based Systems (SITIS), pp. 473–478. IEEE (2017)

    Google Scholar 

  18. Yang, Z., Yue, Y., Yang, Y., Peng, Y., Wang, X., Liu, W.: Study and application on the architecture and key technologies for IoT. In: 2011 International Conference on Multimedia Technology, pp. 747–751. IEEE (2011)

    Google Scholar 

  19. Cao, K., Liu, Y., Meng, G., Sun, Q.: An overview on edge computing research. IEEE Access 8, 85714–85728 (2020)

    Article  Google Scholar 

  20. Xiaocong, Q., Jidong, Z.: Study on the structure of “internet of things (IoT) business operation support platform. In: 2010 IEEE 12th International Conference on Communication Technology, pp. 1068–1071 IEEE (2010)

    Google Scholar 

  21. Burhan, M., Rehman, R.A., Khan, B., Kim, B.-S.: IoT elements, layered architectures and security issues: a comprehensive survey. Sensors 18(9), 2796 (2018)

    Article  Google Scholar 

  22. Hariri, S., Kind, M.C., Brunner, R.J.: Extended isolation forest. IEEE Trans. Knowl. Data Eng. 33(4), 1479–1489 (2019)

    Article  Google Scholar 

  23. Xu, H., Pang, G., Wang, Y., Wang, Y.: Deep isolation forest for anomaly detection. IEEE Trans. Knowl. Data Eng. 35(12), 12591–12604 (2023)

    Article  Google Scholar 

  24. Iacovazzi, A., Raza, S.: Ensemble of random and isolation forests for graph-based intrusion detection in containers. In: 2022 IEEE International Conference on Cyber Security and Resilience (CSR), pp. 30–37. IEEE (2022)

    Google Scholar 

  25. Xiang, H., Salcic, Z., Dou, W., Xu, X., Qi, L., Zhang, X.: Ophiforest: order preserving hashing based isolation forest for robust and scalable anomaly detection. In: Proceedings of the 29th ACM International Conference on Information & Knowledge Management, pp. 1655–1664 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Donald Elmazi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Elmazi, D., Mehmeti, F. (2025). An Isolation Forest Model for Anomaly Detection in IoT Networks Using Directional Graphs. In: Barolli, L. (eds) Advances on Broad-Band Wireless Computing, Communication and Applications. BWCCA 2024. Lecture Notes on Data Engineering and Communications Technologies, vol 231. Springer, Cham. https://doi.org/10.1007/978-3-031-76452-3_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-76452-3_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-76451-6

  • Online ISBN: 978-3-031-76452-3

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics