Ubuntu 22.04 LTS must not have the "systemd-timesyncd" package installed.

STIG ID: UBTU-22-215020  |  SRG: SRG-OS-000480-GPOS-00227 |  Severity: low |  CCI: CCI-000366 |  Vulnerability Id: V-260480 | 

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.

Organizations must consider endpoints that may not have regular access to the authoritative time server (e.g., mobile, teleworking, and tactical endpoints).

Check

Verify that the "systemd-timesyncd" package is not installed by using the following command:

$ dpkg -l | grep systemd-timesyncd

If the "systemd-timesyncd" package is installed, this is a finding.

Fix

The "systemd-timesyncd" package will be uninstalled as part of the "chrony" package install. The remaining configuration files for "systemd-timesyncd" must be purged from the operating system:

$ sudo dpkg -P --force-all systemd-timesyncd