Check: GEN001590 M6
MACOSX 10.6:
GEN001590 M6
(in version v1 r3)
Title
Launch control scripts must not have extended ACLs. (Cat II impact)
Discussion
If the launch control scripts are writable by other users, they could modify to insert malicious commands into the startup files.
Check Content
Open a terminal session and enter the following command to verify the launch control scripts have no extended ACLs. ls -lL /System/Library/LaunchDaemons /System/Library/LaunchAgents /Library/LaunchDaemons /Library/LaunchAgents If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix Text
Open a terminal session and enter the following command to remove the extended ACLs. chmod -N <launch control script with extended ACL>
Additional Identifiers
Rule ID: SV-38096r1_rule
Vulnerability ID: V-22353
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 |