PowerShell Credential Manager enumeration via vaultcmd /listcreds
Flags PowerShell using vaultcmd /listcreds to enumerate Windows/Web credential manager stored entries.
- Product
- windows
- Category
- ps_script
- Author
- frack113 (SigmaHQ), DRL 1.1
- Published
- 2021-12-20
- Updated
- 2026-07-31
ATT&CK techniques
Cred AccessRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies PowerShell script block content that invokes vaultcmd to list stored credentials using the /listcreds parameter. Attackers can use this to enumerate credential entries from Windows Credential Manager categories, potentially enabling credential access before attempting further abuse. It relies on PowerShell Script Block Logging telemetry that captures ScriptBlockText containing the relevant vaultcmd and option strings.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: PowerShell Credential Manager enumeration via vaultcmd /listcreds
id: 63421c5a-143a-47f3-b5e8-3be94024825a
status: test
description: This rule identifies PowerShell script block content that invokes vaultcmd to list stored credentials using the /listcreds parameter. Attackers can use this to enumerate credential entries from Windows Credential Manager categories, potentially enabling credential access before attempting further abuse. It relies on PowerShell Script Block Logging telemetry that captures ScriptBlockText containing the relevant vaultcmd and option strings.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1555/T1555.md
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/powershell/powershell_script/posh_ps_enumerate_password_windows_credential_manager.yml
author: frack113, Huntrule Team
date: 2021-12-20
modified: 2022-12-25
tags:
- attack.credential-access
- attack.t1555
logsource:
product: windows
category: ps_script
definition: "Requirements: Script Block Logging must be enabled"
detection:
selection_cmd:
ScriptBlockText|contains|all:
- vaultcmd
- "/listcreds:"
selection_option:
ScriptBlockText|contains:
- Windows Credentials
- Web Credentials
condition: all of selection_*
falsepositives:
- Unknown
level: medium
license: DRL-1.1
related:
- id: 603c6630-5225-49c1-8047-26c964553e0e
type: derived