SV-234959r622137_rule
V-234959
SRG-OS-000057-GPOS-00027
SLES-15-030600
CAT II
10
Configure the SUSE operating system to protect audit rules from unauthorized modification.
Add or update the following rules in "/etc/permissions.local":
/var/log/audit root:root 600
/var/log/audit/audit.log root:root 600
/etc/audit/audit.rules root:root 640
/etc/audit/rules.d/audit.rules root:root 640
Set the correct permissions with the following command:
> sudo chkstat --set /etc/permissions.local
Verify that the SUSE operating system protects audit rules from unauthorized modification.
Check that "permissions.local" file contains the correct permissions rules with the following command:
> grep -i audit /etc/permissions.local
/var/log/audit root:root 600
/var/log/audit/audit.log root:root 600
/etc/audit/audit.rules root:root 640
/etc/audit/rules.d/audit.rules root:root 640
If the command does not return any output, this is a finding.
Check that all of the audit information files and folders have the correct permissions with the following command:
> sudo chkstat /etc/permissions.local
If the command returns any output, this is a finding.
V-234959
False
SLES-15-030600
Verify that the SUSE operating system protects audit rules from unauthorized modification.
Check that "permissions.local" file contains the correct permissions rules with the following command:
> grep -i audit /etc/permissions.local
/var/log/audit root:root 600
/var/log/audit/audit.log root:root 600
/etc/audit/audit.rules root:root 640
/etc/audit/rules.d/audit.rules root:root 640
If the command does not return any output, this is a finding.
Check that all of the audit information files and folders have the correct permissions with the following command:
> sudo chkstat /etc/permissions.local
If the command returns any output, this is a finding.
M
5274