Research Component 4

GPS Spoofing Detection

Machine learning-based anomaly detection to identify and counter GPS spoofing attacks in autonomous vehicles.

Researcher:Wanigasekara W.M.I.W|IT21249648

Overview

GPS provides real-time location data, enabling autonomous vehicles to determine their precise position on a map and maintain safe distances from other objects and vehicles. However, GPS spoofing attacks, which involve transmitting falsified signals to mislead receivers, can cause autonomous vehicles to misinterpret their location.

This can result in erroneous positioning data, leading to misrouting of vehicles, accidents, or unauthorized access to restricted areas. Our research focuses on developing a machine learning-based anomaly detection system to identify and counter these GPS spoofing attacks.

Research Problem

  • Vulnerability of GPS systems to spoofing attacks
  • Difficulty in distinguishing between legitimate and spoofed GPS signals
  • Need for real-time detection and mitigation of spoofing attacks
  • Challenges in implementing detection systems on resource-constrained devices
  • Lack of comprehensive datasets for training anomaly detection models

Research Objectives

  • Design and deploy a machine learning-based GPS spoofing detection system
  • Collect high-quality GPS data for model training and validation
  • Evaluate and select suitable machine learning models for GPS anomaly detection
  • Implement the detection system on an embedded device for real-world deployment
  • Send real-time alerts and system status to the Android app

Methodology

Our approach uses an IoT-based rover to collect GPS data, train machine learning models, and detect anomalies in real-time.

System Architecture

System Architecture Diagram

The GPS spoofing detection system consists of several key components:

  1. IoT-based Rover: A mobile platform equipped with sensors for data collection and testing.
  2. Data Collection System: Gathers GPS coordinates, speed, and trajectory data along predefined routes.
  3. Machine Learning Model: Trained to recognize normal paths and detect anomalies.
  4. Alert System: Integrated with a mobile application to provide real-time notifications.

Rover Hardware

  • Arduino MEGA Board
  • GPS Module
  • Accelerometer/Gyroscope
  • NodeMCU ESP8266
  • Motor Driver & Batteries

ML Models

  • Random Forest
  • K-Nearest Neighbors
  • XGBoost
  • Support Vector Machines
  • Autoencoders

Mobile Integration

  • Real-time alerts
  • Authentication logs
  • Anomaly visualization
  • Secure communication
  • User notifications

Current Progress

Our research has made significant progress in data collection, model training, and implementation:

Data Collection

We have successfully built an IoT-based rover and collected GPS, accelerometer, and gyroscope data in different scenarios and behaviors.

Rover Platform

System Architecture Diagram

Data Collection Interface

System Architecture Diagram

Data Processing & Model Training

We have processed the collected data, added route identifiers, cleaned and balanced the dataset, and trained machine learning models for anomaly detection.

Data Preprocessing

System Architecture Diagram

Model Accuracy

System Architecture Diagram

Mobile App Integration

We have integrated the spoofing detection system with a mobile application to provide real-time alerts and authentication logs.

System Architecture Diagram