Abstract
Flow watermarking is a critical technique for correlating network traffic to identify stepping stones or deanonymize privacy network users. However, existing methods often struggle with a trade-off between robustness against network noise (jitter, packet loss) and invisibility to statistical detection. This paper introduces a novel invisible flow watermarking scheme that treats the network as an Insertion, Deletion, and Substitution (IDS) channel. By combining Quantization Index Modulation (QIM) with specialized error-correction codes and a Hidden Markov Model (HMM) decoder, the proposed system achieves high detection accuracy and resilience while remaining undetectable to sophisticated traffic analysis.
What Problem Does This Paper Address?
In network security, "flow linking" is the process of correlating an incoming packet flow with an outgoing one. This is primarily used to unmask attackers using "stepping stones" (compromised intermediate hosts) or to deanonymize users on privacy networks like Tor.
Active flow watermarking—injecting a specific timing pattern into a flow—is generally more reliable than passive observation. However, designers face a significant "Robustness vs. Invisibility" trade-off:
- Interval-based schemes are robust against packet loss but create noticeable "gaps" in traffic that attackers can easily detect.
- Inter-Packet Delay (IPD) schemes are invisible because they only slightly nudge packet timings, but they are incredibly fragile. If a single packet is dropped or a new one is inserted (e.g., due to a TCP retransmission), the watermark loses synchronization, and the decoder fails.
This research aims to bridge this gap, creating a scheme that is both invisible to an observer and robust enough to survive the messy reality of the internet.
Methods
The authors propose a two-layered architecture to address these challenges:
- The IDS Layer (Robustness): The network is modeled as an "Insertion, Deletion, and Substitution" (IDS) channel. To handle desynchronization, the system uses a "marker" code approach. The watermark is sparsified (padded with zeros) and XORed with a pseudo-random key. This structure allows the decoder to "re-sync" even if bits are missing or extra bits appear.
- The QIM Layer (Invisibility): Instead of shifting large batches of packets, the scheme utilizes Quantization Index Modulation. It slightly adjusts the delay between individual packets so that the delay is either an "even" or "odd" multiple of a tiny time step ($\Delta/2$). Because these changes are microscopic, the overall statistical distribution of the traffic remains largely unchanged.
- The Decoder: The receiver uses a Hidden Markov Model (HMM) and the Forward-Backward algorithm. The HMM tracks "drift" (packet loss or addition) and "accumulated bit" (merged delays) to calculate the most likely watermark sequence.
Evaluation and Datasets
The scheme was evaluated using two types of traffic:
- Synthetic Traffic: 5,000 packet flows generated using a Poisson process (average rate of 3.3 packets per second).
- Real-World Traces: 5,000 SSH connection traces from the CAIDA (Center for Applied Internet Data Analysis) database. These represent typical human-involved network traffic, which is much more "jittery" and unpredictable than synthetic models.
Key Results
The proposed scheme demonstrates superior performance across several metrics:
- High Accuracy: In both synthetic and real SSH traffic, the system achieved a True Positive Rate (TPR) of nearly 100% with a False Positive Rate (FPR) below 1%.
- Resilience: The watermark survived network jitter with a standard deviation of up to 20ms with over 98% accuracy and maintained high detection rates even when 5% to 10% of packets were dropped or inserted.
- Stealth: The scheme passed the Kolmogorov-Smirnov (KS) test and the Multi-Flow Attack (MFA), meaning the watermark didn't introduce detectable statistical anomalies.
As shown in the table above, the proposed scheme is the only one to achieve high levels of invisibility (Level-I and Level-II) while maintaining robustness and blindness.
Conclusion
By modeling network artifacts as a specific communication channel and applying information theory principles, the researchers have developed a flow watermarking solution that effectively balances invisibility and robustness. While future work remains to optimize computational complexity for real-time, wire-speed detection, this approach provides a significant advancement in network security and traffic analysis.
Summary updated