参考文章
https://www.freebuf.com/articles/wireless/68736.html
https://www.freebuf.com/articles/wireless/110773.html(比较新)
http://www.freebuf.com/articles/wireless/111577.html(讲了解码)
标题1 准备环境过程
所用工具
1、hackrf-kalibrate
2、gnuradio-companion
3、gr-gsm
4、gqrx
5、wireshark
其中,2,4都已经装过了。在装1,3遇到一些问题,遇到make出错注意检查报错信息一般是缺乏依赖,./bootstrap和./configure 不能执行就sudo加权限执行。wireshark从Ubuntu软件中心就可以装
凡是遇到./configure 时候注意看提示报错的,缺什么就补什么。
注意gr-gsm/apps里面的py文件已经修改名称了,文档是老称呼,注意按照新的称呼执行,下面是网页里面说明
https://github.com/dholm/gr-gsm
This directory contains programs based on gr-gsm:
- grgsm_decode (old name: airprobe_decode.py) - program for decoding C0 channel
which is most close in terms of functionality to the old gsm-receiver
from Airprobe project, with ability to decode signalling channels and traffic channels with speech
(analysis of the data can be performed in Wireshark, decoded sound is stored to an audio file), - grgsm_livemon (old name: airprobe_rtlsdr.py) - interactive monitor of a single C0 channel with analysis
performed by Wireshark (command to run wireshark: sudo wireshark -k -f udp -Y gsmtap -i lo), - grgsm_scanner (old name: airprobe_rtlsdr_scanner.py) - an application that scans GSM bands and prints
information about base transceiver stations transmitting in the area.
There are following helper programs for grgsm_decode program:
-
grgsm_capture (old name: airprobe_rtlsdr_capture.py) - program for capturing GSM signal to a file
that can be later processed by grgsm_decode, -
grgsm_channelize (old name: gsm_channelize.py) - splits wideband capture file into multiple files - each contain
single GSM channel. -
grgsm_livemon_headless - command line version of grgsm_livemon. It