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

NixOS systemd-journald logs must have a mode of 0640 or less permissive.

DISA Rule

SV-268118r1131037_rule

Vulnerability Number

V-268118

Group Title

SRG-OS-000057-GPOS-00027

Rule Version

ANIX-00-000600

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

The systemd-journald files are by design set to 0640 mode.

If any files are found with incorrect perms, correct them with the following command:

$ sudo find /var/log/journal -type f -exec chmod 0640 {} \;

Check Contents

Verify NixOS protects log information from unauthorized read access by implementing a mode of 0640 or less on the creation of log files with the following command:

$ sudo find /var/log/journal -type f -perm -640 -not -perm 640 -printf "%p %m\n"

If any log files have a permission of greater than 0640, this is a finding.

Vulnerability Number

V-268118

Documentable

False

Rule Version

ANIX-00-000600

Severity Override Guidance

Verify NixOS protects log information from unauthorized read access by implementing a mode of 0640 or less on the creation of log files with the following command:

$ sudo find /var/log/journal -type f -perm -640 -not -perm 640 -printf "%p %m\n"

If any log files have a permission of greater than 0640, this is a finding.

Check Content Reference

M

Target Key

5658