Application client context creation attempt. COM-related event.
COM-based lateral movement techniques may trigger this. Minimal standalone value.
No standalone alerting. Use for COM attack chain investigation.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 4665 // An attempt was made to create an application client context
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=4665
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# An attempt was made to create an application client context — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
An attempt was made to create an application client context. Application client context creation attempt. COM-related event.
Event 4665 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Object Access' subcategory (Success and/or Failure).
No standalone alerting. Use for COM attack chain investigation.