STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Apple macOS 27 Security Technical Implementation Guide

V-288897

CAT II (Medium)

The macOS system must be configured to audit all authorization and authentication events.

Rule ID

SV-288897r1316188_rule

STIG

Apple macOS 27 Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-003938CCI-002884

Discussion

The auditing system must be configured to flag authorization and authentication (aa) events. Authentication events contain information about the identity of a user, server, or client. Authorization events contain information about permissions, rights, and rules. If audit records do not include aa events, it is difficult to identify incidents and correlate them to subsequent events. Audit records can be generated from various components within the information system (e.g., via a module or policy filter). Satisfies: SRG-OS-000365-GPOS-00152, SRG-OS-000392-GPOS-00172

Check Content

Verify the macOS system is configured to audit login events with the following command:

/usr/bin/awk -F':' '/^flags/ { print $NF }' /etc/security/audit_control | /usr/bin/tr ',' '\n' | /usr/bin/grep -Ec 'aa'

If the result is not "1", this is a finding.

Fix Text

Configure the macOS system to audit login events with the following command:

/usr/bin/grep -qE "^flags.*[^-]aa" /etc/security/audit_control || /usr/bin/sed -i.bak '/^flags/ s/$/,aa/' /etc/security/audit_control; /usr/sbin/audit -s