Ensemble-based Multi-Filter Feature Selection Method for DDoS Detection in Cloud Computing

Opeyemi A. Osanaiye, Kim-Kwang Raymond Choo, Ali Dehghantanha, Zheng Xu, Mqhele E. Dlodlo · DOI

Abstract

As cloud computing becomes the backbone of modern digital infrastructure, it has increasingly become a target for Distributed Denial of Service (DDoS) attacks. These attacks aim to exhaust cloud resources and bandwidth, rendering services unavailable to legitimate users. While machine learning (ML) offers a robust path for detecting these anomalies, the high dimensionality of network traffic data often leads to computational bottlenecks and reduced accuracy due to "noise." This paper proposes an Ensemble-based Multi-Filter Feature Selection (EMFFS) method that aggregates the strengths of four distinct filter techniques to identify an optimal subset of features. Using the NSL-KDD benchmark dataset and a J48 decision tree classifier, the study demonstrates that reducing the feature set from 41 to 13 not only maintains but improves classification accuracy to 99.67% while significantly decreasing computational overhead.

Introduction

The rapid adoption of cloud computing has revolutionized how data is stored and processed, but it has also expanded the attack surface for cyber-adversaries. DDoS attacks are particularly devastating in cloud environments because they exploit the very elasticity that makes the cloud attractive, consuming resources and incurring costs for the provider and user alike.

To combat this, researchers have turned to supervised machine learning to distinguish between normal traffic and attack patterns. However, raw network data is often "noisy," containing redundant or irrelevant features that can lead to overfitting and slow processing times. Feature selection (FS) is a critical pre-processing phase that identifies the most informative variables. This paper introduces EMFFS, a consensus-based approach designed to provide a lightweight yet highly accurate detection mechanism suitable for the high-speed demands of cloud environments.

Methodology: The EMFFS Framework

Existing feature selection methods generally fall into two categories: "wrappers," which are highly accurate but computationally expensive because they use the classifier itself to evaluate features, and "filters," which are fast but can be biased based on the specific statistical metric used. The proposed EMFFS method seeks a middle ground by using an ensemble of filters to achieve a more reliable consensus.

The Ensemble Process

The researchers employed four standard filter methods:

  1. Information Gain (IG): Measures the reduction in entropy (uncertainty) provided by a feature.
  2. Gain Ratio: A variation of IG that reduces bias toward features with many distinct values.
  3. Chi-squared: Evaluates the independence of a feature from the class label.
  4. ReliefF: Ranks features by how well their values distinguish between instances that are near each other but belong to different classes.

For each filter, the top 14 features (approximately one-third of the original 41 features in the dataset) were selected. The EMFFS method then applied a Majority Voting threshold ($T=3$). A feature was only included in the final subset if it appeared in the top-14 lists of at least three of the four filters. This approach ensures that the final selection is not skewed by the specific mathematical bias of a single filter.

Experimental Setup and Dataset

The method was evaluated using the NSL-KDD dataset, a refined version of the classic KDD Cup 99. NSL-KDD is preferred in modern research because it eliminates redundant records that often cause machine learning models to become biased toward frequent but non-informative patterns.

The study utilized a 20% training subset and applied 10-fold cross-validation. The J48 decision tree algorithm (an implementation of the C4.5 algorithm) was used as the primary classifier to test the effectiveness of the reduced feature set against the full 41-feature set.

Key Results and Discussion

The experimental results validate the "less is more" hypothesis in feature selection for DDoS detection.

  • Dimensionality Reduction: The EMFFS method successfully pruned the feature set from 41 variables down to 13.
  • Improved Accuracy: Counter-intuitively, the model trained on only 13 features achieved a higher accuracy (99.67%) than the model trained on all 41 features (99.56%). This suggests that the 28 removed features were indeed "noise" that hindered the classifier's performance.
  • High Detection Rate: The system achieved a detection rate of 99.76%, ensuring that very few attack packets bypass the filter.
  • Computational Efficiency: The most significant gain for cloud providers is the reduction in training time. The time required to build the model dropped from 2.75 seconds with the full set to just 0.78 seconds with the EMFFS set—a nearly 3.5x speedup.

Conclusion

The EMFFS method demonstrates that an ensemble of statistical filters can effectively identify the most critical indicators of a DDoS attack. By reaching a consensus across multiple metrics, the method avoids the pitfalls of individual filter bias while remaining computationally efficient enough for real-time cloud applications.

Future research will focus on testing this reduced feature set against a wider variety of algorithms, such as Support Vector Machines (SVM) and Deep Learning models, and validating the method against more contemporary datasets to ensure resilience against evolving, modern DDoS tactics.

Summary updated

BibTeX
@article{osanaiye2016ensemble,
  author = {Opeyemi A. Osanaiye and Kim-Kwang Raymond Choo and Ali Dehghantanha and Zheng Xu and Mqhele E. Dlodlo},
  title = {{Ensemble-based Multi-Filter Feature Selection Method for DDoS Detection in Cloud Computing}},
  journal = {EURASIP J. Wirel. Commun. Netw.},
  year = {2016},
  doi = {10.1186/s13638-016-0623-3},
}
Figure