Skip to content

Instantly share code, notes, and snippets.

@MyITGuy
Created February 6, 2025 19:33
Show Gist options
  • Save MyITGuy/3aa5c4683e489f415196ced3262b4df1 to your computer and use it in GitHub Desktop.
Save MyITGuy/3aa5c4683e489f415196ced3262b4df1 to your computer and use it in GitHub Desktop.
index=uscc_is_workstation_windows SourceName="Microsoft-Windows-DistributedCOM" EventCode=10028
| rex field=Message "computer (?<HostName>.*) using"
| rex field=Message "PID.*\((?<ProcessPath>.*)\)"
| rex field=Message "CLSID.*\{(?<CLSID>.*)\}"
| eval Component=case(
CLSID = "8BC3F05E-D86B-11D0-A075-00C04FB68820", "Windows Management and Instrumentation",
CLSID = "3C3A70A7-A468-49B9-8ADA-28E11FCCAD5D", "RAServer",
1 = 1, CLSID
)
```| regex Message="ab950015400007U|a01d753600000DQ|a0307881900001M"```
| stats count by ComputerName,ProcessPath,Component,HostName
| sort count desc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment