Sigma rule: Dump Credentials from Windows Credential Manager With PowerShell
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-0fc2d0b214da, updated 2022-12-25T00:00:00.000Z.
Rule
- Title
- Dump Credentials from Windows Credential Manager With PowerShell
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2021-12-20
- Modified
- 2022-12-25
- File
- rules/windows/powershell/powershell_script/posh_ps_dump_password_windows_credential_manager.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Adversaries may search for common password storage locations to obtain user credentials.
Passwords are stored in several places on a system, depending on the operating system or application holding the credentials.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection_kiddie:
ScriptBlockText|contains:
- 'Get-PasswordVaultCredentials'
- 'Get-CredManCreds'
selection_rename_Password:
ScriptBlockText|contains|all:
- 'New-Object'
- 'Windows.Security.Credentials.PasswordVault'
selection_rename_credman:
ScriptBlockText|contains|all:
- 'New-Object'
- 'Microsoft.CSharp.CSharpCodeProvider'
- '[System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory())'
- 'Collections.ArrayList'
- 'System.CodeDom.Compiler.CompilerParameters'
condition: 1 of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.credential-access
- attack.t1555
MITRE ATT&CK ids this rule names
References
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_dump_password_windows_credential_manager.yml
Sources and licences
SigmaHQ
"Dump Credentials from Windows Credential Manager With PowerShell" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_dump_password_windows_credential_manager.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: Dump Credentials from Windows Credential Manager With PowerShell",
entity page, dataset version ref-0fc2d0b214da, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/99c49d9c-34ea-45f7-84a7-4751ae6b2cbc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 99c49d9c-34ea-45f7-84a7-4751ae6b2cbc, 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.