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 "reg " and 
 action_process_image_command_line contains "add") or 
 (action_process_image_command_line in ("*powershell*", "*set-itemproperty*", "* sp *", "*new-itemproperty*"))) and 
 ((action_process_integrity_level in ("Medium", "S-1-16-8192")) and 
 (action_process_image_command_line contains "ControlSet" and 
 action_process_image_command_line contains "Services") and 
 (action_process_image_command_line in ("*ImagePath*", "*FailureCommand*", "*ServiceDLL*")))))