Skip to main content

Performance Evaluation of Machine Learning Models for Intrusion Detection in Wireless Sensor Networks: A Case Study Using the WSN DS Dataset

  • Conference paper
  • First Online:
Machine Intelligence for Research and Innovations (MAiTRI 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 832))

  • 50 Accesses

Abstract

The security of Wireless Sensor Networks (WSNs) depends on effective Intrusion Detection Systems (IDSs), which are susceptible to Denial of Service (DoS) attacks. This research paper assesses the performance of three machine learning models, namely KNN, Logistic Regression, and Decision Tree (DT), using the WSN DS dataset for WSN intrusion detection. The dataset featured DoS attacks of several types: scheduling, blackhole, flooding, and gray hole attacks. Each model’s performance metrics were calculated and compared, including precision, recall, and F-1 score. Results showed that the DT model consistently outperformed the other models, demonstrating its effectiveness in accurately predicting different types of DoS attacks. The DT model exhibited superior performance with respect to macro-precision, macro-recall, and macro-F-1 score, achieving values of 0.98 each. In contrast, the logistic regression and kNN models yielded lower values of 0.98, 0.96, 0.97, and 0.87, 0.85, 0.86, respectively. These findings have significant implications for practitioners and researchers working on securing WSNs against DoS attacks and highlight the importance of using machine learning-based IDSs to detect and mitigate security threats in WSNs. This study enhances our knowledge of the detection of intrusions in WSNs. It offers guidance for creating strong security measures to ensure these networks’ dependable and secure functioning.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Gungor VC, Lu B, Hancke GP (2010) Opportunities and challenges of wireless sensor networks in smart grid. IEEE Trans Ind Electr 57(10):3557–3564

    Google Scholar 

  2. Rassam MA , Maarof MA, Zainal A (2012) A survey of intrusion detection schemes in wireless sensor networks. Am J Appl Sci 9(10):1636

    Google Scholar 

  3. Marriwala N, Rathee P (2012) An approach to increase the wireless sensor network lifetime. In: 2012 World congress on information and communication technologies, pp 495–499. IEEE

    Google Scholar 

  4. Almomani I, Al-Kasasbeh B, Al-Akhras M (2016) Wsn-ds: a dataset for intrusion detection systems in wireless sensor networks. J Sensors 2016

    Google Scholar 

  5. Butun I, Morgera SD, Sankar R (2013) A survey of intrusion detection systems in wireless sensor networks. IEEE Commun Surv Tutor 16(1):266–282

    Google Scholar 

  6. Yu Z, Tsai JJP (2008) A framework of machine learning based intrusion detection for wireless sensor networks. In: 2008 IEEE International conference on sensor networks, ubiquitous, and trustworthy computing (sutc 2008), pp 272–279

    Google Scholar 

  7. Khan ZA, Samad A (2017) A study of machine learning in wireless sensor network. Int J Comput Netw Appl 4(4):105–112

    Google Scholar 

  8. Alrajeh NA, Lloret J (2013) Intrusion detection systems based on artificial intelligence techniques in wireless sensor networks. Int J Distrib Sens Netw 9(10):351047

    Google Scholar 

  9. Gowdhaman V, Dhanapal R (2021) An intrusion detection system for wireless sensor networks using deep neural network. Soft Comput:1–9

    Google Scholar 

  10. Wani S, Yadav D, Verma OP (2020) Development of disaster management and awareness system using twitter analysis: a case study of 2018 Kerala floods. In: Soft computing: theories and applications: proceedings of SoCTA 2018, pp 1165–1174. Springer

    Google Scholar 

  11. Mohd N, Singh A, Bhadauria HS (2020) A novel SVM based IDS for distributed denial of sleep strike in wireless sensor networks. Wireless Pers Commun 111(3):1999–2022

    Google Scholar 

  12. Nancy P, Muthurajkumar S, Ganapathy S, Santhosh Kumar SVN, Selvi M, Arputharaj K (2020)Intrusion detection using dynamic feature selection and fuzzy temporal decision tree classification for wireless sensor networks. IET Commun 14(5):888–895

    Google Scholar 

  13. Heinzelman WR, Chandrakasan A, Balakrishnan H (2000) Energy-efficient communication protocol for wireless microsensor networks. In: Proceedings of the 33rd annual Hawaii international conference on system sciences, p 10. IEEE

    Google Scholar 

  14. Ahmad Z, Shahid Khan A, Wai Shiang C, Abdullah J, Ahmad F (2021) Network intrusion detection system: a systematic study of machine learning and deep learning approaches. Trans Emerg Telecommun Technol 32(1):e4150

    Google Scholar 

  15. Alsulaiman L, Al-Ahmadi S (2021) Performance evaluation of machine learning techniques for dos detection in wireless sensor network. Preprint at arXiv:2104.01963

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pankaj Kumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rana, A., Prajapat, S., Kumar, P., Kumar, K. (2024). Performance Evaluation of Machine Learning Models for Intrusion Detection in Wireless Sensor Networks: A Case Study Using the WSN DS Dataset. In: Verma, O.P., Wang, L., Kumar, R., Yadav, A. (eds) Machine Intelligence for Research and Innovations. MAiTRI 2023. Lecture Notes in Networks and Systems, vol 832. Springer, Singapore. https://doi.org/10.1007/978-981-99-8129-8_15

Download citation

Publish with us

Policies and ethics