GEN002720-2 - The audit system must be configured to audit failed attempts to access files and programs - '-S open -F success=0'

Information

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.

Solution

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

either:
-a exit,always -F arch=<ARCH> -S open -F success=0

or both:
-a exit,always -F arch=<ARCH> -S open -F exit=-EPERM
-a exit,always -F arch=<ARCH> -S open -F exit=-EACCES

Restart the auditd service.
# service auditd restart

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-2d., CAT|II, CCI|CCI-000126, Group-ID|V-29236, Rule-ID|SV-37612r2_rule, STIG-ID|GEN002720-2, Vuln-ID|V-29236

Plugin: Unix

Control ID: 3ecb5a4547453bbe3d10e5b4155e7791e0fa2b90252450207762b7cdef0aec5a