EVOPEDIA

← all systems · see it in The System

Traffic analysis

boundaryInside: 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 levelA 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.
scaletechnological

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 atAmerican Civil War (some use, telegraph); transformed by radio in the First World War
born precisiondecades

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 stale10-14 days
German divisions located by traffic analysis on the British front, 1917-191850-60 (estimate) percent
deep fingerprinting closed-world accuracy, undefended Tor traffic98.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, undefended0.99 precision, 0.94 recall (20,000 unmonitored sites) ratio
website fingerprinting accuracy on genuine Tor traffic, by number of monitored sitesabove 95 for 5 sites; below 80 for 25; below 60 for 100 percent
k-NN website fingerprinting, 100 monitored pages, open world85% true positives at 0.6% false positives percent
bandwidth overhead of earlier link-padding defenses40-350 (page loads delayed 2-4 times) percent
WTF-PAD bandwidth overheadbelow 60, zero latency overhead; best attack cut from 91% to 20% percent
Walkie-Talkie latency overhead31 percent
Loopix message latencyorder 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 flow96 (against 4 for RAPTOR in the same setting) percent
data reduction of flow export against packet captureabout 1/2000 of the original volume ratio
share of operators with flow-export-capable devices70 percent
malware family attribution from encrypted flows90.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 behaviourover 90 percent
malicious beaconing domains found across two campus networks1,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 individuals4 (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 constraintno 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 calls50 average; over 90 for some phrases percent
two-site identification from total bandwidth under traffic morphing98 percent

Open contentions (5) open contention

Where sources or readings disagree. Both stay on the map.

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.

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.

Partners and parts published science

Built from / builds (9)

Sits inside / holds (2)

expressed by (15)

floor filled by (17)

Kinds (10)

Notes published science

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)

  1. 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
  2. L6: Reporting and use: target selection for costlier collection, jamming or destruction; warnings and forecasts to commanders; alerts and ranked lists for defenders
  3. 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)

  1. L1: The communications medium carrying other people's traffic: radio spectrum, cables, telephone and packet networks
  2. L2: Interception by an unintended recipient: intercept stations, direction finders, carriers' records, flow probes, an eavesdropper on a link
  3. L3: The externals recorded: who, to whom, when, how long, how much, from where (callsigns, schedules, call records, flow records, packet sizes and timing)
  4. L4: Decoding the externals: recovering callsign systems, fixing transmitters, correlating timing, classifying traces
  5. L5: The picture: network structure, order of battle, social graph, identities, sites visited, malware present
  6. L6: Reporting and use: target selection, warnings, alerts
  7. L7: Purpose and authority: requirements, defence policy, the law on traffic data

way in: Direction-finding bearings on transmitters

  1. L1: The transmitter's radio wave, arriving from its azimuth
  2. L2: Direction-finding antennas: land-based HF/DF arrays ('elephant cages'), shipborne and vehicle sets
  3. L3: Lines of bearing reported from several stations
  4. L4: Cross bearings combined into a fix on the transmitter's location

way in: Encrypted packet sequences (sizes, directions, timing) on one link

  1. L1: The link between a user and the first hop of an encrypted or anonymised connection
  2. L2: A local eavesdropper: the local network, its administrator, the ISP, an autonomous system on the path, the entry relay
  3. L3: The traffic trace: the sequence of cells or packets with their directions, sizes and times
  4. 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)

  1. L1: IP packets crossing a router, switch or firewall interface
  2. L2: The observation point and metering process in the forwarding device
  3. L3: The flow cache: packets hashed on the flow key (addresses, ports) and counted until the entry expires
  4. L4: Flow export to a collector for storage and pre-processing

way in: Intercepted radio traffic's externals (callsigns, frequencies, schedules, addresses, chatter)

  1. L1: Radio transmissions between the target's stations, open to anyone who listens
  2. L2: Intercept stations and their operators (COMINT units), tasked by geography and capability
  3. L3: The externals logged: callsigns, frequencies, schedules, message serials, precedence, size and address groups, operator chatter
  4. 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)

  1. L1: A phone's or laptop's radio contacts with antennas, access points and nearby devices
  2. L2: The carrier's antennas and the access points that log each device
  3. L3: Spatio-temporal points per person (historical cell-site location records)
  4. 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)

  1. L1: Outbound connections from internal hosts to outside servers, logged over time
  2. L3: Per-server time series aggregated across protocols and networks
  3. L4: A periodicity detector that finds hidden regularity in noisy, fragmented signals

way in: TLS handshake parameters and flow statistics seen without decryption

  1. L1: TLS-encrypted flows leaving and entering an enterprise network
  2. L2: Passive collection at the network edge
  3. L3: Observable parameters: offered cipher suites, extensions, certificates, packet lengths and times
  4. L4: Rules and machine-learned classifiers over those features

way in: Telephone call records (numbers dialled, times, durations)

  1. L1: Calls placed across the telephone network
  2. L2: The phone company's switching records and a pen register on the line
  3. L3: Traffic data kept by providers, under retention rules for fixed periods
  4. L4: Records joined across hops into 'friendship trees' and a social network

way in: The analyst's own probe traffic (active traffic analysis)

  1. L1: The anonymising network, shared by the target's stream and the analyst's own
  2. L2: A probe stream the analyst routes through a chosen node
  3. L3: Changes in the probe's latency over time
  4. L4: Latency pattern matched to the target stream's timing signature

way in: Transmitter and operator fingerprints (the 'fist', turn-on transients)

  1. L1: Unintended features of a transmission: frequency modulations, turn-on transients, an operator's keying rhythm
  2. L2: Intercept operators who recognise operators and equipment, like a caller's voice
  3. 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)

  1. L1: Convoys re-routed, escorts and aircraft vectored to a fix
  2. L6: Warnings and predictions of movements passed to commanders

way out: Defender's action on hosts and domains (alerts, blocking, ranked lists)

  1. L1: Indicators distributed so subscribers update firewall rules
  2. L6: A ranked list of suspicious periodic domains for analysts and oracles

way out: Guide interception (frequencies, callsigns, schedules handed to intercept operators)

  1. L2: Receivers tuned to the right frequency at the right time
  2. L6: Current technical data on targets kept for the intercept operators

way out: Reports read by people (commanders, analysts, investigators)

  1. L1: Read by the commander or analyst
  2. L6: Reports on order of battle, movements and intentions

way out: Rules on keeping and reaching traffic data (retention mandates, warrants)

  1. L1: Providers retain records for fixed periods; investigators obtain them with or without a warrant
  2. L7: Law-makers and courts set how long providers keep traffic data and when investigators may obtain it

Sources (38) published science

