Skip to content

NixOS must notify designated personnel if baseline configurations are changed in an unauthorized manner.

An XCCDF Rule

Description

Unauthorized changes to the baseline configuration could make the system vulnerable to various attacks or allow unauthorized access to the operating system. Changes to operating system configurations can have unintended side effects, some of which may be relevant to security. Detecting such changes and providing an automated response can help avoid unintended, negative consequences that could ultimately affect the security state of the operating system. The operating system's IMO/ISSO and SAs must be notified via email and/or monitoring system trap when there is an unauthorized modification of a configuration item. Satisfies: SRG-OS-000363-GPOS-00150, SRG-OS-000445-GPOS-00199, SRG-OS-000446-GPOS-00200, SRG-OS-000447-GPOS-00201

ID
SV-268153r1039347_rule
Version
ANIX-00-001460
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure /etc/nixos/configuration.nix to notify when baseline configuration changes by adding the following configuration settings:

nixpkgs.overlays = [
  (final: prev: {
    aide = prev.aide.overrideAttrs (old: {
      configureFlags = (old.configureFlags or [ ]) ++ [ "--sysconfdir=/etc" ];