kali C118 GSM Sniffer

kali C118 GSM Sniffer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
nano /etc/apt/sources.list
deb http://archive-6.kali.org/kali kali main non-free contrib
deb-src http://archive-6.kali.org/kali kali main non-free contrib
deb http://archive-6.kali.org/kali-security kali/updates main contrib non-free
apt-get update
$aptitude install libtool shtool autoconf git-core pkg-config make gcc
$apt-get install 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
$wget -c http://bb.osmocom.org/trac/raw-attachment/wiki/GnuArmToolchain/gnu-arm-build.2.sh
$ chmod +x gnu-arm-build.2.sh
$ mkdir build install src
$ cd src/
$ wget http://ftp.gnu.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2
$ wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2
$ wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz
$ cd ..
$ ./gnu-arm-build.2.sh
I will build an arm-elf cross-compiler:
Prefix: <YOURPATH>/install
Sources: <YOURPATH>/src
Build files: <YOURPATH>/build
Press ^C now if you do NOT want to do this.
export PATH=$PATH:/root/install/bin
git clone git://git.osmocom.org/libosmocore.git
cd libosmocore/
autoreconf -i
./configure
make
sudo make install
cd ..
git clone git://git.osmocom.org/osmocom-bb.git
cd osmocom-bb
git pull --rebase
cd src
make

新开窗口刷入C118

cd ~/osmocom-bb/src/host/osmocon/
./osmocon -m c123xor -p /dev/ttyUSB0 ../../target/firmware/board/compal_e88/layer1.compalram.bin

新开窗口扫描基站

cd ~/osmocom-bb/src/host/layer23/src/misc
./cell_log -O
ctrl+c

新开窗口进行监听

~/osmocom-bb/src/host/layer23/src/misc/ccch_scan -i 127.0.0.1 -a 频道

新开窗口抓包过滤gsm_sms

wireshark -k -i lo -f 'port 4729'
寻味漂漂 wechat
加我微信好友,请长按或扫描上方微信二维码
坚持原创技术分享,您的支持将鼓励我继续创作!