Airprobe – setup

Airprobe Install:
The following link is the one I have used to compile and install correctly Airprobe but I have changed some steps because of they are not updated. This is the link of the RTL-SDR blog: http://www.rtl-sdr.com/rtl-sdr-tutorial-analyzing-gsm-with-airprobe-and-wireshark/
This is has an interesting pdf docuemnt which explains what is exactly GNU Radio and Airprobe and what they are used for. Also this link summarizes the steps to compile Airprobe: http://www.data.ks.uni-freiburg.de/download/comsysSS12/7.Lecture_2012-06-15/exercise06-Analyse.pdf

Another link to follow the steps is the next one: http://sdrlatino.wordpress.com/2013/07/14/instalacion-y-uso-de-airprobe/

It’s important to notice that you must have GNU Radio compiled, installed and running correctly to get Airprobe running too. So if you don’t have it, go to my other thread and install GNU Radio first.

Ok, so I suppose you have GNU Radio installed and let’s begin with the compilation of Airprobe. Open a command terminal and give it sudo privileges.
It’s allways better to have sudo privileges with this kind of compilations:

cd Documents/SDR/

(To enter in the same directory that I create for the GNU Radio which is named SDR).

mkdir airprobe
cd airprobe
sudo su

(and enter the password)

Before beginning, install the necessary dependencies:

apt-get install git-core autoconf automake libtool g++ python-dev swig
 libpcap0.8-dev

Some more dependencies are needed:

apt-get install gnuradio gnuradio-dev cmake git libboost-all-dev 
libusb-1.0-0 libusb-1.0-0-dev libfftw3-dev swig python-numpy

I don’t know if all these dependencies are required but to be sure install all these packages and there will be no problems if GNU Radio is well-compiled.

git clone git://git.osmocom.org/libosmocore.git

This will download the directory on github with all the necessary things to compile libosmocore. First of all we must compile libosmocore:

cd libosmocore
autoreconf –i
./configure
make
sudo make install
sudo ldconfig

Now we have to install Airprobe downloading the updated directory:

git clone git://git.gnumonks.org/airprobe.git

(inside the directory of SDR but out of the libosmocore directory)

cd airprobe

(we can see that a second folder with the name “airprobe” is created inside the first folder)

Gsmdecoder and gsm-receiver are tools of Airprobe.

Install gsmdecoder:

cd gsmdecode
./bootstrap
./configure
make

Install gsm-receiver:

cd gsm-receiver
./bootstrap
./configure
make

Now we are going to test Airprobe:

cd airprobe/gsm-receiver/src/python
wget ​https://svn.berlin.ccc.de/projects/airprobe/raw-attachment/wiki/
DeModulation/capture_941.8M_112.cfile

(If this link is outdated, check out the description below)
It’s better to go to this website: https://mega.co.nz/#!a5ZUgYKI!N1R6bCdMRGDW-66D2yj2hSjbPQgbJ8sMlB3xPup5yus
And download the file clicking on the orange button:
cfileDownload
This is a file with a precaptured GSM information that can be used to check if Airprobe is working after the compilation or not.
Then we have to move the file to the correct directory:

mv capture_941.8M_112.cfile gsm-receiver/src/python

After this, we have to open wireshark with sudo privileges:

sudo apt-get install wireshark

(if you are using kali linux wireshark is already installed)
Open wireshark by typing: “wireshark” in the terminal to have sudo privileges and then follow the steps to decode GSM:

./go.sh capture_941.8M_112.cfile

This step will send the infromation of the cfile into wireshark and decode this information. This is a prepared file which has the information very well extracted and classified, of course if we receive a live channel the information won’t be so well classified.
But after this command, if you see a lot of frames entering in wireshark, it means that Airprobe works well. So this is the end of the compilation tutorial.
See my other thread to know how to setup wireshark to get the information sent by Airprobe: https://ferrancasanovas.wordpress.com/cracking-and-sniffing-gsm-with-rtl-sdr-concept/ (STEP 6 of the thread)

Official web of the Airprobe project, but it seems to be outdated: https://svn.berlin.ccc.de/projects/airprobe/

Anuncis

Deixa un comentari

Fill in your details below or click an icon to log in:

WordPress.com Logo

Esteu comentant fent servir el compte WordPress.com. Log Out / Canvia )

Twitter picture

Esteu comentant fent servir el compte Twitter. Log Out / Canvia )

Facebook photo

Esteu comentant fent servir el compte Facebook. Log Out / Canvia )

Google+ photo

Esteu comentant fent servir el compte Google+. Log Out / Canvia )

Connecting to %s