STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to VMware vRealize Automation 7.x SLES Security Technical Implementation Guide

V-240536

CAT II (Medium)

The SLES for vRealize audit system must be configured to audit user deletions of files and programs.

Rule ID

SV-240536r671349_rule

STIG

VMware vRealize Automation 7.x SLES Security Technical Implementation Guide

Version

V2R2

CCIs

CCI-000172

Discussion

Auditing file deletions will create an audit trail for files that are removed from the system. The audit trail could aid in system troubleshooting, as well as detecting malicious processes that attempt to delete log files to conceal their presence.

Check Content

To determine if the system is configured to audit calls to the "unlink" system call, run the following command: 

# auditctl -l | grep syscall | grep unlink | grep -v unlinkat

If the system is configured to audit this activity, it will return several lines.

If it does not, this is a finding.

To determine if the system is configured to audit calls to the "unlinkat" system call, run the following command: 

# auditctl -l | grep syscall | grep unlinkat

If the system is configured to audit this activity, it will return several lines.

If it does not, this is a finding.

To determine if the system is configured to audit calls to the "rename" system call, run the following command: 

# auditctl -l | grep syscall | grep rename | grep -v renameat

If the system is configured to audit this activity, it will return several lines.

If it does not, this is a finding.

To determine if the system is configured to audit calls to the "renameat" system call, run the following command: 

# auditctl -l | grep syscall | grep renameat

If the system is configured to audit this activity, it will return several lines.

If it does not, this is a finding.

Fix Text

Edit the audit.rules file and add the following line(s) to enable auditing of deletions of files and programs:

-a always,exit -F arch=b64 -S unlink -S unlinkat -S rename -S renameat -F auid=0
-a always,exit -F arch=b64 -S unlink -S unlinkat -S rename -S renameat -F auid>=500 -F auid!=4294967295
-a always,exit -F arch=b32 -S unlink -S unlinkat -S rename -S renameat -F auid=0
-a always,exit -F arch=b32 -S unlink -S unlinkat -S rename -S renameat -F auid>=500 -F auid!=4294967295