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 "/Create ") and 
 (((action_process_image_command_line in ("*/sc minute *", "*/ru system *")) and 
 (action_process_image_command_line in ("*cmd /c*", "*cmd /k*", "*cmd /r*", "*cmd.exe /c *", "*cmd.exe /k *", "*cmd.exe /r *"))) or 
 (action_process_image_command_line in ("* -decode *", "* -enc *", "* -w hidden *", "* bypass *", "* IEX*", "*.DownloadData*", "*.DownloadFile*", "*.DownloadString*", "*/c start /min *", "*FromBase64String*", "*mshta http*", "*mshta.exe http*")) or 
 ((action_process_image_command_line in ("*:\ProgramData\*", "*:\Temp\*", "*:\Tmp\*", "*:\Users\Public\*", "*:\Windows\Temp\*", "*\AppData\*", "*%AppData%*", "*%Temp%*", "*%tmp%*")) and 
 (action_process_image_command_line in ("*cscript*", "*curl*", "*wscript*"))))))