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_image_path contains "aspera" and 
 actor_process_image_path contains "\ruby") and 
 (((action_process_image_path in ("*\powershell.exe", "*\powershell_ise.exe")) and 
 ((action_process_image_command_line in ("* echo *", "*-dumpmode*", "*-ssh*", "*.dmp*", "*add-MpPreference*", "*adscredentials*", "*bitsadmin*", "*certutil*", "*csvhost.exe*", "*DownloadFile*", "*DownloadString*", "*dsquery*", "*ekern.exe*", "*FromBase64String*", "*iex *", "*iex(*", "*Invoke-Expression*", "*Invoke-WebRequest*", "*localgroup administrators*", "*o365accountconfiguration*", "*samaccountname=*", "*set-MpPreference*", "*svhost.exe*", "*System.IO.Compression*", "*System.IO.MemoryStream*", "*usoprivate*", "*usoshared*", "*whoami*")) or 
 (action_process_image_command_line ~= "[-/–][Ee^]{1,2}[ncodema^]*\s[A-Za-z0-9+/=]{15,}" or 
 action_process_image_command_line ~= "net\s+user" or 
 action_process_image_command_line ~= "net\s+group" or 
 action_process_image_command_line ~= "query\s+session"))) or 
 (action_process_image_command_line contains "lsass" and 
 (action_process_image_command_line in ("*procdump*", "*tasklist*", "*findstr*"))) or 
 ((action_process_image_path contains "\wget.exe" and 
 action_process_image_command_line contains "http") or 
 (action_process_image_path contains "\curl.exe" and 
 action_process_image_command_line contains "http") or 
 (action_process_image_command_line in ("*E:jscript*", "*e:vbscript*")) or 
 (action_process_image_command_line contains "localgroup Administrators" and 
 action_process_image_command_line contains "/add") or 
 (action_process_image_command_line contains "net" and 
 (action_process_image_command_line contains "user" and 
 action_process_image_command_line contains "/add")) or 
 ((action_process_image_command_line contains "reg add" and 
 action_process_image_command_line contains "DisableAntiSpyware" and 
 action_process_image_command_line contains "\Microsoft\Windows Defender") or 
 (action_process_image_command_line contains "reg add" and 
 action_process_image_command_line contains "DisableRestrictedAdmin" and 
 action_process_image_command_line contains "CurrentControlSet\Control\Lsa")) or 
 (action_process_image_command_line contains "wmic" and 
 action_process_image_command_line contains "process call create") or 
 (action_process_image_command_line contains "wmic" and 
 action_process_image_command_line contains "delete" and 
 action_process_image_command_line contains "shadowcopy") or 
 (action_process_image_command_line contains "vssadmin" and 
 action_process_image_command_line contains "delete" and 
 action_process_image_command_line contains "shadows") or 
 (action_process_image_command_line contains "wbadmin" and 
 action_process_image_command_line contains "delete" and 
 action_process_image_command_line contains "catalog")))))