config case_sensitive = false | preset=xdr_process | filter (event_type = ENUM.PROCESS and 
 event_sub_type = ENUM.PROCESS_START) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 ((action_process_image_path contains "\schtasks.exe" and 
 (action_process_image_command_line contains " /Change " and 
 action_process_image_command_line contains " /TN ")) and 
 (action_process_image_command_line in ("*\AppData\Local\Temp*", "*\AppData\Roaming\*", "*\Users\Public\*", "*\WINDOWS\Temp\*", "*\Desktop\*", "*\Downloads\*", "*\Temporary Internet*", "*C:\ProgramData\*", "*C:\Perflogs\*", "*%ProgramData%*", "*%appdata%*", "*%comspec%*", "*%localappdata%*")) and 
 (action_process_image_command_line in ("*regsvr32*", "*rundll32*", "*cmd /c *", "*cmd /k *", "*cmd /r *", "*cmd.exe /c *", "*cmd.exe /k *", "*cmd.exe /r *", "*powershell*", "*mshta*", "*wscript*", "*cscript*", "*certutil*", "*bitsadmin*", "*bash.exe*", "*bash *", "*scrcons*", "*wmic *", "*wmic.exe*", "*forfiles*", "*scriptrunner*", "*hh.exe*", "*hh *"))))