UCF STIG Viewer Logo

The audit system must be configured to audit files and programs deleted by the user.


Overview

Finding ID Version Rule ID IA Controls Severity
V-815 GEN002740 SV-42185r3_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
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-45161r1_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-24531r2_fix)
Edit the audit.rules file and add the following line to enable auditing of deletions:

-a exit,always -F arch= -S unlink

Restart the auditd service.
# service auditd restart