博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
airprobe抓取GSM OTA消息
阅读量:2045 次
发布时间:2019-04-28

本文共 1436 字,大约阅读时间需要 4 分钟。

airprobe抓取GSM OTA消息

安装gnuradio3.7

sudo apt-get install gnuradio gnuradio-dev

安装依赖

sudo apt-get -y install git-core autoconf automake libtool g++ python-dev swig libpcap0.8-devsudo 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

build libosmocore

git clone git://git.osmocom.org/libosmocore.gitcd libosmocore autoreconf -i ./configure make sudo make install sudo ldconfig

安装gr-gsm

git clone https://github.com/ptrkrysik/gr-gsmcd gr-gsmmkdir buildcmake ..make

安装airprobe

git clone https://github.com/iamckn/airprobecd airprobe/gsmdecode ./bootstrap ./configure makecd airprobe/gsm-receiver ./bootstrap ./configure make

测试Airprobe

cd airprobe/gsm-receiver/src/pythongit clone https://github.com/hainn8x/capture_941.8M_112.cfile./go.sh capture_941.8M_112.cfile

第二个终端窗口中输入wireshark, Airprobe将数据转储到UDP端口, 首先将捕获界面设置为lo(环回),然后按开始。然后在过滤器框中输入gsmtap。

接收实时频道

cd airprobe/gsm-receiver/src/pythongit clone https://github.com/scateu/airprobe-3.7-hackrf-patch./gsm_receive_rtl.py -s 1e6

新的窗口会弹出。通过输入中心频率调谐到之前使用SDRSharp发现的已知非跳频GSM信道。然后,在宽带频谱窗口中单击GSM信道的中间。在几秒钟内,一些GSM数据应该会在wireshark中不断显示。有关更多选项的信息,请键入./gsm_receive_rtl.py -h。这里使用-s标志将采样率设置为1.0 MSPS,这似乎比默认的1.8 MSPS好得多,因为似乎在宽带频谱窗口中应该只有一个GSM峰值。

http://niviuk.free.fr/gsm_band.php

解码

rtl_sdr /tmp/capture.bin -s 1.0e6 -f 939.8e6 -g 44.5

使用GRC转换成cfile

./gsm_receive.py -I /tmp/capture.cfile -d 64

开启wireshark

先BCCH信道获取sib1

未完待续…

转载地址:http://hmaof.baihongyu.com/

你可能感兴趣的文章
Wireless Network POJ - 2236 (并查集)
查看>>
【javascript】手写bind函数
查看>>
Kube-state-metrics的collectors配置
查看>>
使用Vmware装虚拟机Ubuntu
查看>>
【java】异常处理及捕获的理解
查看>>
【Java】继承知识点总结
查看>>
【Linux】什么是链接文件及其分类
查看>>
【UML】《Theach yourself uml in 24hours》——hour2&hour3
查看>>
【linux】nohup和&的作用
查看>>
【UML】《Theach yourself uml in 24hours》——hour4
查看>>
Set、WeakSet、Map以及WeakMap结构基本知识点
查看>>
【NLP学习笔记】(一)Gensim基本使用方法
查看>>
【NLP学习笔记】(二)gensim使用之Topics and Transformations
查看>>
【深度学习】LSTM的架构及公式
查看>>
【深度学习】GRU的结构图及公式
查看>>
【python】re模块常用方法
查看>>
【JavaScript】call()和apply()方法
查看>>
【JavaScript】箭头函数与普通函数的区别
查看>>
前端面试题
查看>>
【JavaScript】常用方法记录
查看>>