Bluetooth Sniffing - HerbFargus/Wikis GitHub Wiki
Notes on Bluetooth Sniffing:
Prerequisites:
Windows Prerequisites:
Get Android SDK Platform Tools (Windows):
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
unzip contents to folder
Install Wireshark:
https://www.wireshark.org/#download
Android Prerequisites:
- Settings > About Phone > Tap Build number 7 times
- Settings > System > Developer Options > Enable USB Debugging
Using ADB:
- Connect android device to computer using USB
- open terminal in folder you extracted sdk platform tools
adb.exe devices
device shows unauthorized
- allow usb debugging on phone prompt
adb.exe devices
now shows device instead of unauthorized.
Generate Bluetooth HCI snoop log:
- Settings > System > Developer Options > Enable Bluetooth HCI snoop log
- Toggle bluetooth
- run bluetooth functions
adb.exe bugreport bugreport
unzip bugreport.zip
-
FS > data > misc > bluetooth > logs > btsnoop_hci.log
-
Settings > System > Developer Options > Disable Bluetooth HCI snoop log
References:
https://www.xda-developers.com/install-adb-windows-macos-linux/ https://medium.com/propeller-health-tech-blog/bluetooth-le-packet-capture-on-android-a2109439b2a1 https://github.com/oliexdev/openScale/wiki/How-to-reverse-engineer-a-Bluetooth-4.x-scale