Home
Blog
Protecting Data: BLE Security for Smart Healthcare Devices

Protecting Data: BLE Security for Smart Healthcare Devices

By
Aliaksandr Zavatski
Senior Embedded Software Engineer
MEV
Reviewed by
Maksym Bahinskyi
Technical Delivery Manager
Published
December 19, 2024
Updated
August 7, 2026
Protecting Data: BLE Security for Smart Healthcare Devices
TL;DR

BLE security in a medical device comes down to two decisions: how the devices exchange keys during pairing, and where those keys sit afterward. The standard BLE pairing methods, Passkey Entry and Numeric Comparison, both assume a person reads a six-digit code off a screen, which rules them out for an embedded device with no display.

This article covers the alternatives that work without user input, including Out-of-Band pairing through a channel such as NFC and pre-shared keys that the manufacturer programs into both devices on the production line.

It also covers key storage on Arm Cortex-M hardware, from secure flash and TrustZone-M isolation up to dedicated modules like Nordic CryptoCell. For a client building molecular analysis devices that detect pathogens in biological samples, MEV implemented custom LE Secure Connections with auto-validated numeric comparison, backed by CryptoCell and TrustZone for key handling.

Bluetooth Low Energy (BLE) is a low-power wireless protocol that lets a battery-powered medical device transmit patient data for months on a single charge. Securing a healthcare BLE link comes down to how the devices prove identity when they pair, and where the keys they generate are stored. This article covers both, then shows how we built automated secure pairing for a client's molecular analysis device on ARM Cortex-M33.

Which Medical Devices Use BLE?

BLE powers the wearable and at-home monitors that stream readings to a phone or hub: continuous glucose monitors, smart inhalers, wireless blood pressure cuffs. These devices sit on the body for weeks at a time, which rules out anything with a heavier power budget.

But what exactly is IoT in healthcare, and how is it changing how we approach medical care? Let’s take a closer look.

It's a seamless ecosystem of smart medical technologies that collect, analyze, and share data in real-time. Devices like Continuous Glucose Monitors (CGMs), Smart Inhalers, and Wireless Blood Pressure Monitors are now essential tools for collecting and transmitting real-time data to improve care. The result? More personalized and proactive patient care that's improving health management.

According to a study, the global Internet of Things market in healthcare is expected to reach USD 169.99 billion by 2030 and grow at a 21.2% CAGR from 2023 to 2030. That's significant growth!

Why Do Medical Devices Use BLE?

BLE runs for months on one coin cell, so a monitor can stay on the patient without a charging routine. Range covers a hospital floor, and connection setup takes milliseconds.

Imagine a small, comfortable wearable device that can monitor your vitals 24/7 without needing a charge for months. That's the advantage of BLE's low energy consumption.

Or consider a hospital where doctors can monitor patients in real-time across different wings or even in-home care settings. That's BLE's extended range and fast connections at work.

Here’s why BLE is the go-to technology for medical devices:

  1. Low Power Consumption: Devices can run for months, even years, on a single battery charge.
  2. Cost-Effectiveness: Affordable implementation means more accessible healthcare tech for everyone.
  3. Extended Range: Reliable connectivity across hospital rooms or entire floors.
  4. Fast Connections: Quick data transmission for real-time monitoring.
  5. Scalability: Support for multiple device connections.
  6. Interoperability: Works seamlessly with various smartphone and tablet platforms.
  7. Data Transfer: Efficient for sending small packets of data.
  8. Security Features: Includes encryption and authentication protocols to protect sensitive information.
  9. Remote Control and Automation: Healthcare providers can adjust settings or trigger actions from a distance.
  10. Location Services: Supports indoor positioning, useful for asset tracking in hospitals.
Key advantages of Bluetooth Low Energy for medical devices

What Are the Security Risks of BLE in Healthcare?

An unsecured BLE link exposes patient data to interception and hands an attacker a path into the device itself. Five attack types account for most of the exposure.

  1. Data Breaches: Unsecured BLE connections could lead to unauthorized access to sensitive health information.
  2. Device Hijacking: Hackers could potentially take control of medical devices.
  3. Denial of Service (DoS) Attacks: Bad actors could overwhelm BLE networks, disrupting critical healthcare operations.
  4. Man-in-the-Middle Attacks: Intercepting and altering data transmitted between devices could compromise patient care.
  5. Malware Infections: One compromised device could spread malware to others on the network.
