Password Policy Discovery
- ID
- T1201
- Tactics
- TA0007 Discovery
- Platforms
- Windows, Linux, macOS, IaaS, Network Devices, Identity Provider, SaaS, Office Suite
- Data sources
- Process Creation, Command Execution, Active Directory Object Access, User Account Metadata
- Source
- attack.mitre.org
- MITRE last modified
- 25 Oct 2025
Adversaries may attempt to access detailed information about the password policy used within an enterprise network or cloud environment. Password policies are a way to enforce complex passwords that are difficult to guess or crack through Brute Force. This information may help the adversary to create a list of common passwords and launch dictionary and/or brute force attacks which adheres to the policy (e.g. if the minimum password length should be 8, then not trying passwords such as 'pass123'; not checking for more than 3-4 passwords per account if the lockout is set to 6 as to not lock out accounts).
Password policies can be set and discovered on Windows, Linux, and macOS systems via various command shell utilities such as net accounts (/domain), Get-ADDefaultDomainPasswordPolicy, chage -l <username>, cat /etc/pam.d/common-password, and pwpolicy getaccountpolicies [2] [3]. Adversaries may also leverage a Network Device CLI on network devices to discover password policy information (e.g. show aaa, show aaa common-criteria policy all).[4]
Password policies can be discovered in cloud environments using available APIs such as GetAccountPasswordPolicy in AWS [5].
Detection
- DET0161 Password Policy Discovery – cross-platform behavior-chain analytics
Data components: Process Creation, Command Execution, Active Directory Object Access, User Account Metadata
Mitigations (1)
- M1027 Password Policies
Ensure only valid password filters are registered. Filter DLLs must be present in Windows installation directory (
C:\Windows\System32\by default) of a domain controller and/or local computer with a corresponding entry inHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Notification Packages. [1]
Groups (3)
Software (4)
References
- Microsoft Install Password Filter n.d
- Superuser Linux Password Policies
- Jamf User Password Policies
- US-CERT-TA18-106A
- AWS GetPasswordPolicy
