Towards the Detection of GPS Spoofing Attacks against Drones by Analyzing Camera's Video Stream

Barak Davidovich, Ben Nassi, Yuval Elovici2022

TL;DR

This paper introduces a novel, hardware-agnostic method for detecting GPS spoofing attacks on drones by analyzing the drone's onboard camera video stream. By correlating visual movement with GPS-reported movement, the system can identify discrepancies indicative of spoofing, offering a cost-effective and practical security enhancement for drones.

What Problem Does This Paper Address?

Global Positioning System (GPS) spoofing attacks pose a significant threat to drones, potentially leading to navigation errors, mission failures, or even malicious redirection. While sophisticated solutions exist, they often require additional hardware or specialized knowledge, making them impractical for many commercial drone users. This paper addresses the need for an accessible, user-level solution that leverages existing drone components, specifically the onboard camera, to detect these attacks. The authors highlight that current countermeasures are insufficient for subtle spoofing attacks, creating a scientific gap in drone security.

Methods

The core of the proposed method lies in correlating the drone's visual motion, captured by its camera, with its reported GPS location. The process involves:

  1. Data Collection: Capturing video frames and their corresponding GPS coordinates at a regular interval (e.g., one frame per second).
  2. Feature Extraction and Matching: Using the Speeded-Up Robust Features (SURF) algorithm and a brute-force matcher (BFMatcher) to detect and match features between consecutive frames. This allows for the calculation of image similarity (correlation).
  3. Correlation-Distance Modeling: For a defined time window, the method calculates the correlation between the first frame and subsequent frames, as well as the distance between the corresponding GPS locations. This data is used to build a model (a linear regression function) that predicts the expected distance based on frame correlation.
  4. Spoofing Detection: For new frames, the model predicts the expected distance based on the calculated correlation. If the predicted distance significantly deviates from the actual GPS-reported distance (i.e., the error exceeds a predefined threshold), a GPS spoofing attack is flagged.

The method is designed to be hardware-independent, relying only on the drone's camera and GPS sensor, and does not require prior knowledge of the flight area.

Datasets

The paper describes experiments conducted in two phases:

  • Simulation Environment: A custom-built simulator was developed to mimic drone flights over Google Earth imagery. This allowed for controlled testing of various parameters like altitude, speed, terrain, and ambient light. The simulator's code has been made publicly available on GitHub.
  • Real-World Evaluation: Experiments were conducted using a DJI Mavic 2 Pro drone in two urban areas. Flight data (GPS locations and video frames) was collected using a custom app built with the DJI Android mobile SDK.

Key Insights and Ideas

  • Leveraging Visual Inertia: The fundamental insight is that a drone's visual movement is inherently tied to its physical movement. GPS spoofing can fake the latter, but the former remains a ground truth that can reveal the deception.
  • Hardware Agnosticism: The method's reliance on standard drone components (camera, GPS) makes it broadly applicable and cost-effective, addressing a key limitation of many existing solutions.
  • Terrain Sensitivity: The method performs significantly better in urban environments with varied terrain compared to flat, open areas where visual changes are less pronounced, making it more suitable for delivery drones operating in populated areas.
  • Ambient Light Impact: While effective in various lighting conditions, the method's performance degrades in very low light or complete darkness, suggesting a potential enhancement with night vision capabilities.

Key Results

The proposed method demonstrated promising results in both simulated and real-world scenarios:

  • Detection Accuracy: The method can detect GPS spoofing attacks where the spoofed location is within 1-4 meters (average 2.5 meters) of the real location, under specific conditions (50-100m altitude, 4 km/h speed, low ambient light).
  • Simulation Performance:
    • Altitude: Lower altitudes (50m) showed higher RMSE and MEA values, indicating a slight decrease in performance compared to higher altitudes (200m).
  • Speed: Higher speeds generally led to lower RMSE and MEA values, with 10 m/s (36 km/h) showing optimal performance across altitudes.
  • Terrain: The method was found to be more effective in urban terrain than in unsettled open/flat terrains, with RMSE values being very high in the latter.
  • Ambient Light: Performance degraded as lighting conditions worsened, with significant increases in RMSE and MEA below 25% light.
  • Real-World Evaluation: The system achieved good results in urban environments, with optimal window sizes identified for minimizing prediction errors at different altitudes. False positives were observed in cases of drone rotation or camera autofocus issues, highlighting areas for refinement.

Limitations and Future Work

The authors acknowledge several limitations:

  • Terrain Influence: The method's performance is suboptimal in unchanging terrains (e.g., ocean, desert) where frame-to-frame visual changes are minimal.
  • Ambient Light: Performance degrades significantly in low light and is ineffective in total darkness.
  • Altitude: Lower altitudes (below 50m) can reduce efficacy due to a narrowed camera field of view.

Future work directions include:

  • Extreme Weather Conditions: Investigating the method's robustness against snow, rain, and fog.
  • Advanced Camera Integration: Exploring the use of thermal cameras or cameras with night vision capabilities to improve performance in low-light conditions.
  • Wide Field of View (FOV) Cameras: Utilizing cameras with a wider FOV to enhance efficacy at lower altitudes.
  • Higher Speeds: Evaluating the method's performance at higher drone speeds in real-world experimental settings.

Summary updated

BibTeX
@misc{davidovich2022towards,
  author = {Barak Davidovich and Ben Nassi and Yuval Elovici},
  title = {{Towards the Detection of GPS Spoofing Attacks against Drones by Analyzing Camera's Video Stream}},
  year = {2022},
  doi = {10.3390/s22072608},
}
Figure