Traffic analysis (Wikipedia, via Wikimedia Enterprise snapshot 2026-11-01)
Borrmann DA, Kvetkas WT, Brown CV, Flatley MJ, Hunt R (2013) The History of Traffic Analysis: World War I - Vietnam. Center for Cryptologic History, National Security Agency (declassified public history; govinfo.gov copy; sections read: Definition, The Role of Traffic Analysis, History: World War I, World War II, Korea, Vietnam, the early Cold War) (behind its links)
Sirinam P, Imani M, Juarez M, Wright M (2018) Deep Fingerprinting: Undermining Website Fingerprinting Defenses with Deep Learning. ACM CCS 2018 (arXiv:1801.02265; sections read: abstract, 1 introduction, 2 threat model, 6 discussion, 7 conclusion) (behind its links)
Zhang Y, Dong H, Nottingham A, Buchanan M, Brown DE, Sun Y (2023) Global Analysis with Aggregation-based Beaconing Detection across Large Campus Networks. ACSAC 2023 (doi:10.1145/3627106.3627126; OpenAlex stored full text; sections read: abstract, 1 introduction) (behind its links)
Hofstede, R., Čeleda, P., Trammell, B., Drago, I., Sadre, R., Sperotto, A. & Pras, A. (2014). Flow Monitoring Explained: From Packet Capture to Data Analysis With NetFlow and IPFIX. IEEE Communications Surveys & Tutorials 16(4) (doi:10.1109/comst.2014.2321898; OpenAlex stored full text; sections read: I introduction, II history and context, IV packet observation A-D, VI-B data anonymization) (behind its links)
Data retention (Wikipedia, via Wikimedia Enterprise snapshot; the EU directive passages read) (behind its links)
Piotrowska A, Hayes J, Elahi T, Meiser S, Danezis G (2017) The Loopix Anonymity System. USENIX Security 2017 (arXiv:1703.00536; sections read: abstract, 1 introduction, the implementation-evaluation passages) (behind its links)
Panchenko A, Lanze F, Zinnen A, Henze M, Pennekamp J, Wehrle K, Engel T (2016) Website Fingerprinting at Internet Scale. NDSS 2016 (doi:10.14722/ndss.2016.23477; OpenAlex stored full text; sections read: abstract, I introduction, VII website fingerprinting results, VIII conclusion) (behind its links)
Pattern-of-life analysis (Wikipedia, via Wikimedia Enterprise snapshot; abstract read) (behind its links)
Cherubin G, Jansen R, Troncoso C (2022) Online Website Fingerprinting: Evaluating Website Fingerprinting Attacks on Tor in the Real World. USENIX Security 2022 (OpenAlex stored full text; sections read: abstract, introduction, background and motivation) (behind its links)
Wang T, Cai X, Nithyanand R, Johnson R, Goldberg I (2014) Effective Attacks and Provable Defenses for Website Fingerprinting. USENIX Security 2014 (CACR technical report 2014-05 open copy, 6 pages; sections read: abstract, introduction) (behind its links)
Juarez M, Imani M, Perry M, Diaz C, Wright M (2016) Toward an Efficient Website Fingerprinting Defense. ESORICS 2016 (arXiv:1512.00524; sections read: abstract, 1 introduction, 2 the existing link-padding defenses, the overhead results of section 4) (behind its links)
Nasr M, Bahramali A, Houmansadr A (2018) DeepCorr: Strong Flow Correlation Attacks on Tor Using Deep Learning. ACM CCS 2018 (doi:10.1145/3243734.3243824; arXiv:1808.07285; sections read: abstract, 1 introduction, 6 countermeasures) (behind its links)
Anderson B, Paul S, McGrew D (2016) Deciphering Malware's use of TLS (without Decryption). arXiv:1607.01639 (sections read: abstract, I introduction, the classifier results of table V, the discussion and conclusion) (behind its links)
de Montjoye, Hidalgo, Verleysen and Blondel 2013, Unique in the Crowd: the privacy bounds of human mobility, Sci Rep 3:1376, doi:10.1038/srep01376 (PMC3607247) (behind its links)
Stanford News (16 May 2016) Stanford computer scientists show telephone metadata can reveal surprisingly sensitive personal information (university news release reporting src:mayer-2016-telephone-metadata; read through a fetch tool, which returned the quoted sentences) (behind its links)
Diaz C, Seys S, Claessens J, Preneel B (2003) Towards Measuring Anonymity. Privacy Enhancing Technologies 2002, LNCS 2482 (doi:10.1007/3-540-36467-6_5; OpenAlex stored full text; sections read: introduction, related work, system model, attack model, proposed measurement model, the worked example of the degree) (behind its links)
Das D, Meiser S, Mohammadi E, Kate A (2018) Anonymity Trilemma: Strong Anonymity, Low Bandwidth Overhead, Low Latency - Choose Two. IEEE S&P 2018 (doi:10.1109/sp.2018.00011; OpenAlex stored full text; sections read: abstract, I introduction incl. our contribution, II overview, the analysis of Tor, Loopix and DC-nets) (behind its links)
Wright CV, Ballard L, Coull SE, Monrose F, Masson GM (2008) Spot me if you can: Uncovering spoken phrases in encrypted VoIP conversations. IEEE S&P 2008 (doi:10.1109/sp.2008.21; open copy at gwern.net of the conference paper; sections read: abstract, 1 introduction) (behind its links)
Dyer KP, Coull SE, Ristenpart T, Shrimpton T (2012) Peek-a-Boo, I Still See You: Why Efficient Traffic Analysis Countermeasures Fail. IEEE S&P 2012 (doi:10.1109/sp.2012.28; open copy in the Free Haven anonymity bibliography; sections read: abstract, I introduction, VI-A total time, VII BuFLO opening) (behind its links)
Murdoch SJ, Danezis G (2005) Low-Cost Traffic Analysis of Tor. IEEE Symposium on Security and Privacy 2005 (doi:10.1109/sp.2005.12; author copy at cl.cam.ac.uk; sections read: abstract, 1 introduction) (behind its links)
Danezis G, Clayton R (2007) Introducing Traffic Analysis (chapter, open author copy, University of Cambridge) (behind its links)
NetFlow (Wikipedia, via Wikimedia Enterprise snapshot; abstract and history read) (behind its links)
Chaum D (1981) Untraceable electronic mail, return addresses, and digital pseudonyms. Communications of the ACM 24(2):84-88 (doi:10.1145/358549.358563; OpenAlex stored full text; sections read: introduction, notation, assumptions, mail system, return addresses) (behind its links)
Anderson B, Paul S, McGrew D 2017, Deciphering malware's use of TLS (without decryption), Journal of Computer Virology and Hacking Techniques (doi:10.1007/s11416-017-0306-6; introduction and data-features sections read) (behind its links)
Smith v. Maryland (Wikipedia, via Wikimedia Enterprise snapshot; abstract read) (behind its links)
Carpenter v. United States (Wikipedia, via Wikimedia Enterprise) (behind its links)
Rezaei S, Liu X (2019) Deep Learning for Encrypted Traffic Classification: An Overview. IEEE Communications Magazine (doi:10.1109/MCOM.2019.1800819; arXiv:1810.07906; sections read: abstract, introduction) (behind its links)
Serjantov A, Dingledine R, Syverson P (2002) From a Trickle to a Flood: Active Attacks on Several Mix Types. Information Hiding 2002 (doi:10.1007/3-540-36415-3_3; open copy in the Free Haven anonymity bibliography, 6 pages; sections read: abstract, 1 introduction) (behind its links)
Tor (network) (Wikipedia, via Wikimedia Enterprise snapshot; abstract and the traffic-analysis passages read) (behind its links)
Juarez M, Afroz S, Acar G, Diaz C, Greenstadt R (2014) A Critical Evaluation of Website Fingerprinting Attacks. ACM CCS 2014 (doi:10.1145/2660267.2660368; abstract only: the portal reached no body; an open copy at nymity.ch answered 404; its findings are read in the body of src:cherubin-2022-online-wf, which summarises them) (behind its links)
Mayer J, Mutchler P, Mitchell JC (2016) Evaluating the privacy properties of telephone metadata. PNAS 113(20):5536-5541, doi:10.1073/pnas.1508081113 (behind its links)
Mix network (Wikipedia, via Wikimedia Enterprise snapshot; abstract read) (behind its links)
Chen S, Wang R, Wang X, Zhang K (2010) Side-Channel Leaks in Web Applications: a Reality Today, a Challenge Tomorrow. IEEE S&P 2010 (doi:10.1109/sp.2010.20; Microsoft Research open copy; sections read: abstract, I introduction) (behind its links)
Danezis G (2003) Statistical Disclosure Attacks: Traffic Confirmation in Open Environments. Security and Privacy in the Age of Uncertainty (SEC 2003) (open copy in the Free Haven anonymity bibliography; read in full, 6 pages). The specialist named Danezis and Serjantov 2004 (doi:10.1007/978-3-540-30114-1_21), which the portal reached only as a record; this is the original statistical disclosure paper (behind its links)
Bletchley Park (Wikipedia, via Wikimedia Enterprise snapshot) (behind its links)
Gordon Welchman (Wikipedia, via Wikimedia Enterprise snapshot; the Bletchley passage read) (behind its links)
Johnson A, Wacek C, Jansen R, Sherr M, Syverson P (2013) Users get routed: traffic correlation on Tor by realistic adversaries. ACM CCS 2013 (doi:10.1145/2508859.2516651; abstract only: the portal reached no body and the DTIC copy answered 403 to a program; not pursued) (behind its links)