Check: GEN005523
Title
The SSH private host key files must have mode 0600 or less permissive. (Cat II impact)
Discussion
If an unauthorized user obtains the private SSH host key file, the host could be impersonated.
Check Content
Check the permissions for SSH private host key files. # ls -lL /etc/ssh/*key # ls -lL /etc/openssh/*key If any file has a mode more permissive than 0600, this is a finding.
Fix Text
Change the permissions for the SSH private host key files. # chmod 0600 /etc/ssh/*key
Additional Identifiers
Rule ID:
Vulnerability ID: V-22472
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |