系统版本
system: ubuntu 14.04
软件安装
sudo add-apt-repository -y ppa:bladerf/bladerf
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo add-apt-repository -y ppa:myriadrf/gnuradio
sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get upgrade
如果安装时出现 ‘Held packages’ 类型的报错,那么应该是由于之前已经进行过安装,这时,输入以下命令即可:
sudo apt-get dist-upgrade
# 各种依赖包
sudo apt-get -y install build-essential cmake git autoconf automake libtool g++ python-dev swig pkg-config libfftw3-dev libboost-all-dev libcppunit-dev libgsl0-dev libusb-dev sdcc libsdl1.2-dev python-wxgtk2.8 python-numpy python-cheetah python-lxml doxygen python-qt4 python-qwt5-qt4 libxi-dev libqt4-opengl-dev libqwt5-qt4-dev libfontconfig1-dev libxrender-dev libusb-1.0 qjackctl pulseaudio-module-jack python-scipy liblog4cpp5-dev libssl-dev libusb-1.0-0-dev make gcc libbluetooth-dev libpcap-dev python-pyside wireshark wireshark-dev libwireshark-dev gr-fcdproplus libuhd-dev libmirisdr-dev libbladerf-dev libairspy-dev libsoapysdr-dev python-pip qtdeclarative5-dev libqt5svg5* qt5-default libtalloc-dev libpulse-dev libpcsclite-dev libpcap0.8-dev libusb-1.0-0 libgnutls28-dev libvolk1-bin libnl-dev pyside-tools
git clone https://github.com/FreeSRP/libfreesrp.git
cd libfreesrp
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install
sudo ldconfig
cd ~
git clone git://git.osmocom.org/libosmo-dsp.git
cd libosmo-dsp
autoreconf -i -f
./configure
make
sudo make install
sudo ldconfig
cd ~
git clone git://git.osmocom.org/libosmocore
cd libosmocore
autoreconf -i -f
./configure
make
sudo make install
sudo ldconfig
cd ~
git clone https://git.osmocom.org/gr-iqbal
cd gr-iqbal
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
cd ~
#### RF工具 ####
sudo apt-get -y install hackrf libhackrf-dev libhackrf0 gnuradio gnuradio-dev gr-osmosdr gr-osmosdr gqrx-sdr rtl-sdr librtlsdr-dev osmo-sdr libosmosdr-dev
volk_profile // 优化gqrx信号
kalibrate-hackrf (kalibrate For HackRF)
git clone https://github.com/scateu/kalibrate-hackrf.git
cd kalibrate-hackrf
./bootstrap
./configure
make
sudo make install
sudo ldconfig
cd ~
kalibrate-rtl(kalibrate For rtl-sdr)
git clone https://github.com/steve-m/kalibrate-rtl.git
cd kalibrate-rtl
./bootstrap
./configure
make
sudo make install
sudo ldconfig
cd ~
git clone https://github.com/ptrkrysik/gr-gsm.git
cd gr-gsm
mkdir build
cd build
cmake ..
make
sudo make install
sudo idconfig
cd ~
# gps工具 --gps-sdr-sim 安装
$ git clone https://github.com/osqzss/gps-sdr-sim.git
$ cd gps-sdr-sim
$ gcc gpssim.c -lm -O3 -o gps-sdr-sim
# dump1090 --fight information
$ git clone https://github.com/antirez/dump1090
$ cd dump1090
$ make
#### Wifi工具 ####
sudo apt-get -y install aircrack-ng reaver
#### Bluetooth工具 ####
sudo apt-get -y install bluetooth bluez blueman //pi-bluetooth
sudo apt-get install spectools
wget https://github.com/greatscottgadgets/libbtbb/archive/2017-03-R2.tar.gz -O libbtbb-2017-03-R2.tar.gz
tar xf libbtbb-2017-03-R2.tar.gz
cd libbtbb-2017-03-R2
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
cd ~
cd libbtbb-2017-03-R2/wireshark/plugins/btbb
mkdir build
cd build
cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu/wireshark/libwireshark3/plugins ..
make
sudo make install
sudo idconfig
cd ~
wget https://github.com/greatscottgadgets/ubertooth/releases/download/2017-03-R2/ubertooth-2017-03-R2.tar.xz -O ubertooth-2017-03-R2.tar.xz
tar xf ubertooth-2017-03-R2.tar.xz
cd ubertooth-2017-03-R2/host
mkdir build
cd build
cmake ..
make
sudo make install
sudo idconfig
cd ~
git clone https://github.com/mikeryan/crackle.git
cd crackle
make
sudo make install
sudo ldconfig
cd ~
sudo apt-get -y install libmicrohttpd-dev zlib1g-dev libnl-3-dev libnl-genl-3-dev libcap-dev libncurses5-dev libnm-* libdw-dev libsqlite3-dev libprotobuf-dev libprotobuf-c0-dev protobuf-compiler protobuf-c-compiler libsensors4-dev python python-setuptools python-protobuf python-sqlite python-requests librtlsdr0
sudo apt-get -y install spectools
wget https://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-latest.tar.gz
tar zxvf libmicrohttpd-latest.tar.gz
cd libmicrohttpd-0.9.59/
./configure
sudo apt-get install libmicrohttpd
make
sudo make install
sudo ldconfig
cd ~
wget https://kismetwireless.net/code/kismet-2013-03-R1b.tar.xz
tar xf kismet-2013-03-R1b.tar.xz
cd kismet-2013-03-R1b
ln -s ../ubertooth-2015-09-R2/host/kismet/plugin-ubertooth .
./configure
make && make plugins
sudo make suidinstall
sudo make plugins-install
sudo ldconfig
cd ~
sudo usermod -a -G kismet bing
# 找到kismet的配置文件kismet.conf ,把”pcapbtbb”加入到kismet.conf的logtypes= 里边
软件介绍
在正常安装所需的软件包后,在/usr/bin/下会生成许多可执行程序:(可在终端中直接执行)
1、gqrx :软件无线电接收软件
调整相关参数即可观察信号接收频谱,并且可以解调信号。如,在广播频段,通过FM解调即可听到广播声音。
2、hackrf_***:HackRF板的命令行工具(可对HackRF One板上的芯片进行操作)
如:hackrf_info hackrf_max2837 hackrf_si5351c等
3、osmocom_***:通过gnuradio实现的相关软件(osmocom是gnuradio中驱动HackRF One的通信模块)
如:osmocom_fft为频谱软件
4、gnuradio-companion:gnuradio的图形化编译器
在其上生成的流图可以直接编译成python程序来执行。
其它网页工具
https://github.com/Oros42/IMSI-catcher # IMSI信息获取
https://the-x.cn/ #获取手机归属位置,利用IMSI获取的信息
http://www.cellid.cn/ #定位基站位置,利用IMSI获取的信息
rtl1090:可以接收灰机信号
HDSDR:把音频转化为信号,可配合HackRF使用进行信号输出
sdrsharp:可以用来听广播&录制无线电信号 并把信号保存为音频文件
https://github.com/antirez/dump1090.git # rtl-sdr解码器可以获取飞机位置