SV-274101r1120291_rule
V-274101
SRG-OS-000256-GPOS-00097
AZLX-23-002190
CAT II
10
Configure Amazon Linux 2023 audit tools to have a mode of "0755" by running the following command:
$ sudo chmod 0755 [audit_tool]
Replace "[audit_tool]" with each audit tool that has a more permissive mode than "0755".
Verify Amazon Linux 2023 audit tools have a mode of "0755" or less with the following command:
$ stat -c "%a %n" /sbin/auditctl /sbin/aureport /sbin/ausearch /sbin/autrace /sbin/auditd /sbin/rsyslogd /sbin/augenrules
755 /sbin/auditctl
755 /sbin/aureport
755 /sbin/ausearch
750 /sbin/autrace
755 /sbin/auditd
755 /sbin/rsyslogd
755 /sbin/augenrules
If any of the audit tool files have a mode more permissive than "0755", this is a finding.
V-274101
False
AZLX-23-002190
Verify Amazon Linux 2023 audit tools have a mode of "0755" or less with the following command:
$ stat -c "%a %n" /sbin/auditctl /sbin/aureport /sbin/ausearch /sbin/autrace /sbin/auditd /sbin/rsyslogd /sbin/augenrules
755 /sbin/auditctl
755 /sbin/aureport
755 /sbin/ausearch
750 /sbin/autrace
755 /sbin/auditd
755 /sbin/rsyslogd
755 /sbin/augenrules
If any of the audit tool files have a mode more permissive than "0755", this is a finding.
M
5700