RF Hijacking
RF hijacking means capturing a drone control link and replaying it, or synthesising commands into that link. On current hardware it works far less often than its reputation suggests.
Authorisation Comes Before the Transmit Half
Interference with an aircraft is not a spectrum offence with a fine attached; in most jurisdictions it is a criminal one. In the United States, 18 U.S.C. § 32 (the Aircraft Sabotage Act, enforced by the Department of Justice, not the FAA) covers interference with an aircraft in service, and 47 U.S.C. § 333 with FCC Part 15 covers the transmission itself. In the United Kingdom the Wireless Telegraphy Act 2006 makes unauthorised transmission an offence; in the EU, Directive 2014/53/EU requires an authorised radio installation.
Receiving is passive, but recording or decoding a third party's communications is separately regulated (US 18 U.S.C. § 2511, UK Investigatory Powers Act 2016). The only settings for the transmit commands below are an RF-shielded enclosure or a licensed test range, on an airframe you own, with written authorisation naming the frequency.
Capturing RC Signals
A sweep and a capture are two different jobs, and they use two different tools.
hackrf_sweep
produces a power-over-frequency CSV - one row per interval, per FFT bin - which tells you
where a link is but contains no signal you can demodulate. Note the two flags that are easy to
confuse: -r
is the output file and -w
sets the FFT bin width in Hz (2445-5000000), so -w
is not an output switch.
hackrf_sweep -f 2400:2500 -r 24ghz-sweep.csv -1
hackrf_transfer -r 24ghz-capture.cs8 -f 2437000000 -s 8000000 -l 32 -g 40 -a 1
inspectrum 24ghz-capture.cs8
The .cs8
extension matters: it is how inspectrum knows the file is complex signed 8-bit samples, which
is what hackrf_transfer
writes. inspectrum takes raw IQ only - it will not open the sweep CSV, because a spectrum plot
has already thrown away the phase information needed to demodulate anything. Set the sample
rate (8 MHz here, matching -s)
in the UI once the file is loaded; the same numbers must match or every measurement is scaled
wrong.
Where Replay Actually Works
A replay only lands if the receiver accepts a verbatim retransmission, and that rules out most current consumer hardware. DJI's current O3 and O4 links encrypt the transmission with AES keys exchanged at bind time, and the frames carry sequence counters, so a captured frame is both unreadable and stale. The OcuSync 2.0 airframes before them are the exception worth knowing: NDSS 2023 showed that the DroneID telemetry broadcast inside that downlink is unencrypted and decodable with commodity SDR hardware, which is why the DroneID receiver below still works on a DJI Mini 2 or Mavic Air 2. That is a privacy failure in a tracking broadcast, not a way into the command link. ExpressLRS and TBS Crossfire hop across a channel set derived from a binding phrase shared only between that transmitter and that receiver - a third party who has not bound cannot compute the hop sequence, let alone inject into it.
What is left is the legacy tail: fixed-code 2.4 GHz RC gear with no rolling code, sub-GHz OOK/ASK remotes and their clone fobs, and analogue video, which has nothing to encrypt in the first place. A replay against one of those is still a physical act on someone's aircraft, so the authorisation callout above governs it.
Sub-GHz ASK/OOK Links
Below 1 GHz the cheap end of the market still uses on-off keying, and a YARD Stick One running
rfcat
is the standard way to listen and retransmit. This is Python, not shell: the
d
object only exists inside an rfcat -r
session, so a script has to construct it, and MOD_ASK_OOK
comes from rflib.
from rflib import RfCat, MOD_ASK_OOK
d = RfCat()
d.setFreq(433920000)
d.setMdmModulation(MOD_ASK_OOK)
d.setMdmDRate(4800)
# Print every packet the dongle hears until Ctrl-C, to recover your own fob's code
d.RFlisten()
# Then retransmit it - the payload has to be defined before it can be sent
payload = b"\xaa\xaa\xaa\xaa\x55\x55\x55\x55"
d.RFxmit(payload)Remote ID Is Not DroneID
Two broadcast identification schemes get conflated constantly, and they share no transport. Knowing which one a target carries decides which receiver you need before you go anywhere.
| Property | DJI DroneID | FAA / ASTM Remote ID |
|---|---|---|
| Owner | DJI, proprietary | US 14 CFR Part 89, ASTM F3411 |
| Transport | In-band OFDM inside the 2.4 / 5.8 GHz DJI downlink | Bluetooth 4 legacy advertising, Bluetooth 5 extended advertising, Wi-Fi NAN |
| Scope | DJI airframes only | Any airframe required to comply, plus network RID over the internet |
| Receiver | SDR plus a DJI downlink decoder (e.g. RUB-SysSec DroneSecurity) | BLE scanner or a Wi-Fi NAN capable sniffer / OpenDroneID receiver |
The practical trap is Wi-Fi NAN: NAN is not a BSS, so
airodump-ng
will sit there and show you nothing. You need a radio and driver that support Wi-Fi Aware, or a
dedicated OpenDroneID receiver. The Bluetooth side is easier - a BLE scan or
btmon
will surface the advertising set.
For DJI DroneID the samples come from the downlink you already captured above, decoded rather than demodulated by hand. Both schemes are regulatory broadcasts, not a security feature: their presence tells you nothing about whether the link that carries commands is protected.