Skip to main content
QUICK REVIEW

[Paper Review] Outlier detection on network flow analysis

Quang-Vinh Dang|arXiv (Cornell University)|Aug 6, 2018
Anomaly Detection Techniques and ApplicationsComputer Science1 references9 citations
TL;DR

This paper evaluates unsupervised outlier detection algorithms for identifying DDoS attacks in network traffic, using a real-world dataset with imbalanced labels. Isolation Forest and PCA-based methods outperform others, especially at low outlier ratios, demonstrating strong AUC and accuracy even without labeled training data.

ABSTRACT

It is important to be able to detect and classify malicious network traffic flows such as DDoS attacks from benign flows. Normally the task is performed by using supervised classification algorithms. In this paper we analyze the usage of outlier detection algorithms for the network traffic classification problem.

Motivation & Objective

  • To assess the effectiveness of unsupervised outlier detection algorithms in identifying DDoS attacks without relying on labeled training data.
  • To address the limitations of supervised classification methods, particularly their poor generalization to unseen attack types and sensitivity to class imbalance.
  • To evaluate algorithm performance across varying ratios of malicious to benign network flows, especially in extreme imbalances (e.g., 1:1000).
  • To compare multiple outlier detection techniques on real network flow data with 76 features and ground-truth labels.
  • To identify which algorithms maintain high detection performance when the proportion of attack traffic is low.

Proposed method

  • Applied seven unsupervised outlier detection algorithms: CBLOF, HBOS, Isolation Forest (IForest), k-NN, MCD, OCSVM, and PCA.
  • Used a real network flow dataset with 464,976 samples and 76 features, including flow duration, packet counts, and packet length statistics.
  • Created synthetic datasets with attack ratios ranging from 0.01% to 99% by subsampling benign and attack flows using a custom function to control class distribution.
  • Split each dataset into 70% training and 30% testing sets, ensuring no feature had constant values across samples.
  • Evaluated performance using AUC and accuracy scores, comparing results across training and test sets to assess generalization.
  • Reported results across varying benign ratios to simulate real-world imbalanced conditions common in network security.

Experimental results

Research questions

  • RQ1How do unsupervised outlier detection algorithms perform in detecting DDoS attacks when the dataset is highly imbalanced?
  • RQ2Which outlier detection algorithm achieves the highest AUC and accuracy across varying attack ratios in network flow data?
  • RQ3How does the performance of outlier detection algorithms compare between training and test sets, indicating generalization capability?
  • RQ4Can outlier detection methods detect previously unseen DDoS attack patterns without requiring labeled examples during training?
  • RQ5How does the proportion of malicious traffic (attack ratio) affect the detection performance of different outlier detection algorithms?

Key findings

  • Isolation Forest (IForest) and PCA-based outlier detection achieved the highest AUC scores across all tested attack ratios, particularly excelling as the proportion of benign traffic increased.
  • The AUC scores for IForest and PCA remained consistently high even at low attack ratios (e.g., 0.01%), indicating strong performance on extreme class imbalance.
  • Accuracy scores increased with higher benign ratios across all algorithms, confirming the impact of class imbalance on performance metrics.
  • Performance on training and test sets was very similar for all algorithms, indicating that unsupervised methods generalize well without overfitting to training data.
  • The dataset contained 3.76% attack samples (17,462 out of 464,976), and the study evaluated performance across ratios from 0.01% to 99% to simulate real-world conditions.
  • Outlier detection methods like IForest and PCA outperformed traditional supervised classifiers in scenarios with low attack prevalence and unknown attack patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.