Last active
November 2, 2024 15:48
-
-
Save UbuntuEvangelist/104b48545ae036f99f47725f39a2f001 to your computer and use it in GitHub Desktop.
HackRF One From Great Scott Gadgets Ubuntu Install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NB: This Gist was made to understand how GSM network work. Not for bad hacking ! | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
sudo apt install build-essential checkinstall | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:nilarimogard/webupd8 | |
sudo add-apt-repository ppa:wireshark-dev/stable | |
sudo apt update | |
sudo apt install wireshark | |
sudo dpkg-reconfigure wireshark-common | |
sudo usermod -a -G wireshark root | |
sudo apt update | |
sudo apt install launchpad-getkeys | |
sudo launchpad-getkeys | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt install git | |
sudo git config --global user.name "YourName" | |
sudo git config --global user.email [email protected] | |
sudo apt upgrade -y | |
sudo apt -f install | |
sudo apt autoremove | |
sudo apt -y autoclean | |
sudo apt install gqrx-sdr | |
sudo rm -rf /usr/share/mime/packages/gnuradio.xml | |
sudo ln -s gnuradio-grc.xml gnuradio.xml | |
sudo apt install gqrx-sdr | |
sudo apt install hackrf | |
sudo hackrf_info | |
sudo hackrf_companion | |
# AVOID | |
sudo apt-get install gr-gsm | |
wget http://git.osmocom.org/gr-gsm/plain/apps/grgsm_livemon.grc | |
grcc -d . grgsm_livemon.grc | |
mv grgsm_livemon.py grgsm_livemon | |
sudo python3 simple_IMSI-catcher.py --sniff | |
Open 2 terminals. | |
In terminal 1 | |
sudo python3 simple_IMSI-catcher.py --sniff | |
You can add -h to display options. | |
In terminal 2, search a frequency to listen : | |
grgsm_scanner | |
Next, ask grgsm_livemon to use one of these frequencies: | |
grgsm_livemon -f <your_frequency>M | |
Example : | |
grgsm_livemon -f 938.2M | |
# AVOID | |
Wordground: | |
- scan available frequency using kal | |
- calculate actual frequency of your mobile using gqrx | |
- scan actual frequency using $ #hackrf #HackRF_One #HackRF | |
- run wireshark | |
- filter gsmtrap | |
- filter gsm_sms | |
sudo apt-get install -y \ | |
cmake \ | |
autoconf \ | |
libtool \ | |
pkg-config \ | |
build-essential \ | |
python-docutils \ | |
libcppunit-dev \ | |
swig \ | |
doxygen \ | |
liblog4cpp5-dev \ | |
gnuradio-dev \ | |
gr-osmosdr \ | |
libhackrf-dev \ | |
libosmocore-dev \ | |
liborc-0.4-dev | |
git clone -b maint-3.8 https://github.com/velichkov/gr-gsm.git | |
cd gr-gsm | |
mkdir build | |
cd build | |
cmake .. | |
make -j 4 | |
sudo make install | |
sudo ldconfig | |
echo 'export PYTHONPATH=/usr/local/lib/python3/dist-packages/:$PYTHONPATH' >> ~/.bashrc | |
sudo apt-get install automake autoconf libhackrf-dev | |
git clone https://github.com/scateu/kalibrate-hackrf | |
cd kalibrate-hackrf/ | |
./bootstrap | |
./configure | |
make | |
sudo make install | |
sudo src/kal -s GSM900 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment