https://github.com/ninjhacks/gsmevil2
GsmEvil 2
https://github.com/ninjhacks/gsmevil2
Last synced: about 1 month ago
JSON representation
GsmEvil 2
- Host: GitHub
- URL: https://github.com/ninjhacks/gsmevil2
- Owner: ninjhacks
- Created: 2019-09-19T11:26:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-30T11:23:35.000Z (over 2 years ago)
- Last Synced: 2024-08-02T13:24:53.810Z (10 months ago)
- Language: JavaScript
- Size: 333 KB
- Stars: 294
- Watchers: 22
- Forks: 91
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starz - ninjhacks/gsmevil2 - GsmEvil 2 (JavaScript)
README
![]()
**GSMEVIL 2** is python web based tool which use for capturing imsi numbers and sms and also you able to see sms and imsi on any device using your favorite browser and it's make easy to capture sms and imsi numbers for those who not have much knowledge about gsm packets capturing.
# Disclaimer:-
This program was made to understand how GSM network works. Not for bad hacking !
We are not responsible for any illegal activity !# Setup
Install GSMEvil :
```
git clone https://github.com/sharyer/gsmevil2.git
pip3 install -r requirements.txt
```Install Gr GSM : ( For receiving GSM transmissions )
```
sudo add-apt-repository -y ppa:ptrkrysik/gr-gsm
sudo apt update
sudo apt install gr-gsm
```If gr-gsm failled to setup. Than follow those this : https://github.com/ptrkrysik/gr-gsm/wiki/Installation
Install Kalibrate : ( For finding frequencies )
```
apt-get install kalibrate-rtl
```
OR
```
sudo apt install build-essential libtool automake autoconf librtlsdr-dev libfftw3-dev
git clone https://github.com/steve-m/kalibrate-rtl
cd kalibrate-rtl
./bootstrap && CXXFLAGS='-W -Wall -O3'
./configure
make
sudo make install
```
# Usage
You need gsm frequency on which you capture sms or imsi. By using kalibrate you will get all your near gsm base stations frequencies.
```
kal -s GSM900
```
```
kal: Scanning for GSM-900 base stations.
GSM-900:
chan: 4 (935.8MHz + 320Hz) power: 1829406.95
chan: 11 (937.2MHz + 308Hz) power: 4540354.88
...
```
Now you need to capture gsm traffic using gr-gsm on frequency of your any gsm base station which you get from kalibrate.
```
grgsm_livemon -f M
```
Example :
```
grgsm_livemon -f 935.8M
```
if you see output that's mean you getting gsm packets than continue other setps else change frequency.
```
2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b
2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b
2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b
2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b
...
```
Now every thing is ready you can start now capturing sms or imsi numbers using gsmevil.
You able to run imsi catcher and sms sniffer both at same time using 2 seprate terminal for capture imsi numbers and sms both at same time.
```
cd #Example cd gsmevil2
```
#### Usage :Run this command to quick start Gsm Evil 2.
```
python3 GsmEvil.py
```
Options :
```
python3 GsmEvil.py -h
Usage: GsmEvil.py: [options]Options:
-h, --help show this help message and exit
-i IFACE, --iface=IFACE Interface (default : lo)
-p PORT, --port=PORT Port (default : 80)
--host=HOST Host (default : localhost)
```
For change host port.
```
python3 GsmEvil.py -p 8080
```
For change hostname.
```
python3 GsmEvil.py --host=localhost
```
Open localhost or 127.0.0.1 in your favorite browser and use now.# Requirements
linux operating system (kali linux)
[rtl-sdr (RTL2832U)](https://osmocom.org/projects/sdr/wiki/rtl-sdr) with antenna (less than 15$) or [HackRF](https://greatscottgadgets.com/hackrf/)# Links
Frequency : https://www.worldtimezone.com/gsm.html or https://en.wikipedia.org/wiki/GSM_frequency_bands
Sdr : https://en.wikipedia.org/wiki/Software-defined_radio
Sms : https://en.wikipedia.org/wiki/SMS#GSM
Imsi : https://fr.wikipedia.org/wiki/International_Mobile_Subscriber_Identity
Cell id : https://en.wikipedia.org/wiki/Cell_ID or https://unwiredlabs.com/
GSM : https://en.wikipedia.org/wiki/GSM
Frequency Calculator : https://www.cellmapper.net/arfcn
GR-GSM : https://github.com/ptrkrysik/gr-gsm# Donations
Bitcoin : 192bG3RRAGdbTPSUWqxbTBaAnKyvALm84g# Contact
Website : https://www.ninjhacks.com
Facebook : https://www.facebook.com/ninjhacks
Twitter : https://twitter.com/ninjhacks
Discord : https://discord.gg/ninjhacks
Email : [email protected]