UCF STIG Viewer Logo

The audit system must be configured to audit file deletions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-815 GEN002740 SV-45303r1_rule Medium
Description
If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42651r1_chk )
Check the system audit configuration to determine if file and directory deletions are audited.

# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "unlink"
If no results are returned, or the results do not contain "-S unlink", this is a finding.
Fix Text (F-38699r1_fix)
Edit the audit.rules file and add the following line to enable auditing of deletions:
-a exit,always -S unlink

Restart the auditd service.
# rcauditd restart
OR# service auditd restart