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 in ("*\SOFTWARE\Microsoft\Windows Defender\*", "*\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\*", "*\SOFTWARE\Policies\Microsoft\Windows Defender\*")) and 
 (((action_registry_key_name in ("*\DisableAntiSpyware", "*\DisableAntiVirus", "*\DisableBehaviorMonitoring", "*\DisableBlockAtFirstSeen", "*\DisableEnhancedNotifications", "*\DisableIntrusionPreventionSystem", "*\DisableIOAVProtection", "*\DisableOnAccessProtection", "*\DisableRealtimeMonitoring", "*\DisableScanOnRealtimeEnable", "*\DisableScriptScanning")) and 
 (action_registry_value_name = "DWORD (0x00000001)" or 
 action_registry_data = "DWORD (0x00000001)")) or 
 ((action_registry_key_name in ("*\DisallowExploitProtectionOverride", "*\Features\TamperProtection", "*\MpEngine\MpEnablePus", "*\PUAProtection", "*\Signature Update\ForceUpdateFromMU", "*\SpyNet\SpynetReporting", "*\SpyNet\SubmitSamplesConsent", "*\Windows Defender Exploit Guard\Controlled Folder Access\EnableControlledFolderAccess")) and 
 (action_registry_value_name = "DWORD (0x00000000)" or 
 action_registry_data = "DWORD (0x00000000)"))) and 
 (not 
 (actor_process_image_path contains "C:\Program Files\Symantec\Symantec Endpoint Protection\" and 
 actor_process_image_path contains "\sepWscSvc64.exe"))))