config case_sensitive = false | preset=xdr_file | filter event_type = ENUM.FILE and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 (((actor_process_image_path in ("*\winword.exe", "*\excel.exe", "*\powerpnt.exe", "*\MSACCESS.EXE", "*\MSPUB.EXE", "*\fltldr.exe", "*\cmd.exe", "*\certutil.exe", "*\mshta.exe", "*\cscript.exe", "*\wscript.exe", "*\curl.exe", "*\powershell.exe", "*\pwsh.exe")) and 
 action_file_name contains ".dll" and 
 (action_file_name contains "\Users\" and 
 action_file_name contains "\AppData\") and 
 (action_file_name in ("*\Microsoft\OneDrive\*", "*\Microsoft OneDrive\*", "*\Microsoft\Teams\*", "*\Local\slack\app-*", "*\Local\Programs\Microsoft VS Code\*"))) and 
 (not 
 (actor_process_image_path contains "\cmd.exe" and 
 (action_file_name contains "\Users\" and 
 action_file_name contains "\AppData\" and 
 action_file_name contains "\Microsoft\OneDrive\" and 
 action_file_name contains "\api-ms-win-core-")))))