SV-230471r627750_rule
V-230471
SRG-OS-000063-GPOS-00032
RHEL-08-030610
CAT II
10
Configure the files in directory "/etc/audit/rules.d/" and the "/etc/audit/auditd.conf" file to have a mode of "0640" with the following commands:
$ sudo chmod 0640 /etc/audit/rules.d/audit.rules
$ sudo chmod 0640 /etc/audit/rules.d/[customrulesfile].rules
$ sudo chmod 0640 /etc/audit/auditd.conf
Verify that the files in directory "/etc/audit/rules.d/" and "/etc/audit/auditd.conf" file have a mode of "0640" or less permissive by using the following commands:
$ sudo ls -al /etc/audit/rules.d/*.rules
-rw-r----- 1 root root 1280 Feb 16 17:09 audit.rules
$ sudo ls -l /etc/audit/auditd.conf
-rw-r----- 1 root root 621 Sep 22 17:19 auditd.conf
If the files in the "/etc/audit/rules.d/" directory or the "/etc/audit/auditd.conf" file have a mode more permissive than "0640", this is a finding.
V-230471
False
RHEL-08-030610
Verify that the files in directory "/etc/audit/rules.d/" and "/etc/audit/auditd.conf" file have a mode of "0640" or less permissive by using the following commands:
$ sudo ls -al /etc/audit/rules.d/*.rules
-rw-r----- 1 root root 1280 Feb 16 17:09 audit.rules
$ sudo ls -l /etc/audit/auditd.conf
-rw-r----- 1 root root 621 Sep 22 17:19 auditd.conf
If the files in the "/etc/audit/rules.d/" directory or the "/etc/audit/auditd.conf" file have a mode more permissive than "0640", this is a finding.
M
2921