Skip to content

NixOS must implement cryptographic mechanisms to protect the integrity of nonlocal maintenance and diagnostic communications, when used for nonlocal maintenance sessions.

An XCCDF Rule

Description

Privileged access contains control and configuration information and is particularly sensitive, so additional protections are necessary. This is maintained by using cryptographic mechanisms, such as a hash function or digital signature, to protect integrity. Nonlocal maintenance and diagnostic activities are those activities conducted by individuals communicating through a network, either an external network (e.g., the internet) or an internal network. Local maintenance and diagnostic activities are those activities carried out by individuals physically present at the information system or information system component and not communicating across a network connection. The operating system can meet this requirement through leveraging a cryptographic module. This requirement does not cover hardware/software components that may support information system maintenance, yet are a part of the system (e.g., the software implementing "ping," "ls," "ipconfig," or the hardware and software implementing the monitoring port of an Ethernet switch).

ID
SV-268157r1039359_rule
Version
ANIX-00-001550
Severity
High
References
Updated

Remediation Templates

A Manual Procedure

Configure /etc/nixos/configuration.nix to use the following FIPS 140-3 approved MAC codes in openssh by adding the following configuration settings:

 services.openssh.macs = [
  "hmac-sha2-512"
  "hmac-sha2-256"
 ];