Ubuntu 22.04 LTS must record time stamps for audit records that can be mapped to Coordinated Universal Time (UTC).

STIG ID: UBTU-22-252020  |  SRG: SRG-OS-000359-GPOS-00146 |  Severity: low |  CCI: CCI-001890 |  Vulnerability Id: V-260521 | 

Vulnerability Discussion

If time stamps are not consistently applied and there is no common time reference, it is difficult to perform forensic analysis.

Time stamps generated by the operating system include date and time. Time is commonly expressed in UTC or local time with an offset from UTC.

Check

Verify the time zone is configured to use UTC by using the following command:

$ timedatectl status | grep -i "time zone"
Time zone: Etc/UTC (UTC, +0000)

If "Time zone" is not set to UTC, this is a finding.

Fix

To Configure Ubuntu 22.04 LTS time zone to use UTC, run the following command:

$ sudo timedatectl set-timezone Etc/UTC