Skip to content

Bluetooth Low Energy

This module is responsible for Bluetooth Low Energy devices discovery, services enumeration and characteristic writing for unauthenticated devices.

Start Bluetooth Low Energy devices discovery.

Stop Bluetooth Low Energy devices discovery.

Clear all devices collected by the BLE discovery module.

Show discovered Bluetooth Low Energy devices.

Enumerate services and characteristics for the given BLE device.

Write the HEX_DATA buffer to the BLE device with the specified MAC address, to the characteristics with the given UUID. |

ParameterDefaultDescription
ble.device-1Index of the HCI device to use, -1 to autodetect.
ble.show.filterDefines a regular expression filter for ble.show.
ble.show.limit0If greater than zero, defines limit for ble.show.
ble.show.sortrssi ascDefines sorting field (rssi, mac, or seen) and direction (asc or desc) for ble.show.
ble.timeout5Connection timeout in seconds.
ble.ttl30Seconds of inactivity for a device to be pruned.

Connect, enumerate and read characteristics from the BLE device 04:52:de:ad:be:ef (requires ble.recon on first):

Terminal window
ble.enum 04:52:de:ad:be:ef

Write the bytes ff ff ff ff ff ff ff ff to the BLE device 04:52:de:ad:be:ef on its characteristics with UUID 234bfbd5e3b34536a3fe723620d4b78d (requires ble.recon on first):

Terminal window
ble.write 04:52:de:ad:be:ef 234bfbd5e3b34536a3fe723620d4b78d ffffffffffffffff

Hacking a Loccess smartlock using bettercap:

Play