imProcessCreate | where (TargetProcessCommandLine endswith "cmd.exe /C whoami" and (ParentProcessName startswith "C:\\Temp\\" or ActingProcessName startswith "C:\\Temp\\")) or (((ParentProcessName endswith "\\runonce.exe" or ParentProcessName endswith "\\dllhost.exe") or (ActingProcessName endswith "\\runonce.exe" or ActingProcessName endswith "\\dllhost.exe")) and (TargetProcessCommandLine contains "cmd.exe /c echo" and TargetProcessCommandLine contains "> \\\\.\\pipe")) or ((ActingProcessCommandLine contains "cmd.exe /C echo" and ActingProcessCommandLine contains " > \\\\.\\pipe") and TargetProcessCommandLine endswith "conhost.exe 0xffffffff -ForceV1") or (ActingProcessCommandLine endswith "/C whoami" and TargetProcessCommandLine endswith "conhost.exe 0xffffffff -ForceV1")