UCF STIG Viewer Logo

The operating system must configure auditing to reduce the likelihood of storage capacity being exceeded.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51495 OSX8-00-00300 SV-65705r1_rule Medium
Description
Operating system auditing capability is critical for accurate forensic analysis. Audit record content that may be necessary to satisfy the requirement of this control includes, time stamps, source and destination addresses, user/process identifiers, event descriptions, success/fail indications, file names involved, and access control or flow control rules invoked. Care must be taken to evaluate that the audit records being produced do not exceed the storage capacity.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53839r1_chk )
The check displays the "% free" to leave available for the system. The audit system will not write logs if the volume has less than this percentage of free disk space. To view the current setting, run the following command:

sudo grep expire-after /etc/security/audit_control | awk -F: '{ print $2 }'

If this returns no results, or an incorrect setting for the organization, this is a finding.
Fix Text (F-56299r1_fix)
To set the auditing daemon to expire logs after "10 GB" of space in the audit_control configuration file, run the following command:

sudo sed -i.bak 's/.*expire-after.*/expire-after:10G/' /etc/security/audit_control; sudo audit -s