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 SSH daemon must be configured for IP filtering.


Overview

Finding ID Version Rule ID IA Controls Severity
V-12022 GEN005540 SV-12523r2_rule ECSC-1 ECWM-1 Medium
Description
The SSH daemon must be configured for IP filtering to provide a layered defense against connection attempts from unauthorized addresses.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-7987r2_chk )
Check the TCP wrappers configuration files to determine if SSHD is configured to use TCP wrappers.

Procedure:
# grep sshd /etc/hosts.deny
# grep sshd /etc/hosts.allow

If no entries are returned, the TCP wrappers are not configured for SSHD and this is a finding.
Fix Text (F-11281r2_fix)
Add appropriate IP restrictions for SSH to the /etc/hosts.deny and/or /etc/hosts.allow files.