Red Hat Enterprise Linux 7 Security Technical Implementation Guide :: Release: 1 Benchmark Date: 27 Jul 2018
Vuln ID: V-72207 Rule ID: SV-86831r4_rule STIG ID: RHEL-07-030920
Severity: CAT II Check Reference: M Classification: Unclass
New Rule Title
Rule Title: The Red Hat Enterprise Linux operating system must audit all uses of the unlinkat syscall.
Previous Check + Fix Content
Check Text: Verify the operating system generates audit records when successful/unsuccessful attempts to use the "unlinkat" command occur.
Check the file system rules in "/etc/audit/audit.rules" with the following commands:
Note: The output lines of the command are duplicated to cover both 32-bit and 64-bit architectures. Only the lines appropriate for the system architecture must be present.
If there are no audit rules defined for the "unlinkat" command, this is a finding.
Fix Text: Configure the operating system to generate audit records when successful/unsuccessful attempts to use the "unlinkat" command occur.
Add the following rules in "/etc/audit/rules.d/audit.rules":
Note: The rules are duplicated to cover both 32-bit and 64-bit architectures. Only the lines appropriate for the system architecture must be configured.
The audit daemon must be restarted for the changes to take effect.
New Check + Fix Content
Check Text: Verify the operating system generates audit records when successful/unsuccessful attempts to use the "unlinkat" syscall occur.
Check the file system rules in "/etc/audit/audit.rules" with the following commands:
Note: The output lines of the command are duplicated to cover both 32-bit and 64-bit architectures. Only the lines appropriate for the system architecture must be present.
If there are no audit rules defined for the "unlinkat" syscall, this is a finding.
Fix Text: Configure the operating system to generate audit records when successful/unsuccessful attempts to use the "unlinkat" syscall occur.
Add the following rules in "/etc/audit/rules.d/audit.rules":
Note: The rules are duplicated to cover both 32-bit and 64-bit architectures. Only the lines appropriate for the system architecture must be configured.
As part of the latest RHEL 7 STIG update referenced in https://github.com/ComplianceAsCode/content/issues/3370, a rule has been updated in the current version. Information about the rule change is outlined below:
Rule Metadata
New Rule Title
Previous Check + Fix Content
New Check + Fix Content
Noted Differences