T1201 Password Policy Discovery
Discoveryon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0161 Password Policy Discovery – cross-platform behavior-chain analytics
AN0455 Windows
Cause→effect chain: (1) a user or service spawns a shell/PowerShell that queries local/domain password policy via commands/cmdlets (e.g., `net accounts`, `Get-ADDefaultDomainPasswordPolicy`, `secedit /export`); (2) optional directory/LDAP reads from DCs; (3) same principal performs adjacent Discovery or credential-related actions within a short window. Correlate sysmon process creation with PowerShell ScriptBlock and Security logs.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106 |
|
WinEventLog:SecurityEventCode=4662 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
AN0456 Linux
Chain: (1) interactive/non-interactive `chage -l`, `grep`/`cat` of PAM config (e.g., `/etc/pam.d/common-password`, `/etc/security/pwquality.conf`); (2) optional reads of `/etc/login.defs`; (3) same user performs account enumeration or password change attempts shortly after. Use auditd `execve` and file read events plus shell history collection.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve | Not mapped to Sentinel yet. |
auditd:SYSCALLopen,openat,read | Not mapped to Sentinel yet. |
linux:syslogsudo chage|grep pam_pwquality|cat /etc/login.defs | Not mapped to Sentinel yet. |
AN0457 macOS
Chain: (1) execution of `pwpolicy` or MDM/DirectoryService reads of account policies; (2) optional read of `/Library/Preferences/com.apple.loginwindow` or config profiles; (3) follow-on credential probing or lateral movement by same user/session. Use unified logs and process telemetry.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogpwpolicy|PasswordPolicy | Not mapped to Sentinel yet. |
macos:unifiedlogexec /usr/bin/pwpolicy | Not mapped to Sentinel yet. |
macos:MDMprofiles -P|getaccountpolicies | Not mapped to Sentinel yet. |
AN0458 IaaS
Chain: (1) cloud API calls that fetch tenant/organization password policy (e.g., AWS `GetAccountPasswordPolicy`, GCP/OCI equivalents or IAM settings reads); (2) within a short window, the same principal creates users, rotates creds, or changes auth settings. Use cloud audit logs.
| MITRE log source | In Microsoft Sentinel |
|---|---|
AWS:CloudTrailGetAccountPasswordPolicy | Not mapped to Sentinel yet. |
AN0459 Identity Provider
Chain: (1) IdP policy/read operations by a principal (e.g., Microsoft Entra/Graph requests to read password or authentication policies); (2) adjacent risky changes (role assignment, app consent) by same principal. Use IdP audit logs.
| MITRE log source | In Microsoft Sentinel |
|---|---|
azure:auditoperation contains 'Get*Password*Policy' OR 'List*Authentication*Policy' OR 'Get-ADDefaultDomainPasswordPolicy' |
|
AN0460 SaaS
Chain: (1) SaaS admin API or PowerShell remote session reads tenant password/authentication settings (e.g., M365 Unified Audit Log ‘Cmdlet’ with `Get-MsolPasswordPolicy`/`Get-OrganizationConfig` parameters that expose password settings); (2) same session proceeds to mailbox or tenant changes.
| MITRE log source | In Microsoft Sentinel |
|---|---|
m365:unifiedWorkload=AzureActiveDirectory OR Exchange AND (Operation=Cmdlet AND Parameters contains 'Password' AND (CmdletName='Get-*' OR CmdletName='Get-OrganizationConfig')) | interpreted
The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity. |
AN0461 Network Devices
Chain: (1) privileged CLI sessions run read-only commands that dump AAA/password policies (e.g., `show aaa`, `show password-policy`); (2) same account changes AAA or user DB shortly after. Use network device AAA/command accounting or syslog.
| MITRE log source | In Microsoft Sentinel |
|---|---|
networkdevice:syslogcmd='show aaa*' OR 'show running-config | include password|aaa' OR 'show aaa common-criteria policy all' | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (1)
How the Content Hub rules for T1201 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
6 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- Password Policy Discovery - Linux
- HackTool - CrackMapExec Execution
- Password Policy Enumerated
- Cisco Discovery
- Net.EXE Execution
- Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.