Sigma rule: Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-686b0e19c26e, updated 2022-03-17T00:00:00.000Z.
Rule
- Title
- Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy
- Status
- test
- Level
- low
- Author
- frack113
- Date
- 2022-03-17
- File
- rules/windows/powershell/powershell_script/posh_ps_susp_get_addefaultdomainpasswordpolicy.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detetcts PowerShell activity in which Get-Addefaultdomainpasswordpolicy is used to get the default password policy for an Active Directory domain.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection:
ScriptBlockText|contains: Get-AdDefaultDomainPasswordPolicy
condition: selectionFalse positives (as the rule lists them)
- Legitimate PowerShell scripts
Tags
- attack.discovery
- attack.t1201
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1201/T1201.md#atomic-test-9---enumerate-active-directory-password-policy-with-get-addefaultdomainpasswordpolicy
- https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-addefaultdomainpasswordpolicy?view=windowsserver2022-ps
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_get_addefaultdomainpasswordpolicy.yml
Sources and licences
SigmaHQ
"Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_get_addefaultdomainpasswordpolicy.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy",
entity page, dataset version ref-686b0e19c26e, updated 2022-03-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/bbb9495b-58fc-4016-b9df-9a3a1b67ca82 (accessed 2026-11-03).
Underlying source: SigmaHQ rule bbb9495b-58fc-4016-b9df-9a3a1b67ca82, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.