STIGUI
V-268428CAT II — Medium severitySV-268428r1131182_rule

The macOS system must limit consecutive failed login attempts to three.

Rule version APPL-15-000022 · STIG v1 · 2026-09-01

Discussion

The macOS must be configured to limit the number of failed login attempts to a maximum of three. When the maximum number of failed attempts is reached, the account must be locked for a period of time.

This rule protects against malicious users attempting to gain access to the system via brute-force hacking methods.

Satisfies: SRG-OS-000021-GPOS-00005, SRG-OS-000329-GPOS-00128

Check

Verify the macOS system is configured to limit consecutive failed login attempts to three with the following command:

/usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath '//dict/key[text()="policyAttributeMaximumFailedAuthentications"]/following-sibling::integer[1]/text()' - | /usr/bin/awk '{ if ($1 <= 3) {print "yes"} else {print "no"}}' | /usr/bin/uniq

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

Fix

Configure the macOS system to limit consecutive failed login attempts to three by installing the "com.apple.mobiledevice.passwordpolicy" configuration profile.

Identifiers

Group ID
V-268428
Group title
SRG-OS-000021-GPOS-00005
Rule ID
SV-268428r1131182_rule
Check ID
C-72458r1131180_chk
Fix ID
F-72359r1131181_fix