Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach

In this era, plenty of wireless devices are being used with the support of WI-FI (Wireless Fidelity) and need to be maintained and authorized. Wireless Sensor Networks (WSN), a cornerstone of modern wireless technology, offer cost-efficient solutions for diverse monitoring tasks but are exposed to m...

Full description

Bibliographic Details
Main Authors: Halima Sadia, Saima Farhan, Yasin Ul Haq, Rabia Sana, Tariq Mahmood, Saeed Ali Omer Bahaj, Amjad Rehman Khan
Format: Article
Language:English
Published: IEEE 2024-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/10477421/
_version_ 1827278519807246336
author Halima Sadia
Saima Farhan
Yasin Ul Haq
Rabia Sana
Tariq Mahmood
Saeed Ali Omer Bahaj
Amjad Rehman Khan
author_facet Halima Sadia
Saima Farhan
Yasin Ul Haq
Rabia Sana
Tariq Mahmood
Saeed Ali Omer Bahaj
Amjad Rehman Khan
author_sort Halima Sadia
collection DOAJ
description In this era, plenty of wireless devices are being used with the support of WI-FI (Wireless Fidelity) and need to be maintained and authorized. Wireless Sensor Networks (WSN), a cornerstone of modern wireless technology, offer cost-efficient solutions for diverse monitoring tasks but are exposed to many security threats, including unauthorized access, attacks, and suspicious activities. These vulnerabilities can significantly degrade the performance and reliability of WSNs, making the early detection and mitigation of such threats imperative. Intrusion Detection Systems (IDS) are crucial tools in safeguarding WSNs against these challenges. Numerous studies focus on enhanced Intrusion Detection model accuracy and decrease in loss with higher Detection Rate and lower False Alarm Rate, because of this, eliminating the repetitive feature of the dataset is exhibited. This study introduces a sophisticated Network Intrusion Detection System (NIDS) to safeguard Wi-Fi-based WSNs from prevalent cyber threats, such as impersonation, flooding, and injection attacks. At the heart of our approach is a meticulous feature selection process that enhances the dataset’s utility by eliminating null values, substituting unknown entries with a placeholder (‘NONE’), and refining the feature set to include only the most relevant indicators of potential security breaches. Initially, from a pool of 154 features, a subset of 76 is selected, further narrowed down to 13 pivotal features, ensuring a focused and efficient analysis. Employing standard scaler function for feature scaling and preprocessing, this research train proposed a Convolutional Neural Network (CNN) based approach aiming for optimal intrusion detection and prevention across multiclass classifications within WSN environments. The study aims to enhance detection accuracy, reduce loss values, and decrease false alarm rates, comparing it to CNN, Deep Neural Network (DNN) (5), DNN (3), and (Long Short-Term Memory) LSTM networks. The model’s performance is evaluated using various metrics, including precision, recall, support, F1 score, and macro-average. The culmination of our research efforts is evidenced by the exceptional performance of the CNN model, achieving an impressive accuracy rate of 97% and a loss metric of 0.14, all while maintaining a minimal False Alarm Rate. This study significantly advances IDS accuracy while simultaneously reducing false alarms, thus fortifying the security posture of WSNs in the face of evolving cyber threats.
first_indexed 2024-04-24T07:59:19Z
format Article
id doaj.art-69d7ecd28b98408fbd00894e559232bf
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-04-24T07:59:19Z
publishDate 2024-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-69d7ecd28b98408fbd00894e559232bf2024-04-17T23:00:16ZengIEEEIEEE Access2169-35362024-01-0112525655258210.1109/ACCESS.2024.338001410477421Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based ApproachHalima Sadia0Saima Farhan1https://orcid.org/0000-0002-6610-9290Yasin Ul Haq2Rabia Sana3Tariq Mahmood4https://orcid.org/0000-0002-4299-7756Saeed Ali Omer Bahaj5https://orcid.org/0000-0003-3406-4320Amjad Rehman Khan6https://orcid.org/0000-0002-0101-0329Department of Computer Science, Lahore College for Women University, Lahore, PakistanDepartment of Computer Science, Lahore College for Women University, Lahore, PakistanDepartment of Computer Science and Engineering, University of Engineering and Technology Lahore Narowal Campus, Narowal, PakistanDepartment of Computer Science and Engineering, University of Engineering and Technology Lahore Narowal Campus, Narowal, PakistanArtificial Intelligence and Data Analytics (AIDA) Laboratory, College of Computer and Information Sciences (CCIS), Prince Sultan University, Riyadh, Saudi ArabiaMIS Department College of Business Administration, Prince Sattam Bin Abdulaziz University, AlKharj, Saudi ArabiaArtificial Intelligence and Data Analytics (AIDA) Laboratory, College of Computer and Information Sciences (CCIS), Prince Sultan University, Riyadh, Saudi ArabiaIn this era, plenty of wireless devices are being used with the support of WI-FI (Wireless Fidelity) and need to be maintained and authorized. Wireless Sensor Networks (WSN), a cornerstone of modern wireless technology, offer cost-efficient solutions for diverse monitoring tasks but are exposed to many security threats, including unauthorized access, attacks, and suspicious activities. These vulnerabilities can significantly degrade the performance and reliability of WSNs, making the early detection and mitigation of such threats imperative. Intrusion Detection Systems (IDS) are crucial tools in safeguarding WSNs against these challenges. Numerous studies focus on enhanced Intrusion Detection model accuracy and decrease in loss with higher Detection Rate and lower False Alarm Rate, because of this, eliminating the repetitive feature of the dataset is exhibited. This study introduces a sophisticated Network Intrusion Detection System (NIDS) to safeguard Wi-Fi-based WSNs from prevalent cyber threats, such as impersonation, flooding, and injection attacks. At the heart of our approach is a meticulous feature selection process that enhances the dataset’s utility by eliminating null values, substituting unknown entries with a placeholder (‘NONE’), and refining the feature set to include only the most relevant indicators of potential security breaches. Initially, from a pool of 154 features, a subset of 76 is selected, further narrowed down to 13 pivotal features, ensuring a focused and efficient analysis. Employing standard scaler function for feature scaling and preprocessing, this research train proposed a Convolutional Neural Network (CNN) based approach aiming for optimal intrusion detection and prevention across multiclass classifications within WSN environments. The study aims to enhance detection accuracy, reduce loss values, and decrease false alarm rates, comparing it to CNN, Deep Neural Network (DNN) (5), DNN (3), and (Long Short-Term Memory) LSTM networks. The model’s performance is evaluated using various metrics, including precision, recall, support, F1 score, and macro-average. The culmination of our research efforts is evidenced by the exceptional performance of the CNN model, achieving an impressive accuracy rate of 97% and a loss metric of 0.14, all while maintaining a minimal False Alarm Rate. This study significantly advances IDS accuracy while simultaneously reducing false alarms, thus fortifying the security posture of WSNs in the face of evolving cyber threats.https://ieeexplore.ieee.org/document/10477421/WSNWi-FiNIDSWIDS attackssecurity issuesnetwork threats
spellingShingle Halima Sadia
Saima Farhan
Yasin Ul Haq
Rabia Sana
Tariq Mahmood
Saeed Ali Omer Bahaj
Amjad Rehman Khan
Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach
IEEE Access
WSN
Wi-Fi
NIDS
WIDS attacks
security issues
network threats
title Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach
title_full Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach
title_fullStr Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach
title_full_unstemmed Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach
title_short Intrusion Detection System for Wireless Sensor Networks: A Machine Learning Based Approach
title_sort intrusion detection system for wireless sensor networks a machine learning based approach
topic WSN
Wi-Fi
NIDS
WIDS attacks
security issues
network threats
url https://ieeexplore.ieee.org/document/10477421/
work_keys_str_mv AT halimasadia intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach
AT saimafarhan intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach
AT yasinulhaq intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach
AT rabiasana intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach
AT tariqmahmood intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach
AT saeedaliomerbahaj intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach
AT amjadrehmankhan intrusiondetectionsystemforwirelesssensornetworksamachinelearningbasedapproach