Five security risks of BLE in healthcare devices

These attack types show up in shipping products. In May 2026 CISA published advisory ICSMA-26-148-01 for the Fourth Frontier X2, a chest-worn ECG monitor that allowed unauthenticated BLE read and write access to critical GATT characteristics. An attacker within radio range could change the clinical readings the device reported. CISA lists every version of the device as affected, with the fix delivered through the Android and iOS applications.

FDA now reviews wireless security as part of device safety. Section 524B of the FD&C Act requires any product meeting its definition of a cyber device to ship with a software bill of materials and a plan for monitoring and patching vulnerabilities after launch. FDA's current final guidance sets out what the premarket submission should contain, including a threat model. A BLE device usually reaches the internet through a paired phone or gateway, which is generally enough to bring it inside the definition.

HIPAA and GDPR govern the patient data itself. They reach a device manufacturer that stores or transmits that data on behalf of a provider.

How Do You Secure BLE Pairing on ARM Cortex-M33?

We implemented custom LE Secure Connections with auto-validated numeric comparison, running on ARM CryptoCell and TrustZone. The devices pair and bond with no user input. Auto-validation holds only where the devices pair inside a trusted environment.

For our client, a manufacturer of molecular analysis devices that detect pathogens in biological samples, ensuring maximum automation and security in their devices is critical. Therefore, one of our key tasks was to develop a solution for automatically discovering and pairing devices via BLE in the most secure way possible. 

In light of this, we explored several security options based on the Cortex-M33 platform, each of which we discuss below. 

What are the core BLE security mechanisms?

Let’s take a look at some applications of these methods.

Pairing and Bonding

There are different pairing methods in BLE depending on the Input/Output (I/O) capabilities of the devices involved, and each method has different levels of protection against MITM attacks:

  • Just Works: No authentication or input is required from the user. This method is used when neither device has a display or input capability (e.g., a BLE beacon).
  • Passkey Entry: One device displays a 6-digit passkey, and the user enters it on the other device.
  • Numeric Comparison: Both devices display a 6-digit number, and the user confirms if the numbers match on both devices.
  • Out-of-Band: BLE also supports Out-of-Band (OOB) pairing, where the pairing information (the Temporary Key) is exchanged through a different communication channel (like NFC). This can be used to securely exchange the keys, providing a strong level of security since the key exchange happens over a trusted medium.

Encryption

Bluetooth 4.2 improves BLE security by implementing stronger encryption and key exchange mechanisms using:

  • ECDH: Devices generate a shared secret through public and private keys using ECDH, which is resistant to eavesdropping and MITM attacks
  • MITM: The Numeric Comparison or Passkey Entry method can be used to ensure protection against MITM attacks, as both devices confirm the shared secret
  • AES-CCM: asymmetric encryption algorithm is used for encrypting the data exchanged between devices
  • LTK: The devices use the long-term key generated during pairing to establish encrypted communication for future connections 

Authentication

  • BLE implements privacy features to prevent device tracking based on its address as well as mechanisms to ensure data integrity and verify the authenticity of the sender:
  • IRK: BLE devices can use random private addresses instead of a static MAC address. The IRK allows authorized devices to resolve the random address back to a known device identity.
  • MIC: Each data packet includes a MIC, which ensures that the data has not been tampered with during transmission.
  • CSRK Data Signing: For certain types of communication, BLE can use Connection Signature Resolving Keys (CSRK) to sign data, ensuring that the data comes from a trusted source.

BLE Security — Methods, Strengths & Implementations

Method Strength Implementation
Pairing & Bonding Protects against MITM attacks
  • Just Works: no authentication
  • Passkey Entry: user enters a 6-digit code
  • Numeric Comparison: both devices show a matching 6-digit code
  • Out-of-Band: a Temporary Key is exchanged through a separate channel
Encryption Bluetooth 4.2 improves BLE security with stronger encryption and key exchange mechanisms
  • ECDH: devices generate a shared secret using public/private keys to prevent eavesdropping
  • Passkey / Numeric Comparison: both sides confirm the shared secret, defending against MITM
  • AES-CCM: authenticated symmetric encryption for data in transit
  • LTK: long-term keys from pairing enable encrypted future connections
