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 "\SharPersist.exe" or 
 action_process_signature_product = "SharPersist") or 
 (action_process_image_command_line in ("* -t schtask -c *", "* -t startupfolder -c *")) or 
 (action_process_image_command_line contains " -t reg -c " and 
 action_process_image_command_line contains " -m add") or 
 (action_process_image_command_line contains " -t service -c " and 
 action_process_image_command_line contains " -m add") or 
 (action_process_image_command_line contains " -t schtask -c " and 
 action_process_image_command_line contains " -m add")))