{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,3]],"date-time":"2026-07-03T17:25:37Z","timestamp":1783099537232,"version":"3.54.6"},"reference-count":54,"publisher":"Wiley","issue":"1","license":[{"start":{"date-parts":[[2024,9,17]],"date-time":"2024-09-17T00:00:00Z","timestamp":1726531200000},"content-version":"vor","delay-in-days":260,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["onlinelibrary.wiley.com"],"crossmark-restriction":true},"short-container-title":["Applied Computational Intelligence and Soft Computing"],"published-print":{"date-parts":[[2024,1]]},"abstract":"<jats:p>One of the most significant issues in wireless sensor networks (WSNs) is security, which must be addressed to keep WSNs safe from malicious attacks. An intrusion detection system (IDS) is essential in analyzing network traffic and detecting abnormal events. However, these IDSs suffer from several drawbacks that affect their effectiveness and flexibility in accuracy, so they must overcome these drawbacks to improve the performance of IDS. These drawbacks include difficulties in determining the appropriate dataset, the problem of feature selection, and the issue of the imbalanced dataset and choosing the appropriate algorithms for the classification process in WSN. In this paper, a model for an anomaly\u2010based IDS in WSNs is proposed. This model applied mutual information (MI) for feature selection and the synthetic minority oversampling technique (SMOTE) for solving the imbalanced dataset problem. It used different machine learning (ML) algorithms, random forest (RF), decision tree (DT), support vector machine (SVM), and K\u2010nearest neighbors (KNNs) to analyze network traffic and binary classification or multiclass classification. To implement and evaluate the performance of the proposed model, the standard dataset NSL\u2010KDD is used. Python language is used to implement the proposed model in the Anaconda platform, and many evaluation metrics are also utilized to evaluate the performance of the proposed method. Experimental results show that the proposed model can detect intrusions using different ML algorithms with high accuracy. The results of the proposed model for different ML algorithms outperform the state\u2010of\u2010the\u2010art algorithms, and the maximum enhancement reached 15% in the accuracy metric.<\/jats:p>","DOI":"10.1155\/2024\/2625922","type":"journal-article","created":{"date-parts":[[2024,9,17]],"date-time":"2024-09-17T17:34:32Z","timestamp":1726594472000},"update-policy":"https:\/\/doi.org\/10.1002\/crossmark_policy","source":"Crossref","is-referenced-by-count":18,"title":["Anomaly\u2010Based Intrusion Detection System in Wireless Sensor Networks Using Machine Learning Algorithms"],"prefix":"10.1155","volume":"2024","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7912-8629","authenticated-orcid":false,"given":"Belal","family":"Al-Fuhaidi","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zainab","family":"Farae","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8451-4241","authenticated-orcid":false,"given":"Farouk","family":"Al-Fahaidy","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gawed","family":"Nagi","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5319-2067","authenticated-orcid":false,"given":"Abdullatif","family":"Ghallab","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9920-4892","authenticated-orcid":false,"given":"Abdu","family":"Alameri","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"311","published-online":{"date-parts":[[2024,9,17]]},"reference":[{"key":"e_1_2_9_1_2","first-page":"27","article-title":"A Comparative Evaluation of Intrusion Detection Techniques in Wireless Sensor Network","volume":"76","author":"El Mourabit Y.","year":"2015","journal-title":"Journal of Theoretical and Applied Information Technology"},{"key":"e_1_2_9_2_2","doi-asserted-by":"crossref","unstructured":"PotdarV. SharifA. andChangE. Wireless Sensor Networks: A Survey Proceedings of the 2009 International Conference on Advanced Information Networking and Applications Workshops May 2009 Bradford UK IEEE 636\u2013641 https:\/\/doi.org\/10.1109\/WAINA.2009.192 2-s2.0-70350104731.","DOI":"10.1109\/WAINA.2009.192"},{"key":"e_1_2_9_3_2","doi-asserted-by":"publisher","DOI":"10.1109\/COMST.2008.4625802"},{"key":"e_1_2_9_4_2","doi-asserted-by":"crossref","first-page":"239","DOI":"10.4018\/978-1-59904-379-1.ch012","volume-title":"Securing the Information Infrastructure","author":"Kizza J.","year":"2008"},{"key":"e_1_2_9_5_2","doi-asserted-by":"publisher","DOI":"10.3837\/tiis.2018.08.026"},{"key":"e_1_2_9_6_2","first-page":"151","volume-title":"Intelligent Systems Reference Library","author":"Li J.","year":"2019"},{"key":"e_1_2_9_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/s41870-019-00356-0"},{"key":"e_1_2_9_8_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2014.11.009"},{"key":"e_1_2_9_9_2","doi-asserted-by":"publisher","DOI":"10.3991\/ijim.v13i01.9679"},{"key":"e_1_2_9_10_2","doi-asserted-by":"publisher","DOI":"10.14569\/ijacsa.2016.070603"},{"key":"e_1_2_9_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00521-020-04708-x"},{"key":"e_1_2_9_12_2","doi-asserted-by":"publisher","DOI":"10.36548\/jitdw.2020.3.004"},{"key":"e_1_2_9_13_2","doi-asserted-by":"crossref","unstructured":"WaghS. K.andKolheS. R. Effective Intrusion Detection System Using Semi-supervised Learning Proceedings of the 2014 International Conference on Data Mining and Intelligent Computing (ICDMIC) September 2014 Delhi India 1\u20135.","DOI":"10.1109\/ICDMIC.2014.6954236"},{"key":"e_1_2_9_14_2","doi-asserted-by":"publisher","DOI":"10.24191\/jcrinn.v7i1.274"},{"key":"e_1_2_9_15_2","doi-asserted-by":"crossref","unstructured":"SivareddyS. V.andSaravananS. Performance Evaluation of Classification Algorithms in the Design of Apache Spark Based Intrusion Detection System Proceedings of the 5th International Conference on Communication and Electronics Systems (ICCES 2020) June 2020 Coimbatore India 443\u2013447.","DOI":"10.1109\/ICCES48766.2020.9138066"},{"key":"e_1_2_9_16_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.ssci.2020.104604"},{"key":"e_1_2_9_17_2","first-page":"391","volume-title":"Advances in Intelligent Systems and Computing","author":"Hariyale N.","year":"2020"},{"key":"e_1_2_9_18_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-981-15-1480-7_15"},{"key":"e_1_2_9_19_2","doi-asserted-by":"crossref","unstructured":"MaharaniJ.andRustamZ. The Application of Multi-Class Support Vector Machines on Intrusion Detection System With the Feature Selection Using Information Gain Proceedings of the 1st Annual International Conference on Mathematics Science and Education (ICoMSE 2017) August 2018 Paris France Atlantis Press 1\u20133 https:\/\/doi.org\/10.2991\/icomse-17.2018.1.","DOI":"10.2991\/icomse-17.2018.1"},{"key":"e_1_2_9_20_2","doi-asserted-by":"publisher","DOI":"10.3390\/info9070149"},{"key":"e_1_2_9_21_2","doi-asserted-by":"crossref","unstructured":"WangH. XiaoY. andLongY. Research of Intrusion Detection Algorithm Based on Parallel SVM on Spark Proceedings of the 2017 7th IEEE International Conference on Electronics Information and Emergency Communication (ICEIEC) July 2017 Macau China IEEE 153\u2013156 https:\/\/doi.org\/10.1109\/ICEIEC.2017.8076533 2-s2.0-85035759571.","DOI":"10.1109\/ICEIEC.2017.8076533"},{"key":"e_1_2_9_22_2","doi-asserted-by":"publisher","DOI":"10.3390\/sym12061046"},{"key":"e_1_2_9_23_2","first-page":"279","volume-title":"Advances in Intelligent Systems and Computing","author":"Kumar V.","year":"2020"},{"key":"e_1_2_9_24_2","first-page":"723","volume-title":"Advances in Intelligent Systems and Computing","author":"Krishnaveni S.","year":"2020"},{"key":"e_1_2_9_25_2","doi-asserted-by":"publisher","DOI":"10.20944\/preprints202007.0191.v1"},{"key":"e_1_2_9_26_2","first-page":"193","volume-title":"Advances in Intelligent Systems and Computing","author":"Mahfouz A. M.","year":"2020"},{"key":"e_1_2_9_27_2","doi-asserted-by":"publisher","DOI":"10.3390\/sym11030380"},{"key":"e_1_2_9_28_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2018.01.091"},{"key":"e_1_2_9_29_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2018.05.169"},{"key":"e_1_2_9_30_2","doi-asserted-by":"crossref","unstructured":"SuY. QiK. DiC. MaY. andLiS. Learning Automata Based Feature Selection for Network Traffic Intrusion Detection Proceedings of the 2018 IEEE Third International Conference on Data Science in Cyberspace (DSC) June 2018 Guangzhou China IEEE 622\u2013627.","DOI":"10.1109\/DSC.2018.00099"},{"key":"e_1_2_9_31_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.comnet.2018.07.025"},{"key":"e_1_2_9_32_2","doi-asserted-by":"crossref","unstructured":"ZhangH. DaiS. LiY. andZhangW. Real-Time Distributed-Random-Forest-Based Network Intrusion Detection System Using Apache Spark Proceedings of the 2018 IEEE 37th International Performance Computing and Communications Conference (IPCCC) November 2018 Orlando FA IEEE 1\u20137 https:\/\/doi.org\/10.1109\/PCCC.2018.8711068 2-s2.0-85066502255.","DOI":"10.1109\/PCCC.2018.8711068"},{"key":"e_1_2_9_33_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.cose.2017.10.011"},{"key":"e_1_2_9_34_2","first-page":"170","volume-title":"Communications in Computer and Information Science","author":"Belavagi M. C.","year":"2017"},{"key":"e_1_2_9_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/s12652-020-02228-z"},{"key":"e_1_2_9_36_2","first-page":"1","article-title":"Securing Cluster-Heads in Wireless Sensor Networks by a Hybrid Intrusion Detection System Based on Data Mining","volume":"8","author":"Darabi M.","year":"2019","journal-title":"Cryptography and Security"},{"key":"e_1_2_9_37_2","volume-title":"Intrusion Detection System in Software Defined Wireless Sensor Networks","author":"Kgogo A. T.","year":"2019"},{"key":"e_1_2_9_38_2","doi-asserted-by":"publisher","DOI":"10.3103\/S1060992X20030029"},{"key":"e_1_2_9_39_2","doi-asserted-by":"publisher","DOI":"10.3390\/s19010203"},{"key":"e_1_2_9_40_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2015.05.108"},{"key":"e_1_2_9_41_2","doi-asserted-by":"publisher","DOI":"10.1007\/s13369-017-2426-1"},{"key":"e_1_2_9_42_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-45235-5_73"},{"key":"e_1_2_9_43_2","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/bxx101"},{"key":"e_1_2_9_44_2","doi-asserted-by":"publisher","DOI":"10.1002\/ett.4150"},{"key":"e_1_2_9_45_2","doi-asserted-by":"crossref","unstructured":"ShahriarM. H. HaqueN. I. RahmanM. A. andAlonsoM. G-IDS: Generative Adversarial Networks Assisted Intrusion Detection System Proceedings of the 2020 IEEE 44th Annual Computers Software and Applications Conference (COMPSAC) July 2020 Madrid Spain 376\u2013385 https:\/\/doi.org\/10.1109\/COMPSAC48688.2020.0-218.","DOI":"10.1109\/COMPSAC48688.2020.0-218"},{"key":"e_1_2_9_46_2","doi-asserted-by":"publisher","DOI":"10.3390\/s21020656"},{"key":"e_1_2_9_47_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00521-022-07781-6"},{"key":"e_1_2_9_48_2","doi-asserted-by":"publisher","DOI":"10.6025\/jnt\/2018\/9\/3\/94-101"},{"key":"e_1_2_9_49_2","doi-asserted-by":"crossref","unstructured":"XiaT. QuG. HaririS. andYousifM. An Efficient Network Intrusion Detection Method Based on Information Theory and Genetic Algorithm Proceedings of the IEEE International Performance Computing and Communications Conference August 2005 Phoenix AZ USA 11\u201317 https:\/\/doi.org\/10.1109\/pccc.2005.1460505.","DOI":"10.1109\/PCCC.2005.1460505"},{"key":"e_1_2_9_50_2","unstructured":"AmbusaidiM. Feature Selection Using Mutual Information in Network Intrusion Detection System 2015 University of Technology Sydney Doctoral thesis."},{"key":"e_1_2_9_51_2","doi-asserted-by":"publisher","DOI":"10.1155\/2022\/6614730"},{"key":"e_1_2_9_52_2","doi-asserted-by":"crossref","unstructured":"SunoriS. K. SinghD. K. MittalA. MauryaS. MamodiyaU. andJunejaP. K. Rainfall Classification Using Support Vector Machine Proceedings of the 5th International Conference on I-SMAC (IoT in Social Mobile Analytics and Cloud) I-SMAC 2021 November 2021 Palladam India 433\u2013437 https:\/\/doi.org\/10.1109\/I-SMAC52330.2021.9640773.","DOI":"10.1109\/I-SMAC52330.2021.9640773"},{"key":"e_1_2_9_53_2","doi-asserted-by":"publisher","DOI":"10.3102\/1076998619832248"},{"key":"e_1_2_9_54_2","first-page":"50","article-title":"ICT in Education, Research and Industrial Applications","volume":"2387","author":"Strutynska I.","year":"2019","journal-title":"CEUR Workshop Proceedings"}],"container-title":["Applied Computational Intelligence and Soft Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1155\/2024\/2625922","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,9,17]],"date-time":"2024-09-17T17:34:43Z","timestamp":1726594483000},"score":1,"resource":{"primary":{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/10.1155\/2024\/2625922"}},"subtitle":[],"editor":[{"given":"Abidhan","family":"Bardhan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"editor"}]}],"short-title":[],"issued":{"date-parts":[[2024,1]]},"references-count":54,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2024,1]]}},"alternative-id":["10.1155\/2024\/2625922"],"URL":"https:\/\/doi.org\/10.1155\/2024\/2625922","archive":["Portico"],"relation":{},"ISSN":["1687-9724","1687-9732"],"issn-type":[{"value":"1687-9724","type":"print"},{"value":"1687-9732","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1]]},"assertion":[{"value":"2023-11-11","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-09-17","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"2625922"}}