Rule ID
SV-288537r1315678_rule
Version
V1R1
CCIs
Without device-to-device authentication, communications with malicious devices may be established. Bidirectional authentication provides stronger safeguards to validate the identity of other devices for connections of greater risk. Currently, DoW requires the use of Advanced Encryption Standard (AES) for bidirectional authentication since it is the only FIPS-validated AES cipher block algorithm. The Network Time Protocol (NTP) uses MD5 authentication keys. The MD5 algorithm is not approved for use in either the FIPS or NIST recommendation; thus, a CAT I finding is allocated in CCI-000803. However, the use of MD5 is preferred to no authentication at all and can be used to mitigate this requirement to a CAT II finding. The trusted-key statement permits authenticating NTP servers. The product must be configured to support separate keys for each NTP server. Severs must have Public Key Infrastructure (PKI) device certificate involved for use in the device authentication process. Server authentication is performed by the client using the server's public key certificate, which the server presents during the handshake. The exact nature of the cryptographic operation for server authentication is dependent on the negotiated cipher suite and extensions. In most cases (e.g., RSA for key transport, DH, and ECDH), authentication is performed explicitly through verification of digital signatures present in certificates and implicitly by the use of the server public key by the client during the establishment of the master secret. A successful "Finished" message implies both parties calculated the same master secret, and thus, the server must have known the private key corresponding to the public key used for key establishment.
Log in to the Self-Hosted Vault operating system as an administrative user with root privileges. 1. Verify keyfile declaration and server directives. Inspect the Chrony configuration file (/etc/chrony.conf): grep -E "^(keyfile|server)" /etc/chrony.conf Verify that a keyfile directive is defined (typically keyfile /etc/chrony.keys). Verify that every active server directive includes the key <ID> parameter referencing an authentication key. 2. Verify SHA-256 configuration in keyfile. Inspect the declared keyfile: grep -v "^#" /etc/chrony.keys Verify that the configured key ID is defined using SHA256 or SHA-256 with a high-entropy hex or ASCII secret. Example valid entry: 1 SHA256 HEX:a84b568ce70d83e29f3c25b30646da08e46e5fa18c504828a2c2b3e890c29f2e 3. Verify keyfile security permissions. Check the owner and permissions of the keyfile: ls -la /etc/chrony.keys File permissions must be 0600 or 0640 and owned by root:chrony (or root:root). 4. Verify active peer authentication status. Query the Chrony daemon for active association security status: chronyc ntpdata | grep -E "Remote address|Authenticated" The output must report Authenticated: Yes for each synchronized upstream peer. If Chrony is not configured with a keyfile, upstream servers do not enforce a key ID, the key does not use SHA-256, or peers fail runtime authentication, this is a finding.
Obtain the authorized SHA-256 symmetric key identifier and shared secret established for the organization's designated time source. 1. Generate or populate the SHA-256 key. If generating a new symmetric key to share with the upstream server, execute: chronyc keygen 1 SHA256 256 >> /etc/chrony.keys Alternatively, manually append the authorized preshared key to /etc/chrony.keys: echo "1 SHA256 HEX:<64-character-hex-secret>" >> /etc/chrony.keys 2. Set secure file permissions. Restrict file permissions so only root and the Chrony daemon can read the secret: chmod 600 /etc/chrony.keys chown root:chrony /etc/chrony.keys 3. Update the chrony configuration. Edit /etc/chrony.conf to declare the keyfile and bind upstream servers to Key ID 1: # Reference the keys file keyfile /etc/chrony.keys # Bind authorized upstream NTP servers to Key ID 1 server <NTP_SERVER_IP_OR_FQDN> iburst key 1 4. Restart and verify the service. Restart the daemon to apply the configuration: systemctl restart chronyd