TL;DR
This paper proposes a novel approach to network intrusion detection by combining Multi-Resolution Analysis (MRA) using Discrete Wavelet Transform (DWT) with interactive visualization. The method effectively extracts salient features from network traffic, enabling clearer visual separation of normal and malicious activities, thereby enhancing intrusion detection capabilities.
What Problem Does This Paper Address?
Network security is a critical concern, and detecting cyber threats in the ever-evolving landscape of network traffic is a significant challenge. Traditional intrusion detection systems often struggle with identifying novel or sophisticated attacks. Anomaly-based detection, which relies on identifying deviations from normal network behavior, can suffer from high false positive rates. The complexity and sheer volume of network data make it difficult to discern subtle attack patterns. This paper aims to address this by developing a more effective method for identifying and visualizing network attack patterns, particularly for unknown threats.
Methods
The core of this research lies in the integration of Multi-Resolution Analysis (MRA) and visualization.
- Discrete Wavelet Transform (DWT): The authors employ DWT to decompose network traffic data into different frequency components, effectively extracting features at various scales. This allows for the identification of subtle patterns and anomalies that might be missed by traditional methods.
- Feature Extraction and Selection: Various sliding window sizes and step sizes were experimented with to optimize feature extraction. Statistical validation (ANOVA) was used to select significant features, reducing computational load while maintaining accuracy.
- Principal Component Analysis (PCA): PCA is used to reduce the dimensionality of the extracted DWT features, making them suitable for visualization in a 2D or 3D space. This helps in identifying the most dominant principal components that represent the vital relationships within the data.
- Interactive Visualization: A coordinated multi-view (CMV) framework is utilized, featuring a PCA Projection View and a Data View. The PCA Projection View displays network events as glyphs, color-coded for normal (blue) and attack (red) activities. The Data View uses parallel coordinates to show the actual feature space. User interaction techniques like navigation, selection, and manipulation are incorporated to facilitate interactive visual analysis.
- Classification Analysis: To evaluate the effectiveness of the MRA with visualization approach, classification analysis was performed using Support Vector Machines (SVM), Naive Bayes (NB), and K-Nearest Neighbors (KNN) algorithms.
Datasets
The study utilized three publicly available intrusion detection datasets:
- NSL-KDD: A cleaned version of the KDD'99 dataset, addressing duplicated entries. It contains approximately 150,000 records with 41 attributes, covering four attack categories (DoS, R2L, U2R, Probe).
- Kyoto 2006+: A dataset designed to reflect more recent network traffic trends, containing millions of real traffic data records with 24 attributes.
- CIC-IDS2017: A dataset captured at the Canadian Institute for Cybersecurity, containing about 2.8 million network events with eighty-five variables, generated from Brute Force attack scenarios.
Key Insights and Ideas
- DWT for Feature Extraction is Crucial: The study strongly suggests that DWT features provide a clearer representation of network traffic compared to raw features, leading to more distinct clusters in visualizations.
- Visualization as a Powerful Analysis Tool: Interactive visualization, especially when combined with MRA, significantly aids in understanding complex network traffic patterns and differentiating between normal and attack events. The ability to interact with the data (select, manipulate) is key to uncovering subtle anomalies.
- Parameter Tuning is Essential: The effectiveness of the DWT approach is highly dependent on the choice of wavelet function, window size, and step size. Finding the optimal combination is critical for achieving clear visual separation of attack patterns.
- PCA as a Visualization Aid, Not a Replacement: While PCA is useful for dimensionality reduction for visualization, the study indicates that DWT features often provide better performance for classification, suggesting that MRA captures more relevant information than PCA alone for this task.
- Honeypot Data Challenges: The Kyoto 2006+ dataset, generated in a honeypot environment, presented challenges due to the high similarity between normal and "attack" events, making visual separation more difficult.
Key Results
- Improved Visual Separation: Visualizations using DWT features showed significantly clearer clusters representing normal and attack events compared to raw features across all tested datasets.
- Optimal Parameters Identified: For the NSLKDD dataset, a window size (α) of 150 and a step size (β) of 10 yielded good results for differentiating normal and attack events. For Kyoto2016 and CICIDS2017, different optimal window sizes were identified.
- Classification Performance: DWT features generally showed slightly higher classification performance (accuracy, precision, recall, F1 score) compared to PCA features across various classification algorithms (SVM, NB, KNN).
- Wavelet Choice Matters: Different wavelet functions (e.g., Haar, Daubechies, Symlets) produced varying visualization results, with some showing better separation of attack clusters than others.
- Clustering Insights: Hierarchical clustering on PCA-projected DWT features showed good clustering results, with Pearson correlation coefficient performing slightly better than other distance metrics.
Limitations and Future Work
- Computational Cost: Applying clustering techniques, especially on large datasets like Kyoto2016 and CICIDS2017, required significant computational time.
- Parameter Optimization: The current study involved extensive manual evaluation of parameters (window and step sizes). The authors suggest future work on developing an automated approach to determine optimal parameters based on network traffic characteristics.
- Imbalanced Datasets: While the study used datasets with varying degrees of imbalance, the authors acknowledge the challenge of analyzing highly imbalanced data and suggest further investigation into techniques for such scenarios.
- Real-time Detection: The proposed approach is primarily for analysis. Future work aims to design and test a real-time intrusion detection system.
- Extensive Parameter Testing: The authors plan to extend their study to test all possible input parameters and measure sensitivity and specificity in detecting intrusions with various imbalanced data analysis techniques.
- Comparative Study: A comparative study with known intrusion detection models is planned to further highlight the benefits and limitations of their approach.
Summary updated