ความมั่นคงไซเบอร์ของ UAS

GNSS spoofing/jamming, link takeover, encryption, MAVLink signing and the NIST CSF

Last updated:

Why it matters

A modern drone is a flying computer that is always connected: it takes position from satellites, commands over radio, streams video over mobile networks and uploads data to the cloud. Every channel is a door for an attacker, and the consequence is not just a data leak. An attack can crash the aircraft, hit people or turn the drone to another purpose. The survey by AlTawy and Youssef (2017) covers threats to civil drones across security, privacy and safety. This unit summarises the main threats, basic defences and an organisation-wide framework.

Three properties must be protected, known as CIA: confidentiality (outsiders cannot read the data), integrity (data and commands are not altered in transit) and availability (the system works when needed). For drones, the integrity of commands and position often matters more than confidentiality.

GNSS threats: jamming and spoofing

GPS signals reach the ground very weak. IS-GPS-200N sets the minimum received power of the L1 C/A signal at −158.5 dBW, below the background noise. There are two kinds of threat:

  • Jamming transmits energy in the same band until the receiver loses lock. The drone knows it has lost position and can enter a safe mode. The measure is the jamming-to-signal ratio (J/S) in dB.
  • Spoofing transmits counterfeit satellite-like signals so the receiver computes the wrong position. Kerns et al. (2014) demonstrated capturing a drone by GPS spoofing, gradually dragging its position until it flew where the spoofer wanted. It is more dangerous than jamming because the drone still believes it knows where it is.

Defences include multiple constellations and frequencies; navigation message authentication such as Galileo OSNMA, which lets receivers verify that navigation data comes from the real satellites but does not stop all jamming or replay; consistency checks between GNSS and the IMU, airspeed or vision; and plausibility checks such as position jumps faster than the drone can fly.

Control-link threats

A command and control (C2) link without authentication lets an attacker send forged commands: land, stop the motors or change the mission. Common threats:

  • Forged commands: the attacker knows the message format of an open protocol such as MAVLink and sends commands carrying the operator's system ID.
  • Replay: valid commands are captured and resent later.
  • Eavesdropping: position and video reveal what the drone is watching.
  • Link denial: radio jamming or Wi-Fi deauthentication forces the drone into its lost-link behaviour.

Encryption versus signing

Encryption keeps data unreadable to outsiders (confidentiality). Authentication, such as a signature or HMAC, tells the receiver that a message came from a key holder and was not altered. They solve different problems: an encrypted but unauthenticated link may still be replayed. Modern schemes such as AES-GCM provide both.

MAVLink 2 message signing is authentication, not encryption. According to the MAVLink guide it uses a 32-byte shared secret key; the signature is the first 48 bits of a SHA-256 hash over the key, header, payload, CRC, link ID and a 48-bit timestamp in units of 10 microseconds since 1 January 2015. Receivers reject messages whose timestamp is older than one already received on that link, which blocks replay. Keys are distributed with SETUP_SIGNING only over a secure channel such as USB, never over the radio. Message contents remain readable; confidentiality needs link encryption on top.

Worked example: MAVLink signing in numbers
  • The signature trailer is 1 + 6 + 6 = 13 bytes (link ID, timestamp, signature). At an assumed 50 messages per second this adds 13 × 50 = 650 bytes per second, or 5.2 kbit/s. Low-rate radios must budget for it.
  • A 48-bit signature has 248 ≈ 2.8 × 1014 values. An attacker without the key guessing 1,000 times per second needs on average about 247 / 1000 seconds, roughly 4,460 years, to forge one message.
  • A 48-bit timestamp in 10 µs units spans 248 × 10−5 seconds, about 89 years from 2015.

The weak point is not guessing but key storage. If the key sits in a file on a compromised GCS laptop, the attacker signs every message correctly. And if the system is set to accept unsigned messages, signing achieves nothing.

Analysing threats and managing the whole system

Before choosing controls, build a threat model: draw the data flows and trust boundaries, then walk through the threat categories with STRIDE (UAT 367 Module 1). Then use the NIST Cybersecurity Framework (CSF 2.0, 2024) to cover all six functions:

FunctionExample for a drone operator
GovernOwners, policy and accepted risk level
IdentifyInventory of drones, GCS, firmware versions, keys and service providers
ProtectEnable signing, encrypt links, segment networks, update firmware, limit privileges
DetectMonitor abnormal GNSS positions, rejected messages and logins
RespondProcedure when capture is suspected: switch navigation source, land, notify authorities
RecoverRestore configurations, rotate keys and review after the incident

Security testing must stay in simulation or an authorised laboratory. Transmitting jamming or spoofing signals over the air breaks spectrum law and endangers other aircraft.

Common pitfalls

  • Believing MAVLink signing encrypts the data.
  • Enabling signing while still accepting unsigned messages on every channel.
  • Keeping keys on a GCS laptop used for web browsing and email.
  • Thinking only of the radio link and forgetting the cloud, phone apps and vendor firmware.
  • Having no way to detect spoofing that drags the position slowly.
  • Experimenting with real jamming outside a laboratory.

Continue in the lessons

Key references

  1. AlTawy, R., & Youssef, A. M. (2017). Security, privacy, and safety aspects of civilian drones: A survey. ACM Transactions on Cyber-Physical Systems, 1(2), Article 7, 1–25. link
  2. National Institute of Standards and Technology. (2024). The NIST cybersecurity framework (CSF) 2.0. link
  3. MAVLink Development Team. Message signing (authentication). MAVLink developer guide. link
  4. Kerns, A. J., Shepard, D. P., Bhatti, J. A., & Humphreys, T. E. (2014). Unmanned aircraft capture and control via GPS spoofing. Journal of Field Robotics, 31(4), 617–636. link
  5. European Union Agency for the Space Programme. Galileo Open Service Navigation Message Authentication (OSNMA). link
  6. Space Systems Command. (2022). IS-GPS-200N: NAVSTAR GPS space segment/navigation user segment interfaces. link

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). ความมั่นคงไซเบอร์ของ UAS. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/new/uas-cybersecurity/