For a Bluetooth LE fitness wristband that must resist address tracking and keep heart-rate data behind an authenticated, encrypted link, what must the firmware commit to?
answer
- permissions per attribute
- level the hardware can reach
- address rotation has a cost
- who holds the IRK matters
basics
~20 sRequire an authenticated, encrypted link on the heart-rate attributes at a level the band can reach. Use rotating resolvable private addresses from a per-unit IRK, keep stable identifiers out of advertisements, and give the IRK only to trusted bonds.
solid answer
~40 sThe firmware commits to two designs that are easy to conflate. For **permissions**, set encryption and authentication per attribute, choose level 3 or level 4 knowing that level 4 needs LE Secure Connections on both sides, and never require authenticated pairing the band's input and output cannot perform. For **privacy**, use resolvable private addresses generated from a per-unit IRK, rotate them on the host timer (15 minutes is recommended, and frequent rotation can slow connection setup), and keep the device name and other unique data out of advertisements. Then decide who receives the IRK: every bonded device can recognize the band. Evidence for review is the per-attribute permission table, the configured interval and a long advertising capture showing no stable identifier.
go deeper
Know that the heart-rate data needs an encrypted link and that the changing address is what resists tracking.
Separate attribute permissions from LE Privacy, and name the IRK, the timer and the advertised name as the privacy levers.
Review the design for stable identifiers, unresolved-connection behaviour and a level that the band's pairing hardware can reach.
Own the trade-offs: level 3 against 4, Secure Connections Only against older phones, rotation against connection time, and who may hold the IRK.
## What is being decided A wristband has two security promises that look alike and are separate mechanisms. One is about **what a connected peer may do**: the heart-rate data is available only over an encrypted, authenticated link. The other is about **who can recognize the band over the air**: a stranger in a shopping centre should not be able to follow it by address. The first is set with attribute permissions and security levels, the second with LE Privacy. A lead decides how far each goes and what the product pays for it. ## Permission design - **Per-attribute requirements.** Each attribute or service carries its own requirement. A live heart-rate stream warrants encryption and authentication; a battery level may not; a control point that starts a firmware update may add authorization. - **Level 3 or level 4.** Level 4 requires authenticated LE Secure Connections pairing; level 3 can be met by legacy authenticated pairing. NIST SP 800-121 r2 upd. 1 recommends level 4 for LE connections in 4.2 and level 3 for 4.0 and 4.1. - **Secure Connections Only.** It forces level 4 for everything above level 1 and, per NIST, is not backward compatible with 4.0 and 4.1 devices. The cost is the oldest phones in the supported population. - **What the hardware can do.** GAP says a device shall not require authenticated pairing if it does not support the required IO capabilities or out-of-band data. A headless band that demands level 3 or 4 it cannot perform is unusable, so settle the pairing hardware before the permission table. ## Address privacy design | Decision | Choice | What it costs or leaves open | |---|---|---| | Address type | Resolvable private address from the IRK | Only IRK holders can resolve it | | Rotation | Host timer; 15 minutes recommended | Frequent rotation can affect connection establishment times | | Where it runs | Controller-based privacy with a resolving list | Controller must support it; data changes should be synchronized with address changes | | Privacy mode | Network privacy (default under controller resolution) | A device privacy entry, or an all-zero IRK, lets a peer's identity address through | | Randomization | Core 6.1 Randomized RPA Updates | History entry names the feature only; verify controller behaviour | ## What the address change does not hide 1. **Stable advertising content.** GAP says the device should not send the device name or unique data that can be used to recognize the device. A fixed name defeats the rotation. 2. **IRK holders.** The Security Manager text says the privacy concept only protects against devices that are not part of the set given the IRK. Each bonded phone, tablet or fitness machine can recognize the band. 3. **Unresolved connections.** A bonded peripheral that cannot resolve an incoming RPA may accept the connection, disconnect, or pair; accepting "can result in exposing the device name or unique data". 4. **The delivery of the IRK.** It is only as private as the encrypted link that carried it, which makes the pairing choice a privacy decision as well. 5. **The identity address.** If the Resolvable Private Address Only characteristic is absent, a peer may see the identity address over the air. ## The IRK policy The IRK is the capability to recognize the band. Treat distribution as policy: - Give each unit its own IRK, so one extracted value does not identify a batch. - Bond only the devices the owner chooses; every extra bond is another recognizer. - Decide what a factory reset does to existing bonds, and say so in the product documentation. ## Sequencing the work 1. Fix the pairing hardware (input, output, out-of-band support), because it bounds every permission. 2. Write the per-attribute permission table and choose the level for each. 3. Choose the privacy configuration: controller or host, interval, privacy mode. 4. Set the IRK and bond policy, including what a factory reset does. 5. Produce the evidence below before the review, not after it. ## Evidence for the reviewer - The permission table, per attribute, with the level required. - The configured address interval, whether privacy is controller-based, and the privacy mode per peer. - A capture of the band's advertising over a long period with a protocol analyser, showing the address changes and no stable name or identifier. - The pairing configuration, so the IRK delivery can be assessed.
- Should the heart-rate attribute require level 3 or level 4?Level 4 if the supported phones all have LE Secure Connections, because it adds the Secure Connections pairing and a 128-bit strength key; NIST recommends it for 4.2. Level 3 keeps older phones working. If you also enable Secure Connections Only mode, level 4 becomes the floor for everything above level 1.
- What does rotating the address more often than every 15 minutes cost?The Link Layer text warns that generating resolvable private addresses frequently can affect connection establishment times, because peers must resolve each new address, and recommends 15 minutes. Faster rotation shortens how long one address is observable but slows reconnection for every bonded peer.
- A phone, a watch and a gym machine are all bonded to the band. Who can recognize it?Each of them, since each was given the IRK. The privacy feature protects only against devices outside the set that received it. Keep the bond list to devices the owner accepts being recognized by, and treat extra bonds as a privacy decision rather than a convenience.
- Rotating the address is enough even if the advertisement carries a fixed device name
- Level 4 on every attribute is always right, whatever the band's input and output
- Resolvable private addresses stop every bonded device from recognizing the band
- More frequent address rotation is free
- Permissions and address privacy are the same control
Assumes Core 6.3. Level 4 and Secure Connections Only arrived with Bluetooth 4.2; Randomized RPA Updates was added in Core 6.1 and is named in the change history without a description.