In October and November 2023, the Finnish Geospatial Research Institute (FGI) mixed fake GPS and Galileo signals into the feed from the rooftop antenna at its office in Espoo, alongside the real ones from the sky, and recorded everything. Cheap spoofing equipment has made such attacks more common, and FGI published the recordings so that anyone can test a defence against real ones. We ran one of them through a software receiver we wrote: the clip above shows what it tracked, with the real signal’s place worked out from the seconds before the attack. Our Guide explains what GPS spoofing is, and how it differs from jamming.

What you are seeing

A GPS receiver works by measuring distances. Each satellite sends a code that repeats a thousand times a second, and the receiver measures how late it arrives. The clip shows that measurement for one satellite: the hump is the signal, the dashed green line marks where the real one is, and the amber marker is the distance the receiver reads, in metres from the true one.

  1. Before the attack, the receiver is locked on the real signal.
  2. A fake switches on. It is much stronger, and within a twentieth of a second it drowns the real signal out: the recording no longer shows it.
  3. The fake sits 20 m off. The receiver slides onto it in under a second, without losing the signal.
  4. The fake then drifts, and the receiver follows. Half a minute later it puts this satellite about 60 m further away than it is.

Our receiver held a signal on this satellite the whole time, and nothing in its tracking flagged an attack. It was the wrong signal.

The study

An open GNSS spoofing data repository: characterization and impact analysis with FGI-GSRx open-source software-defined receiver

Saiful Islam and 4 colleagues

Journal
GPS Solutions 28, 176
Published
Licence
CC BY 4.0

Three ways to fake GPS

FGI recorded three kinds of attack.

  • A careful fake, matched to the real signals in time and place, then moved. The receiver followed it, and its position ran around the attacker’s circle. It was fooled. FGI ran this one twice. GPS and Galileo satellites send their signals on more than one frequency: an older one, GPS L1 and Galileo E1, that nearly every receiver uses, and a newer one, GPS L5 and Galileo E5a, built to resist interference better, that recent receivers add. The first time, FGI faked only the older frequency; the second time, it faked both.
  • A careless fake, set 15 km away and 10 hours ahead. It did not fool the receiver, but it buried the real signals, and the receiver could no longer give a position. It works as jamming.
  • A replay: real signals recorded 60 m away and played back about 15 minutes late. A receiver already running was not fooled, though its signals weakened. One switched on during the replay picked the strongest signal, the fake.

What protects a receiver

Listen on more than one frequency. In the run that faked only the older frequency, a position worked out from the newer one alone was about 7 m off, and one from the older one 56 m off, on average over the six-minute recording, two minutes of which came before the attack. A receiver that compares its frequencies can see that they disagree. That works only while the attacker leaves one alone: in the run that faked both, the one our clip comes from, every combination was about 56 m off.

What the attacker faked Position worked out from Average error
The older frequency only The older frequency (faked) 56 m
The older frequency only Both frequencies 34 m
The older frequency only The newer frequency (not faked) 7 m
Both frequencies (our clip’s run) Either or both 56 m

Watch the signal’s strength. In the run that faked the older frequency, the faked signals grew stronger at the same moment, by about 5 dB on average. A receiver can watch for that.

Check the signatures. Galileo signs its navigation messages, so a receiver can check that they come from Galileo and were not changed on the way. FGI’s recordings carry those signatures, and in 2024 the authors said they were building a check on them into their receiver.

Try it yourself

FGI published the four recordings, 127 GB of raw signal, free to use under a CC BY 4.0 licence, along with its open-source receiver, FGI-GSRx, which reads the GPS L1 and Galileo E1 signals. The newer L5 and E5a signals, as in our clip, need another receiver: we wrote our own.