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 "\Control\WMI\Autologger\" and 
 ((action_registry_key_name in ("*\EventLog-*", "*\Defender*")) and 
 (action_registry_key_name in ("*\Enabled", "*\Start")) and 
 (action_registry_value_name = "DWORD (0x00000000)" or 
 action_registry_data = "DWORD (0x00000000)"))) and 
 (not 
 (actor_process_image_path = "C:\Windows\system32\wevtutil.exe" or 
 ((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" and 
 (action_registry_key_name in ("*\DefenderApiLogger\*", "*\DefenderAuditLogger\*")))))))