BaselineWatch
Desk

APPL-26-000060 The macOS system must set account lockout time to 15 minutes.

DISA STIG library V1R4
All changes in this version
first version loaded CAT II

Maps to AC-7 via CCI-000044, CCI-002238

Title

The macOS system must set account lockout time to 15 minutes.

Control

Verify the macOS system is configured to set account lockout time to 15 minutes with the following command: /usr/bin/pwpolicy -getaccountpolicies 2> /dev/null | /usr/bin/tail +2 | /usr/bin/xmllint --xpath '//dict/key[text()="autoEnableInSeconds"]/following-sibling::integer[1]/text()' - | /usr/bin/awk '{ if ($1/60 >= 15 ) {print "pass"} else {print "fail"}}' | /usr/bin/uniq If the result is not "pass", this is a finding.

Discussion

The macOS system must be configured to enforce a lockout time of at least 15 minutes when the maximum number of failed login attempts is reached. 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

Related controls

CCI-000044, CCI-002238

Fix

Configure the macOS system to set account lockout time to 15 minutes by installing the "com.apple.mobiledevice.passwordpolicy" configuration profile.