Skip to main content
QUICK REVIEW

[Paper Review] On the Utility of Anonymized Flow Traces for Anomaly Detection

Martin Burkhart, Daniela Brauckhoff|ArXiv.org|Oct 9, 2008
Internet Traffic Analysis and Secure E-votingComputer Science20 references9 citations
TL;DR

This paper evaluates how IP address anonymization techniques—such as truncation, random permutation, and prefix-preserving permutation—affect the utility of network flow traces for anomaly detection. Using a three-week backbone trace, it finds that only prefix-preserving permutation preserves detection utility, while other methods degrade performance, especially for small-scale anomalies and network fluctuation detection.

ABSTRACT

The sharing of network traces is an important prerequisite for the development and evaluation of efficient anomaly detection mechanisms. Unfortunately, privacy concerns and data protection laws prevent network operators from sharing these data. Anonymization is a promising solution in this context; however, it is unclear if the sanitization of data preserves the traffic characteristics or introduces artifacts that may falsify traffic analysis results. In this paper, we examine the utility of anonymized flow traces for anomaly detection. We quantitatively evaluate the impact of IP address anonymization, namely variations of permutation and truncation, on the detectability of large-scale anomalies. Specifically, we analyze three weeks of un-sampled and non-anonymized network traces from a medium-sized backbone network. We find that all anonymization techniques, except prefix-preserving permutation, degrade the utility of data for anomaly detection. We show that the degree of degradation depends to a large extent on the nature and mix of anomalies present in a trace. Moreover, we present a case study that illustrates how traffic characteristics of individual hosts are distorted by anonymization.

Motivation & Objective

  • To assess the impact of IP address anonymization on statistical anomaly detection in network flow traces.
  • To identify which anonymization techniques preserve traffic characteristics essential for detecting large-scale anomalies.
  • To investigate how anonymization affects the visibility and accuracy of anomaly detection for individual hosts.
  • To quantify the degradation in detection performance across different anomaly types (volume, scan/DoS, network fluctuations) and transport protocols (TCP/UDP).
  • To evaluate the utility of anonymized data for root cause analysis and traffic characterization at fine-grained levels.

Proposed method

  • Developed a generic granularity design space for traffic analysis, defined by subset size (e.g., host, subnet) and resolution (e.g., IP prefix length).
  • Applied five anonymization techniques: blackmarking, truncation, random permutation, partial prefix-preserving permutation, and full prefix-preserving permutation.
  • Used a Kalman filter-based anomaly detector on unanonymized, manually labeled three-week backbone flow traces to establish baseline detection performance.
  • Evaluated detector performance on anonymized data using ROC curves to compare true positive vs. false positive rates across anonymization schemes.
  • Conducted a case study analyzing traffic aggregation effects on 170 individual webservers to quantify the loss of focus due to truncation.
  • Measured the ratio of additional, non-belonging flows introduced by truncation to assess distortion of individual host traffic characteristics.

Experimental results

Research questions

  • RQ1How does IP address anonymization affect the detectability of large-scale anomalies such as volume spikes, scans, and denial-of-service attacks?
  • RQ2To what extent do different anonymization techniques (e.g., truncation, permutation) degrade anomaly detection performance across various anomaly types?
  • RQ3How does anonymization impact the ability to analyze and identify traffic characteristics of individual hosts?
  • RQ4What is the effect of truncation on traffic aggregation, and how does it distort host-level traffic patterns?
  • RQ5Can anonymization be tuned to minimize performance degradation for specific anomaly detection goals?

Key findings

  • All anonymization techniques except prefix-preserving permutation degrade anomaly detection utility, with performance drops ranging from 13% to 30% depending on the anomaly type.
  • For network fluctuation anomalies, utility drops from 87% to 70% when truncation increases from 2 to 4 bits, indicating significant detection degradation.
  • Truncation of 8 bits results in 89% of webservers experiencing a traffic increase of 100% or more due to aggregation with neighboring hosts, severely distorting host-level characteristics.
  • The loss of focus effect—where host traffic is obscured by neighboring host traffic—makes small-scale anomaly detection nearly impossible when subset size is not preserved.
  • Random permutation and blackmarking degrade detection of network fluctuations the most, while volume anomalies remain largely unaffected across all anonymization schemes.
  • Prefix-preserving permutation offers the best utility, preserving detection performance closest to the unanonymized baseline, while blackmarking performs worst due to high data distortion.

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.