Section 5.46

Unlinkability

Definition

Unlinkability is the property that an observer cannot tell, with better than an accepted chance of being right, whether two or more items are related: for example, whether two messages came from the same sender, or two radio sightings are of the same device. Pfitzmann and Hansen’s terminology for privacy defines it relative to a named attacker. Unlinkability differs from anonymity §5.45, which hides who performed one action: an observer can link every action of an unnamed actor without ever learning the actor’s name.

The idea

A fitness band uses BLE §7.1 (Bluetooth Low Energy), a short-range radio, and broadcasts a short advertising packet several times per second so that phones can find it. Suppose every packet carries the same fixed device address. Anyone with a cheap receiver in a café, at a station and in an office sees that address in all three places and can rebuild the wearer’s day without knowing the wearer’s name. Once one sighting is tied to a person, for example outside the person’s house, every earlier and later sighting is tied too.

Linking works like matching handwriting: you need not know who wrote two letters to see that one hand wrote both. Any feature that is stable across items and rare among other actors joins the items: an identifier, a counter, a fixed payload, a timing pattern, a physical quirk of the radio. Unlinkability requires that the observer find no such feature. The analogy stops in one respect: handwriting is involuntary, while most linking features of a device are design choices that can be changed. To remove a link, every such feature must change, and all at the same moment.

How it works

An unlinkability claim is built in five steps.

  1. Name the items and the relation to hide. Examples: two sessions of one device; one customer’s purchases in two shops; a device’s old and new address; a message entering a relay and the message leaving it.

  2. Name the observer. State what it sees (one receiver, many receivers, the server’s records) and what outside data it may compare with.

  3. List the linking evidence. Explicit identifiers: device addresses, account names, cookies, keys. Content: payload fields that do not change, counters that continue from one item to the next. Timing: an old identifier that stops at the moment a new one starts, or a fixed sending interval. Context: location, the set of services offered, the times of day. Physical fingerprints: small analog differences between radios, such as the offset of the carrier frequency or the drift of the clock.

  4. Remove or randomize each piece of evidence, together. An identifier that changes while a stable payload stays is no protection.

  5. State the links the function needs. A connection must link its own packets, and a shop may need to link a refund to a purchase. A claim lists these permitted links and covers only the rest.

Two standard mechanisms follow this pattern. Identifier rotation replaces an identifier by a new random-looking one at intervals. In BLE, the resolvable private address §7.31 (RPA) is a device address that changes periodically; the Bluetooth Core Specification recommends a new one every 15 minutes [283]. Only peers that hold the device’s identity resolving key §7.29, a secret the device hands over during bonding §7.18 (pairing followed by storing the exchanged keys), can tell that two RPAs belong to the same device. Per-context pseudonyms give the same person a different identifier at each service, so two services cannot join their records by that identifier.

Rotating the address does not hide everything else a BLE device shows. Its advertising data can carry a device name, a company identifier §7.32 inside manufacturer-specific data, a list of offered services and a transmit power level; its advertising interval §7.3 has a steady rhythm; after a connection, the set of services and attributes it exposes has a recognizable layout; and its radio has physical quirks. These features identify a device family, a model or a firmware version, and in combination often a single device. Their trustworthiness differs from their usefulness. Everything in the advertising data is chosen by the sender, so any device can copy it: it is weak evidence of what a device is and no proof of identity. Tracking needs no proof, however; it needs only features that are stable and rare. Physical-layer features are hard to forge but vary with temperature and receiver, so they give probabilistic evidence.

Worked example

A device advertises every 100 ms with the fixed address X. The observer records X at a café at 09:00 and at an office at 09:40. The two sightings are linked with certainty.

Now the device rotates its address every 15 minutes. Its last packet under address X1 arrives at 10:14:59.950 and its first packet under X2 at 10:15:00.050, 100 ms later, with the same advertising interval. If the payload also changes and nothing else is distinctive, the observer must choose among all devices in range. If the payload keeps a 6-byte manufacturer field unchanged, or a counter goes 41, 42 under X1 and 43, 44 under X2, the two addresses are linked again.

