Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


blue_hydra_ubertooth_pi

This is an old revision of the document!


Raspberry Pi - Blue Hydra bluetooth logger

BlueHydra is a Bluetooth device discovery service built on top of the bluez library. BlueHydra makes use of ubertooth where available and attempts to track both classic and low energy (LE) bluetooth devices over time. (from the github page}

Prepare Raspberry Pi

  • Connect Sena UD100 and Ubertooth.
  • Install Raspbian, disable the internal bluetooth adapter. Edit /boot/config.txt add:
    dtoverlay=pi3-disable-bt
  • Reboot.
  • Add user to groups bluetooth and plugdev.

Install Ubertooth

  • Install required tools:
    apt install build-essential
    apt install cmake libusb-1.0-0-dev make gcc g++ libbluetooth-dev pkg-config libpcap-dev python-numpy python-pyside python-qt4
  • Download source code:
    curl -LO https://github.com/greatscottgadgets/libbtbb/archive/2017-03-R2.tar.gz
    curl -LO https://github.com/greatscottgadgets/ubertooth/releases/download/2017-03-R2/ubertooth-2017-03-R2.tar.xz
  • Compile and install libbtbb:
    tar xf 2017-03-R2.tar.gz
    cd libbtbb-2017-03-R2/
    mkdir build
    cd build
    cmake ..
    make
    sudo make install
    sudo ldconfig
  • Install and compile Ubertooth software:
    tar xf ubertooth-2017-03-R2.tar.xz
    cd ubertooth-2017-03-R2/host
    mkdir build
    cd build
    cmake ..
    make
    sudo make install
    sudo ldconfig
  • Reboot, test udev rules.
  • Test Ubertooth:
    /usr/local/bin/ubertooth-util -v
    Firmware version: 2017-03-R2 (API:1.02)

Install pwnie express - blue hydra

  • Install required tools:
    sudo apt install bluez bluez-test-scripts python-bluez python-dbus sqlite3 libsqlite3-dev ruby-dev bundler
  • Install blue hydra:
    git clone https://github.com/pwnieexpress/blue_hydra.git
    cd blue_hydra
    bundle install
    cd bin
    sudo ./blue_hydra
blue_hydra_ubertooth_pi.1520882554.txt.gz · Last modified: 2018/03/12 19:22 by admin