tardgps is a tool which will move the broadcast time of GPS backwards to a pre-set time (configured in the configuration file). This allows an attacker to change the time on a GPS-enabled NTP server without crashing the NTP daemon. tardgps was first presented conference talk at Kiwicon X (2016), the slides from the talk.
A hint when running set the local OS time to UTC as it will make things simpler.
- A GPS Device that will talk to GPSd
- GPSd installed
- Python
- Python library gps3
- A copy of bladeGPS, I have been using the keith-citrenbaum fork
- Configure the options in tardgps.cfg
- Run gpsd
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
- Run tardgps
./tardgps.py