Skip to content
This repository was archived by the owner on Oct 11, 2026. It is now read-only.

Bluetooth Low Energy Interception

Ben Hutchison edited this page Dec 9, 2025 · 2 revisions

This page describes the techniques used to understand the BLE Communication Protocol, if you want to learn how to do it yourself.

Requirements

Capture

  1. Enable Developer Mode on your Android device.
    1. Go to Settings › About phone and tap on Build number 8 times.
    2. Go to Settings › System › Developer options › Debugging and enable USB debugging.
  2. Connect your Android device to your computer with a USB cable.
  3. Run adb devices to make sure ADB can connect to your device. If prompted, accept the permissions prompt on your phone to allow debugging from your computer.

Online capture

  1. Start Wireshark.
  2. On the Welcome to Wireshark screen, double click the Android Bluetooth Btsnoop Net interface.
    • If this interface doesn't appear, make sure Androiddump was installed with Wireshark, your Android device is connected to your computer, Developer Mode and USB Debugging are both on, and your computer is authorized to debug your Android device, then restart Wireshark.
  3. Perform any actions you want to intercept on your Android device, such as using the Anova app to change the desired temperature or start cooking.

Offline capture

  1. Enable Bluetooth dumps on your Android device.
    1. Go to Settings › System › Developer options and set Enable Bluetooth HCI snoop log to Enabled.
    2. Reenable Bluetooth on your Android device.
  2. Perform any actions you want to intercept on your Android device, such as using the Anova app to change the desired temperature or start cooking.
  3. Transfer the Bluetooth dump to your computer by running the following command on your computer.
    adb bugreport dump
  4. Extract FS/data/misc/bluetooth/logs/btsnoop_hci.log from dump.zip.
  5. Open btsnoop_hci.log in Wireshark.

Analysis

  1. You can use the following display filter to only show relevant requests and responses.
    btatt.opcode == 0x52 || btatt.opcode == 0x1b
    
  2. You can color requests and responses differently so you can visually identify the message flow.
    1. Find a packet where the Bluetooth Attribute Protocol's Opcode is Write Command (0x52), right click on the Opcode in the packet details panel, choose Colorize with Filter, and pick a color for requests.
    2. Repeat the previous step for the Handle Value Notification (0x1b) Opcode, choosing a different color for responses.
  3. You can show the payload text in the packet list's Info column so you can visually scan the message contents.
    1. In the Bluetooth Attribute Protocol in the packet details panel, right click Value, and choose Decode As…
    2. Change the BT ATT Handle field's Current value from (none) to Data (all the way at the bottom of the gigantic dropdown menu), then click OK.
    3. Right-click the Data section in the packet details panel, then enable Protocol Preferences › Show data as text.

Clone this wiki locally