Course contentsShow
← Security
Lesson 2976 of 3,05255. Secure CommunicationsFree lesson

Traffic Analysis and Correlation Attacks

How adversaries use metadata patterns, timing, and volume analysis to infer information despite encryption.

Traffic Analysis and Correlation Attacks

What You'll Learn

You'll discover how attackers can extract valuable intelligence from encrypted communications by analyzing patterns, timing, and traffic volume—without ever breaking the encryption itself.

The Persistent Metadata Problem

Even with strong end-to-end encryption protecting your message content, the metadata surrounding your communications creates a shadow trail. Traffic analysis exploits this shadow by observing communication patterns rather than decrypting messages.

How Traffic Analysis Works

Pattern Recognition: Adversaries monitor when you communicate, with whom, how often, and how much data flows. A sudden spike in encrypted messages between Alice and Bob, followed by a stock trade, reveals insider trading patterns—no decryption needed.

Timing Attacks: The rhythm of communications is revealing. Encrypted messages sent every morning at 9 AM to the same recipient establish routine patterns. Deviations signal events worth investigating.

Volume Analysis: Message sizes leak information. A 2KB encrypted message likely contains text. A 50MB transfer suggests files or images. Even encrypted video calls reveal duration and bandwidth—painting a picture of the conversation's nature.

Correlation Attacks

These become powerful when adversaries monitor multiple network points simultaneously. By correlating entry and exit traffic (timing, size, frequency), they can:

  • De-anonymize Tor users by matching traffic entering and leaving the network
  • Link multiple pseudonymous accounts to one person through behavioral patterns
  • Map organizational relationships by graphing communication frequency

Real-world analogy: You can't read sealed letters, but watching the postal service reveals who corresponds with whom, how urgently (express mail?), and how often—building a relationship map without reading a word.

Key Takeaway: Traffic analysis defeats encryption's confidentiality by exploiting metadata patterns—making timing obfuscation, traffic padding, and mix networks essential countermeasures for truly private communications.