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 "\Shell\Open\Command" and 
 ((action_registry_value_name in ("*powershell*", "*pwsh*")) or 
 (action_registry_data in ("*powershell*", "*pwsh*"))) and 
 (action_registry_value_name contains "System.Security.Cryptography." or 
 action_registry_data contains "System.Security.Cryptography.") and 
 ((action_registry_value_name in ("*.AesCryptoServiceProvider*", "*.DESCryptoServiceProvider*", "*.DSACryptoServiceProvider*", "*.RC2CryptoServiceProvider*", "*.Rijndael*", "*.RSACryptoServiceProvider*", "*.TripleDESCryptoServiceProvider*")) or 
 (action_registry_data in ("*.AesCryptoServiceProvider*", "*.DESCryptoServiceProvider*", "*.DSACryptoServiceProvider*", "*.RC2CryptoServiceProvider*", "*.Rijndael*", "*.RSACryptoServiceProvider*", "*.TripleDESCryptoServiceProvider*")))))