Weak features add up. Suppose that the features which survive rotation, the advertising interval, the payload layout and the transmit power, are shared by 1% of devices, so q=0.01q = 0.01, and that 30 other devices are in range. The probability that none of the 30 matches is (1−0.01)30=0.9930≈0.740(1 - 0.01)^{30} = 0.99^{30} \approx 0.740. The expected number of other matching devices is 30×0.01=0.330 \times 0.01 = 0.3. So in about 74% of rotations X2 is the only candidate with those features, and together with the timing the observer links it to X1, although no single feature is an identifier.

Stated precisely

Unlinkability is stated as a game between a challenger and an observer with stated powers. The challenger tosses a fair coin. On one outcome it produces two items from the same actor; on the other, from two different actors drawn from the candidate set. The observer receives the two items and everything else it would normally see, and guesses “same” or “different”. Its advantage is Adv=|Pr[guess same∣same]−Pr[guess same∣different]|.\mathrm{Adv} = \bigl|\Pr[\text{guess same} \mid \text{same}] - \Pr[\text{guess same} \mid \text{different}]\bigr|. The items are unlinkable for this observer if Adv≤ε\mathrm{Adv} \le \varepsilon for every strategy within its powers, where ε\varepsilon is a small stated number. Pfitzmann and Hansen state the same idea in terms of knowledge: the observer’s probability that the items are related is, after observation, no different from what it was before.

The claim assumes that the observer’s view is exactly the one modeled, that items from different actors differ only in ways the model includes, and that the links the function needs are excluded from the game.

Limits and common mistakes

Changing one identifier while any other stable feature stays the same leaves the items linkable.

Linking erodes anonymity. Each linked item adds evidence, and once one item in a chain is tied to a person, the whole chain is.

Unlinkability holds only against observers without the linking secret. Bonded peers can resolve a BLE device’s RPAs by design, and a server that issued per-context pseudonyms can link them.

Some linking is required. Sessions, fraud checks and continuity of service all link actions on purpose; a claim must state which links remain permitted instead of promising that nothing can be correlated.

Fingerprint evidence is probabilistic. A claim of unlinkability, like an attack on it, needs numbers: how often features collide, how many other actors are present, and how precise the timing is.

Questions answered

Can actions be linked without learning the actor’s civil identity?

Yes: actions can be linked through any feature they share, without any name. Two actions are linked when an observer can tell that they come from the same actor, and that needs only a shared feature, not a name. A pseudonym that stays the same, a fixed device address, a counter that continues, an unchanged payload, a timing pattern or a physical quirk of a radio all link actions while the legal name stays unknown. A radio receiver that sees one fixed BLE (Bluetooth Low Energy) address at a café and later at an office has linked two sightings without knowing whose device it is.

Linking is a privacy loss of its own. It reveals patterns, such as routes, habits and associations, and once any one linked action is tied to a person, all of them are. That is why unlinkability is evaluated separately from anonymity, which concerns whether a single action can be tied to a person.

If a peer rotates its address, which other observable properties could still identify its device family, and how trustworthy are they?

A BLE (Bluetooth Low Energy) device that rotates its address can still be recognized by its advertising content, its timing and its radio. The advertising content includes the device name, the company identifier in manufacturer-specific data, the list of offered services and the transmit power level. The timing includes the advertising interval and the moment of rotation, since the new address starts as the old one stops. After a connection, the set of services and attributes the device exposes has a recognizable layout. At the radio level, small analog differences, such as the offset of the carrier frequency, distinguish individual transmitters.

As evidence of what the device is, the content features are weak: the sender chooses them, so any device can copy them. As evidence for tracking they are strong, because tracking needs only features that are stable and rare, not features that are true. Radio fingerprints are hard to forge but change with temperature and receiver, so they support probabilistic matching, not proof. None of these features authenticates a device, and resolving a resolvable private address does not either. A peer that holds the device’s identity resolving key, a secret the device handed over during bonding (pairing followed by storing the exchanged keys), can check whether a given address was made with that key. But anyone who has heard one of the device’s addresses can send it again, and the copy resolves in the same way. Authenticating the sender needs a fresh proof of possession §5.30, a check that the sender holds a secret key now, for example starting encryption with the long-term key §7.28 that both devices stored during bonding.

Related entries: Anonymity (§5.45), Traffic analysis defenses (§5.47), Side channel (§1.29). Further reading: [99, 100, 283].