MITRE ATT&CKmitigation
M1027 Password Policies
- Domain
- enterprise
- Version
- 1.1
- Created
- 2019-06-06
Description
Set and enforce secure password policies for accounts to reduce the likelihood of unauthorized access. Strong password policies include enforcing password complexity, requiring regular password changes, and preventing password reuse. This mitigation can be implemented through the following measures:
Windows Systems:
• Use Group Policy Management Console (GPMC) to configure:
• Minimum password length (e.g., 12+ characters).
• Password complexity requirements.
• Password history (e.g., disallow last 24 passwords).
• Account lockout duration and thresholds.
Linux Systems:
• Configure Pluggable Authentication Modules (PAM):
• Use `pam_pwquality` to enforce complexity and length requirements.
• Implement `pam_tally2` or `pam_faillock` for account lockouts.
• Use `pwunconv` to disable password reuse.
Password Managers:
• Enforce usage of enterprise password managers (e.g., Bitwarden, 1Password, LastPass) to generate and store strong passwords.
Password Blacklisting:
• Use tools like Have I Been Pwned password checks or NIST-based blacklist solutions to prevent users from setting compromised passwords.
Regular Auditing:
• Periodically audit password policies and account configurations to ensure compliance using tools like LAPS (Local Admin Password Solution) and vulnerability scanners.
*Tools for Implementation*
Windows:
• Group Policy Management Console (GPMC): Enforce password policies.
• Microsoft Local Administrator Password Solution (LAPS): Enforce random, unique admin passwords.
Linux/macOS:
• PAM Modules (pam_pwquality, pam_tally2, pam_faillock): Enforce password rules.
• Lynis: Audit password policies and system configurations.
Cross-Platform:
• Password Managers (Bitwarden, 1Password, KeePass): Manage and enforce strong passwords.
• Have I Been Pwned API: Prevent the use of breached passwords.
• NIST SP 800-63B compliant tools: Enforce password guidelines and blacklisting.
Related
Mitigates · MITRE ATT&CK (47)
- T1556.005 Reversible Encryption sub-technique
- T1555.005 Password Managers sub-technique
- T1599 Network Boundary Bridging technique
- T1599.001 Network Address Translation Traversal sub-technique
- T1601 Modify System Image technique
- T1601.001 Patch System Image sub-technique
- T1601.002 Downgrade System Image sub-technique
- T1558.004 AS-REP Roasting sub-technique
- T1078.001 Default Accounts sub-technique
- T1078.002 Domain Accounts sub-technique
- T1078.003 Local Accounts sub-technique
- T1078.004 Cloud Accounts sub-technique
- T1563 Remote Service Session Hijacking technique
- T1563.001 SSH Hijacking sub-technique
- T1003.004 LSA Secrets sub-technique
- T1003.005 Cached Domain Credentials sub-technique
- T1555.001 Keychain sub-technique
- T1555.003 Credentials from Web Browsers sub-technique
- T1003.001 LSASS Memory sub-technique
- T1003.002 Security Account Manager sub-technique
- T1003.003 NTDS sub-technique
- T1003.006 DCSync sub-technique
- T1003.007 Proc Filesystem sub-technique
- T1003.008 /etc/passwd and /etc/shadow sub-technique
- T1021.002 SMB/Windows Admin Shares sub-technique
- T1110.001 Password Guessing sub-technique
- T1110.002 Password Cracking sub-technique
- T1110.003 Password Spraying sub-technique
- T1110.004 Credential Stuffing sub-technique
- T1555 Credentials from Password Stores technique