Sunday, June 3, 2012

Installing the latest Kismet client and server with uberooth support in ubuntu 12.04

The following tutorial is a step by step guide on how I go about setting up Kismet with uberooth support on a fresh ubuntu 12.04 install. The guide will work on both 32 and 64 bit OS variants and can also be altered to work on other distros.
This tutorial assumes you already have a working ubertooth setup. If you do not, please follow my other guides on this site for setting up your ubertooth device.
First, I like to create a work directory for all my Source code, so lets create it and change to that directory:
mkdir ~/Source
cd ~/Source
We will need to install some packages for the task.
sudo apt-get install build-essential git subversion libncurses-dev libpcap-dev libnl-dev libpcre3-dev
Lets grab the latest Ubertooth source code and store it in a directory labeled ubertooth-latest:
svn co ubertooth-latest
Now, lets download the latest kismet release:
Now we can untar our kismet source and cd into the source directory.
tar xfvz kismet-2011-03-R2.tar.gz
cd cd kismet-2011-03-R2
We can now configure and compile and install our latest kismet code.
sudo make install
We must now compile our ubertooth kismet plugin. Assuming you checked out the latest ubertooth source in the same directory listed above, run the following.
cd ~/Source/ubertooth-latest/trunk/host/kismet/plugin-ubertooth
sudo KIS_SRC_DIR=~/Source/kismet-2011-03-R2 make install
The next steps are optional, but without them, you will not have bluetooth baseband pcap files and you will have to manually setup your uberooth device each time you start kismet server and client.
In your kismet conf file, find the "logtypes" line and append pcapbtbb to the end. The line in my conf file for logtypes is as follows.
I also like to include my ubertooth device in my conf file so it is up and working each time I fire up kismet. In order to do this, find the ncsource section of your kismet configuration file and add the following line.
There you have it, you should now be on your way to viewing bluetooth traffic in kismet with your uberooth device

No comments:

Post a Comment