A tool which allows an attacker to change the time on a GPS-enabled NTP server without crashing the NTP daemon
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
logging.cfg
tardgps.cfg
tardgps.py

README.md

tardgps

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.

Requirements

  1. A GPS Device that will talk to GPSd
  2. GPSd installed
  3. Python
  4. Python library gps3
  5. A copy of bladeGPS, I have been using the keith-citrenbaum fork

Running

  1. Configure the options in tardgps.cfg
  2. Run gpsd sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
  3. Run tardgps ./tardgps.py