config case_sensitive = false | preset=xdr_registry | filter (event_type = ENUM.REGISTRY and 
 event_sub_type = ENUM.REGISTRY_SET_VALUE) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 ((action_registry_key_name contains "Security\Trusted Locations\Location" and 
 action_registry_key_name contains "\Path") and 
 (not 
 ((actor_process_image_path contains ":\Program Files\Common Files\Microsoft Shared\ClickToRun\" and 
 actor_process_image_path contains "\OfficeClickToRun.exe") or 
 (actor_process_image_path in ("*:\Program Files\Microsoft Office\*", "*:\Program Files (x86)\Microsoft Office\*"))))))