UCF STIG Viewer Logo

The operating system must support the requirement to automatically audit on account creation.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51437 OSX8-00-00120 SV-65647r1_rule Medium
Description
Auditing of account creation is a method and best practice for mitigating the risk of an attacker creating a persistent method of reestablishing access. A comprehensive account management process will ensure an audit trail which documents the creation of accounts and if required notifies administrators. Such a process greatly reduces the risk of accounts being created outside the normal approval process and provides logging that can be used for forensic purposes. Additionally, the audit records of account creation can be compared to the known approved account creation list.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53773r2_chk )
In order to view the currently configured flags for the audit daemon, run the following command:

sudo grep ^flags /etc/security/audit_control | sed 's/flags://' | tr "," "\n" | grep ad

The account creation events are logged by way of the "ad" flag. If "ad" is not listed in the result of the check, this is a finding.
Fix Text (F-56235r1_fix)
To make sure the appropriate flags are enabled for auditing, run the following command:

sudo sed -i.bak '/^flags/ s/$/,ad/' /etc/security/audit_control