SV-261418r996665_rule
V-261418
SRG-OS-000057-GPOS-00027
SLEM-05-653050
CAT II
10
Configure SLEM 5 to protect audit rules from unauthorized modification.
Add or modify the following lines 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 SLEM 5 protects audit rules from unauthorized modification 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 or all four lines as shown, 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-261418
False
SLEM-05-653050
Verify that SLEM 5 protects audit rules from unauthorized modification 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 or all four lines as shown, 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
5596