2.1 Ensure NTP time synchronization is configured properly

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Network Time Protocol (NTP) synchronization should be configured correctly and enabled on each VMware ESXi host to ensure accurate time for system event logs. The time sources used by the ESXi hosts should be in sync with an agreed-upon time standard such as Coordinated Universal Time (UTC). There should be at minimum two NTP sources in place, and they should sync whenever possible.

Rationale:

By ensuring that all systems use the same relative time source (including the relevant localization offset), and that the relative time source can be correlated to an agreed-upon time standard, it is simpler to track and correlate an intruder's actions when reviewing the relevant log files. Incorrect time settings can also make auditing inaccurate.

Solution

To enable and properly configure NTP synchronization, perform the following from the vSphere web client:

Select the host.

Click 'Configure' -> 'System' -> 'Time Configuration'.

Click the 'Edit...' button.

Click on 'Use Network Time Protocol'.

Provide the names or IP addresses of your NTP servers. Separate servers with commas.

If the NTP Service Status is 'Stopped', click on 'Start'.

Change the startup policy to 'Start and stop with host'.

Click 'OK'.

To implement the recommended configuration state, run the following PowerCLI command:

# Set the NTP Settings for all hosts
# If an internal NTP server is used, replace pool.ntp.org with
# the IP address or the Fully Qualified Domain Name (FQDN) of the internal NTP server
$NTPServers = 'pool.ntp.org', 'pool2.ntp.org'
Get-VMHost | Add-VmHostNtpServer $NTPServers

See Also

https://workbench.cisecurity.org/files/3511