The AIX SSH daemon must be configured for IP filtering.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-215295 | SRG-OS-000480-GPOS-00227 | AIX7-00-002112 | SV-215295r1009551_rule | 2024-08-16 | 3 |
Description |
---|
The SSH daemon must be configured for IP filtering to provide a layered defense against connection attempts from unauthorized addresses. |
ℹ️ Check |
---|
Note: If the installed version of OpenSSH is 6.7 or above, this requirement is not applicable. Check the TCP wrappers configuration files to determine if SSHD is configured to use TCP wrappers using commands: # grep sshd /etc/hosts.deny sshd : ALL # grep sshd /etc/hosts.allow sshd : 10.10.20.* If no entries are returned, the TCP wrappers are not configured for SSHD, this is a finding. |
✔️ Fix |
---|
Add appropriate IP restrictions for SSH to the "/etc/hosts.deny" and/or "/etc/hosts.allow" files. TCP Wrappers can be installed from the AIX Expansion Pack by installing fileset "netsec.options.tcpwrappers" using the following command (assume AIX Expansion Pack is mounted on /dev/cd0): # installp -aXYgd /dev/cd0 -e /tmp/install.log netsec.options.tcpwrappers |