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 "\System\" and 
 action_registry_key_name contains "ControlSet" and 
 action_registry_key_name contains "\Services\") and 
 action_registry_key_name contains "\Parameters\ServiceDll") and 
 (not 
 ((action_registry_value_name = "C:\Windows\system32\spool\drivers\x64\3\PrintConfig.dll" or 
 action_registry_data = "C:\Windows\system32\spool\drivers\x64\3\PrintConfig.dll") or 
 (actor_process_image_path = "C:\Windows\system32\lsass.exe" and 
 action_registry_key_name contains "\Services\NTDS\Parameters\ServiceDll" and 
 (action_registry_value_name = "%%systemroot%%\system32\ntdsa.dll" or 
 action_registry_data = "%%systemroot%%\system32\ntdsa.dll")) or 
 actor_process_image_path = "C:\Windows\System32\poqexec.exe")) and 
 (not 
 (actor_process_image_path contains "\regsvr32.exe" and 
 (action_registry_value_name = "C:\Windows\System32\STAgent.dll" or 
 action_registry_data = "C:\Windows\System32\STAgent.dll")))))