Common Controls Hub
The SLES for vRealize audit system must be configured to audit failed attempts to access files and programs.
Unsuccessful attempts to access files could be an indicator of malicious activity on a system. Auditing these events could serve as evidence of potential system compromise.
VMware vRealize Automation 7.x SLES Security Technical Implementation Guide
Check Text ( C-43768r671344_chk )
Verify auditd is configured to audit failed file access attempts.
# cat /etc/audit.rules /etc/audit/audit.rules | grep -e "-a exit,always" | grep -e "-S ftruncate" | grep -e "-F success=0"
There must be an audit rule for each of the access syscalls logging all failed accesses (-F success=0).
If not, this is a finding.
Fix Text (F-43727r671345_fix)
Edit the audit.rules file and add the following line(s) to enable auditing of failed attempts to access files and programs:
-a exit,always -F arch=b64 -S ftruncate -F success=0
-a exit,always -F arch=b32 -S ftruncate -F success=0