Enhanced Rayhunter Fork - 3x Cellular Data Coverage for IMSI Catcher Detection
  • Rust 47.3%
  • Python 27.7%
  • Shell 16.9%
  • Svelte 4.6%
  • TypeScript 2.4%
  • Other 1%
Find a file
drinkingc0ffee 30c87646de feat: Enhanced Rayhunter with GPS integration and improved analysis
This commit introduces major enhancements to Rayhunter:

## 🚀 Major Features Added

### GPS Integration
- Per-scan GPS file system with automatic correlation
- GPS REST API for real-time coordinate submission
- Enhanced analysis with GPS correlation data
- GPS data download via web interface

### Enhanced Analysis
- Improved cellular network analysis with location awareness
- Enhanced IMSI catcher detection capabilities
- Better downgrade attack detection
- Comprehensive cellular network information extraction

### Web Interface Improvements
- GPS data integration in web UI
- Enhanced analysis reporting with location data
- Improved user experience and data visualization

### Build System Enhancements
- Updated Cargo workspace configuration
- Improved cross-compilation support for ARM devices
- Enhanced Docker build environment
- Better dependency management

### Documentation
- Comprehensive GPS correlation documentation
- Enhanced build guides and setup instructions
- Detailed analysis guides and examples

## 🔧 Technical Improvements
- Updated Rust dependencies and workspace configuration
- Enhanced error handling and logging
- Improved code organization and modularity
- Better cross-platform compatibility

## 📊 Analysis Enhancements
- Real-time GPS correlation during analysis
- Enhanced cellular network parameter tracking
- Improved threat detection algorithms
- Better data export and visualization capabilities

This enhancement significantly improves Rayhunter's capabilities for
cellular network security analysis and threat detection.
2025-07-19 20:03:32 -04:00
.github updates for gps 2025-07-14 10:58:12 -04:00
bin gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
check feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
daemon feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
dist Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
doc Prepare repository for publication 2025-07-18 23:22:19 -04:00
docker-build Prepare repository for publication 2025-07-18 23:22:19 -04:00
installer gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
lib gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
rootshell Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
telcom-parser Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
tools updates for gps 2025-07-14 10:58:12 -04:00
web feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
.git-blame-ignore-revs Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
.gitignore Include all root-level markdown documentation files in repository 2025-07-18 23:26:41 -04:00
alternative_pr_methods.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
ARM_CROSS_COMPILATION_GUIDE.md gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
book.toml Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
build_all.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
build_and_deploy.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
BUILD_GUIDE.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
build_host.sh gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
BUILD_STATUS.md feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
BUILD_STATUS_FINAL.md feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
BUILD_SUCCESS_REPORT.md feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
Cargo.lock gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
Cargo.toml feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
CHANGELOG_ENHANCED.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
clean.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
cleanup_all.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
cleanup_build_artifacts.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
cleanup_for_publication.sh Prepare repository for publication 2025-07-18 23:22:19 -04:00
CODE_OF_CONDUCT.md Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
codebase_comparison.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
COMPREHENSIVE_CELLULAR_ANALYSIS_GUIDE.md Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
config.example.json updates for gps 2025-07-14 10:58:12 -04:00
CONTRIBUTING.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
create_proper_fork.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
create_pull_request.sh Add pull request creation script 2025-07-19 12:52:10 -04:00
deploy.sh gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
docker.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
DOCUMENTATION_INDEX.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
DOWNGRADE_ATTACK_ANALYSIS.md Include all root-level markdown documentation files in repository 2025-07-18 23:26:41 -04:00
ENHANCEMENT_COMPARISON.md Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
fetch_source.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
FINAL_SUMMARY.md feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
GITHUB_SETUP_INSTRUCTIONS.md feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
GOOGLE_EARTH_ANALYSIS_GUIDE.md Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
GPS_API_DOCUMENTATION.md gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
GPS_API_QUICK_REFERENCE.md gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
GPS_CORRELATION_DOCUMENTATION.md gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
GPS_CORRELATION_ENHANCEMENT.md gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
LICENSE Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
make.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
migrate_qmdl_files.sh gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
migrate_to_captures.sh gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
OFFLINE_ANALYSIS.md Rayhunter Enhanced v1.0 - Complete IMSI Catcher Detection System 2025-07-06 21:31:28 -04:00
ORBI_INSTALLATION_SUCCESS.md feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
PUBLICATION_CHECKLIST.md Add publication checklist and finalize repository for public release 2025-07-18 23:25:08 -04:00
README.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
README_DOWNGRADE_ANALYSIS.md Ensure all root-level markdown documentation files are properly tracked and maintained 2025-07-18 23:26:08 -04:00
README_ENHANCED.md Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
README_PUBLIC.md updates for gps 2025-07-14 10:58:12 -04:00
requirements.txt updates for gps 2025-07-14 10:58:12 -04:00
restart_container_with_usb.sh Prepare repository for publication 2025-07-18 23:22:19 -04:00
restructure_plan.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
SECURITY.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
setup_arm_toolchain.sh gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
setup_local_deps.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
setup_new_fork.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
setup_rayhunter_docker.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
setup_ubuntu_build_env.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
setup_ubuntu_ci.sh Map changes testing in ./tmp 2025-07-13 23:40:06 -04:00
test_build.sh feat: Enhanced Rayhunter with GPS integration and improved analysis 2025-07-19 20:03:32 -04:00
test_gps_correlation.sh gps ndjson integradtion changes 2025-07-18 13:35:05 -04:00
UBUNTU_SETUP.md Prepare repository for publication 2025-07-18 23:22:19 -04:00
verify_downgrade_analysis.py updates for gps 2025-07-14 10:58:12 -04:00
verify_publication_ready.sh Add publication verification script for repository quality assurance 2025-07-18 23:24:38 -04:00

Rayhunter Logo - An Orca taking a bite out of a cellular signal bar

Rayhunter Enhanced 🔬📡

Tests

IMSI Catcher Detection and Cellular Monitoring System

Rayhunter Enhanced is an advanced cellular monitoring and IMSI catcher detection system designed for security researchers, network analysts, and privacy advocates. This enhanced version provides comprehensive cellular data extraction capabilities with expanded coverage and advanced analysis features.

🎯 What Does Rayhunter Do?

  • Detects rogue cell towers and fake base stations through neighbor cell analysis
  • Monitors cellular network behavior for suspicious patterns with multi-metric monitoring
  • Captures detailed network data including signal strength, cell IDs, and network parameters
  • Provides real-time analysis through a modern web interface
  • Integrates GPS data for location-based analysis and mapping
  • Exports data in multiple formats (PCAP, QMDL, CSV, JSON) for further investigation

🚀 Key Features

🛡️ IMSI Catcher Detection

  • Rogue cell detection through neighbor cell analysis
  • Signal anomaly identification with multi-metric monitoring
  • Location tracking prevention via TAC/LAC monitoring
  • Fake base station identification using cellular fingerprinting

📊 Comprehensive Cellular Data Extraction

  • Network Identifiers: MCC/MNC (Mobile Country/Network Code)
  • Location Information: LAC/TAC (Location/Tracking Area Code), Cell ID/PCI
  • Cell Details: eNodeB ID, Sector information, Physical Cell Identity
  • Signal Metrics: RSRP, RSRQ, SINR signal strength measurements
  • Multi-Technology Support: 2G/3G/4G/5G network analysis
  • Neighbor Cell Tracking: Monitor surrounding cell towers

📍 GPS Integration

  • Real-time location capture with cellular captures
  • External GPS support via REST API endpoints
  • Mobile app compatibility (GPS2REST-Android)
  • Multiple export formats (CSV, JSON, GPX)
  • Per-scan GPS files with automatic timestamp correlation

📡 Web Interface

  • Real-time monitoring dashboard
  • Data download in multiple formats (PCAP, QMDL, ZIP)
  • Analysis tools for captured data
  • Mobile-responsive design

🔧 System Requirements

Supported Hardware

  • Primary: Orbic RC400L mobile hotspot
  • Secondary: TP-Link M7310/M7350 devices
  • Chipset: Qualcomm MDM9225 and compatible modems
  • Connection: USB or ADB access to device

Development Environment

  • Rust: Latest stable toolchain
  • Target: ARM cross-compilation (armv7-unknown-linux-musleabihf)
  • Node.js: v16+ and npm (for web interface)
  • ADB: Android Debug Bridge for device communication

📋 Installation

The Docker environment provides a complete, isolated build environment with all dependencies pre-configured:

# Clone the repository
git clone https://github.com/your-repo/rayhunter-enhanced.git
cd rayhunter-enhanced

# Start Docker environment
./docker-build.sh up
./docker-build.sh shell

# Inside container - simple 3-step process
./setup_ubuntu_ci.sh     # Install toolchains & dependencies
./fetch_source.sh        # Download latest source code (if needed)
./build_and_deploy.sh    # Build and deploy to device

Docker Benefits:

  • Isolated environment - No system modifications required
  • All dependencies included - Ubuntu 22.04 with full toolchain
  • Persistent storage - Work survives container restarts
  • Cross-compilation ready - ARM toolchain pre-configured
  • adb support - Direct device deployment via USB

Option 2: Ubuntu Users (Automated Setup)

For Ubuntu systems, use the automated setup scripts:

# Clone the repository
git clone https://github.com/your-repo/rayhunter-enhanced.git
cd rayhunter-enhanced

# Set up build environment (one-time setup)
./setup_ubuntu_ci.sh     # Automated setup for CI/CD

# Build everything and deploy
./build_all.sh && ./deploy.sh

Option 3: Local Dependencies (No Root Required)

Install all dependencies locally without affecting your system:

# Clone the repository
git clone https://github.com/your-repo/rayhunter-enhanced.git
cd rayhunter-enhanced

# Install all dependencies locally (no root access needed)
./setup_local_deps.sh

# Build everything and deploy
./build_all.sh && ./deploy.sh

📱 GPS API Usage

Submit GPS Coordinates

# Using curl (GET method - GPS2REST-Android compatible)
curl "http://192.168.1.1:8080/api/v1/gps/37.7749,-122.4194"

# Using curl (POST method)
curl -X POST "http://192.168.1.1:8080/api/v1/gps/37.7749,-122.4194"

Download GPS Data

# Get GPS data for a recording session
curl "http://192.168.1.1:8080/api/gps/1720080123/csv" -o gps_data.csv

🎯 Use Cases

Security Research

  • IMSI catcher detection in high-risk environments
  • Network security auditing for organizations
  • Mobile privacy assessment for individuals

Network Analysis

  • Cell tower mapping and coverage analysis
  • Signal quality assessment for specific locations
  • Network performance monitoring during travel

Educational Purposes

  • Cellular technology education with real-world data
  • Security awareness training about mobile threats
  • Research projects on mobile network security

🛠️ Build System Enhancements

Cross-Compilation Improvements

The build system has been enhanced with comprehensive cross-compilation fixes:

  • Proper host/target separation - Build scripts compile for host (x86_64), target binaries for ARM
  • PATH management - Ensures correct compiler resolution
  • Environment isolation - Prevents ARM compiler from interfering with build scripts
  • Automatic verification - Tests cross-compilation setup before building

Available Build Scripts

  • ./build_all.sh - Comprehensive build with environment detection and verification
  • ./make.sh - Quick build for iterative development
  • ./clean.sh - Clean all build artifacts and prepare for fresh build
  • ./deploy.sh - Deploy to device via adb
  • ./test_cross_compilation.sh - Verify cross-compilation environment

🐛 Troubleshooting

Cross-Compilation Issues

If you encounter ARM linker errors:

# Test your environment
./test_cross_compilation.sh

# Clean and rebuild
./clean.sh && ./build_all.sh

Environment Issues

If commands are not found:

# For Docker environment
./docker-build.sh shell

# For local setup
./setup_local_deps.sh    # No root required
# OR
./setup_ubuntu_ci.sh     # System-wide (requires sudo)

🔐 Privacy and Ethics

Privacy Protection

  • Local processing only - no cloud connectivity
  • User-controlled data retention and export
  • Open source transparency for security verification

Responsible Use

This tool is intended for:

  • Security research and education
  • Network analysis and troubleshooting
  • Personal privacy protection
  • Academic research with proper consent

NOT intended for:

  • Illegal surveillance or interception
  • Unauthorized monitoring of others
  • Commercial espionage
  • Violation of privacy laws

📖 Getting Started

For comprehensive documentation, installation guides, and usage instructions, visit the Rayhunter Book or see README_ENHANCED.md for detailed setup instructions.

🤝 Community and Support

Rayhunter is designed for legitimate security research, privacy protection, and educational purposes. Users must comply with all applicable laws and regulations in their jurisdiction regarding cellular monitoring and telecommunications equipment.

  • Original Rayhunter: https://github.com/EFForg/rayhunter
  • GPS2REST-Android: Compatible mobile app for GPS coordinate submission
  • Documentation: See DOCUMENTATION_INDEX.md for complete documentation library