Vulnerability Discussion
Inaccurate time stamps make it more difficult to correlate events and can lead to an inaccurate analysis. Determining the correct time a particular event occurred on a system is critical when conducting forensic analysis and investigating system events. Sources outside the configured acceptable allowance (drift) may be inaccurate.
Synchronizing internal information system clocks provides uniformity of time stamps for information systems with multiple system clocks and systems connected over a network.
Organizations must consider endpoints that may not have regular access to the authoritative time server (e.g., mobile, teleworking, and tactical endpoints).
Satisfies: SRG-OS-000785-GPOS-00250, SRG-OS-000355-GPOS-00143
Check
Note: If the system is not networked, this requirement is not applicable.
Verify Ubuntu 24.04 LTS is configured to compare the system clock at least every 24 hours to an authoritative time source with the following command:
$ sudo grep -ir maxpoll /etc/chrony*
server [source] iburst maxpoll 16
If the parameter "server" is not set, is not set to an authoritative DOD time source, or is commented out, this is a finding.
If the "maxpoll" option is set to a number greater than 16, the line is commented out, or is missing, this is a finding.
Fix
To configure the system clock to compare to the authoritative time source at least every 24 hours, edit the "/etc/chrony/chrony.conf" file. Add or correct the following lines, by replacing "[source]" in the following line with an authoritative time source:
server [source] iburst maxpoll 16
If the "chrony" service was running and the value of "maxpoll" or "server" was updated, the service must be restarted using the following command:
$ sudo systemctl restart chrony.service