Intrusion Detection using Sequential Hybrid Model

Aditya Pandey, Abhishek Sinha, Aishwarya PsarXiv 2019

Abstract

Modern cybersecurity faces a persistent challenge in balancing the detection of novel attacks with the minimization of false positive alerts. This paper proposes a Sequential Hybrid Model for Network Intrusion Detection Systems (NIDS) that layers anomaly detection and misuse detection. By running Neural Network and Random Forest models in parallel to identify anomalies and subsequently passing results through a K-Means clustering stage for verification, the system achieves over 99% accuracy on major attack categories while significantly reducing false positives.

Introduction

The core challenge in Network Intrusion Detection Systems (NIDS) is the inherent trade-off between misuse detection and anomaly detection. Misuse detection excels at identifying known threats with high precision but fails against "zero-day" attacks. Conversely, anomaly detection can identify novel threats by flagging deviations from normal behavior, but often suffers from high false positive rates, leading to alert fatigue. This research addresses this gap by utilizing anomaly detection as a broad initial filter, followed by misuse detection to verify and categorize potential threats.

Methodology

The proposed system utilizes a sequential pipeline designed to move from broad detection to specific classification.

Parallel Anomaly Detection

The first stage involves the simultaneous execution of two models: a Random Forest (RF) and a Neural Network (NN). This parallel approach minimizes the risk of intrusions going undetected (reducing false negatives). The Neural Network is configured with 41 input nodes and two hidden layers, while the Random Forest is optimized to 100 decision trees to balance computational speed with predictive accuracy.

Figure 1: High-level architecture of the sequential hybrid model.

Sequential Misuse Clustering

Connections flagged as anomalies are passed to a K-Means clustering model. This stage serves as a verification step, comparing the anomaly's signature against 24 known attack sub-classes. If the clustering stage determines a flagged anomaly is closer to the "normal" cluster than any attack cluster, it is re-labeled as normal, effectively pruning false positives.

Data and Preprocessing

The study utilizes a 10% representative subset of the KDD Cup 1999 dataset. Preprocessing involved significant data cleaning, including one-hot encoding for categorical variables and the removal of non-contributory attributes. To address class imbalance—where the dataset is heavily skewed toward normal traffic and Denial of Service (DOS) attacks—the researchers employed up-sampling and down-sampling techniques to create a more balanced training set.

Results and Discussion

The hybrid model demonstrated exceptional performance across the five main categories of the KDD dataset. The Neural Network and Random Forest achieved accuracies of 99.57% and 99.78%, respectively, on the 5-class classification problem.

Figure 6: Performance metrics across different attack classes.

As shown in the performance data, detection for DOS and Probe attacks was nearly perfect, exceeding 99%. However, the User to Root (U2R) category remained challenging, with a lower precision of 79.71% due to the extreme scarcity of samples in the dataset. The K-Means stage successfully classified attacks into 24 subclasses with an overall accuracy of 91.31%.

Conclusion

The sequential hybrid approach proves highly effective for NIDS, leveraging redundancy to improve coverage and clustering to refine detection. While the model excels at identifying major attack classes, future work is needed to address extreme class imbalances like U2R and to validate the model against modern, real-world network traffic. Refining the logic for categorizing entirely new attack types remains a key area for further development.

Summary updated

BibTeX
@misc{pandey2019intrusion,
  author = {Aditya Pandey and Abhishek Sinha and Aishwarya PS},
  title = {{Intrusion Detection using Sequential Hybrid Model}},
  year = {2019},
  eprint = {1910.12074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.12074},
}
Figure