{"id":"bbb9495b-58fc-4016-b9df-9a3a1b67ca82","title":"Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy","description":"Detetcts PowerShell activity in which Get-Addefaultdomainpasswordpolicy is used to get the default password policy for an Active Directory domain.","author":"frack113","status":"test","level":"low","date":"2022-03-17","modified":"","tags":["attack.discovery","attack.t1201"],"technique_ids":["T1201"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Legitimate PowerShell scripts"],"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"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_susp_get_addefaultdomainpasswordpolicy.yml","source_sha256":"5e88b036248385a5594fe79670e8fdff47c0736fb97f393f4d9546f350e870ad","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_susp_get_addefaultdomainpasswordpolicy.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Password Policy Discovery With Get-AdDefaultDomainPasswordPolicy\nid: bbb9495b-58fc-4016-b9df-9a3a1b67ca82\nstatus: test\ndescription: Detetcts PowerShell activity in which Get-Addefaultdomainpasswordpolicy is used to get the default password policy for an Active Directory domain.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1201/T1201.md#atomic-test-9---enumerate-active-directory-password-policy-with-get-addefaultdomainpasswordpolicy\n    - https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-addefaultdomainpasswordpolicy?view=windowsserver2022-ps\nauthor: frack113\ndate: 2022-03-17\ntags:\n    - attack.discovery\n    - attack.t1201\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection:\n        ScriptBlockText|contains: Get-AdDefaultDomainPasswordPolicy\n    condition: selection\nfalsepositives:\n    - Legitimate PowerShell scripts\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1201","id":"T1201","name":"Password Policy Discovery","page":"techniques/enterprise/T1201/"}],"data_path":"data/detection-rules/bbb9495b-58fc-4016-b9df-9a3a1b67ca82.json","kind":"sigma"}
