Comparative Analysis of Data Balancing Methods for the Optimization of Botnet Attack Detection Models

Apta Rasendriya Wijaya, Tohari Ahmad, Dandy Pramana Hostiadi, Muhammad Aidiel Rachman Putra, Moch Nafkhan Alzamzami

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In the era of widespread Internet connectivity, botnet threats pose an increasingly significant risk to network security. One way to deal with the risk of botnet threats is to build a reliable detection model. Previous studies have introduced botnet activity detection models using machine-learning approaches. On the other hand, the main problem of botnet activity detection models is the unbalanced proportion of data. In this regard, this study proposes a comparative analysis of data balancing methods for detecting botnet SPAM activities using machine learning algorithms, especially the k-Nearest Neighbors (k-NN) algorithm. This research aims to evaluate the effectiveness of various data balancing techniques in improving the performance of the k-NN classifier for detecting botnet SP AM. This method involves data pre-processing, labeling, splitting, balancing, and classification. The experimental results show that the best performance is obtained from the classification results without the balancing method with a weighted average accuracy of 98.45%, precision of 98.41%, recall of 98.45%, and F1-Score of 98.40%. However, the combination of k-NN with Random oversampling successfully obtained the highest recall value compared to other methods for the minor class (botnet SPAM). This shows that the balancing process has a positive impact on the performance of minority class detection.

Original languageEnglish
Title of host publication2024 10th International Conference on Smart Computing and Communication, ICSCC 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages608-613
Number of pages6
ISBN (Electronic)9798350363104
DOIs
Publication statusPublished - 2024
Externally publishedYes
Event10th International Conference on Smart Computing and Communication, ICSCC 2024 - Bali, Indonesia
Duration: 25 Jul 202427 Jul 2024

Publication series

Name2024 10th International Conference on Smart Computing and Communication, ICSCC 2024

Conference

Conference10th International Conference on Smart Computing and Communication, ICSCC 2024
Country/TerritoryIndonesia
CityBali
Period25/07/2427/07/24

Keywords

  • Botnet Detection
  • Information Security
  • Machine Learning
  • Network Infrastructure
  • Network Security

Fingerprint

Dive into the research topics of 'Comparative Analysis of Data Balancing Methods for the Optimization of Botnet Attack Detection Models'. Together they form a unique fingerprint.

Cite this