Authentication Prevents device tracking; verifies integrity and sender authenticity
  • IRK: use random private addresses instead of a static MAC
  • MIC: each packet includes a Message Integrity Check to detect tampering
  • CSRK Data Signing: sign data with Connection Signature Resolving Keys to prove source

How Do You Pair BLE Devices Without User Interaction?

As can be seen from the Pairing and Bonding section above most of such mechanisms involve an interaction with the user. But what can we do in case when we intend to implement secured BLE communication without having user interaction opportunity, for instance, in our embedded device to be able to be automatically paired, bonded and secured for BLE communication with it?

Here’s how we can achieve this in an embedded system:

Out-of-Band (OOB) Pairing

  • Allows two devices to exchange pairing information through a different communication channel such as NFC, QR code, or a secure wired interface. This eliminates the need for user interaction during pairing and adds a layer of security since the key exchange happens over a trusted medium.

Approach:

  • If a device has NFC capabilities, we can use this channel to exchange the Temporary Key (TK) between devices. The TK is then used during the BLE pairing process to establish a secure connection.
  • If no OOB medium is available, we could embed a static OOB key into both devices during manufacturing. This static key could be securely stored in a microcontroller and used to initiate pairing when the devices come within range.

 Implementation:

  1. Enable OOB pairing: in the BLE stack of the embedded device.
  2. Exchange TK via OOB: When the devices first communicate, use the OOB channel (NFC, for example) to exchange a secure key (TK)
  3. Pairing: Use the shared TK to authenticate and establish an encrypted BLE connection.
  4. Bonding: After pairing, devices can store the Long-Term Key (LTK) for future secure connections without repeating the pairing process. 

Pre-Shared Keys (PSK) or Pre-Provisioned Keys

We can pre-program a Pre-Shared Key (PSK)  into both devices during the manufacturing process.  PSK is a shared secret used in cryptographic communication, where both parties involved in the communication agree on the key beforehand. BLE devices will then use this key to authenticate each other when establishing a connection.

Approach:

  • During production, program a unique PSK or shared key into each device. Store it securely in non-volatile memory, such as flash or an encrypted section of the microcontroller.
  • When the devices attempt to pair, they use this key to generate a shared secret.

Implementation:

  1. Provision the PSK: Embed the same pre-shared key in both the central and peripheral devices during the production process.
  2. Pairing: When the devices establish a BLE connection, they use the PSK to authenticate and establish encryption.
  3. LE Secure Connections: The devices can further secure the connection with ECDH, which adds additional protection against eavesdropping. 

LE Secure Connections with Auto-Validated Numeric Comparison

In this method, we can use LE Secure Connections, a feature that provides enhanced security for data exchanges through the use of stronger encryption and improved key generation methods, ensuring secure pairing and communication between devices. With this method, we can skip the need for user interaction by "auto-validating" the numeric comparison during the pairing process.The devices are programmed in the way to assume that the comparison is valid if the devices are paired within a trusted environment.

Approach:

  • Enable LE Secure Connections ECDH key exchange in the BLE stack of the embedded device.
  • Instead of requiring the user to confirm the numeric comparison, the devices automatically validate the shared secret during pairing.

Implementation:

  1. LE Secure Connections: Use LE Secure Connections for stronger encryption.
  2. Auto-Validation: Modify the pairing process to automatically accept the numeric comparison instead of displaying the number to the user.
  3. Bonding: Once paired, the devices bond and store the Long-Term Key (LTK) for future use.

BLE Secure Pairing Options — Summary

Method Strength Implementation
Out-of-Band Pairing Allows two devices to exchange pairing information through a different channel (e.g., NFC, QR code, secure wired), eliminating the need for user interaction during pairing.
  • Enable OOB pairing in the BLE stack of the embedded device.
  • Exchange TK via OOB: use the OOB channel (e.g., NFC) to share a secure Temporary Key (TK).
  • Pairing: use the shared TK to authenticate and establish an encrypted BLE connection.
  • Bonding: store the Long-Term Key (LTK) for future secure connections without re-pairing.
