MITRE ATT&CKtechnique
T1201 Password Policy Discovery
- Domain
- enterprise
- Tactics
- Discovery
- Platforms
- Windows, Linux, macOS, IaaS, Network Devices, Identity Provider, SaaS, Office Suite
- Version
- 1.7
- Created
- 2018-04-18
Description
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 , cat /etc/pam.d/common-password, and pwpolicy getaccountpolicies . 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).
Password policies can be discovered in cloud environments using available APIs such as GetAccountPasswordPolicy in AWS .
Related
Tactic · MITRE ATT&CK (1)
- TA0007 Discovery tactic
Referenced by MITRE ATT&CK · mitigates (1)
- M1027 Password Policies mitigation
Referenced by MITRE ATT&CK · uses (8)
References
- https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html AWS GetPasswordPolicy
- https://www.jamf.com/jamf-nation/discussions/18574/user-password-policies-on-non-ad-machines Jamf User Password Policies
- https://superuser.com/questions/150675/how-to-display-password-policy-information-for-a-user-ubuntu Superuser Linux Password Policies
- https://www.us-cert.gov/ncas/alerts/TA18-106A US-CERT-TA18-106A