config case_sensitive = false | preset=xdr_file | filter event_type = ENUM.FILE and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 ((action_file_name contains "C:\Users\" and 
 action_file_name contains "\AppData\" and 
 (action_file_name in ("*.bat", "*.cmd", "*.cpl", "*.dll", "*.exe", "*.hta", "*.iso", "*.lnk", "*.msi", "*.ps1", "*.psm1", "*.scr", "*.vbe", "*.vbs"))) and 
 (not 
 (action_file_name contains "C:\Users\" and 
 (action_file_name in ("*\AppData\Local\*", "*\AppData\LocalLow\*", "*\AppData\Roaming\*"))))))