Pre-Shared Keys (PSK) PSK is a shared secret agreed beforehand; both parties know the key, enabling simple and fast authentication.
  • Provision the PSK: embed the same pre-shared key in central and peripheral during production.
  • Pairing: authenticate and establish encryption using the PSK.
  • LE Secure Connections: add ECDH to further protect against eavesdropping.
LE Secure Connections Provides enhanced security for data exchanges via stronger encryption and improved key generation methods.
  • Use LE Secure Connections on all supported devices for stronger encryption.
  • Auto-Validation: automatically accept numeric comparison where appropriate to streamline UX.
  • Bonding: once paired, store the LTK for future secure sessions.

How do you store BLE keys securely on Cortex-M?

There is also an essential part of an automated BLE secure connection setup related to storing pre-provisioned keys and managing it. Let’s consider the main approaches to deal with keys in a secure way for instance on Arm Cortex-M devices. Here are some strategies to securely store BLE pre-provisioned keys on an ARM Cortex-M devices: 

Secure Storage

  • Secure Flash Memory: Some Cortex-M MCUs offer secure flash regions or specific memory protection units (MPUs) that can be used to store sensitive information, making it inaccessible to unauthorized code. We can configure this secure region to store the pre-provisioned keys.
  • Flash Memory Encryption: Some Cortex-M devices have built-in hardware encryption for flash memory, meaning that data stored in the flash is automatically encrypted and decrypted by the hardware. This provides an extra layer of protection in case the flash memory is read out by an attacker. 

Trusted Execution Environment or Security Extensions

  • TrustZone-M: TrustZone-M is a security technology developed by Arm for microcontrollers and embedded devices, based on the Armv8-M architecture. It is designed to provide a robust security foundation for resource-constrained environments, such as those found in Internet of Things (IoT) devices and embedded systems. TrustZone-Mprovides hardware-based isolation between secure and non-secure environments. This allows it to run security-critical code and store sensitive data in a secure environment, separate from the rest of the application. We can set up secure memory regions where sensitive data like pre-provisioned keys can be stored and processed. Non-secure parts of the system cannot access these secure regions.
  • Store the pre-provisioned keys in the secure environment, and ensure that all sensitive cryptographic operations (such as pairing and encryption) are handled within this zone. Configure the device so that prevent non-secure code from reading or modifying the keys. 

Hardware Security Modules

Some ARM Cortex-M devices include secure cryptographic hardware or a secure key storage module:

  • Nordic’s CryptoCell: which provides robust cryptographic functions and security services for embedded systems and IoT devices. It is designed to enhance the security of devices by handling sensitive operations in a secure and efficient manner.
  • STMicroelectronics' STSAFE-A Secure Elements: which offers secure authentication capabilities to verify the identity of devices, users, and services in various applications, such as securing access to cloud services or enabling secure transactions.
  • NXP’s Secure Key Storage: which ensures that cryptographic keys are stored, managed, and used securely, addressing various security challenges in connected environments.

Provision the keys into the HSM/Secure Storage securely store the pre-provisioned keys during manufacturing or device initialization:

  • During manufacturing, keys are programmed into secure storage using a debug-disabled mode to prevent readout.
  • Usage a secure provisioning tool to inject the pre-provisioned keys into the secure hardware module.

Provision the keys can be stored and managed with help of CryptoCell or similar cryptographic hardware:

  • The pre-provisioned keys can be stored in CryptoCell's Key Storage area, which provides hardware isolation and encryption. Keys are typically loaded and stored in encrypted format, and CryptoCell manages the keys internally for secure operations.
  • To use the pre-provisioned key for any cryptographic operation, request it from the CryptoCell, which will handle encryption, decryption, and key management internally without exposing the key to the firmware or software.

How ARM Cortex-M Devices Secure BLE Keys

Method Strength Implementation
Secure Storage Secure Flash Memory with MPUs blocks unauthorized code access. Flash Memory Encryption keeps data encrypted at rest with hardware decryption.
  • Secure Flash / MPU: configure memory protection so secrets aren’t readable by non-trusted code.
  • Flash Encryption: enable hardware-backed flash encryption for data at rest.
  • Provisioned-Key Storage: securely store BLE pre-provisioned keys on ARM Cortex-M devices.
