Project

General

Profile

Actions

Osmocom + CatcherCatcher tutorial

In this page, you can find all the needed information to set up an IMSI Catcher Catcher based on Osmocom.

If you already have a working Osmocom setup you may skip some steps and just open a new git branch.
All the normal capabilities of an Osmocom-based mobile are available.

For everything not covered on this tutorial you can check the Osmocom wiki:

Download sources into ~/catchercatcher

  mkdir -p ~/catchercatcher
  cd ~/catchercatcher
  git clone git://git.osmocom.org/osmocom-bb.git
  wget https://opensource.srlabs.de/attachments/download/63/mobile.cfg

Download ARM cross compiler

  wget http://gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
  tar xf bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2

Compile OsmocomBB

  cd ~/catchercatcher/osmocom-bb
  git checkout --track origin/luca/catcher

  cd src
  export PATH=$PATH:~/catchercatcher/gnuarm-3.4.3/bin
  make

Setup configuration file

  mkdir -p ~/.osmocom/bb
  cp ~/catchercatcher/mobile.cfg ~/.osmocom/bb/

Run OsmocomBB firmware

  # Conect Osmocom phone (eg, Motorola C123) through USB cable
  cd ~/catchercatcher/osmocom-bb/src
  ./host/osmocon/osmocon -m c123xor -p /dev/ttyUSB0 ./target/firmware/board/compal_e88/layer1.compalram.bin
  # Switch on Osmocom phone

Run OsmocomBB host software (in second terminal)

../osmocom-bb/src/host/layer23/src/mobile/mobile

Connect to console

  # every event is reported on the console port
  # (try to connect as soon as possible)
  telnet 127.0.0.1 4247

  # to get the current catcher status
  show catcher <enter>

  # before call or sms you need privileged mode
  en <enter>

  # use help or ? to see the parameters
  help call <enter>
  help sms <enter>

Updated by Linus over 10 years ago · 1 revisions