Ubuntu 22.04

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

Description

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

C-64209r953251_chk

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

F-64117r953252_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