Check: GEN005521
      
      
        
  VMware ESX 3 Server:
  GEN005521
  
    (in version v1 r2)
  
      
      
    
  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 | 
           Employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) which are necessary to accomplish assigned organizational tasks.  | 
      
      
        
        
      
      
        
  Controls
      
      
        
        
      
    
  | Number | Title | 
|---|---|
| AC-6 | 
           Least Privilege  |