Cortex XDR endpoint (xdr_data): A1 to A5, A9 and A10 convertible to BIOCs, all as correlation rules
XQL A1. Web or database service spawns a shell or download tool (Linux) xdr_data · medium Threat Brief · experimental
// Threat Brief · ARTEX · A1 · web or database service spawns a shell or downloader (Linux) · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and agent_os_type = ENUM.AGENT_OS_LINUX
| filter actor_process_image_name in ("nginx", "httpd", "apache2", "java", "node", "mysqld", "mariadbd", "postgres") or actor_process_image_name ~= "^php-fpm"
| filter action_process_image_name in ("sh", "bash", "dash", "curl", "wget", "nc", "ncat", "socat", "busybox")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line
After exploiting a web application, ARTEX agents run discovery and pull tooling from the service process in short bursts. Adapted from ThreatDefence rules (MIT licence). False positives: Applications that run shell scripts by design: exclude by host or command line.
XQL A2. Web or database service spawns a shell or system tool (Windows) xdr_data · medium Threat Brief · experimental
// Threat Brief · ARTEX · A2 · web or database service spawns a shell or system tool (Windows) · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and agent_os_type = ENUM.AGENT_OS_WINDOWS
| filter actor_process_image_name in ("w3wp.exe", "httpd.exe", "tomcat.exe", "java.exe", "node.exe", "php-cgi.exe", "sqlservr.exe", "mysqld.exe")
| filter action_process_image_name in ("cmd.exe", "powershell.exe", "pwsh.exe", "curl.exe", "certutil.exe", "bitsadmin.exe", "whoami.exe", "tasklist.exe")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line
Same behaviour as A1 on Windows: IIS, Tomcat, Node, PHP or a database starting cmd, PowerShell, certutil or whoami. Adapted from ThreatDefence rules (MIT licence). False positives: Business applications that call system tools: baseline each server.
XQL A3. SQL Server spawns a shell through xp_cmdshell xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A3 · SQL Server spawns a shell through xp_cmdshell · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and actor_process_image_name = "sqlservr.exe"
| filter action_process_image_name in ("cmd.exe", "powershell.exe", "pwsh.exe", "certutil.exe", "bitsadmin.exe")
| fields _time, agent_hostname, actor_effective_username, action_process_image_name, action_process_image_command_line
SQL Server toolkit seen with ARTEX operators: xp_cmdshell starts cmd or PowerShell to drop a Gh0st RAT and a miner. Adapted from ThreatDefence rules (MIT licence). False positives: Administration jobs that use xp_cmdshell.
XQL A4. ARTEX artifact names in command lines xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A4 · ARTEX artifact names in command lines · experimental config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS | filter action_process_image_command_line ~= "artex-probe-|artexprobe|artx5v|art18-|artex_write_probe|artx_persist_ok|artex_control_marker_zz9q" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line
Probe markers, the ArtexProbe account created by the agents, the artx5v working folder (VAPOR PANDA) and the art18- command prefix. Adapted from ThreatDefence rules (MIT licence). False positives: Authorised red team exercises using ARTEX.
github.comcloud.google.comwww.crowdstrike.comthreatdefence.com
XQL A5. ARTEX intrusion files: JSP web shells, probe files and working folder xdr_data · critical Threat Brief · experimental
// Threat Brief · ARTEX · A5 · ARTEX JSP web shells and probe files · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE
| filter action_file_name in ("cl1217.jsp", "f1219a.jsp", "z1219.jsp", "zzartx0000.php") or action_file_name ~= "^artex-probe-" or action_file_path ~= "programdata.artx5v."
| fields _time, agent_hostname, actor_process_image_name, actor_process_command_line, action_file_path, action_file_sha256
JSP web shells written through MySQL log redirection, artex-probe- files and the artx5v folder. Adapted from ThreatDefence rules (MIT licence). False positives: Authorised red team exercises using ARTEX.
github.comcloud.google.comwww.crowdstrike.comthreatdefence.com
XQL A6. BLOODALCHEMY loader files outside OBS Studio (VAPOR PANDA) xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A6 · BLOODALCHEMY loader files outside OBS Studio · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE and action_file_name in ("graphics-hook-filter64.dll", "graphics-hook_config.bin")
| filter not (action_file_path ~= "obs-studio|streamlabs")
| fields _time, agent_hostname, actor_process_image_name, actor_process_image_path, action_file_path, action_file_sha256
VAPOR PANDA abuses the OBS GameHook binary to load BLOODALCHEMY; the file names are OBS's own, hence the exclusion of its folders. Adapted from ThreatDefence rules (MIT licence). False positives: OBS or capture software installed outside its usual folder.
XQL A7. svchost.exe running outside the Windows system folders xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A7 · svchost.exe running outside the Windows system folders · experimental config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and action_process_image_name = "svchost.exe" | filter not (action_process_image_path ~= "^c:.windows.(?:system32|syswow64|winsxs).") | fields _time, agent_hostname, actor_process_image_name, action_process_image_path, action_process_image_command_line, action_process_image_sha256
VAPOR PANDA runs the GameHook binary renamed svchost.exe from a user folder. Adapted from ThreatDefence rules (MIT licence). False positives: Rare: security or analysis tools copying svchost.
XQL A8. System binary or Edge updater running from the wrong folder xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A8 · system binary or Edge updater running from the wrong folder · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and agent_os_type = ENUM.AGENT_OS_WINDOWS
| filter (action_process_image_name in ("smss.exe", "winlogon.exe", "dllhost.exe", "sihost.exe") and not (action_process_image_path ~= "^c:.windows.(?:system32|syswow64).")) or (action_process_image_name = "microsoftedgeupdate.exe" and not (action_process_image_path ~= "microsoft.edgeupdate.|microsoft.temp."))
| fields _time, agent_hostname, actor_process_image_name, action_process_image_path, action_process_image_command_line, action_process_image_sha256
The SQL Server toolkit drops an XMRig miner named MicrosoftEdgeUpdate.exe and a Gh0st RAT named winlogon.exe. Adapted from ThreatDefence rules (MIT licence). False positives: Edge installed outside its standard path.
XQL A9. Scheduled task disguised as a Microsoft Edge update xdr_data · critical Threat Brief · experimental
// Threat Brief · ARTEX · A9 · scheduled task disguised as Microsoft Edge update · experimental config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and action_process_image_name = "schtasks.exe" | filter action_process_image_command_line ~= "cec15d9b-f4bb-446a-b6e1-c61e74b016a2|4c33ce3f-7722-4257-af83-351a4911c159|microsoft_updates" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_command_line
Task GUIDs created by the SQL Server toolkit to restart the dropper and the miner. Adapted from ThreatDefence rules (MIT licence).
XQL A10. DNS queries or connections to ARTEX infrastructure xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A10 · DNS or connection to ARTEX infrastructure and payload hosts · experimental config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.NETWORK | filter dns_query_name ~= "(?:^|[.])(?:artex[.]lol|artex[.]tokena2b[.]top|artex[.]ok7777[.]eu[.]cc|artex[.]noog2infra[.]site|nginxmysql[.]com|sqlserver-sqlite[.]com|ddduuuppp[.]com|vietnam852[.]com|zhzy999[.]net|jiancai008[.]com)$" or action_external_hostname ~= "(?:^|[.])(?:artex[.]lol|artex[.]tokena2b[.]top|artex[.]ok7777[.]eu[.]cc|artex[.]noog2infra[.]site|nginxmysql[.]com|sqlserver-sqlite[.]com|ddduuuppp[.]com|vietnam852[.]com|zhzy999[.]net|jiancai008[.]com)$" | fields _time, agent_hostname, actor_process_image_name, actor_process_command_line, dns_query_name, action_external_hostname, action_remote_ip
BLOODALCHEMY command and control domains and payload hosts of operator toolkits; the same are in the indicator feed (ARTEX campaign). Adapted from ThreatDefence rules (MIT licence). False positives: Check that DNS events are collected on your agents.
github.comwww.crowdstrike.comwww.fortinet.comthreatdefence.com
XQL A11. Remote tasklist fan-out from one host (correlation) xdr_data · high Threat Brief · experimental
// Threat Brief · ARTEX · A11 · remote tasklist fan-out from one host · experimental config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and action_process_image_name = "tasklist.exe" | filter action_process_image_command_line ~= "[ ][/-]s[ ]" | bin _time span = 10m | comp count() as remote_listings, values(action_process_image_command_line) as cmds by agent_hostname, actor_effective_username, _time | filter remote_listings >= 10
At least 10 remote process listings within 10 minutes from one host: defence inventory before lateral movement. Adapted from ThreatDefence rules (MIT licence). False positives: Inventory or monitoring tools.