config case_sensitive = false | preset=xdr_registry | filter (event_type = ENUM.REGISTRY and 
 (event_sub_type in (ENUM.REGISTRY_DELETE_KEY, ENUM.REGISTRY_DELETE_VALUE))) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 ((action_registry_key_name in ("*{2781761E-28E0-4109-99FE-B9D127C57AFE}", "*{A7C452EF-8E9F-42EB-9F2B-245613CA0DC9}")) and 
 (not 
 ((actor_process_image_path in ("C:\ProgramData\Microsoft\Windows Defender\Platform\*", "C:\Program Files\Windows Defender\*", "C:\Program Files (x86)\Windows Defender\*")) and 
 actor_process_image_path contains "\MsMpEng.exe"))))