DISA STIGS Viewer

SQL Server must record time stamps in audit records and application data that can be mapped to Coordinated Universal Time (UTC), formerly Greenwich Mean Time (GMT).

Overview

Finding ID Version Rule ID IA Controls Severity
V-271346 SQLI-22-011200 SV-271346r1109256_rule   Medium
Description
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 SQL Server must include date and time. Time is commonly expressed in UTC, a modern continuation of GMT, or local time with an offset from UTC.
STIG Date
Microsoft SQL Server 2022 Instance Security Technical Implementation Guide 2025-05-30

Details

Check Text (C-75389r1109255_chk)
SQL Server Audits store the timestamp in UTC time.

Determine if the computer is joined to a domain.

SELECT DEFAULT_DOMAIN()[DomainName]

If this is not NULL, this is not a finding.

If the computer is not joined to a domain, determine what the time source is. (Run the following command in an elevated PowerShell session.)

w32tm /query /source

If the results of the command return "Local CMOS Clock" and this is not documented with justification and authorizing official (AO) authorization, this is a finding.

If the OS does not synchronize with a time server, review the procedure for maintaining accurate time on the system.

If such a procedure does not exist, this is a finding.

If the procedure exists, review evidence that the correct time is actually maintained.

If the evidence indicates otherwise, this is a finding.
Fix Text (F-75296r1108653_fix)
Where possible, configure the operating system to automatic synchronize with an official time server, using NTP.

Where there is reason not to implement automatic synchronization with an official time server, using NTP, document the reason, and the procedure for maintaining the correct time, and obtain AO approval. Enforce the procedure.