STIGQter STIGQter: STIG Summary: Anduril NixOS Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 01 Oct 2025:

NixOS must authenticate the remote logging server for off-loading audit logs.

DISA Rule

SV-268109r1131023_rule

Vulnerability Number

V-268109

Group Title

SRG-OS-000051-GPOS-00024

Rule Version

ANIX-00-000490

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the operating system to authenticate the remote logging server for off-loading audit logs.

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

destination d_network {
syslog(
"<remote-logging-server>" port(<port>)
transport(tls)
tls(
cert-file("/var/syslog-ng/certs.d/certificate.crt")
key-file("/var/syslog-ng/certs.d/certificate.key")
ca-file("/var/syslog-ng/certs.d/cert-bundle.crt")
peer-verify(yes)
)
);
};

log { source(s_local); destination(d_local); destination(d_network); };

For example, an updated configuration of 'services.rsyslogd.extraConfig' would look like the following in /etc/nixos/configuration.nix ('...' denoting that the 'services.rsyslogd.extraConfig' configuration may have other options configured):

services.rsyslogd.extraConfig = ''
...
destination d_network {
syslog(
"<remote-logging-server>" port(<port>)
transport(tls)
tls(
cert-file("/var/syslog-ng/certs.d/certificate.crt")
key-file("/var/syslog-ng/certs.d/certificate.key")
ca-file("/var/syslog-ng/certs.d/cert-bundle.crt")
peer-verify(yes)
)
);
};

log { source(s_local); destination(d_local); destination(d_network); };
...
'';

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

Check Contents

Verify the operating system authenticates the remote logging server for off-loading audit logs.

List the configured destinations with the following command:

$ grep -i "TrustedCertificateFile" /etc/systemd/journal-upload.conf"

If no TrustedCertificateFile is configured or is set to "all", this is a finding.

Vulnerability Number

V-268109

Documentable

False

Rule Version

ANIX-00-000490

Severity Override Guidance

Verify the operating system authenticates the remote logging server for off-loading audit logs.

List the configured destinations with the following command:

$ grep -i "TrustedCertificateFile" /etc/systemd/journal-upload.conf"

If no TrustedCertificateFile is configured or is set to "all", this is a finding.

Check Content Reference

M

Target Key

5658