Trusted Execution Environment (TEE) Hardware-based isolation between secure and non-secure worlds; designed for resource-constrained MCUs and embedded/IoT devices.
  • Isolate secure vs. non-secure execution with hardware partitions.
  • Store Keys in the secure world; perform pairing/encryption inside the TEE.
  • Minimize Surface: expose only audited APIs from secure to normal world.
Hardware Security Modules Some ARM Cortex-M devices include crypto engines or secure key storage modules for tamper-resistant key management.
  • Nordic CryptoCell: hardware crypto functions & security services.
  • STSAFE-A Secure Elements: secure authentication for devices/users/services; supports secure transactions.
  • NXP Secure Key Storage: secure storage, management, and usage of cryptographic keys.

Conclusion: How Do You Choose a BLE Security Approach?

Bluetooth Low Energy (BLE) technology is driving the transformation of healthcare IoT, enabling medical devices to become smarter, more connected, and more patient-focused than ever.

Yet, the sensitive nature of healthcare data and its direct impact on patient safety make securing BLE devices a critical priority. The right approach depends on the device’s capabilities and use case. For embedded BLE devices requiring secure communication without user interaction, these strategies are key:

  • Out-of-Band (OOB) Pairing: Use external communication channels like NFC to establish secure connections without user input.
  • Pre-Shared Keys (PSK) or Auto-Validated LE Secure Connections: Ensure secure communication in controlled environments with minimal complexity.
  • Secure Storage and Cryptographic Solutions: Protect keys using ARM Cortex-M tools like Cryptocell and TrustZone. Provision keys securely during manufacturing, prevent exposure to application code, and implement regular key rotation and erasure.

We implemented Custom LE Secure Connections with Auto-Validated Numeric Comparison, leveraging ARM Cryptocell and TrustZone to create a robust, secure, and automated pairing mechanism tailored for healthcare IoT.

Ready to shape the future of connected healthcare? Let’s get started.

How & Why We Wrote This Article

We wrote this after working through the problem with a client whose molecular analysis devices had to pair over BLE with no user in the loop. The Bluetooth specification documents its pairing methods thoroughly, and Arm publishes plenty on Cortex-M33 security features.

Neither source explains how the two layers meet on a device with no display and no keypad, where an auditor will still ask where the encryption keys live and who can read them. Our engineers evaluated the options against that constraint and shipped one of them, so we published the comparison here.

What does BLE mean in medical devices?

BLE stands for Bluetooth Low Energy. In medical devices, BLE is the wireless protocol that links a sensor on the patient to a phone or a bedside gateway, drawing a fraction of the power classic Bluetooth needs. A continuous glucose monitor that sends a reading every five minutes for two weeks on a coin cell runs on BLE. Nurses and clinical staff seldom touch BLE directly, since it sits underneath the app or monitor they use at the bedside.

Is BLE HIPAA compliant?

HIPAA does not certify wireless protocols, so BLE carries no compliance status of its own. Compliance depends on how the device handles protected health information: whether the link uses LE Secure Connections, and whether keys sit in storage that application code cannot read. The manufacturer documents both in the device risk assessment.

What is the difference between pairing and bonding in BLE?

Pairing is the exchange that generates encryption keys for a session. Bonding stores the resulting long-term key so the two devices reconnect later without repeating the exchange. A medical BLE device can pair without bonding, which forces a fresh key exchange on every connection.

Which Bluetooth version should a medical BLE device target?

Bluetooth 4.2 introduced LE Secure Connections, which uses ECDH key exchange and sets the practical floor for any device carrying patient data. The version number stays a weak proxy: a 5.x device still falls back to legacy pairing when the firmware permits it, and legacy pairing lets an attacker who captures the exchange recover the temporary key offline. Write the requirement against LE Secure Connections itself.

Can BLE medical devices be tracked by their address?

A device advertising a static MAC address can be tracked across locations. BLE privacy answers this with resolvable private addresses: the device rotates the address it broadcasts, and a peer holding the Identity Resolving Key maps it back to a known identity.

Related Articles

Get Your Free Technology DD Checklist 1
Just share your email to download it for free!
Your free Technology DD checklist is ready for download now.
Open the Checklist
Oops! Something went wrong while submitting the form.
Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information

Accept all cookies