hackweb
notes on hacking and technology
IT EN
main menu
user menu
you are not logged in

BLE attacks: sniffing, spoofing and replay

July 24, 2024 · 1 min read · #hardware #bluetooth #wireless

BLE powers countless IoT devices. Many implement the protocol's security poorly, or not at all.

The weak points

"Just Works" pairing: with no confirmation, an attacker in range pairs. Unauthenticated commands: many locks/devices accept GATT writes without verification — replayed after sniffing. Sniffing: with cheap hardware (nRF52, Ubertooth) you capture traffic and, if pairing is weak, decrypt it. Static MAC: device tracking.

gatttool / nRF Connect to enumerate services and characteristics
# then replay the write that opens the lock

Defence

Authenticated pairing (LE Secure Connections, not Just Works), application-level command authentication (challenge-response, non-replayable), link encryption, randomized MACs for privacy. Do not rest security on "it is not documented".


« back to home

latest posts
 
your IP address:
216.73.216.108
visitor #0
MOTD:
Every abstraction leaks somewhere.
Here we look at where.
topics