Check: OSX8-00-00340
Apple OSX 10.8 STIG:
OSX8-00-00340
(in version v1 r2)
Title
Audit log files must be owned by root:wheel. (Cat II impact)
Discussion
Audit log files should be owned by root:wheel.
Check Content
To check the ownership of the audit log files, run the following command: sudo -s ls -n `sudo grep "^dir" /etc/security/audit_control | awk -F: '{print $2 "/*"}'` | awk '{ print $3 $4 ":" $9 }' The results should read "0:0" in the first column. The first 0 is UID, the second is GID, with the first "0" being root, and the second "0" being wheel. If not, this is a finding.
Fix Text
For any log file that returns an incorrect permission value, run the following command: chown root:wheel [audit log file] where [audit log file] is the full path to the log file in question.
Additional Identifiers
Rule ID: SV-65837r1_rule
Vulnerability ID: V-51627
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000162 |
The information system protects audit information from unauthorized access. |
Controls
Number | Title |
---|---|
AU-9 |
Protection Of Audit Information |