STIGUI
V-268149CAT II — Medium severitySV-268149r1131099_rule

NixOS must, for networked systems, compare internal information system clocks at least every 24 hours with a server which is synchronized to one of the redundant United States Naval Observatory (USNO) time servers, or a time server designated for the appropriate DOD network (NIPRNet/SIPRNet), and/or the Global Positioning System (GPS).

Rule version ANIX-00-001420 · STIG v1 · 2025-08-19

Discussion

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.

Synchronizing internal information system clocks provides uniformity of time stamps for information systems with multiple system clocks and systems connected over a network.

Organizations should consider endpoints that may not have regular access to the authoritative time server (e.g., mobile, teleworking, and tactical endpoints).

Satisfies: SRG-OS-000355-GPOS-00143, SRG-OS-000359-GPOS-00146, SRG-OS-000785-GPOS-00250

Check

Verify NixOS is configured with an approved time server with the following command:

$ timedatectl show-timesync | grep NTPServers

SystemNTPServers=tick.usnogps.navy.mil FallbackNTPServers=tock.usnogps.navy.mil

If the output of the command does not list authorized time servers, this is a finding.

Fix

Configure NixOS to use approved timeservers.

Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:

networking.timeServers = [ "tick.usnogps.navy.mil" "tock.usnogps.navy.mil" ];

Rebuild and switch to the new NixOS configuration: $ sudo nixos-rebuild switch

Identifiers

Group ID
V-268149
Group title
SRG-OS-000355-GPOS-00143
Rule ID
SV-268149r1131099_rule
Check ID
C-72073r1039333_chk
Fix ID
F-71976r1131098_fix