config case_sensitive = false | preset=xdr_process | filter (event_type = ENUM.PROCESS and 
 event_sub_type = ENUM.PROCESS_START) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 (((actor_process_command_line in ("*.exe", "*.exe\"")) and 
 action_process_image_path contains "\cmd.exe" and 
 action_process_image_command_line contains "/c echo \"") and 
 (not 
 ((actor_process_image_path in ("*:\Windows\System32\*", "*:\Windows\SysWOW64\*")) and 
 actor_process_image_path contains "\forfiles.exe" and 
 (action_process_image_path in ("*:\Windows\System32\*", "*:\Windows\SysWOW64\*")) and 
 action_process_image_path contains "\cmd.exe"))))