osmocombb+c118 gsm-sniffer

Discussions related to embedded firmware, driver, and user mode application software development

Moderator: robert.ghilduta

Post Reply
superben
Posts: 3
Joined: Mon Aug 29, 2016 1:56 am

osmocombb+c118 gsm-sniffer

Post by superben » Sat Sep 03, 2016 12:20 am

osmocombb+c118 gsm-sniffer:
https://youtu.be/ZDToZIYHmJM
blog:http://gsmsuperben.blogspot.my/2016/07/ ... iffer.html

System :

ubuntu12.04-i386(or kali)
一:update system


update(or vi /etc/apt/sources.list )


settings



Inside find software update source download from modifying their own country
Then save the exit
now open terminal
$ sudo apt-get update
$ sudo apt-get upgrade
二:Then install a series of dependency

$ sudo apt-get install libusb-0.1-4 libpcsclite1 libccid pcscd
$ sudo apt-get install libtool shtool autoconf git-core pkg-config make gcc build-essential libgmp3-dev libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev libpcsclite-dev
(copy)
三:Create several directories , download ARM compiler

$ mkdir osmocombb
$ cd osmocombb
$ mkdir build install src
$ cd src
$ wget ftp://sources.redhat.com/pub/newlib/new ... 9.0.tar.gz
四:install gnu-arm-build.3.sh

$ cd ..
$ chmod +x gnu-arm-build.3.sh
$ ./gnu-arm-build.3.sh



See here you can directly enter
五:After you install the add environment

$ cd install/bin
$ pwd
$ vi ~/./. bashrc
export PATH=$PATH:/osmocombb/ install/bin
$ source ~/.bashrc


六:Download and compile osmocomBB

back osmocombb download osmocom
$ git clone git://git.osmocom.org/libosmocore.git
$ git clone git://git.osmocom.org/osmocom-bb.git

When installing libosmocore execute ./configure many people will encounter No package 'talloc' found such a mistake , because they can not talloc, Here is the solution
$ wget https://www.samba.org/ftp/talloc/talloc-2.1.7.tar.gz
$ tar -zxvf talloc-2.1.7.tar.gz
$ cd talloc-2.1.7/
$ ./configure
$ make
$ sudo make install
install libosmocore
$ cd libosmocore/
$ autoreconf -i
$ ./configure
$ make
$ sudo make install $ cd ..
Compile osmocombb
$ cd osmocom-bb
$ git checkout --track origin/luca/gsmmap
$ cd src
$ make
七:Modify the problem file ( if you are gnu-arm-build.2.sh and no cell scanning immobile problem , skip this step )
Enter osmocom-bb find these files and modify them
vi osmocom-bb/ src/target/firmware/board/compal/highram.lds
vi osmocom-bb/ src/target/firmware/board/compal/ram.lds
vi osmocom-bb/ src/target/firmware/board/compal_e88/flash.lds
vi osmocom-bb/ src/target/firmware/board/compal_e88/loader.lds
vi osmocom-bb/ src/target/firmware/board/mediatek/ram.lds
Found inside this string of code
KEEP(*(SORT(.ctors)))
In the following is added
KEEP(*(SORT(.init_array)))
Listed as:


To save , all changes well in entering osmocom-bb / src recompile
$ make -e CROSS_TOOL_PREFIX=arm-none-eabi-
八:Insert your brush into the firmware 118
in osmocom-bb directory
$ cd src/host/osmocon
$ sudo ./osmocon -m c123xor -p /dev/ttyUSB0 ../../target/firmware/board/compal_e88/layer1.compalram.bin


Enter appear so wait when you click c118 power button , click on it


If this is the brush into failure , look at your c118 cable, if you are buying a new phone line proposed to insert a little tight . . Best to shell removed


九:Scanning station information

Open a new terminal or in osmocom-bb directory
$ cd src/host/layer23/src/misc
$ sudo ./cell_log -O


Then enter
$ sudo ./ccch_scan -i 127.0.0.1 -a ARFCN
ARFCN is circled out above that value , such as column
$ sudo ./ccch_scan -i 127.0.0.1 -a 59
十:install wireshark

Open a new terminal
$ sudo apt-get install wireshark
$ sudo wireshark -k -i lo -f 'port 4729'




In the filter input gsm_sms Then quietly wait for it。。。

Post Reply