Drone Security
Drones (Unmanned Aerial Vehicles) are increasingly used in military, commercial, and consumer applications. Security vulnerabilities in RF communication, GPS navigation, and firmware create opportunities for hijacking, spoofing, and unauthorized surveillance. This guide covers drone penetration testing from RF to firmware analysis.
Read This Before Any Page in This Section
Interfering with an aircraft is a criminal act, not a licensing problem. In the United States it is 18 U.S.C. § 32 - the Aircraft Sabotage Act, enforced by the Department of Justice. The FAA does not enforce that statute; the FAA's own instruments are 14 CFR Part 107 for commercial operation and 14 CFR Part 89 for Remote Identification, an operating requirement for every drone that must be registered since 16 September 2023, with the FAA's six-month enforcement-discretion window closed on 16 March 2024. Transmitting on a band you are not licensed for is a separate offence under 47 U.S.C. § 333 and FCC Part 15 in the US, the Wireless Telegraphy Act 2006 in the UK, and Directive 2014/53/EU in the EU.
Beyond the law, a spoofed or jammed signal is not selective: it reaches every receiver in range, including manned aviation, and GNSS interference has already affected aircraft in flight. The only settings for anything in this section that transmits are an RF-shielded enclosure or a licensed test range, on an airframe you own, with written authorisation naming the frequency and the airframe.
Drone Architecture
Control Systems
- Flight Controller (Pixhawk, ArduPilot)
- Radio Receiver (2.4GHz/5.8GHz)
- Electronic Speed Controllers (ESC)
- Remote Controller (RC transmitter)
- Ground Control Station (GCS)
Communication
- RC Protocol (PPM, SBUS, IBUS)
- Video Downlink (FPV camera)
- Telemetry (MAVLink, LTM)
- Wi-Fi / Bluetooth (DJI app control)
- 4G/5G (cellular connectivity)
Navigation
- GPS Module (position data)
- IMU (gyroscope, accelerometer)
- Barometer (altitude)
- Compass (magnetometer)
- Optical Flow (visual positioning)
Common Attack Vectors
1. RF Signal Hijacking
Capture RC protocol (PPM/SBUS) with SDR, replay or inject malicious control commands. Requires HackRF or USRP, and a link that is neither encrypted nor rolling-code - which most current consumer links are.
2. GPS Spoofing
Transmit fake GPS signals at higher power than satellites (−130 dBm). Drone believes it's at spoofed location and flies there. Unlawful to transmit outside a shielded enclosure - see the callout above.
3. Wi-Fi / App Exploitation
Older consumer drones (DJI Spark era, Parrot) use Wi-Fi for control. Exploit mobile app vulnerabilities, MITM attacks, or weak authentication. Deauthenticating the link is interference with an aircraft under 18 U.S.C. § 32, so it is limited to an airframe you own.
4. Firmware Backdoors
Extract firmware via JTAG/UART, reverse engineer for hardcoded credentials or backdoors. Upload malicious firmware to flight controller - most current platforms check a signature at flash time.
Drone Hacking Techniques
Four Techniques, One Authorisation Rule
Each of the four cards below transmits, and each therefore needs the same thing: an airframe you own or have written permission to operate, and a shielded or licensed space to do it in. Signal injection and GPS simulation are radio offences (47 U.S.C. § 333; UK Wireless Telegraphy Act 2006; EU Directive 2014/53/EU) as well as aircraft interference under 18 U.S.C. § 32. Wi-Fi deauthentication is a denial-of-service against a radio link - it forces return-to-home or landing by taking away the operator's control, which is precisely what the aircraft-interference statutes prohibit - and it is a computer-misuse question as well. Video interception is receive-only and the least restricted of the four, but recording a third party's camera feed is separately regulated.
Signal Injection
Use HackRF to transmit fake RC signals, overriding legitimate controller - only on a link with no encryption or rolling code.
Tools: HackRF One, GNU Radio, gr-ieee802-15-4
GPS Simulation
Use GPS-SDR-SIM with HackRF to broadcast fake GPS coordinates, inside a shielded enclosure only.
Tools: gps-sdr-sim, HackRF, high-gain antenna
Wi-Fi Deauth
Deauthenticate drone from controller, forcing return-to-home or landing. Against someone else's aircraft this is interference under 18 U.S.C. § 32 and computer misuse - not a lawful test.
Tools: aircrack-ng, mdk4, ESP8266 deauther
Video Interception
Capture FPV video feed - open on 5.8GHz analogue, encrypted on current DJI digital links.
Tools: RTL-SDR, EZ-Wifibroadcast, Wifibroadcast
Essential Drone Hacking Tools
Hardware
- HackRF One
- BladeRF
- USRP
- RTL-SDR
- YARD Stick One
Software
- GNU Radio
- gps-sdr-sim
- Drone-Hijacker
- MAVProxy
- QGroundControl
Analysis
- Universal Radio Hacker
- Inspectrum
- Wireshark (MAVLink)
- Binwalk (firmware)
Starting Points in the Literature
Guide Contents
Drone Fundamentals
UAV architecture and attack surface overview.
RF Communication
The bands, modulations and link budgets drone radios use.
RF Hijacking
What is replayable on a control link, and what is encrypted beyond reach.
GPS Spoofing
GNSS spoofing against navigation, and why transmitting on L1 is a crime.
Firmware
Extracting and analysing DJI and ArduPilot firmware statically.
Video Interception
Analogue FPV downlinks that any receiver can view, and encrypted digital ones.
MAVLink
Frame layout, message signing, and unauthenticated command injection.
Autonomous
Attacks on visual and inertial navigation, reproduced in PX4 SITL.
Counter-Drone
Detection methods, and the per-method legal status of neutralisation.
Regulation & Spectrum Policy
What authorises flight, what authorises radio, and why procurement is a control.