STIGQter STIGQter: STIG Summary: Oracle Linux 5 Security Technical Implementation Guide Version: 1 Release: 13 Benchmark Date: 26 Oct 2018: The audit system must be configured to audit files and programs deleted by the user.

DISA Rule

SV-64263r1_rule

Vulnerability Number

V-815

Group Title

GEN002740

Rule Version

GEN002740

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

The "-F arch=<ARCH>" restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules. On single architecture systems, the "-F arch=<ARCH>" restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details.

Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement and are a finding unless justified and documented appropriately.

The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding.

Procedure:

Edit the /etc/audit/audit.rules file, and add one or more the lines (subject to the dual-architecture discussion above) to enable auditing of deletions:

-a exit,always -F arch=<ARCH> -S unlink

Restart the auditd service:

# service auditd restart

Check Contents

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.

Vulnerability Number

V-815

Documentable

False

Rule Version

GEN002740

Severity Override Guidance

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.

Check Content Reference

M

Responsibility

System Administrator

Target Key

2207

Comments