A Dual-Tier Adaptive One-Class Classification IDS for Emerging Cyberthreats

Md. Ashraf Uddin, Sunil Aryal, Mohamed Reda Bouadjenek, Muna Al-Hawawreh, Md. Alamin TalukderarXiv 2024

TL;DR

Researchers have developed a two-stage, adaptive Intrusion Detection System (IDS) that uses one-class classification to identify both known threats and completely novel "zero-day" attacks. By combining anomaly detection with an automated clustering and retraining loop, the system can evolve in real-time, effectively "learning" to recognize new cyberthreats as they emerge in IoT and IIoT environments.

What Problem Does This Paper Address?

As our reliance on IoT and Industrial IoT (IIoT) grows, so does the sophistication of cyberattacks. Traditional Network Intrusion Detection Systems (IDS) typically fall into two traps:

  1. Signature-based systems only recognize threats they've seen before, leaving them blind to "zero-day" vulnerabilities.
  2. Supervised machine learning models require massive, balanced datasets of both "normal" and "attack" traffic. In the real world, attack data is rare and constantly changing, leading to high false-negative rates when a new type of attack appears.

The authors address the critical need for an adaptable IDS—one that doesn't just detect anomalies but can also categorize them and update itself autonomously to stay ahead of attackers.

Methods

The core of this paper is a dual-tier hierarchical framework designed to simplify complex classification tasks into manageable binary decisions.

  • Tier 1 (Normal vs. Attack): The system uses a One-Class Classifier (OCC)—specifically the usfAD (unsupervised stochastic forest Anomaly Detector) algorithm. Because it is trained only on "normal" traffic, it can flag anything unusual as a potential threat without ever having seen an attack sample during training.
  • Tier 2 (Known vs. Unknown): If Tier 1 flags an attack, Tier 2 determines if it’s a known variant or something new. It uses another OCC trained only on known attack patterns. If the sample deviates from these patterns, it’s labeled "unknown" and sent to a storage bucket.
  • The Adaptive Loop: Once enough unknown samples accumulate, the system uses clustering algorithms (DBSCAN or DPC) to group similar new threats. The largest cluster is then used to retrain the Tier 2 OCC and a parallel Random Forest (RF) multi-class classifier. This allows the system to "promote" an unknown attack to a known, categorized threat.

The authors compare their approach against several state-of-the-art methods, as summarized in Figure 1.

Table 1: Overview of the state-of-the-art works in detecting unseen attacks

Datasets

The framework was rigorously tested against 10 diverse, publicly accessible benchmark IDS datasets to ensure robustness across different network environments:

  • General Benchmarks: NSL-KDD, UNSW-NB15, CIC-IDS2017, CIC-IDS2018.
  • IoT/IIoT Focused: ToN-IoT-Network, ToN-IoT-Linux, XIIoTID.
  • Specialized Threats: CIC-DDoS2019, Malmem2022 (obfuscated malware), ISCXURL2016 (malicious URLs), Darknet2020.

Key Insights and Ideas

  • Hierarchical Simplification: By splitting the problem into two tiers, the model avoids the "confusion" often seen in multi-class models trying to distinguish between normal traffic and multiple attack types simultaneously. This leads to sharper decision boundaries.
  • The Power of "One-Class": Leveraging OCCs at the first level bypasses the data imbalance problem. You don't need a million attack samples to train the model; you just need a good definition of what "normal" looks like.
  • Autonomous Evolution: The retraining process is the "aha moment." By focusing on the largest clusters of unknown attacks, the system prioritizes the most prevalent new threats for learning, making it "future-proof."
  • usfAD Superiority: The researchers found that usfAD consistently outperformed other common anomaly detectors like Isolation Forest (IOF) or One-Class SVM (OCSVM) across almost all datasets, particularly in its ability to handle high-dimensional network data.

Key Results

  • High Initial Accuracy: At the first tier (Normal vs. Attack), the usfAD model achieved over 98% accuracy on the ToN-IoT-Network and CIC-DDoS2019 datasets.
  • Effective Retraining: The authors demonstrated a clear "learning curve." As the model went through successive rounds of retraining on unknown samples, both accuracy and F1-scores for those new attack types increased significantly (often jumping from near-zero to over 80-90% after just a few iterations).
  • Outperforming Deep Learning: In direct comparisons on the CIC-IDS2017 and 2018 datasets, the proposed usfAD-based model outperformed DOC++ (a sophisticated deep learning approach), showing that well-structured machine learning can be more effective and less computationally expensive than deep learning for this specific task.

Limitations and Future Work

  • Initial Model Dependency: The success of the entire hierarchy depends heavily on the accuracy of the Tier 1 "Normal vs. Attack" filter. If an attack is misclassified as normal at the start, it will never be analyzed or learned by the subsequent tiers.
  • Data Transformation: The current model requires categorical data to be converted to numerical formats (label encoding). The authors note that this can sometimes compromise data integrity or, in the case of one-hot encoding, lead to "dimensionality explosion."
  • Future Directions: The team plans to explore ways to eliminate the need for numerical transformation entirely and further refine the clustering efficiency to ensure even higher homogeneity in the "unknown" attack groups.

Summary updated

BibTeX
@misc{uddin2024dual,
  author = {Md. Ashraf Uddin and Sunil Aryal and Mohamed Reda Bouadjenek and Muna Al-Hawawreh and Md. Alamin Talukder},
  title = {{A Dual-Tier Adaptive One-Class Classification IDS for Emerging Cyberthreats}},
  year = {2024},
  eprint = {2403.13010},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.13010},
}
Figure