Lesson 10 of 13 · 13m
Bluetooth: The Other Radio
Pairing modes that encrypt without authenticating, BlueBorne's pre-pairing RCEs, KNOB's one-byte key, and why BLE peripherals are the softest RF target.
Bluetooth pairing has four modes, and one of them — Just Works — encrypts the link without ever authenticating it. "Encrypted" and "authenticated" are separate properties, and most of the Bluetooth fleet has the first without the second.
The pairing menu
Bluetooth Classic (BR/EDR) and BLE use Numeric Comparison, Passkey Entry, Just Works, and Out-of-Band. LE Secure Connections runs ephemeral ECDH on P-256, so pairing produces fresh keys — but the association model is what decides whether a MITM gets detected, and the model is a UI question before it is a crypto question. Numeric Comparison shows both sides the same six digits and you confirm they match: MITM can't fake matching numbers. Just Works uses the identical crypto but confirms nothing — a MITM terminates ECDH with each side separately and both devices are satisfied. Keyboards, headsets, IoT sensors and most wearables pair Just Works because they have no display; the attacker's window is pairing time or a forced re-pair.
BlueBorne
Armis disclosed BlueBorne in 2017: eight CVEs across the Bluetooth stacks of Android, Linux (BlueZ RCE CVE-2017-1000251 plus an info leak), Windows (CVE-2017-8628) and pre-10 iOS. The reason it mattered: these were flaws in the stack itself — remote code execution before pairing, no user interaction, wormable in principle. An attacker in RF range didn't need your device paired to anything; Bluetooth simply being on was enough. It was the wake-up that Bluetooth's attack surface starts below the pairing protocol, in parsers.
KNOB
CVE-2019-9506, 2019, the Key Negotiation of Bluetooth attack: the Classic spec lets devices negotiate encryption key entropy in a range of 1–16 bytes. An attacker MITMs the negotiation and forces it to the floor — one byte. Both devices then dutifully encrypt with a key of at most 256 possibilities, the attacker brute-forces it on the spot, and reads the "encrypted" link. The spec permitting a 1-byte entropy floor was the whole bug; post-KNOB guidance is a 7-byte minimum.
The modern surface
SweynTooth (2020) shipped a dozen bugs in BLE SDKs that propagated into medical and IoT devices. BLUFFS (Antonioli, 2023) broke Bluetooth's forward and future secrecy assumptions by forcing weak session keys. None of this required the pairing ceremony's cooperation — the lesson generalizing across all of it is that Bluetooth stacks are old parsers sitting on a radio, and peripherals with Just Works pairing plus no update path are the softest RF targets on a person.
Recon is trivial
Bluetooth devices announce MACs and names; hcitool scan, btscanner, BlueZ tools, or an Ubertooth One for sniffing BLE advertising channels give a live inventory of every radio in the room. Wearables leak vendor and model; cars leak head-unit firmware vintage. Retailers tracked foot traffic this way for years until per-network MAC randomization on iOS and Android finally spread — BLE beacons remain readable by anyone holding an antenna.
Pairing isn't the only surface
Post-pairing traffic on Classic and BLE relies on the negotiated key, and GATT services on BLE peripherals often expose read/write characteristics with no further authentication at all — a keyboard or glucose monitor's app protocol is usually the weakest layer in the stack, not the radio.
What to do
- Prefer LE Secure Connections with Numeric Comparison or OOB; audit what pairing mode your fleet devices actually use.
- Keep Bluetooth off when unused; disable discoverability. Every BlueBorne-era stack bug required only that the radio be on.
- Patch BLE firmware; treat headsets and IoT radios as unpatchable endpoints by default and segment accordingly.
- On assessments: BLE peripherals pair Just Works, so test whether pairing can be forced and MITM'd rather than whether crypto exists.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
The Same Researcher Broke apt the Same Way Twice, Seven Years Apart
In 2019 Max Justicz showed apt would install a package an attacker swapped in over a redirect. In November 2026 he did it again, CVE-2026-109518, through a different door that ends in the same place: code as root from a man in the middle. The fix shows how apt reuses files on disk.
A 257-Byte Password Is the Key: Inside the OpenSSH musl Bypass
CVE-2026-123158 lets an attacker log into a locked account on musl-based systems like Alpine by sending a password nobody set. The trigger is one number, 257, and the reason is a C library returning a single asterisk. I reproduced the exact boundary against musl 1.2.4 and read the fix.
Zero-Trust Access for Homelabbers: Teleport vs. Tailscale vs. WireGuard vs. Cloudflare Tunnel
Four tools solve four different problems that all get pitched as the same problem. Here's what each one does, where each one breaks, and the combination that covers a real homelab without paying an SSO tax you didn't see coming.
Zero Trust Everything: The Complete Guide to Self-Hosting Teleport for Secure Infrastructure Access
SudoSecurity runs Teleport internally for everything — admin panel access, secure database connections, Kubernetes, and zero-trust philosophy across our entire team. This is the complete technical guide to installing, configuring, and running your own self-hosted Teleport cluster from scratch.