UCF STIG Viewer Logo

The system's access control program must log each system access attempt.


Overview

Finding ID Version Rule ID IA Controls Severity
V-941 GEN006600 SV-37757r3_rule Medium
Description
If access attempts are not logged, then multiple attempts to log on to the system by an unauthorized user may go undetected.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-36954r3_chk )
The tcp_wrappers package is provided with the RHEL distribution. Other access control programs may be available but will need to be checked manually. Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file.

Normally, tcpd logs to the mail facility in "/etc/syslog.conf" or “/etc/rsyslog.conf”. Determine if syslog or rsyslog is configured to log events by tcpd.

Procedure:

# grep -E “(\*.info|\*.debug|authpriv.info|authpriv.debug|authpriv.\*)” /etc/syslog.conf | grep –v ‘#’

Or:

# grep -E “(\*.info|\*.debug|authpriv.info|authpriv.debug|authpriv.\*)” /etc/rsyslog.conf | grep –v ‘#’

If no entries exist, this is a finding.
If there are no “authpriv.info”, “authpriv.debug”, “authpriv.*” or “*.info” or “*.debug” not followed by “authpriv.none”, this is a finding.


If an alternate access control program is used and it does not provide logging of access attempts, this is a finding.
Fix Text (F-32219r1_fix)
Configure the access restriction program to log every access attempt. Ensure the implementation instructions for tcp_wrappers are followed so system access attempts are recorded to the system log files. If an alternate application is used, it must support this function.