Credentials were restored into Credential Manager from a backup.
Restoring credentials from attacker-controlled backup = credential injection into Credential Manager for persistent access.
Alert: restoration outside expected IT workflows. Verify backup source.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Persistence | Account Manipulation (T1098) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 5377 // Credential Manager credentials were restored from a backup
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=5377
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# Credential Manager credentials were restored from a backup — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Credential Manager credentials were restored from a backup. Credentials were restored into Credential Manager from a backup.
Event 5377 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Credential Manager' subcategory (Success and/or Failure).
Event 5377 is associated with: Account Manipulation (T1098).
Alert: restoration outside expected IT workflows. Verify backup source.