Contents of Windows Vault were enumerated.
Enumeration of vault to discover stored credentials before harvesting them. Tools: vaultcmd /listcreds, CmdKey /list.
Alert: vault enumeration by unexpected processes or users.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Credential Access | Windows Credential Manager (T1555.004) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 5381 // Vault credentials were listed
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=5381
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# Vault credentials were listed — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Vault credentials were listed. Contents of Windows Vault were enumerated.
Event 5381 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Credential Manager' subcategory (Success and/or Failure).
Event 5381 is associated with: Windows Credential Manager (T1555.004).
Alert: vault enumeration by unexpected processes or users.