Implementing an intrusion detection system for software defined networks using artificial intelligence

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

University of Peradeniya, Sri Lanka

Abstract

This study presents an artificial intelligence (AI) based innovative approach for an Intrusion Detection System (IDS) within a Software-Defined Networking (SDN) environment. The research involves testing and identifying the most effective algorithm of machine learning and deep learning, specifically XGBoost, Logistic Regression, LightGBM, and Artificial Neural Network (ANN), for intrusion detection. The methodology consists of creating a virtual SDN using Mininet, a virtual network emulator package, with five hosts and three switches to emulate real-world network scenarios. The OpenDaylight SDN controller is integrated into this network, facilitating seamless communication and control. Rest API and Wireshark tool are used to control the SDN controller and monitor the traffic of the network. Learning models are integrated into the SDN controller to monitor and analyze network traffic effectively and detect the attack types of DoS, DDoS, BOTNET, BFA, Probe, U2R, and Web-attack with a minimum false positive rate. We have used a publicly available SDN intrusion detection dataset to train these learning models. Hyperparameter tuning is carried out to determine the optimal conditions of each learning model and comprehensive performance comparison is carried out using accuracy, precision, recall, and F1-score. At model training, the highest accuracy of 99.9% was achieved through XGBoost algorithm while ANN with ten layers followed closely with an accuracy of 99.26%. These findings were further validated through the emulated SDN network. Our finding showed that the proposed models can successfully prevent a DDoS attack through the integration of the SDN controller and the machine learning model. These observations demonstrate the significant potential of machine learning and deep learning techniques for effectively coping with cyberattacks and improving cybersecurity strategies. In conclusion, this study presents a promising approach to enhance cybersecurity in SDN networks through AI approaches.

Description

Citation

Proceedings of the Peradeniya University International Research Sessions (iPURSE) – 2023, University of Peradeniya, P 217

Collections