[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95409-9

Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9Date: (C)2021-03-05   (M)2023-07-04



Description The MaxAuthTries parameter specifies the maximum number of authentication attempts permitted per connection. When the login failure count reaches half the number, error messages will be written to the syslog file detailing the login failure. Rationale Setting the MaxAuthTries parameter to a low number will minimize the risk of successful brute force attacks to the SSH server. While the recommended setting is 4, set the number based on site policy. Audit Run the following command and verify that output MaxAuthTries is 4 or less: # grep "^MaxAuthTries" /etc/ssh/sshd_config MaxAuthTries 4 Remediation Edit the /etc/ssh/sshd_config file to set the parameter as follows: MaxAuthTries 4


Parameter:

[4]


Technical Mechanism:

Edit the /etc/ssh/sshd_config file to set the parameter as follows: MaxAuthTries 4

CCSS Severity:CCSS Metrics:
CCSS Score : 8.1Attack Vector: NETWORK
Exploit Score: 2.2Attack Complexity: HIGH
Impact Score: 5.9Privileges Required: NONE
Severity: HIGHUser Interaction: NONE
Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HScope: UNCHANGED
 Confidentiality: HIGH
 Integrity: HIGH
 Availability: HIGH
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72961
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72856
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:71957
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72749
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72323
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:84197
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72646
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68561


OVAL    8
oval:org.secpod.oval:def:71957
oval:org.secpod.oval:def:72749
oval:org.secpod.oval:def:84197
oval:org.secpod.oval:def:72856
...
XCCDF    8
xccdf_org.secpod_benchmark_general_Amazon_Linux_AMI
xccdf_org.secpod_benchmark_general_CENTOS_7
xccdf_org.secpod_benchmark_general_RHEL_8
xccdf_org.secpod_benchmark_general_OEL_8
...

© SecPod Technologies