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_command_line contains "sc " and 
 action_process_image_command_line contains "config " and 
 action_process_image_command_line contains "binpath=") or 
 (action_process_image_command_line contains "sc " and 
 action_process_image_command_line contains "failure" and 
 action_process_image_command_line contains "command=")) or 
 (((action_process_image_command_line contains "reg " and 
 action_process_image_command_line contains "add " and 
 action_process_image_command_line contains "FailureCommand") or 
 (action_process_image_command_line contains "reg " and 
 action_process_image_command_line contains "add " and 
 action_process_image_command_line contains "ImagePath")) and 
 (action_process_image_command_line in ("*.sh*", "*.exe*", "*.dll*", "*.bin$*", "*.bat*", "*.cmd*", "*.js*", "*.msh$*", "*.reg$*", "*.scr*", "*.ps*", "*.vb*", "*.jar*", "*.pl*")))))