IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices
A GSM base station that intercepts SMS and injects messages to mobile phones.
β οΈ Legal Warning
This is a surveillance and interception tool. IMSI catchers are classified as interception devices under French law (Article 226-3 du Code PΓ©nal). Manufacturing, importing, possessing, or using such devices without authorization carries penalties up to 5 years imprisonment and β¬300,000 fine.
Radio frequencies are public domain (managed by ANFR in France, equivalent authorities elsewhere). An IMSI catcher in open field indiscriminately captures all nearby phones. Even with written client authorization, private security audits cannot operate in open field. Testing is only legal in RF-isolated environments (Faraday cage) or with specific ARCEP/government authorization.
European Directive 2002/58/EC (ePrivacy) regulates communication interception but does not prohibit academic research on cellular technologies.
This project is intended for:
- Academic research in RF-isolated laboratory environments
- Authorized law enforcement training
This project is NOT intended for:
- Open field deployment without government authorization
- Unauthorized surveillance or interception
- Any illegal activity
The authors assume no liability for misuse.
flowchart TB
subgraph Hardware
LimeSDR[LimeSDR Mini]
RTLSDR[RTL-SDR v3]
Android[Android Phone]
end
subgraph Osmocom
TRX[osmo-trx-lms]
BTS[osmo-bts-trx]
BSC[osmo-bsc]
MSC[osmo-msc]
HLR[osmo-hlr]
end
subgraph Application
Interceptor[SMS Interceptor]
Injector[SMS Injector]
Scanner[Passive Scanner]
API[Flask REST API]
DB[(SQLite)]
end
LimeSDR --> TRX --> BTS --> BSC --> MSC
MSC <--> HLR
MSC --> Interceptor
Injector --> MSC
RTLSDR --> Scanner
Android --> Scanner
Interceptor --> DB
Scanner --> DB
DB --> API
This platform deploys a rogue GSM cell that nearby phones connect to. Once connected, you can:
The web dashboard lets operators monitor everything in real-time. Full audit trail for legal compliance.
| Feature | Implemented | Simulated | Hardware Validated |
|---|---|---|---|
| SMS Interception (log parsing) | β | β | β |
| SMS Injection (VTY) | β | β | β |
| Mass Broadcast | β | β | β |
| PDU Encode/Decode | β | β | N/A |
| REST API (44 endpoints) | β | β | N/A |
| Web Dashboard | β | β | N/A |
| JWT + 2FA Auth | β | β | N/A |
| Passive Scanner (GSMTAP) | β | β | β |
| Android Bridge (ADB) | β | β | β |
| Osmocom Stack Config | β | β | β |
| BTS RF Transmission | β | β | β |
| AIMSICD Evasion | β | β | β |
Legend: β Done | β Pending | N/A Not applicable
| Component | Model | Price |
|---|---|---|
| SDR TX/RX | LimeSDR Mini 2.0 | 900β¬ |
| Jammer 3G/4G/5G | 8 antennas portable | 499β¬ |
| GSM Antennas | Nooelec RaTLSnake M6 v2 | 25β¬ |
| Laptop | ThinkPad T14 (16GB RAM, USB 3.0) | 800β¬ |
| Power Station | 500Wh (field ops) | 200β¬ |
| Cables | SMA, USB 3.0 | 20β¬ |
| Case | Peli Case 1510 | 180β¬ |
| Total | ~2624β¬ |
Models and prices are examples. Any SDR compatible with osmo-trx (LimeSDR, USRP, bladeRF) works.
The jammer forces phones to downgrade from 4G/5G to 2G (GSM) where encryption is weak or absent. The fake BTS then captures all connections.
git clone https://github.com/28Zaaky/IMSIcatcher.git
cd IMSIcatcher
pip install -r requirements.txt
python quick_start.py
Opens the dashboard at http://localhost:5000. Default login is admin with the password shown in terminal.
docker-compose up -d
Starts API, Osmocom stack (MSC, BSC, HLR), and GSMTAP receiver.
sudo ./deploy/install_debian.sh
./scripts/start_stack.sh
python main.py api --host 0.0.0.0
Phone connects via GSM air interface
β
LimeSDR Mini (RF frontend)
β
osmo-trx (baseband processing)
β
osmo-bts (layer 1)
β
osmo-bsc (radio resource management)
β
osmo-msc (SMS routing) βββ we hook here to capture SMS
β
Our Python code parses the logs, stores in SQLite, serves via Flask API
For passive scanning, RTL-SDR feeds gr-gsm which outputs GSMTAP packets. Our scanner decodes these to extract IMSIs without transmitting anything.
python main.py api # start the REST API and dashboard
python main.py inject --imsi 208010123456789 --message "Test"
python main.py broadcast --file targets.txt --message "Alert"
python main.py scan --freq 925.4
python main.py status # check if Osmocom processes are running
The REST API has 44 endpoints. Main ones:
# authenticate
curl -X POST localhost:5000/api/v1/auth/login \
-d '{"username":"admin","password":"..."}' \
-H "Content-Type: application/json"
# get recent intercepted SMS
curl -H "Authorization: Bearer <token>" \
localhost:5000/api/v1/intercept/live
# send an SMS
curl -X POST localhost:5000/api/v1/send \
-H "Authorization: Bearer <token>" \
-d '{"imsi":"208010123456789","message":"Hello","sender":"ALERT"}'
Authentication uses Argon2id for password hashing, JWT tokens with 30-minute expiry, optional 2FA via TOTP, and rate limiting. Every action is logged for audit.
config/osmocom/ β HLR, MSC, BSC, BTS, TRX configs
deploy/ β systemd, nginx, install scripts
scripts/ β stack control, SIM programming
src/api/ β Flask REST API with JWT auth
src/core/ β SMS interception and injection
src/scanner/ β passive scanner, Android bridge
src/web/ β dashboard HTML/JS
Operating a GSM base station requires ARCEP authorization in France (equivalent authorities elsewhere). Radio frequencies are public domain β open field deployment captures all nearby devices indiscriminately. Research use requires RF-isolated environment (Faraday cage) or government authorization.
AGPL-3.0 License β see LICENSE
This project builds on oros42/imsi-catcher, a passive IMSI scanner using gr-gsm. We kept the passive scanning approach and added:
Dependencies: Osmocom, gr-gsm, pySim, 3GPP TS 23.040
Contact: [email protected]