Evaluating Machine Learning -Based Intrusion Detection in Software Defined Networks Using NSL-KDD Dataset

Authors

  • Khurram Zeeshan Haider Department of Software Engineering, Government College University, Faisalabad, Pakistan.
  • Qamas Gul Khan Safi Department of Computer Science, University of Engineering and Technology, Taxila, Pakistan.
  • Muhammad Awais Department of Software Engineering, Government College University, Faisalabad, Pakistan.
  • Urooj Fatima Department of Software Engineering, Government College University, Faisalabad, Pakistan.
  • Muhammad Munwar Iqbal Department of Computer Science, University of Engineering and Technology, Taxila, Pakistan.

Keywords:

Software-Defined Networks (SDN), Machine Learning, Intrusion Detection, SVM, Decision Tree

Abstract

Software Defined network is an emerging and evolving network technology. A significant advantage of SDN is that it offers centralized control of the network, where all controller operations are centralized. The open-source Software Defined Networking (SDN) emulator, Mininet, has been utilized for generating and simulating virtual networks, in conjunction with POX, an open-source remote controller. A publicly available dataset, NSL KDD, is utilized for intrusion detection, evaluation, and comparison among several classification algorithms. In this proposed work, a supervised machine learning algorithm, a Decision Tree, is utilized for intrusion detection. Python is used as a tool to create, test, and compare different approaches to detect malicious attacks and identify the best one among them. These experiments are conducted to achieve results based on accuracy, recall, false positives, F-measure, and precision. Our proposed ML approach possesses more potential for intrusion detection using an accuracy measure. The decision tree is the best approach to detect intrusion based on detection speed and effectiveness. The precision of a decision tree is also the highest and most accurate among machine learning techniques.

Downloads

Published

2025-09-01

How to Cite

Khurram Zeeshan Haider, Qamas Gul Khan Safi, Muhammad Awais, Urooj Fatima, & Muhammad Munwar Iqbal. (2025). Evaluating Machine Learning -Based Intrusion Detection in Software Defined Networks Using NSL-KDD Dataset. Journal of Computing & Biomedical Informatics, 9(02). Retrieved from https://jcbi.org/index.php/Main/article/view/1075