← all systems · see it in The System
Traffic analysis
| boundary | Inside: the analysts, intercept operators and programs that take in the externals of others' communications (callsigns, frequencies, schedules, addresses, bearings, call and location records, flow records, packet sizes, directions and timing), the methods that decode them (callsign recovery, direction finding, social-network mapping, timing correlation, fingerprint classifiers, periodicity detectors) and the picture, reports and purpose they serve. Outside: the communicating parties and their networks (radio, telephone, the Internet, Tor); content reading (cryptanalysis); the capture points that supply traces (packet capture); the defences that hide traffic (traffic-flow security, mixes, padding); the law that permits and limits it. |
| nested level | A method of signals intelligence (part of COMINT) and of surveillance, also used by network defenders and studied by communications-security research; it runs on telecommunications networks and on people's communications. |
| scale | technological |
From the walk
Before Pearl Harbor, radio operators normally assigned to Japanese aircraft carriers transmitted from inland Japanese waters, so that eavesdropping Americans who knew each operator's 'fist' (his hand on the Morse key) would think the carriers were still near Japan. (src:wp:traffic-analysis; src:danezis-clayton-2007-traffic-analysis)
Definition. Traffic analysis is 'the process of intercepting and examining messages in order to deduce information from patterns in communication', and 'can be performed even when the messages are encrypted' (src:wp:traffic-analysis): the study of the external features of communications by unintended recipients, everything except the content (src:nsa-cch-2013-history-of-traffic-analysis), which determines 'the detailed shape of the communication streams, the identities of the parties communicating, and what can be established about their locations' (src:danezis-clayton-2007-traffic-analysis). Walked as the practice and its methods, from wartime radio to flow records, website fingerprinting and defenders' classification of encrypted traffic, at survey level and from the researcher's and defender's side. Definition drawn from the encyclopedia entry (Wikipedia, CC BY-SA).
On this page: Properties 2 · Measures 27 · Open contentions 5 · Cross-scale patterns 16 · Valence partners 13 · Partners and parts 53 · Notes 3 · Layers 58 · Sources 38
Properties published scienceour proposal
Sourced fields, and our own readings.
| born at | American Civil War (some use, telegraph); transformed by radio in the First World War |
| born precision | decades |
Measures (27) published science
| characteristic clock: flow record expiry (idle and active timeouts) | idle 15 s to 5 min; active 120 s to 30 min seconds |
| lag from a surge of recruits' messages to troop arrivals (Vietnam) | about four months |
| time for fingerprint training data to go stale | 10-14 days |
| German divisions located by traffic analysis on the British front, 1917-1918 | 50-60 (estimate) percent |
| deep fingerprinting closed-world accuracy, undefended Tor traffic | 98.3 (95 sites, 1,000 traces each); over 90 against WTF-PAD; 49.7 against Walkie-Talkie percent |
| deep fingerprinting open-world precision and recall, undefended | 0.99 precision, 0.94 recall (20,000 unmonitored sites) ratio |
| website fingerprinting accuracy on genuine Tor traffic, by number of monitored sites | above 95 for 5 sites; below 80 for 25; below 60 for 100 percent |
| k-NN website fingerprinting, 100 monitored pages, open world | 85% true positives at 0.6% false positives percent |
| bandwidth overhead of earlier link-padding defenses | 40-350 (page loads delayed 2-4 times) percent |
| WTF-PAD bandwidth overhead | below 60, zero latency overhead; best attack cut from 91% to 20% percent |
| Walkie-Talkie latency overhead | 31 percent |
| Loopix message latency | order of seconds; relay over 300 messages a second at under 1.5 ms added delay |
| flow correlation accuracy on Tor with about 900 packets per flow | 96 (against 4 for RAPTOR in the same setting) percent |
| data reduction of flow export against packet capture | about 1/2000 of the original volume ratio |
| share of operators with flow-export-capable devices | 70 percent |
| malware family attribution from encrypted flows | 90.3 (single flow); 93.2 (all flows in 5 minutes) percent |
| share of malware samples using TLS (2015-2016 dataset) | about 10 percent |
| share of malware families showing periodic behaviour | over 90 percent |
| malicious beaconing domains found across two campus networks | 1,387 domains in 10 months over 75 billion connections; 781 (56%) unknown to VirusTotal at detection count |
| spatio-temporal points needed to identify 95% of individuals | 4 (hourly, antenna resolution; 1.5 million people, 15 months) points |
| telephone metadata study sample (Mayer et al. 2016) | more than 800 volunteers; more than 250,000 calls and 1.2 million texts count |
| SSH keystroke-timing speed-up over brute force (Song et al. 2001, as reported) | 50 times |
| Tor daily users (2018) | more than two million (Sirinam et al. 2018); two to eight million by other counts (Cherubin et al. 2022) users |
| degree of anonymity (normalised entropy over the anonymity set) | 0 (one sender identified) to 1 (all senders equally likely); d >= 0.8 needs S >= 40 of N = 100 equally likely senders ratio |
| anonymity trilemma constraint | no strong anonymity against a global network-level adversary if 2βℓ < 1 - 1/poly(η) (β fraction of users sending noise per round; ℓ rounds a message may stay in the network) inequality |
| phrases identified in encrypted VBR VoIP calls | 50 average; over 90 for some phrases percent |
| two-site identification from total bandwidth under traffic morphing | 98 percent |
Open contentions (5) open contention
Where sources or readings disagree. Both stay on the map.
- C-4681 Does studying only the outside of communications (who, when, how much) stay apart from their content, or can those patterns reveal the content itself, such as spoken words or passwords?
booked: The map keeps both readings side by side and rules on neither.
the other reading: the externals encode content where input is low-entropy and the encoding varies in size or time: spoken phrases from VoIP packet lengths (Wright et al. 2008), illnesses and income from web-application traffic (Chen et al. 2010), passwords from keystroke timing (Song et al. 2001), the page visited (website fingerprinting); so the line between metadata and content is not where the 1979 law drew it - C-4682 At the 1916 Battle of Jutland, who misread British intelligence about a German radio call sign: a senior admiral in London, or Admiral Beatty at sea? Two histories tell it differently.
booked: The map keeps both readings side by side and rules on neither.
the other reading: the encyclopedia's account (citing Kahn): Beatty, ignorant of Scheer's practice of changing callsigns, dismissed the analysts' point - C-4683 Does data about communications (who called whom, when, from where) reveal as much about people as the content itself, or does it deserve less legal protection?
booked: The map keeps both readings side by side and rules on neither.
the other reading: metadata receives less legal protection than content because it is held by third parties (Smith v. Maryland 1979, the third-party doctrine); the protection depends on the kind of record: historical cell-site location needs a warrant (Carpenter 2018, narrowly drawn); the US legislature limited bulk collection of telecommunications metadata (USA Freedom Act 2015) while other authorities continue - C-4684 Should phone and internet companies be required by law to store records of everyone's communications, or is blanket storage a security risk and a serious invasion of privacy?
booked: The map keeps both readings side by side and rules on neither.
the other reading: retention is needed because carriers no longer keep records for billing and investigations lose a valuable source (law enforcement's view as Danezis and Clayton report it); stored traffic data is 'a systemic vulnerability' and blanket retention interferes seriously with private life (Danezis and Clayton; the Court of Justice) - C-4685 Can someone watching encrypted traffic tell which website a person visits as accurately in real life as in laboratory tests, or do the lab results overstate or understate the threat?
booked: The map keeps both readings side by side and rules on neither.
the other reading: the laboratory figures overstate the threat: unrealistic world sizes, browsing habits, Tor versions, staleness and the base rate (Juarez et al. 2014; Panchenko et al. 2016); the figures understate it: a targeted adversary with auxiliary information or genuine exit traffic does better than indiscriminate attacks (Sirinam et al. 2018 discussion; Cherubin et al. 2022 for small monitored sets)
Cross-scale patterns seen here (16) our proposal
Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Traffic analysis. Each links to every other system that shows it.
- causal ceiling (structural)
A limit set by structure, not by means: if an anonymity system's latency is bounded, sending and receiving stay correlated in time, so long-term intersection attacks are 'a fundamental limit on how well any such technology can protect users', and stream tracing is 'a fundamental limit on the anonymi - red-queen (structural)
Move and counter-move around the externals of communication. Radio: analysts solve callsign systems, targets change callsigns and frequencies, analysts equate new to old: both sides acting in the world. Website fingerprinting: 90%+, WTF-PAD 20%, deep fingerprinting 90%+, Walkie-Talkie's 49.7% as its - same role, different builds (structural)
One job, learning who talks to whom, when and how much without reading the content, done by an intercept station logging callsigns (1917), a direction-finding array, a carrier's call records, a router's flow cache, and a neural network classifying encrypted packet traces. - same shape, opposite sign (structural)
One process, classifying encrypted flows by their sizes, directions and timing (and correlating stream timing), turned both ways: against users to strip anonymity (website fingerprinting, flow correlation) and by defenders against intruders (malware TLS classification, stepping-stone detection). Dan - The carry (structural)
Overflow passed on and the wait: a router's flow cache holds entries until an idle or active timeout expires them (15 s to 5 min; 120 s to 30 min), expires some at once when it is full, and passes records on to the collector; analysis cannot see a flow until its record is passed on. - trade one property for another (structural)
Hiding traffic is bought with bandwidth and time: link padding at 40-350% bandwidth and 2-4 times the page-load delay; WTF-PAD at zero latency and under 60% bandwidth but weaker against deep learning; Walkie-Talkie 31% latency; Loopix seconds of delay; obfs4's timing obfuscation at bandwidth, CPU an - Umwelt: each system carves its own slice of one shared medium (structural)
Each observer position sees its own slice of the same traffic: a Tor entry relay sees the client's address but not the destination, the exit sees the destination but not the client, a local eavesdropper sees one link's sizes and times, a carrier sees call records, a router sees flows. The field name - who opens the door (structural)
Two doors: radio is an open field ('the broadcast nature of wireless, permitting anyone to listen in'), no door opened by anyone; packet networks and telephones are read through doors installed ahead of time by the network's owner (flow export built into routers, carriers' records, retention mandate - borrowed-then-held (partial)
Telephone traffic data was first kept by carriers for their own billing; when flat-rate pricing removed that need, retention mandates made carriers keep it for law enforcement. The record-keeping the analyst relied on was supplied by the carriers' business, then held by law. - lightning (partial)
Sudden releases that reshape what follows: the Soviet change of codes and procedures on 'Black Friday' (29 October 1948) left plaintext and traffic analysis as almost the only sources; the 2013 disclosures prompted the reconsideration of metadata law. - namespace completeness (the map predicts its gaps) (partial)
The structure of a radio network mirrors the military organisation, so a partial network predicts the units not yet heard: the 1941 reconstruction of the German air-force net showed nine planes to a unit, not twelve, and corrected the strength estimate; a First World War officer likened it to rebuil - same toolkit, independent builds (partial)
Opposing armies built traffic analysis from the same parts (callsigns, schedules, direction finding, operators' fists): the British and French taught it to the Americans in 1917, and the Germans built their own and came to call it their best source. - seed (partial)
Chaum's 1981 mix, one small construction (seal, batch, reorder, drop repeats), opened a field: remailers, mix cascades, onion routing, Tor and Loopix descend from it, and Danezis and Clayton date anonymous-communications research from it. - templating (partial)
One record format reused across vendors and tools: NetFlow v5's data format, made freely available, spread to other vendors' exporters (NetFlow v9-alike), and IPFIX standardised it so any collector reads any exporter. - The Payment to Entropy (partial)
Signal form, paid by the hider: to hide one bit of pattern, a padding defence sends traffic that carries nothing (40-350% extra bandwidth for earlier defences, under 60% for WTF-PAD); line encryptors fill a leased line with ciphertext whether or not anything is sent. On the analyst's side flow expor - the whole sets the local reference (partial)
A classifier's accuracy is read against the world it is tested in: closed-world results (98%) do not transfer to the open world, where the size of the unmonitored world and the base rate set what an alarm means; Panchenko found 'closed-world results cannot be trivially generalized'. The same holds f
Valence: what it trades, and with whom (13) published science
Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.
- Transport Layer Security via Internet · Traffic analysis gain
- Human (Homo sapiens) via The world through the senses (sensory environment) · Traffic analysis gain
- Law (rules and law) via Written record (durable external marks: texts, archives, canon) · Traffic analysis mixed
- Radio via Electromagnetic field · Traffic analysis gain
- Cryptography via Written record (durable external marks: texts, archives, canon) · Traffic analysis gain
- Signals intelligence via Written record (durable external marks: texts, archives, canon) · Traffic analysis gain
- Malware via Computer network · Traffic analysis gain
- Intrusion detection system via Computer network · Traffic analysis gain
- Packet capture (network taps, port mirroring, promiscuous and host capture) via Computer network · Traffic analysis gain
- Surveillance via Written record (durable external marks: texts, archives, canon) · Traffic analysis gain
- Telephone via Telephone network (circuit-switched carrier) · Traffic analysis gain
- Mix network via Computer network · Traffic analysis loss
- Tor (onion routing) via Computer network · Traffic analysis gain
Partners and parts published science
Built from / builds (9)
- Signals intelligence
- Human (Homo sapiens)
- Radio traffic analysis (callsigns, frequencies, schedules, addresses, chatter)
- Radio direction finding
- Flow monitoring
- Website fingerprinting
- Social network analysis
- Traffic analysts against traffic-flow security
- Defenders' traffic analysis against encrypted malware
Sits inside / holds (2)
expressed by (15)
- Sensing/Scanning
- Hypothesis/Goal Selection
- Mapping/Modeling
- Uncertainty Reduction/Learning
- Active Experimentation / Probing (Optimal Experimental Design)
- Multi-Scale Data Fusion / Triangulation
- Surprise / Change-Point Detection
- Frontier Outposts / Sensing Extension
- Evade Detection
- Precision Attack
- Technique-Based Identification (a.k.a. Technique-Based Detection)
- Self-Monitoring
- Validation of Effectiveness
- Deception
- Triage & Prioritized Allocation
floor filled by (17)
- Signals intelligence
- Human (Homo sapiens)
- State (polity); the nation state its predominant modern form
- Law (rules and law)
- Radio
- Intrusion detection system
- Computer network
- Packet capture (network taps, port mirroring, promiscuous and host capture)
- Surveillance
- Telephone
- Radio direction finding
- Flow monitoring
- Website fingerprinting
- Social network analysis
- Flow (timing) correlation
- Beacon detection
- Data retention (of communications traffic data)
Kinds (10)
- Encrypted traffic analysis
- Radio traffic analysis (callsigns, frequencies, schedules, addresses, chatter)
- Flow monitoring
- Website fingerprinting
- Flow (timing) correlation
- Intersection (disclosure) attack
- Stepping-stone detection
- Beacon detection
- Blending (n-1, trickle and flood) attacks on mixes
- Content inference from encrypted traffic (VoIP phrases, web-application side channels, keystroke timing)
Notes published science
- Before Pearl Harbor, radio operators normally assigned to Japanese aircraft carriers transmitted from inland Japanese waters, so that eavesdropping Americans who knew each operator's 'fist' (his hand on the Morse key) would think the carriers were still near Japan. (src:wp:traffic-analysis; src:danezis-clayton-2007-traffic-analysis)
- In Vietnam, US traffic analysts watched the volume of messages new recruits sent home on a civil network as they left the North; when it surged, more troops could be expected in the South within about four months, the time the trek took. (src:nsa-cch-2013-history-of-traffic-analysis)
- The same trick runs both ways: the sizes and timing of encrypted traffic let an eavesdropper guess which website a Tor user is visiting, and let a company spot malware on its own network without decrypting it, naming which of 18 malware families sent a single encrypted connection about 90% of the time in the researchers' tests. (src:sirinam-2018-deep-fingerprinting; src:anderson-2016-malware-tls)
Layers
The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.
the boardroom (shared floors)
- L5: The picture: the target's network structure, order of battle, social graph, identity of a site, a malware family or a beacon, built from the externals and fused with direction finding and, where readable, content
- L6: Reporting and use: target selection for costlier collection, jamming or destruction; warnings and forecasts to commanders; alerts and ranked lists for defenders
- L7: Purpose and authority: the customers' requirements that start collection, the defender's policy, and the law that permits, limits or mandates the collection and keeping of traffic data
traffic analysis as intelligence historians, communications-security researchers and network defenders describe it: who talks to whom, when, how often and how much, read without the content (reader's view)
- L1: The communications medium carrying other people's traffic: radio spectrum, cables, telephone and packet networks
- L2: Interception by an unintended recipient: intercept stations, direction finders, carriers' records, flow probes, an eavesdropper on a link
- L3: The externals recorded: who, to whom, when, how long, how much, from where (callsigns, schedules, call records, flow records, packet sizes and timing)
- L4: Decoding the externals: recovering callsign systems, fixing transmitters, correlating timing, classifying traces
- L5: The picture: network structure, order of battle, social graph, identities, sites visited, malware present
- L6: Reporting and use: target selection, warnings, alerts
- L7: Purpose and authority: requirements, defence policy, the law on traffic data
way in: Direction-finding bearings on transmitters
- L1: The transmitter's radio wave, arriving from its azimuth
- L2: Direction-finding antennas: land-based HF/DF arrays ('elephant cages'), shipborne and vehicle sets
- L3: Lines of bearing reported from several stations
- L4: Cross bearings combined into a fix on the transmitter's location
way in: Encrypted packet sequences (sizes, directions, timing) on one link
- L1: The link between a user and the first hop of an encrypted or anonymised connection
- L2: A local eavesdropper: the local network, its administrator, the ISP, an autonomous system on the path, the entry relay
- L3: The traffic trace: the sequence of cells or packets with their directions, sizes and times
- L4: Features or learned representations fed to a classifier trained on the observer's own visits
way in: Flow records from routers and probes (NetFlow, IPFIX)
- L1: IP packets crossing a router, switch or firewall interface
- L2: The observation point and metering process in the forwarding device
- L3: The flow cache: packets hashed on the flow key (addresses, ports) and counted until the entry expires
- L4: Flow export to a collector for storage and pre-processing
way in: Intercepted radio traffic's externals (callsigns, frequencies, schedules, addresses, chatter)
- L1: Radio transmissions between the target's stations, open to anyone who listens
- L2: Intercept stations and their operators (COMINT units), tasked by geography and capability
- L3: The externals logged: callsigns, frequencies, schedules, message serials, precedence, size and address groups, operator chatter
- L4: Recovery of the callsign, frequency-rotation and address systems; continuity kept across changes
way in: Location traces (cell sites, wireless access points, Bluetooth contacts)
- L1: A phone's or laptop's radio contacts with antennas, access points and nearby devices
- L2: The carrier's antennas and the access points that log each device
- L3: Spatio-temporal points per person (historical cell-site location records)
- L4: Matching a few outside points to a trace; correlation of two people's traces over time
way in: Periodicity of connections over time (beacons)
- L1: Outbound connections from internal hosts to outside servers, logged over time
- L3: Per-server time series aggregated across protocols and networks
- L4: A periodicity detector that finds hidden regularity in noisy, fragmented signals
way in: TLS handshake parameters and flow statistics seen without decryption
- L1: TLS-encrypted flows leaving and entering an enterprise network
- L2: Passive collection at the network edge
- L3: Observable parameters: offered cipher suites, extensions, certificates, packet lengths and times
- L4: Rules and machine-learned classifiers over those features
way in: Telephone call records (numbers dialled, times, durations)
- L1: Calls placed across the telephone network
- L2: The phone company's switching records and a pen register on the line
- L3: Traffic data kept by providers, under retention rules for fixed periods
- L4: Records joined across hops into 'friendship trees' and a social network
way in: The analyst's own probe traffic (active traffic analysis)
- L1: The anonymising network, shared by the target's stream and the analyst's own
- L2: A probe stream the analyst routes through a chosen node
- L3: Changes in the probe's latency over time
- L4: Latency pattern matched to the target stream's timing signature
way in: Transmitter and operator fingerprints (the 'fist', turn-on transients)
- L1: Unintended features of a transmission: frequency modulations, turn-on transients, an operator's keying rhythm
- L2: Intercept operators who recognise operators and equipment, like a caller's voice
- L4: A fingerprint held across changes of callsign, frequency and schedule, tracking the device
way out: Act on the target (strikes, intercepts, convoy re-routing)
- L1: Convoys re-routed, escorts and aircraft vectored to a fix
- L6: Warnings and predictions of movements passed to commanders
way out: Defender's action on hosts and domains (alerts, blocking, ranked lists)
- L1: Indicators distributed so subscribers update firewall rules
- L6: A ranked list of suspicious periodic domains for analysts and oracles
way out: Guide interception (frequencies, callsigns, schedules handed to intercept operators)
- L2: Receivers tuned to the right frequency at the right time
- L6: Current technical data on targets kept for the intercept operators
way out: Reports read by people (commanders, analysts, investigators)
- L1: Read by the commander or analyst
- L6: Reports on order of battle, movements and intentions
way out: Rules on keeping and reaching traffic data (retention mandates, warrants)
- L1: Providers retain records for fixed periods; investigators obtain them with or without a warrant
- L7: Law-makers and courts set how long providers keep traffic data and when investigators may obtain it