imProcessCreate | where (((ParentProcessName endswith "\\wmiprvse.exe" or ParentProcessName endswith "\\mmc.exe" or ParentProcessName endswith "\\explorer.exe" or ParentProcessName endswith "\\services.exe") or (ActingProcessName endswith "\\wmiprvse.exe" or ActingProcessName endswith "\\mmc.exe" or ActingProcessName endswith "\\explorer.exe" or ActingProcessName endswith "\\services.exe")) and (TargetProcessCommandLine contains "cmd.exe" and TargetProcessCommandLine contains "/Q" and TargetProcessCommandLine contains "/c" and TargetProcessCommandLine contains "\\\\127.0.0.1\\" and TargetProcessCommandLine contains "&1")) or ((ActingProcessCommandLine contains "svchost.exe -k netsvcs" or ActingProcessCommandLine contains "taskeng.exe") and (TargetProcessCommandLine contains "cmd.exe" and TargetProcessCommandLine contains "/C" and TargetProcessCommandLine contains "Windows\\Temp\\" and TargetProcessCommandLine contains "&1"))