Research Article

Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms

Volume: 24 Number: 4 December 1, 2021
EN TR

Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms

Abstract

In recent years, the use of machine learning and data mining technologies has drawn researchers’ attention to new ways to improve the performance of Intrusion Detection Systems (IDS). These techniques have proven to be an effective method in distinguishing malicious network packets. One of the most challenging problems that researchers are faced with is the transformation of data into a form that can be handled effectively by Machine Learning Algorithms (MLA). In this paper, we present an IDS model based on the decision tree C4.5 algorithm with transforming simulated UNSW-NB15 dataset as a pre-processing operation. Our model uses Term Frequency.Inverse Document Frequency (TF.IDF) to convert data types to an acceptable and efficient form for machine learning to achieve high detection performance. The model has been tested with randomly selected 250000 records of the UNSW-NB15 dataset. Selected records have been grouped into various segment sizes, like 50, 500, 1000, and 5000 items. Each segment has been, further, grouped into two subsets of multi and binary class datasets. The performance of the Decision Tree C4.5 algorithm with Multilayer Perceptron (MLP) and Naive Bayes (NB) has been compared in Weka software. Our proposed method significantly has improved the accuracy of classifiers and decreased incorrectly detected instances. The increase in accuracy reflects the efficiency of transforming the dataset with TF.IDF of various segment sizes.

Keywords

References

  1. Yu Z. Intrusion Detection: A Machine Learning Approach (Volume 3). London, UK: Imperial College Press, 2011.
  2. Armin J, Thompson B, Ariu D, Giacinto G, Roli F, Kijewski P. 2020 cybercrime economic costs: No measure no solution. In: 10th International Conference on Availability, Reliability and Security (ARES); 24-27 Aug. 2015; Toulouse, France. New York, NY, USA: IEEE. pp.701-710.
  3. Bhattacharyya DK, Kalita JK. Network anomaly detection: A machine learning perspective. New York, NY, USA: CRC Press, 2013.
  4. Katkar VD, Bhatia DS. Lightweight approach for detection of denial of service attacks using numeric to binary preprocessing. In: IEEE International Conference on Circuits, Systems, Communication and Information Technology Applications (CSCITA); 4-5 April 2014; Mumbai, India. New York, NY, USA: IEEE. pp. 207-212.
  5. Mehmood T, Rais H. Machine learning algorithms in context of intrusion detection. In: IEEE 2016 Computer and Information Sciences (ICCOINS), International Conference; 15-17 Aug. 2016; Kuala Lumpur, Malaysia. New York, NY, USA: IEEE. pp. 369-373.
  6. Mane D, Pawar S. Anomaly based IDS using Backpropagation Neural Network. International Journal of Computer Applications 2016; 136: 29-34.
  7. Deshmukh DH, Ghorpade T, Padiya P. Intrusion detection system by improved preprocessing methods and Naive Bayes classifier using NSL-KDD 99 Dataset. In: IEEE 2014 International Conference on Electronics and Communication Systems (ICECS); 13-14 Feb. 2014; Coimbatore, India. New York, NY, USA: IEEE. pp. 1-7.
  8. Mogal DG, Ghungrad SR, Bhusare BB. NIDS using Machine Learning Classifiers on UNSW-NB15 and KDDCUP99 Datasets. International Journal of Advanced Research in Computer and Communication Engineering 2017; 6: 533-537.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Publication Date

December 1, 2021

Submission Date

February 24, 2020

Acceptance Date

July 4, 2020

Published in Issue

Year 2021 Volume: 24 Number: 4

APA
Awadh, K., & Akbaş, A. (2021). Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms. Politeknik Dergisi, 24(4), 1691-1698. https://doi.org/10.2339/politeknik.693221
AMA
1.Awadh K, Akbaş A. Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms. Politeknik Dergisi. 2021;24(4):1691-1698. doi:10.2339/politeknik.693221
Chicago
Awadh, Khaldoon, and Ayhan Akbaş. 2021. “Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms”. Politeknik Dergisi 24 (4): 1691-98. https://doi.org/10.2339/politeknik.693221.
EndNote
Awadh K, Akbaş A (December 1, 2021) Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms. Politeknik Dergisi 24 4 1691–1698.
IEEE
[1]K. Awadh and A. Akbaş, “Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms”, Politeknik Dergisi, vol. 24, no. 4, pp. 1691–1698, Dec. 2021, doi: 10.2339/politeknik.693221.
ISNAD
Awadh, Khaldoon - Akbaş, Ayhan. “Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms”. Politeknik Dergisi 24/4 (December 1, 2021): 1691-1698. https://doi.org/10.2339/politeknik.693221.
JAMA
1.Awadh K, Akbaş A. Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms. Politeknik Dergisi. 2021;24:1691–1698.
MLA
Awadh, Khaldoon, and Ayhan Akbaş. “Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms”. Politeknik Dergisi, vol. 24, no. 4, Dec. 2021, pp. 1691-8, doi:10.2339/politeknik.693221.
Vancouver
1.Khaldoon Awadh, Ayhan Akbaş. Intrusion Detection Model Based on TF.IDF and C4.5 Algorithms. Politeknik Dergisi. 2021 Dec. 1;24(4):1691-8. doi:10.2339/politeknik.693221

Cited By