Check: GEN005521
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN005521
(in versions v1 r14 through v1 r10)
Title
The SSH daemon must restrict login ability to specific users and/or groups. (Cat II impact)
Discussion
Restricting SSH logins to a limited group of users, such as system administrators, prevents password-guessing and other SSH attacks from reaching system accounts and other accounts not authorized for SSH access.
Check Content
Check the SSH daemon configuration for the AllowGroups setting. # grep -i AllowGroups /etc/ssh/sshd_config | grep -v '^#' If no lines are returned, this is a finding.
Fix Text
Edit the SSH daemon configuration and add an AllowGroups directive.
Additional Identifiers
Rule ID: SV-26763r1_rule
Vulnerability ID: V-22470
Group Title: GEN005521
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 |