Consecutive login attempts for SSH must be limited to 3.
An XCCDF Rule
Description
<VulnDiscussion>Setting the authentication login limit to a low value will disconnect the attacker and force a reconnect, which severely limits the speed of such brute-force attacks.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-216352r603267_rule
- Severity
- Low
- References
- Updated
Remediation - Manual Procedure
The root role is required.
Modify the sshd_config file.
# pfedit /etc/ssh/sshd_config