Skip to content

This project is a Python-based GPS spoofing detection tool designed to analyze and detect anomalies in GPS data, which is a crucial step toward defending against malicious interference with Unmanned Aerial Systems (UAS). Initially built for dataset-based detection, this tool will evolve into a specialized weapon in the COUNTER-UAS (C-UAS) arsenal

Notifications You must be signed in to change notification settings

Mr-Infect/counter-UAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GPS Spoofing Detection System for UAS (Counter-UAS Weapon Module)

License Python Security

πŸ›°οΈ Overview

This project is a Python-based GPS spoofing detection tool designed to analyze and detect anomalies in GPS data, which is a crucial step toward defending against malicious interference with Unmanned Aerial Systems (UAS). Initially built for dataset-based detection, this tool will evolve into a specialized weapon in the COUNTER-UAS (C-UAS) arsenal for real-time operational use.

GPS spoofing is a serious threat to drones and autonomous systems. This tool aims to detect, analyze, and respond to spoofing threats in real-time, ensuring safe UAS operations in critical zones.


🎯 Key Features

  • βœ… Dataset-based GPS spoofing detection
  • πŸ” Anomaly detection using statistical and signal-based features
  • πŸ“Š Real-time data parsing (upgradable)
  • 🧠 Machine learning-ready architecture for future upgrades
  • πŸ›‘οΈ Modular structure for easy integration into larger C-UAS frameworks

βš”οΈ Use Case: Counter-Unmanned Aerial System (C-UAS)

This tool serves as a special weapon module for C-UAS missions where detection of malicious GPS interference is vital. Example applications:

  • ✈️ Drone fleet protection in defense zones
  • 🏭 Industrial area perimeter security
  • πŸ›‚ Border surveillance and no-fly zone enforcement
  • πŸ›‘οΈ VIP event protection and anti-surveillance

πŸ“ˆ Current Capabilities

  • Detects inconsistencies in:

    • Velocity and acceleration jumps
    • Sudden location shifts
    • Signal time/frequency anomalies (if present)
  • Logs suspicious patterns

  • Generates human-readable reports


πŸš€ Upgrade Roadmap

Phase Feature Description
βœ… 1 Dataset-based detection Core module using pre-recorded GPS data
πŸ”œ 2 Real-time GPS feed integration Integrate with GNSS receivers (USB, NMEA, serial, etc.)
πŸ”œ 3 Machine learning engine Use unsupervised models (e.g., Isolation Forest, Autoencoders) for anomaly detection
πŸ”œ 4 Signal integrity analysis Use SDR (e.g., HackRF One) to analyze signal characteristics
πŸ”œ 5 Counter-response module Alert and initiate countermeasures (e.g., drone landing, GPS fallback)
πŸ”œ 6 Integration with C-UAS radar + RF Fuse GPS spoof detection with RF jamming and radar input
πŸ”œ 7 Hardware deployment Deploy on Raspberry Pi or embedded UAS module for field use

🧠 Technologies Used

  • Python 3.8+
  • Pandas / NumPy
  • Scikit-learn (for upgrade)
  • Matplotlib / Seaborn (optional visualization)
  • PySerial / pynmea2 (for live GPS feed upgrade)
  • SDR tools (planned)

πŸ“ Example Dataset

Use your own dataset or download open-source spoofing datasets like:


πŸ€– Future Integration Ideas

  • βœ… Live GPS stream from drones
  • βœ… Mobile app/command center GUI
  • πŸ” Integration with blockchain-based telemetry logging
  • ☁️ Cloud-based alert system (Twilio/Telegram/Discord)
  • 🎯 Integration into weaponized UAS defense stations

πŸ§ͺ Testing & Evaluation

You can simulate spoofing by introducing:

  • Sudden jumps in GPS coordinates
  • High-speed movements beyond physical limits
  • Inconsistent timestamps

The script will flag such anomalies and provide a classification report.


🧾 License

This project is licensed under the MIT License.


πŸ™‹ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

This project is a Python-based GPS spoofing detection tool designed to analyze and detect anomalies in GPS data, which is a crucial step toward defending against malicious interference with Unmanned Aerial Systems (UAS). Initially built for dataset-based detection, this tool will evolve into a specialized weapon in the COUNTER-UAS (C-UAS) arsenal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages