STIGUI
V-268154CAT I — High severitySV-268154r1131111_rule

NixOS must prevent the installation of patches, service packs, device drivers, or operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization.

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

Discussion

Changes to any software components can have significant effects on the overall security of the operating system. This requirement ensures the software has not been tampered with and that it has been provided by a trusted vendor.

Accordingly, patches, service packs, device drivers, or operating system components must be signed with a certificate recognized and approved by the organization.

Verifying the authenticity of the software prior to installation validates the integrity of the patch or upgrade received from a vendor. This ensures the software has not been tampered with and that it has been provided by a trusted vendor. Self-signed certificates are disallowed by this requirement. The operating system should not have to verify the software again. This requirement does not mandate DOD certificates for this purpose; however, the certificate used to verify the software must be from an approved certificate authority (CA).

Check

Verify NixOS prevents installations that have not been digitally signed with the following command:

$ grep -R require-sigs /etc/nix/nix.conf

require-sigs = true

If "require-sigs" is not set to "true" or is missing, this is a finding.

Fix

Configure NixOS to require signatures.

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

nix.settings.require-sigs = true;

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

Identifiers

Group ID
V-268154
Group title
SRG-OS-000366-GPOS-00153
Rule ID
SV-268154r1131111_rule
Check ID
C-72078r1131109_chk
Fix ID
F-71981r1131110_fix