Protect you computer and your data


Ntp Security: Authentication and Trusted Time References

NTP (Network Time Protocol) synchronises2000, strongly recommends that a hardware
networks to a single time source usingsource is used as a timing reference as
timestamps to represent the current time ofInternet  sources  can't  be  authenticated.
the day, this is essential for time sensitive
transactions and many system applicationsNTP is vital in keeping networks synchronised
such  as  email.but equally important is keeping systems
secure. Whilst network administrators spend
NTP is therefore vulnerable to securitythousands in anti-viral/malware software many
threats, whether from a malicious hacker whofail to spot the vulnerability in their time
wants to alter the timestamp to commit fraudservers.
or a DDoS attack (Distributed Denial of
Service - normally caused by maliciousMany network administrators still entrust
malware that floods a server with traffic)Internet sources for their time reference.
that  blocks  server  access.Whilst many do provide a good source for UTC
time (Coordinated Universal Time - the
However, being one of the Internet's oldestinternational standard of time), such as
protocols and having been developed for overnist.gov, the lack of authentication means
25 years, NTP is equipped with its ownthe  network  is  open  to  abuse.
security measures in the form of
authentication.Other sources of UTC time are more secure and
can be utilized with relatively low cost
Authentication verifies that each timestampequipment. The easiest method is to use a
has come from the intended time reference byspecialist NTP server that can connect to a
analysing a set of agreed encryption keysGPS antenna and receive an authenticated
that are sent along with the timetimestamp  by  satellite.
information. NTP, using Message Digest
encryption (MD5) to un-encrypt the key,GPS time servers can provide accuracy to UTC
analyses it and confirms whether it has cometime to within a few nanoseconds as long as
from the trusted time source by verifying itthe antenna has a good view of the sky. They
against  a  set  of  trusted  keys.are relatively cheap and the signal is
authenticated providing a secure time
Trusted authentication keys are listed in thereference.
NTP server configuration file (ntp.conf) and
are normally stored in the ntp.keys file. TheAlternatively there are several national
key file is normally very large but trustedbroadcasts that transmit a time reference. In
keys tell the NTP server which set of subsetthe UK this is broadcast by the National
of keys is currently active and which arePhysics Laboratory (NPL) in Cumbria. Similar
not. Different subsets can be activatedsystems operate in Germany, France and the
without editing the ntp.keys file using theUS. Whilst this signal is authenticated,
trusted-keys  config  command.these radio transmissions are vulnerable to
interference  and  have  a  finite  range.
Authentication is therefore highly important
in protecting a NTP server from maliciousAuthentication for NTP has been developed to
attack; however there are many timeprevent malicious tampering with system
references were authentication can't besynchronisation just as firewalls have been
trusted.developed to protect networks from attack but
as with any system of security it only works
Microsoft, who has installed a version of NTPif it is utilised.
in their operating systems since Windows



1 A B C 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 98 99 100 101 102 103 104 105