Check: GEN001180 M6
MACOSX 10.6:
GEN001180 M6
(in version v1 r3)
Title
All network services daemon files must have mode 0755 or less permissive. (Cat II impact)
Discussion
Restricting permission on daemons will protect them from unauthorized modification and possible system compromise.
Check Content
Open a terminal session and enter the following command to check the mode of network services daemons (all on one line). find /usr/sbin -type f -perm +022 -exec stat -f %Lp:%N {} \; This will return the octal permissions and name of all files that are group or world-writable. If any network services daemon listed is world or group-writable (either or both of the 2 lowest order digits containing a 2, 3, 6, or 7), this is a finding.
Fix Text
Open a terminal session and use the following command to change the mode of the network services daemon. chmod 755 <path of network services daemon file>
Additional Identifiers
Rule ID: SV-37882r1_rule
Vulnerability ID: V-786
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 |