AOSX-09-000200 - The operating system must generate audit records when successful/unsuccessful logon attempts occur.

Information

An attacker might attempt to log in as an authorized user, through stolen credentials, unpatched exploits, or brute force attempts to guess a valid username and password. If a user is attempting to log in to a system at an unusual time, or if there are many failed attempts, there is a possibility that the system is the target of an attack. Auditing logon events mitigates this risk by recording all logon attempts, successful and unsuccessful, to the system.

Solution

To make sure the appropriate flags are enabled for auditing, run the following command:

sudo sed -i.bak '/^flags/ s/$/,aa/' /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.

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-9_Workstation_V1R2_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12, CAT|II, CCI|CCI-000172, Group-ID|V-58313, Rule-ID|SV-72743r1_rule, STIG-ID|AOSX-09-000200

Plugin: Unix

Control ID: 38c4e0f7f636803da2e71dc54ff131d95806b9dc30b85889fb71d5a02d39366b