The system must disable accounts after three consecutive unsuccessful SSH login attempts.

From HP-UX 11.31 Security Technical Implementation Guide

Part of GEN000000-HPUX0210

Associated with IA controls: ECLO-1, ECLO-2

Associated with: CCI-000366

SV-52335r1_rule The system must disable accounts after three consecutive unsuccessful SSH login attempts.

Vulnerability discussion

Disabling accounts after a limited number of unsuccessful SSH login attempts improves protection against password guessing attacks.

Check content

If the system is operating in Trusted Mode, this check is not applicable. For SMSE: The “UsePAM” attribute in the /opt/ssh/etc/sshd_config configuration file controls whether an account is locked after too many consecutive SSH authentication failures. The default “UsePAM” attribute setting is “no”. Verify the global setting for “UsePAM” is set to “yes”. # cat /opt/ssh/etc/sshd_config | sed -e 's/^[ \t]*//' grep -v “#” | grep “^UsePAM” If the /opt/ssh/etc/sshd_config configuration file attribute “UsePAM” is not set to “yes”, this is a finding.

Fix text

If the system is operating in Trusted Mode, no fix is required. For SMSE only: Edit the /opt/ssh/etc/sshd_config file and add/uncomment/update the “UsePAM” attribute. See the below example: UsePAM yes Save any change(s) before exiting the editor.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer