The Ubuntu operating system must record time stamps for audit records that can be mapped to Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT).

STIG ID: UBTU-18-010503  |  SRG: SRG-OS-000359-GPOS-00146 |  Severity: low |  CCI: CCI-001890 |  Vulnerability Id: V-219333 | 

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 Coordinated Universal Time (UTC), a modern continuation of Greenwich Mean Time (GMT), or local time with an offset from UTC.

Check

The time zone must be configured to use Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT). To verify run the following command.

# sudo timedatectl status | grep -i "time zone"
Timezone: UTC (UTC, +0000)

If "Timezone" is not set to UTC or GMT, this is a finding.

Fix

To configure the system time zone to use Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT), run the following command replacing [ZONE] with UTC or GMT.

# sudo timedatectl set-timezone [ZONE]