Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 414 Bytes

File metadata and controls

8 lines (5 loc) · 414 Bytes

HuntFor.ps1

Quick tool to search the Sysmon Operational log for ProcessCreate events with a specific CommandLine.

In the code that's in this repo, it's looking for the WebClient service being started. Change the $script:huntfor regex to whatever you want.

When a match it found, it writes the source Computer Name, UtcTime from the event, and CommandLine to the console.

HuntFor.ps1 Example