Bluetooth LE Vulnerabilities tile graphic

Bluetooth LE Vulnerabilities

Written by Nicholas Lesniewski-Laas, Sr. Director of Sunrise Systems

Bluetooth is not a Commodity Part 1

There are billions of Bluetooth devices out in the world, with billions more sold each year. It seems that all new electronic devices, including many of the medical devices that we at Sunrise Labs design, have Bluetooth connectivity. Because it is so ubiquitous, many of our customers think of Bluetooth as a commodity, a simple component that can be plugged into a design and expected to just work.

Unfortunately, this view of Bluetooth as a commodity leads to many suboptimal implementations. This approach often relies entirely on the plug-and-play tools and libraries provided by Bluetooth component manufacturers, which are great tools to get up and running quickly but do not address specific product needs. Bluetooth implementations must be optimized for the product-specific workflow; also, the robustness of the Bluetooth interface requires deep systems engineering analysis and knowledge of the inner workings of Bluetooth.

Recently, a set of Bluetooth LE vulnerabilities, collectively known as SweynTooth[1], brought attention to some straightforward attack vectors exposed in many of the software stacks provided by Bluetooth component manufacturers. The SweynTooth attacks affect a broad range of Bluetooth Low Energy devices, including many consumer devices and some medical devices. The publicity around SweynTooth attracted the attention of the FDA, resulting in a press release[2] and a safety communication[3]. The FDA will likely monitor this situation closely.

Most of the SweynTooth attacks are trivial, exploiting simple bounds-checking operations such as when a link layer packet contains more data than is expected. In terms of attack vectors, this is probably just the tip of the iceberg. The manufacturer-supplied software stacks are large, complex, and closed source, so there are likely to be many exploits waiting to be exploited; however, these manufacturer-supplied software stacks are only a small part of the problem. The application code provided by the implementer, the team designing the device itself, is a much bigger problem. Bluetooth stacks unload many aspects of data management to the application layer, often with nuance that is beyond the application developer’s understanding of the Bluetooth standard.

Bluetooth is complicated, making it a likely target for more sophisticated attacks in the future. The core standard is over 3000 pages of requirements, suggestions, and exposition[4]. In addition to the core standard, Bluetooth also includes hundreds of pages of test protocols for qualifying devices as Bluetooth compliant; however, the tests are not exhaustive and most of the tests are limited to ‘happy-path’ workflows. The behavior of Bluetooth devices, when presented with unexpected situations, is often undefined. This puts the burden of safely handling undefined behaviors directly on the shoulders of the stack developers and the application developers. The lesson to learn from SweynTooth is that stack developers, and application developers, need to take this responsibility seriously to avoid introducing gaping security holes in their devices.

SweynTooth, named after the Scandinavian king who exiled his father, Harald Bluetooth, leading to Bluetooth’s death, is aptly named. It is a warning that these glaring security holes in Bluetooth implementations may result in a loss of confidence in Bluetooth as a dependable solution for wireless communication. Industry push-back against Bluetooth adoption could ultimately limit the growth of potentially transformative industries, such as medical body area networks.

Sunrise Labs has extensive experience implementing Bluetooth, and many other communications protocols, into a broad range of medical devices, including small wearables, floor-standing chemical processing machines, and even portable life-support devices. Over the next few months, Sunrise will release a series of blog posts addressing some of the challenges to Bluetooth development and identifying some of the common pitfalls that we see.

Read the blog: Nordic’s New Bluetooth Security Vulnerability

FAQ’s

1. Why is Bluetooth not a commodity part?

  • Bluetooth functionality needs to be optimized for each specific product.
  • A deep understanding of Bluetooth is required to ensure a robust and secure implementation.
  • Relying solely on manufacturer-provided tools can lead to security vulnerabilities.

2. What are SweynTooth vulnerabilities?

A set of vulnerabilities in Bluetooth LE software stacks that can be exploited to attack many Bluetooth devices, including some medical devices.

3. Why are manufacturer-supplied software stacks a problem?

  • They are large, complex, and closed-source, making it difficult to identify and fix vulnerabilities.
  • They unload data management tasks to the application layer, which may not be well-understood by developers.

4. What is the biggest challenge for secure Bluetooth development?

  • The complexity of the Bluetooth standard itself, with over 3000 pages of specifications and limited testing for unexpected situations.
  • This complexity puts the burden on developers to ensure secure implementations.

5. Why is SweynTooth a bad thing for Bluetooth adoption?

These vulnerabilities could lead to a loss of confidence in Bluetooth and hinder the growth of industries that rely on it.

     [1]   M. E. Garbelini, S. Chattopadhyay, and C. Wang, “Unleashing Mayhem over Bluetooth Low Energy,” ASSET Research Group: SweynTooth, 2020. [Online]. Available: https://asset-group.github.io/disclosures/sweyntooth/
    [2]    “FDA Informs Patients, Providers, and Manufacturers About Potential Cybersecurity Vulnerabilities in Certain Medical Devices with Bluetooth Low Energy,” 03-Mar-2020. [Online]. Available: https://www.fda.gov/news-events/press- announcements/fda-informs-patients-providers-and-manufacturers-about-potential-cybersecurity-vulnerabilities
    [3]    “SweynTooth Cybersecurity Vulnerabilities May Affect Certain Medical Devices: FDA Safety Communication,” 03-Mar-2020. [Online]. Available: https://www.fda.gov/medical-devices/safety-communications/sweyntooth-cybersecurity-vulnerabilities-may-affect-certain-medical-devices-fda-safety-communication
    [4]    “At the core of everything Bluetooth,” Core Specifications | Bluetooth® Technology Website, 2020. [Online]. Available: https://www.bluetooth.com/specifications/bluetooth-core-specification/


Related Posts

Stay in the know

Stay up-to-date on Sunrise Labs' events and thought leadership!