UCF STIG Viewer Logo

Successful and unsuccessful logins and logouts must be logged.


Overview

Finding ID Version Rule ID IA Controls Severity
V-765 GEN000440 SV-27082r1_rule ECAR-2 ECAR-3 ECAR-1 Medium
Description
Monitoring and recording successful and unsuccessful logins assists in tracking unauthorized access to the system. Without this logging, the ability to track unauthorized activity to specific user accounts may be diminished.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-12-02

Details

Check Text ( C-27995r1_chk )
List the logged successful logons to determine if successful logons are being logged.

# last -R | more

List the logged unsuccessful logons to determine if unsuccessful logons are being logged.

# lastb -R | more

If logs do not contain successful and unsuccessful logins, this is a finding.
Fix Text (F-31505r1_fix)
Verify that login logs are handled correctly in the /etc/syslog.conf file. Verify that service startup scripts for syslog and (w/b)tmp (if present) are enabled. NOTE: Also examine the syslog.conf file for any references to remote log hosts if last/lastb produce no results.

# cat /etc/syslog.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v '^#' | grep "\@"