The delay between login prompts following a failed login attempt must be at least 4 seconds.
<VulnDiscussion>Enforcing a delay between consecutive failed login attempts increases protection against automated password guessing attacks.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations>GEN000480</Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl>Attack mitigations to minimize risk:
1. Ensure that the “nodelay” parameter is not found in the /etc/pam.conf file.
2. In the file /opt/ssh/etc/sshd_config, the “MaxAuthTries” attribute must be explicitly set to “1”. This attribute controls the maximum number of authentication attempts permitted per SSH daemon connection.
3. In the file /opt/ssh/etc/sshd_config, the “MaxStartups” attribute must be explicitly set to an organization defined value of “10” (the default) or less. This attribute controls the maximum number of unauthenticated connections to the SSH daemon.
4. IPFilter DCA mode is disabled by default, and must be explicitly enabled. Set the following attribute in the /etc/rc.config.d/ipfconf file:
DCA_START=1
The below /etc/opt/ipf/ipf.conf file rule specifies a connection limit of “<limit>“ for all hosts when attempting to connect to port “<sshd port>“. The “<sshd port>“ and “<limit>“ must be set to organization defined values. Per vendor documentation, this rule must be the next-to-last rule in /etc/opt/ipf/ipf.conf. The final rule in the file must define the default connection limit. See the below example for the last 2 line entries in /etc/opt/ipf/ipf.conf (note that the double quotes are for emphasis only):
“pass in proto tcp from any to any port = <sshd port> keep limit <limit>“
“block in from any to any”
Save the file before exiting the editor. The system should not require restarting for the new rule(s) to take effect.
</MitigationControl><Responsibility>System Administrator</Responsibility><IAControls></IAControls>
How this relates to the STIG checklist: STIG vs SCAP benchmark.