Bluetooth Architecture and Security Model
You'll learn how Bluetooth organizes its protocol layers, pairs devices, and secures both Classic and Low Energy (BLE) connections.
What Is Bluetooth Architecture?
Bluetooth is a short-range wireless technology for connecting devices. Its architecture is layered like a cake:
- Radio Layer: Physical transmission using 2.4 GHz frequency hopping
- Baseband: Manages connections, packets, and timing
- Link Manager Protocol (LMP): Handles pairing, encryption setup, and link control
- Logical Link Control and Adaptation Protocol (L2CAP): Multiplexes data from higher layers
- Upper Layers: Profiles like A2DP (audio) or HID (keyboards)
Bluetooth Low Energy (BLE) uses a simplified stack designed for low-power devices like fitness trackers, but follows the same layered concept.
Security Model and Pairing
Bluetooth security centers on pairing—the process of establishing trust between devices:
Classic Bluetooth Pairing Modes:
- Legacy Pairing: Older method using PINs (vulnerable to eavesdropping)
- Secure Simple Pairing (SSP): Uses public-key cryptography, introduced in Bluetooth 2.1+
BLE Pairing Methods:
- Just Works: No user interaction (weakest)
- Passkey Entry: Six-digit code verification
- Out of Band (OOB): Uses NFC or other channel
- Numeric Comparison: Both devices show numbers to confirm
After pairing, Bluetooth generates link keys for encryption (E0 cipher for Classic, AES-CCM for BLE). These keys authenticate devices and encrypt data during sessions.
Think of pairing like exchanging house keys with a roommate—you verify identity once, then trust their key afterward.
Key Takeaway:
Bluetooth's layered architecture supports two security models—Classic Bluetooth uses link keys and legacy/SSP pairing, while BLE offers multiple pairing methods with AES encryption, both vulnerable if pairing is intercepted or weak modes are used.