TL;DR
Defending networks requires organizations to share packet traces, but privacy fears usually stall cooperation. This paper empirically measures the tradeoff between data privacy and security utility by anonymizing single fields in network traces and testing them against a Snort Intrusion Detection System (IDS). The surprising discovery? While a couple of critical fields exhibit a strict zero-sum tradeoff, eight out of ten tested fields can be anonymized with virtually zero impact on security analysis.
What Problem Does This Paper Address?
To defeat sophisticated cyberattacks that cross organizational boundaries, defenders need to collaborate and share network data. However, network packet traces contain highly sensitive information—such as user activities, network topologies, and system configurations—that could be weaponized if leaked to an attacker.
Anonymization offers a solution, but it introduces a fundamental dilemma: the privacy/analysis tradeoff. If you anonymize too aggressively, you destroy the data's utility for security analysis (e.g., detecting exploits or trends). If you anonymize too loosely, you risk exposing private data. While researchers have long acknowledged this tension, this paper provides the first empirical, quantitative measurements to characterize exactly how single-field anonymization choices impact security analysis capabilities.
Methods
The authors designed a systematic framework to test how different anonymization techniques affect an Intrusion Detection System (IDS), using the number of triggered alarms as a proxy for security analysis capability.
- Anonymization Tool: They used
SCRUB-tcpdumpto apply various multi-level anonymization options to individual packet fields. These options included Black Marker (replacing data with a constant), Pure Randomization (scrambling values randomly), Keyed Randomization (using cryptographic hashes to maintain consistent mappings), and Grouping/Bilateral Classification (coarsening data into ranges). - Analysis Engine: Anonymized traces were piped into a standard open-source Snort IDS running the official Sourcefire VRT Certified Ruleset.
- Protocol: They ran 91 distinct experiments across 131 trace files, establishing a baseline of IDS alarms for unanonymized files and measuring the percentage deviation caused by each anonymization scheme.
Datasets
The experiments were evaluated using an enterprise network traffic dataset from the Lawrence Berkeley National Laboratory (LBNL).
- Scope: 11 GB of packet header traces spread across 131 files, captured over five separate days spanning three months.
- Caveats: Because the public LBNL dataset had already been sanitized for public release, the Payload field was completely deleted and the IP Address field was already anonymized. Consequently, these two fields could not be tested in the study.
Key Insights and Ideas
- The "Not-Zero-Sum" Surprise: The most significant finding is that the privacy/analysis tradeoff is rarely a direct zero-sum game. Out of ten fields tested, eight (including Time-To-Live, TCP Flags, Window Size, and Timestamps) could be completely anonymized without changing the Snort IDS alert behavior at all. Privacy can be achieved here without sacrificing detection.
- The Chaos of Pure Randomization: Intuitively, scrambling data via pure randomization sounds safe. However, when applied to the Transport Protocol Number field, it caused a massive explosion of false-positive alarms. This happened because valid protocols (like TCP/UDP) were randomly mapped to obscure protocol numbers, triggering specialized, low-level signatures within Snort.
- Short-Circuiting Processing Time: The authors noted a fascinating side effect: when the Transport Protocol Number was wiped out using a Black Marker, Snort's processing time plummeted. Because it could no longer identify transport layer protocols, it short-circuited deep packet inspection and only evaluated basic data link and network layer rules.
Key Results
The paper categorizes the fields into two distinct groups based on their quantitative impact on Snort alerts:
1. Zero-Sum / High-Impact Fields
- Transport Protocol Number: Wiping this field out via Black Marker or Keyed Randomization dropped valid alerts by roughly 94% across the board, rendering the data useless for deep analysis. Conversely, Pure Randomization caused an average alert spike of +549.04% (and up to +5482% in extreme cases), flooding the system with noise.
- Total Packet Length: Wiping this field out using a Black Marker caused a catastrophic surge in alerts (an average increase of +32,733.23%), primarily because it triggered Snort decoder errors warning that the IP datagram length was shorter than the header length.
2. No-Impact Fields
For the remaining eight fields—Time-To-Live (TTL), Type-of-Service (TOS), Fragmentation Flags, Ports, Sequence Numbers, Window Size, TCP Flags, and Timestamps—anonymization resulted in a 0% deviation in Snort alerts.
(Note: The Ports field showed no impact largely because the dataset already lacked payloads; Snort signatures typically require a combination of port numbers and payload strings to fire).
Limitations and Future Work
While illuminating, the study has a few clear boundaries:
- Signature-Based IDS Bias: The metrics rely entirely on Snort, a signature-based IDS. Anomaly-based IDSs, which profile normal traffic patterns over time, would likely be much more sensitive to changes in fields like Timestamps or Window Sizes.
- Pre-Sanitized Dataset: Because the LBNL dataset lacked payloads and real IP addresses, the true multi-field interactions between ports and payloads could not be fully explored.
- Single-Field Focus: This paper only looks at what happens when you anonymize one field at a time. Real-world anonymization requires altering multiple fields simultaneously. The authors explicitly call out the combinatorics of multi-field anonymization as the vital next step for future research.
Summary updated