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_MAC and 
 ((action_process_image_path contains "/dscl" and 
 (action_process_image_command_line contains "list" and 
 action_process_image_command_line contains "/users")) or 
 (action_process_image_path contains "/dscacheutil" and 
 (action_process_image_command_line contains "-q" and 
 action_process_image_command_line contains "user")) or 
 action_process_image_command_line contains "'x:0:'" or 
 (action_process_image_path contains "/cat" and 
 (action_process_image_command_line in ("*/etc/passwd*", "*/etc/sudoers*"))) or 
 action_process_image_path contains "/id" or 
 (action_process_image_path contains "/lsof" and 
 action_process_image_command_line contains "-u")))