P Sexec Named Pipe
Query
Tags:
Query:
DeviceEvents
| where ActionType contains "pipe"
| extend parsed = parse_json(AdditionalFields)
| where parsed.PipeName contains "psexesvc"
References:Explanation
This KQL (Kusto Query Language) query is designed to search through device event logs for specific activities related to a particular type of named pipe. Here's a simple breakdown of what the query does:
- Data Source: It starts by looking at the
DeviceEventstable. - Filter by ActionType: It filters the events to only include those where the
ActionTypefield contains the word "pipe". - Parse JSON: It then parses the
AdditionalFieldscolumn as JSON and creates a new column calledparsed. - Filter by PipeName: Finally, it filters the results further to include only those events where the
PipeNamefield within the parsed JSON contains the string "psexesvc".
In summary, this query is looking for device events involving pipes, specifically those where the pipe name includes "psexesvc".
Details

Ali Hussein
Released: October 11, 2023
Tables
DeviceEvents
Keywords
DeviceEvents
Operators
containsextendparse_jsonwhere