Check: GEN003050 M6
MACOSX 10.6:
GEN003050 M6
(in version v1 r3)
Title
Crontab files must be group-owned by wheel, cron, or the crontab creator's primary group. (Cat II impact)
Discussion
To protect the integrity of scheduled system jobs and prevent malicious modification to these jobs, crontab files must be secured.
Check Content
Open a terminal session and enter the following commands to verify the group ownership of the "crontab" files. ls -lL /usr/sbin/cron ls -lL /usr/lib/cron ls -lL /usr/bin/crontab ls -lL /private/var/at/cron.deny If the group-owner is not wheel or the crontab owner's primary group, this is a finding.
Fix Text
Open a terminal session and enter the following command to set the group to wheel. chgrp wheel <crontab file>
Additional Identifiers
Rule ID: SV-38107r1_rule
Vulnerability ID: V-22385
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 |