Everything You Always
Wanted to Know About
Security in Bluetooth 4.2

A few weeks ago, the Bluetooth Special Interest Group (SIG) released the new Bluetooth® 4.2 core specification. This new release is the most connected, most secure, and most power-efficient specification to date. Bluetooth 4.2 contains feature updates in security, privacy, and extended data packet length. In this blog post, we introduce you to the security feature and show you how to leverage it in your product design.

What Does Bluetooth 4.2 Mean to Developers?

Bluetooth LE Secure Connections

Bluetooth 4.2 introduced a new security model, Bluetooth Low Energy (LE) Secure connections. Bluetooth LE Secure Connections uses an algorithm called Elliptic curve Diffie–Hellman (ECDH) for key generation and a new pairing procedure for the key exchange.

The main goal of the Bluetooth Security Manager is to set up tools and procedures to enable secure connections and protect the communication from passive eavesdropping and man-in-the-middle attacks.

Using Bluetooth LE Secure Connections, with the ECDH algorithms to generate public/private key pairs, the Security Manager protects the communication from passive eavesdropping regardless of the I/O capabilities and pairing methods (numeric comparison, just works, passkey entry, and out of band) you will be using in your applications. It will provide protections from man-in-the-middle (MITM) attacks if the application uses numeric comparison, passkey entry, and out of band as the pairing method.

Adding Bluetooth LE Secure Connections to Your Products

You need to upgrade the security manager in your Bluetooth stack to support the following:

  • Generation and management of ECDH keys
  • Bluetooth LE Secure Connection pairing requests
  • Generation of ECDH keys and long-term keys (LTK)
  • Generation and exchange of cross transport keys

Once the pairing initiator and responder implement support for Bluetooth LE Secure Connections, the pairing can be started by the master sending out a pairing request, or the Slave sending out a security request. The new Secure Connection bit in the Authentication Requirement Flags will indicate to the receiver that a secure connection is being requested for the existing connection.

Pairing is the process of generating and exchanging several keys for encryption and authentication.Then you could move to Phase 2, based on the I/O capabilities of both sides, and establish an encrypted connection.

For technical details, please refer to Bluetooth Core Specification version 4.2 Volume 3 Part H. 

Happy coding!


Bluetooth 5: Go Faster, Go Further

Download this comprehensive overview to discover how Bluetooth 5 significantly increases the range, speed, and broadcast messaging capacity of Bluetooth applications, making use cases in smart home automation, enterprise, and industrial markets a reality.


Related Resources

Disrupting the Restoration Industry with Bluetooth

When Steven Kramer became aware of how antiquated water restoration operations had become in…

How to Automate Asset Tracking, Management, and Inventory in Healthcare and Pharma

Asset tracking is particularly important in healthcare as well as in pharma. Sometimes minutes…

Comparing RTLS infrastructure: Weighing Bluetooth and Competitors

Real-Time Location Solutions are adding more value for operators at a lower price point.…

Introducing Bluetooth Audio Sharing

See how Bluetooth Audio Sharing is poised to once again change the way we…

Member Positioning Guide

Building on 20 years of innovation, the next generation of Bluetooth audio will enhance…

A First Look at the Next Generation of Bluetooth Audio

Bluetooth Special Interest Group (SIG) VP of Marketing Ken Kolderup hosts this on-demand member…

The Bluetooth LE Security Study Guide

Learn about fundamental security concepts, the security features of Bluetooth Low Energy, and gain some hands-on experience using those features in device code.

A Conversation About Smart Buildings

From energy and urbanization to demographics and health, major forces transforming our society are…

Bluetooth Range Test from a Watch Tower

UnSeen Technologies uses Nordic Semiconductor and Texas Instruments chips to test Bluetooth long range…