UCF STIG Viewer Logo

The operating system must generate audit records when successful/unsuccessful attempts to modify privileges occur.


Overview

Finding ID Version Rule ID IA Controls Severity
V-58511 AOSX-09-002125 SV-72941r1_rule Medium
Description
Frequently, an attacker that successfully gains access to a system has only gained access to an account with limited privileges, such as a guest account or a service account. The attacker must attempt to change to another user account with normal or elevated privileges in order to proceed. Auditing successful and unsuccessful attempts to switch to another user account mitigates this risk.
STIG Date
Apple OS X 10.9 (Mavericks) Workstation Security Technical Implementation Guide 2017-01-05

Details

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

sudo grep ^flags /etc/security/audit_control

Attempts to log in as another user are logged by way of the 'lo' flag.

If 'lo' is not listed in the result of the check, this is a finding.
Fix Text (F-63861r1_fix)
To make sure the appropriate flags are enabled for auditing, run the following command:

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

A text editor may also be used to implement the required update to the /etc/security/audit_control file.