SV-215295r508663_rule
V-215295
SRG-OS-000480-GPOS-00227
AIX7-00-002112
CAT II
10
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
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.
V-215295
False
AIX7-00-002112
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.
M
4012