UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit system must be configured to audit login, logout, and session initiation.


Overview

Finding ID Version Rule ID IA Controls Severity
V-818 GEN002800 SV-65285r1_rule ECAR-1 ECAR-2 ECAR-3 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
Oracle Linux 5 Security Technical Implementation Guide 2015-12-07

Details

Check Text ( C-53507r1_chk )
The message types that are always recorded to /var/log/audit/audit.log include LOGIN,USER_LOGIN,USER_START,USER_END among others and do not need to be added to audit_rules.

The log files /var/log/faillog and /var/log/lastlog must be protected from tampering of the login records.

Procedure:
#egrep "faillog|lastlog" /etc/audit/audit.rules|grep "-p (wa|aw)"

If both /var/log/faillog and /var/log/lastlog entries do not exist, this is a finding.
Fix Text (F-55889r1_fix)
Ensure logins.

Procedure:

Modify /etc/audit/audit.rules to contain:

-w /var/log/faillog -p wa
-w /var/log/lastlog -p wa

Restart the auditd service:
# service auditd restart