Credential Manager vault accessed via vaultcmd or keymgr
Matches process creation of vaultcmd.exe, the built-in command-line tool for listing and managing Windows Credential Manager vaults, or rundll32.exe invoked against keymgr.dll — the classic "Stored User Names and Passwords" applet AN0378 names as the process leg of vault access. Both are the concrete, single-event observable the analytic offers; the API-call leg (CredEnumerateA) produces no Windows event on its own, and the file-access leg the brief maps to Sysmon EventID 15 (create_stream_hash) fires on alternate-data-stream creation, not on a read of an existing .vcrd file, so it cannot carry "someone opened this vault file" either. Security 4688 requires the Audit Process Creation subcategory, and CommandLine on top of that needs the separate Include command line in process creation events policy — neither is on by default. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0134, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Sentinel · KQL
Run this as a search.
DeviceProcessEvents| where (FolderPath endswith "\\vaultcmd.exe" or (FolderPath endswith "\\rundll32.exe" and ProcessCommandLine contains "keymgr.dll"))
Splunk · SPL
Run this as a search.
index=* (Image="*\\vaultcmd.exe" OR (Image="*\\rundll32.exe" AND CommandLine="*keymgr.dll*"))Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*\\\\vaultcmd.exe" OR (TO_LOWER(process.executable) LIKE "*\\\\rundll32.exe" AND TO_LOWER(process.command_line) LIKE "*keymgr.dll*"))
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,process_creation,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <!-- 2 rules: the Sigma condition ORs across different fields, which one rule cannot express. Any one matching is a hit. --> <rule id="100000" level="12"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\vaultcmd\.exe$</field> <description>Credential Manager vault accessed via vaultcmd or keymgr (1/2)</description> <mitre> <id>T1555.004</id> </mitre> </rule> <rule id="100001" level="12"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\rundll32\.exe$</field> <field name="CommandLine" type="pcre2">(?i)keymgr\.dll</field> <description>Credential Manager vault accessed via vaultcmd or keymgr (2/2)</description> <mitre> <id>T1555.004</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.