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 ("*Control Panel\Desktop*", "*CurrentVersion\Policies\ActiveDesktop*", "*CurrentVersion\Policies\System*")) and 
 ((action_registry_key_name contains "NoChangingWallpaper" and 
 (action_registry_value_name = "DWORD (0x00000001)" or 
 action_registry_data = "DWORD (0x00000001)")) or 
 action_registry_key_name contains "\Wallpaper" or 
 (action_registry_key_name contains "\WallpaperStyle" and 
 (action_registry_value_name = "2" or 
 action_registry_data = "2"))) and 
 (not 
 (actor_process_image_path contains "\svchost.exe" or 
 (action_registry_key_name contains "\Control Panel\Desktop\Wallpaper" and 
 (action_registry_value_name = "(Empty)" or 
 action_registry_data = "(Empty)")) or 
 actor_process_image_path contains "C:\Windows\Explorer.EXE")) and 
 (not 
 ((actor_process_image_path in ("C:\Program Files\Amazon\EC2Launch\EC2Launch.exe", "C:\Program Files (x86)\Amazon\EC2Launch\EC2Launch.exe")) and 
 action_registry_key_name contains "\Control Panel\Desktop\Wallpaper"))))