PHD (Electronics and Computer Engineering) 2025
DEEP LEARNING ANOMALY DETECTION AS A SOLUTION TO SECURITY AND PRIVACY ISSUES IN INTERNET OF THINGS

Abstract:

New devices join millions of existing ones in the Internet of Things (IoT) network. Associated threats/attacks/intrusions to network data and IoT devices themselves need to be identified and mitigating actions taken in a timely manner to secure data and protect the network. Network intrusions continually evolve due to the creation of new attacks and this has presented an ever-changing challenge. One of the ways to overcome this is the deployment of Intrusion Detection Systems (IDS). While IDS have been found to be effective in this regard (securing network data), some studies have shown that there is usually degradation in the performance of an IDS when a more complex dataset is introduced. Degradation can occur when new data significantly differs from the training data distribution, when the larger dataset contains different types of data, when model trained on a smaller dataset is not sufficiently complex to capture the intricacies of a larger, more diverse dataset and when there is ovefitting. To overcome this challenge, a new IDS which is capable of maintaining high detection performance when a huge dataset is encountered, is presented.

The proposed IDS leverages two deep learning (DL) techniques – the Restricted Boltzmann Machine (RBM) and the one-dimensional Convolutional Neural Network (1D-CNN). Proposed model performances were evaluated using the NSL-KDD benchmark dataset (148k+ data points) and the much larger CSE CIC-IDS2018 dataset (11M+ data points). The performance metrics employed are accuracy, precision, recall and F1-Score.

With the unbalanced NSL-KDD dataset, it was observed that the model was better suited for dealing with DOS attacks only (accuracy - 0.88556, precision - 0.90211, recall - 0.87229 and F1-score - 0.87998). For the other attack categories (Probe, U2R and R2L), model performance was poor (? 0.50000) with the exception of accuracy (Probe - 0.77176, R2L - 0.77095 and U2R-0.99314). To improve the model performance, the balanced NSL-KDD dataset was used. It was observed that the model performed better for all metrics – accuracy (0.9585), precision (0.8451), recall (0.7423) and F1-Score (0.7367). The model was also evaluated using the balanced CSE-CIC-IDS2018 dataset with the model performing very well overall with the exception of accuracy which reduced from 0.9585 to 0.8564. While this is not preferred, precision and recall values improved from 0.8451 to 0.8689 and from 0.7423 to 0.8564, respectively. This is crucial in intrusion detection with high precision indicating a low rate of false positives and high recall indicating the model is effectively capturing most of the anomalies. In addition, the model performed well despite the much larger size of the CSE-CICIDS2018 dataset as against NSL-KDD which showed that the model is scalable.

The proposed model was able to accurately detect anomalies in a huge dataset and will thus be very useful in IoT applications with its ever expanding dataset. Therefore, this research advances a solution to the challenge of performance reduction of IDS in the IoT network. The limitation of the study is the computational resource used which restricted the architecture of the model. Future work can explore the use of a GPU which is a better computational resource and will accommodate a deeper architecture.