SELECT * FROM events WHERE devicetype=12 AND LOWER("Parent Process Path") LIKE '%\pdqdeployrunner-%' AND (((LOWER("Process Path") LIKE '%\bash.exe' OR LOWER("Process Path") LIKE '%\certutil.exe' OR LOWER("Process Path") LIKE '%\cmd.exe' OR LOWER("Process Path") LIKE '%\csc.exe' OR LOWER("Process Path") LIKE '%\cscript.exe' OR LOWER("Process Path") LIKE '%\dllhost.exe' OR LOWER("Process Path") LIKE '%\mshta.exe' OR LOWER("Process Path") LIKE '%\msiexec.exe' OR LOWER("Process Path") LIKE '%\regsvr32.exe' OR LOWER("Process Path") LIKE '%\rundll32.exe' OR LOWER("Process Path") LIKE '%\scriptrunner.exe' OR LOWER("Process Path") LIKE '%\wmic.exe' OR LOWER("Process Path") LIKE '%\wscript.exe' OR LOWER("Process Path") LIKE '%\wsl.exe') OR (LOWER("Process Name") LIKE '%\bash.exe' OR LOWER("Process Name") LIKE '%\certutil.exe' OR LOWER("Process Name") LIKE '%\cmd.exe' OR LOWER("Process Name") LIKE '%\csc.exe' OR LOWER("Process Name") LIKE '%\cscript.exe' OR LOWER("Process Name") LIKE '%\dllhost.exe' OR LOWER("Process Name") LIKE '%\mshta.exe' OR LOWER("Process Name") LIKE '%\msiexec.exe' OR LOWER("Process Name") LIKE '%\regsvr32.exe' OR LOWER("Process Name") LIKE '%\rundll32.exe' OR LOWER("Process Name") LIKE '%\scriptrunner.exe' OR LOWER("Process Name") LIKE '%\wmic.exe' OR LOWER("Process Name") LIKE '%\wscript.exe' OR LOWER("Process Name") LIKE '%\wsl.exe')) OR ((LOWER("Process Path") LIKE '%:\programdata\%' OR LOWER("Process Path") LIKE '%:\users\public\%' OR LOWER("Process Path") LIKE '%:\windows\temp\%' OR LOWER("Process Path") LIKE '%\appdata\local\temp%') OR (LOWER("Process Name") LIKE '%:\programdata\%' OR LOWER("Process Name") LIKE '%:\users\public\%' OR LOWER("Process Name") LIKE '%:\windows\temp\%' OR LOWER("Process Name") LIKE '%\appdata\local\temp%')) OR (LOWER(Command) LIKE '% -decode %' OR LOWER(Command) LIKE '% -enc %' OR LOWER(Command) LIKE '% -encodedcommand %' OR LOWER(Command) LIKE '% -w hidden%' OR LOWER(Command) LIKE '%downloadstring%' OR LOWER(Command) LIKE '%frombase64string%' OR LOWER(Command) LIKE '%http%' OR LOWER(Command) LIKE '%iex %' OR LOWER(Command) LIKE '%invoke-%'))