Introduction
Intrusion Detection Systems (IDS) are critical for network security, yet they face significant challenges in identifying novel, "zero-day" attacks. Traditional signature-based and supervised anomaly detection methods rely heavily on labeled data, which is both expensive to produce and inherently limited to known threat patterns. This paper presents an unsupervised intrusion detection method that leverages a specialized distance metric for mixed data types and a cluster-based outlier factor to identify anomalies without prior labeling.
Methodology
The proposed approach treats intrusion detection as an outlier detection problem within a clustering framework. It addresses two primary hurdles: handling mixed data types and reducing parameter sensitivity.
- Mixed-Attribute Distance Metric: Network traffic data typically comprises both continuous (e.g., packet size) and categorical (e.g., protocol type) attributes. The authors employ a dual-distance formula: Euclidean distance for continuous data and a support-based metric for categorical data, which evaluates the frequency of values within a cluster.
- Hyper-sphere Clustering: Data points are grouped into hyper-spheres of radius $r$ using a "least distance principle." This allows for efficient cluster formation where new points are either merged into existing clusters or initiate new ones.
- Outlier Factor (OF): The core of the detection mechanism is the Outlier Factor, calculated as the harmonic mean of a cluster's distance to all other clusters. This metric identifies clusters that are spatially isolated from the majority of the data, marking them as potential intrusions.
Experimental Setup
The method was evaluated using the KDDCUP99 dataset (10% subset). The training set (P1) consisted of 40,459 records (96% normal), while the testing set (P2) included various attack types, including unknown attacks not present in the training phase, to rigorously test generalization capabilities.
Results and Analysis
The experimental results demonstrate the effectiveness of the proposed method across various parameter settings. The choice of radius $r$ significantly impacts performance metrics.
As shown in Figure 1, the system achieved a peak total detection rate of 98.79% with a false alarm rate of 1.24% at $r=0.031$. Interestingly, the detection rate for unknown attacks peaked at 58.92% with $r=0.063$, suggesting a trade-off between overall detection and the ability to identify novel threats.
Comparative Analysis
The proposed method was benchmarked against several existing unsupervised and supervised models to determine its relative efficacy.
Figure 2 illustrates that the proposed method offers a superior balance between high detection rates and low false alarm rates compared to references [1] through [5]. Notably, it provides explicit performance data for unknown attacks, a metric often missing in comparative studies. While some methods might achieve high detection in specific scenarios, the proposed approach maintains a robust performance profile across a wide range of metrics.
Discussion and Future Work
The study highlights that small clusters are not inherently anomalous; rather, their spatial relationship to the broader data distribution is the key indicator of an attack. The use of the harmonic mean in the Outlier Factor effectively prevents "normal" but distinct traffic from being misclassified.
Future research should focus on refining the selection of the $\epsilon$ parameter (outlier ratio) and evaluating the algorithm's scalability on modern high-speed network backbones. Additionally, validating these mixed-attribute metrics on contemporary datasets like UNSW-NB15 or CICIDS2017 would further establish the method's relevance in the current cybersecurity landscape.
Summary updated