Topics covered include:
• Installing Ubertooth dependencies/source
• Building/testing Kismet plugin
• Installing Wireshark plugin
The first step is to setup the pyside repository to access precompiled binaries.
Code:
apt-get install python-software-properties
add-apt-repository ppa:pyside
apt-get update
- Download pre-compiled binary dependencies
Code:
apt-get install libnl-dev libusb-1.0-0-dev pyside-tools
- Compile and install PyUSB extension
Code:
wget http://downloads.sourceforge.net/project/pyusb/PyUSB%201.0/1.0.0-alpha-1/pyusb-1.0.0-a1.tar.gz
tar xvf pyusb-1.0.0-a1.tar.gz
cd pyusb-1.0.0-a1
python setup.py install
- Compile and Install libbtbb
Code:
wget http://downloads.sourceforge.net/project/libbtbb/libbtbb.0.5.tgz
tar xvf libbtb.0.5.tgz
cd libbtbb
make
make install
- Download and extract r238 of Ubertooth source
Code:
wget http://downloads.sourceforge.net/project/ubertooth/ubertooth-r238.tar.gz
tar xvf ubertooth-r238.tar.gz
With all of the dependencies installed, everything should be good to go in order to run the basic functionality of the Ubertooth adapter. A good test is to run the include spectrum analyzer:
Code:
cd ubertooth-r238/host/specan_ui
python specan_ui.py
You should see a window pop up with a nifty view of your local 2.4ghz spectrum.
**Capturing Bluetooth Packets**
- Reset ubertooth by unplugging and plugging it back in
- Test packet capture by compiling and running the following
Code:
cd ../bluetooth_rxtx
make
./ubertooth-lap
While this provides basic info about the packets flowing over the air, much more detail is provided via the Kismet plugin.- Prep kismet source in a new terminal.
Code:
tar xvf kismet-2011-03-R2.tar.gz -C /usr/src/
mv /usr/src/kismet-2011-03-R2/ /usr/src/kismet
cd /usr/src/kismet
./configure
- Compile ubertooth kismet plugin
Code:
cd ../kismet/plugin-ubertooth
wget http://www.kismetwireless.net/code/kismet-2011-03-R2.tar.gz
make
make install
- Add 'pcapbtbb' to the logtypes= line in /usr/local/etc/kismet.conf
- Run kismet with source and name as ubertooth
- Enable the ubertooth plugin via Kismet -> Plugins -> Select Plugin
Kismet is ready. Now you can simply open the Kismet appropriate capture file in Wireshark
Bookmarks