Check: GEN002210
Title
All shell files must be group-owned by root, bin, or sys. (Cat II impact)
Discussion
If shell files are group-owned by users other than root or a system group, they could be modified by intruders or malicious users to perform unauthorized actions.
Check Content
If /etc/shells exists, check the group ownership of each shell referenced. Procedure: # cat /etc/shells | xargs -n1 ls -lL If a shell is not group-owned by root, bin, or sys, this is a finding.
Fix Text
Change the group-owner of the shell to root, bin, or sys. Procedure: # chgrp root <shell>
Additional Identifiers
Rule ID:
Vulnerability ID: V-22365
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 |