Fortifying Wireless Sensor Networks Using SVM for Advanced Intrusion Detection and Attack Prevention

Authors

DOI:

https://doi.org/10.51173/ijds.v2i2.24

Keywords:

Wireless Sensor Networks, Intrusion Detection Systems, Support Vector Machine, Cybersecurity Threats, Network Attack Prevention

Abstract

WSNs have increasingly become part and parcel of the current and emerging communication systems, hence the need for solid measures to protect this critical infrastructure from evolving cyber threats. This research investigates the development of a Supervised Machine Learning-based IDS using MLP, SVM, and LR to increase the detection of network attacks for prevention purposes. A new method is proposed that entails the integration of an inter-dataset evaluation strategy that harmonizes two heterogeneous data structures and simultaneously aims to protect models and sensitive data. The conceived framework assesses the accuracy of a variety of machine learning metrics, such as accuracy, precision, recall, and the F1 score. As we can see from the results, detection efficiency was significantly improved with the incorporation of inter-dataset routing. MLP achieved a maximum accuracy of 99.1% with a recall of 100% in cross-dataset testing, showcasing its robustness in identifying all positive instances. SVM demonstrated a precision of 99.4% in certain scenarios, effectively minimizing false positives and enhancing classification confidence. Logistic Regression also showed stable precision values, contributing to consistent detection performance. These analyses stress how existing techniques for machine learning algorithms used in IDS designs cover a wide variety of purposive uses, with one being the prevention of distributed denial-of-service attacks. The practical implications of this research include the recommendation of the usage of proper algorithms justified for the desired security level in the networks to the administrators of the networks and security entailment specialists. The work done consolidating the result and outcome of this study points a way forward for subsequent studies on WSN security, with the view of providing a springboard for the development of intrusion detection systems in view of the dynamic nature of cybersecurity.

Downloads

Download data is not yet available.

References

M. A. Talukder, S. Sharmin, M. A. Uddin, M. M. Islam, and S. Aryal, “MLSTL-WSN: machine learning-based intrusion detection using SMOTETomek in WSNs,” Int J Inf Secur, vol. 23, no. 3, pp. 2139–2158, Jun. 2024, doi: 10.1007/S10207-024-00833-Z/TABLES/9.

T. Kim, L. F. Vecchietti, K. Choi, S. Lee, and D. Har, “Machine Learning for Advanced Wireless Sensor Networks: A Review,” IEEE Sens J, vol. 21, no. 11, pp. 12379–12397, Jun. 2021, doi: 10.1109/JSEN.2020.3035846.

Z. S. Jassim and M. M. Kassir, “Enhancing Malware Detection Through Machine Learning Techniques,” InfoTech Spectrum: Iraqi Journal of Data Science , vol. 1, no. 1, pp. 1–15, Jun. 2024, doi: 10.51173/IJDS.V1I1.4.

M. Ahmad, Q. Riaz, M. Zeeshan, H. Tahir, S. A. Haider, and M. S. Khan, “Intrusion detection in internet of things using supervised machine learning based on application and transport layer features using UNSW-NB15 data-set,” EURASIP J Wirel Commun Netw, vol. 2021, no. 1, pp. 1–23, Dec. 2021, doi: 10.1186/S13638-021-01893-8/FIGURES/9.

D. E. Boubiche, S. Athmani, S. Boubiche, and H. Toral-Cruz, “Cybersecurity Issues in Wireless Sensor Networks: Current Challenges and Solutions,” Wirel Pers Commun, vol. 117, no. 1, pp. 177–213, Mar. 2021, doi: 10.1007/S11277-020-07213-5/METRICS.

H. Jalo and M. Heydarian, “A Hybrid Technique Based on RF-PCA and ANN for Detecting DDoS Attacks IoT,” InfoTech Spectrum: Iraqi Journal of Data Science , vol. 1, no. 1, pp. 28–41, Jun. 2024, doi: 10.51173/IJDS.V1I1.9.

M. Iorio, F. Risso, and C. Casetti, “When latency matters,” ACM SIGCOMM Computer Communication Review, vol. 51, no. 4, pp. 2–14, Dec. 2021, doi: 10.1145/3503954.3503956.

Y. Kayode Saheed, A. Idris Abiodun, S. Misra, M. Kristiansen Holone, and R. Colomo-Palacios, “A machine learning-based intrusion detection for detecting internet of things network attacks,” Alexandria Engineering Journal, vol. 61, no. 12, pp. 9395–9409, Dec. 2022, doi: 10.1016/J.AEJ.2022.02.063.

S. Li, X. Lin, W. Xu, and J. Li, “AI-Generated Content-Based Edge Learning for Fast and Efficient Few-Shot Defect Detection in IIoT,” IEEE Trans Serv Comput, 2024, doi: 10.1109/TSC.2024.3433529.

B. Al-Fuhaidi, Z. Farae, F. Al-Fahaidy, G. Nagi, A. Ghallab, and A. Alameri, “Anomaly-Based Intrusion Detection System in Wireless Sensor Networks Using Machine Learning Algorithms,” Applied Computational Intelligence and Soft Computing, vol. 2024, no. 1, p. 2625922, Jan. 2024, doi: 10.1155/2024/2625922.

R. Kavitha, C. K. Gautam, and P. K. Vera, “Performance Comparison of Routing Protocols for Mobile Wireless Mesh Networks,” 2024 International Conference on Optimization Computing and Wireless Communication, ICOCWC 2024, 2024, doi: 10.1109/ICOCWC60930.2024.10470657.

A. S. Abdalla and V. Marojevic, “Security Threats and Cellular Network Procedures for Unmanned Aircraft Systems: Challenges and Opportunities,” IEEE Communications Standards Magazine, vol. 6, no. 4, pp. 104–111, Dec. 2022, doi: 10.1109/MCOMSTD.0003.2100108.

M. Zakariah, S. A. AlQahtani, A. M. Alawwad, and A. A. Alotaibi, “Intrusion Detection System with Customized Machine Learning Techniques for NSL-KDD Dataset,” Computers, Materials and Continua, vol. 77, no. 3, p. 4025, Dec. 2023, doi: 10.32604/CMC.2023.043752.

K. Ramana, A. Revathi, A. Gayathri, R. H. Jhaveri, C. V. L. Narayana, and B. N. Kumar, “WOGRU-IDS — An intelligent intrusion detection system for IoT assisted Wireless Sensor Networks,” Comput Commun, vol. 196, pp. 195–206, Dec. 2022, doi: 10.1016/J.COMCOM.2022.10.001.

M. Revanesh, S. S. Gundal, J. R. Arunkumar, P. J. Josephson, S. Suhasini, and T. K. Devi, “Artificial neural networks-based improved Levenberg–Marquardt neural network for energy efficiency and anomaly detection in WSN,” Wireless Networks, vol. 30, no. 6, pp. 5613–5628, Aug. 2024, doi: 10.1007/S11276-023-03297-6/METRICS.

R. A. A. Saleh, L. Al-Awami, M. Ghaleb, and A. A. Abudaqa, “Lightweight Intrusion Detection for IoT Systems Using Artificial Neural Networks,” Lecture Notes of the Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering, LNICST, vol. 568 LNICST, pp. 45–59, 2025, doi: 10.1007/978-3-031-64954-7_3.

Z. A. Abbood, D. Ç. Atilla, and C. Aydin, “Enhancement of the performance of MANET using machine learning approach based on SDNs,” Optik (Stuttg), vol. 272, p. 170268, Feb. 2023, doi: 10.1016/J.IJLEO.2022.170268.

H. Xu, Y. Lu, and Q. Guo, “Application of Improved Butterfly Optimization Algorithm Combined with Black Widow Optimization in Feature Selection of Network Intrusion Detection,” Electronics 2022, Vol. 11, Page 3531, vol. 11, no. 21, p. 3531, Oct. 2022, doi: 10.3390/ELECTRONICS11213531.

A. Guillen-Perez, A. M. Montoya, J. C. Sanchez-Aarnoutse, and M. D. Cano, “A Comparative Performance Evaluation of Routing Protocols for Flying Ad-Hoc Networks in Real Conditions,” Applied Sciences 2021, Vol. 11, Page 4363, vol. 11, no. 10, p. 4363, May 2021, doi: 10.3390/APP11104363.

H. Tabbaa, S. Ifzarne, and I. Hafidi, “An Online Ensemble Learning Model for Detecting Attacks in Wireless Sensor Networks,” Computing and Informatics, vol. 42, no. 4, pp. 1013–1036, Apr. 2022, doi: 10.31577/cai_2023_4_1013.

M. Pawlicki, A. Pawlicka, R. Kozik, and M. Choraś, “The survey on the dual nature of xAI challenges in intrusion detection and their potential for AI innovation,” Artificial Intelligence Review 2024 57:12, vol. 57, no. 12, pp. 1–32, Oct. 2024, doi: 10.1007/S10462-024-10972-3.

L. Alsulaiman and S. Al-Ahmadi, “Performance Evaluation of Machine Learning Techniques for DoS Detection in Wireless Sensor Network,” International Journal of Network Security & Its Applications (IJNSA), vol. 13, no. 2, Apr. 2021, doi: 10.5121/ijnsa.2021.13202.

A. Mojtahedi, F. Sorouri, A. N. Souha, A. Molazadeh, and S. S. Mehr, “Feature Selection-based Intrusion Detection System Using Genetic Whale Optimization Algorithm and Sample-based Classification,” vol. 3, no. 2, p. 2021, Jan. 2022, doi: https://doi.org/10.48550/arXiv.2201.00584.

F. A. H. J. AL-Bermani, “Application of Neural Networks for Predicting the Exchange Rate of the Iraqi Dinar Against the US Dollar and Comparison with the Box-Jenkins Method for Time Series 2015-2022,” Iraqi Statisticians journal, vol. 2, no. 1, pp. 09–28, Jan. 2025, doi: 10.62933/EGNTS624.

Downloads

Published

2025-06-30

How to Cite

Sadeghi, M. T., & Alzubaidi, H. (2025). Fortifying Wireless Sensor Networks Using SVM for Advanced Intrusion Detection and Attack Prevention. InfoTech Spectrum: Iraqi Journal of Data Science , 2(2), 1–12. https://doi.org/10.51173/ijds.v2i2.24

Issue

Section

Published Papers

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.