Blue team packs › Campaigns and actors › Offensive tool · version 1.1.1 · updated 2026-11-24
Pack · Campaigns and actors · Offensive tool

ARTEX: Cortex XQL pack

ARTEX is an open-source AI agent driven pentest framework used in real intrusions since August 2026 (Storm-0940, VAPOR PANDA, criminal operators).

v1.1.1version
19rules
19Cortex XQL
2parts
Threat Brief rules are experimental: checked automatically (Sigma parsed and converted to Splunk and Elasticsearch, YARA compiled, Cortex XQL reviewed but not executed), never tested on samples or on your data. Validate them in your environment before any production use; do not block on them alone. Provided without warranty, under the DRL 1.1 license.
Show Threat Brief rules
All formats 19 Sigma 0 Cortex XQL 19 YARA 0
The number is how many rules Threat Brief wrote in this format. Vendor and researcher rules are listed below.

By part

CRITICAL

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
tb-pack-artex-a1-service-web-ou-base-de-donn-es-qui-lance-un-shell-ou-un-o.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1059.004, T1505.003 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a2-service-web-ou-base-de-donn-es-qui-lance-un-shell-ou-un-o.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1059.001, T1059.003, T1505.003 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a3-sql-server-qui-lance-un-shell-xp-cmdshell.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1059.003, T1505.001 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a4-artefacts-artex-dans-les-lignes-de-commande.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1059, T1136 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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.

XQL A5. ARTEX intrusion files: JSP web shells, probe files and working folder xdr_data · critical Threat Brief · experimental
tb-pack-artex-a5-fichiers-d-intrusion-artex-web-shells-jsp-sondes-et-dossi.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1505.003, T1059 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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.

XQL A6. BLOODALCHEMY loader files outside OBS Studio (VAPOR PANDA) xdr_data · high Threat Brief · experimental
tb-pack-artex-a6-fichiers-du-chargeur-bloodalchemy-hors-d-obs-studio-vapor.xqlXSIAM correlation ruleDownload XQL query
// 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
xql: reviewed, not executed ATT&CK T1574.001 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a7-svchost-exe-lanc-hors-des-dossiers-syst-me.xqlXSIAM correlation ruleDownload XQL query
// 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
xql: reviewed, not executed ATT&CK T1036.005, T1574.001 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a8-binaire-syst-me-ou-edge-update-lanc-depuis-le-mauvais-dos.xqlXSIAM correlation ruleDownload XQL query
// 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
xql: reviewed, not executed ATT&CK T1036.005 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a9-t-che-planifi-e-d-guis-e-en-mise-jour-de-microsoft-edge.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1053.005 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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
tb-pack-artex-a10-requ-tes-dns-ou-connexions-vers-l-infrastructure-artex.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed ATT&CK T1071.001, T1105 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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.

XQL A11. Remote tasklist fan-out from one host (correlation) xdr_data · high Threat Brief · experimental
tb-pack-artex-a11-tasklist-distance-en-rafale-depuis-un-h-te-corr-lation.xqlXSIAM correlation ruleDownload XQL query
// 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
xql: reviewed, not executed ATT&CK T1057, T1518.001 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

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.

HIGH

Web, identity and cloud (modelled datasets and CloudTrail): dataset names and XDM fields to validate

XQL B1. ARTEX user agents in web, proxy, cloud and identity logs datamodel · high Threat Brief · experimental
tb-pack-artex-b1-user-agents-artex-dans-les-journaux-web-proxy-cloud-et-id.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B1 · ARTEX user agents in modeled web, proxy, cloud and identity logs · experimental
config case_sensitive = false
| datamodel dataset in (amazon_aws_raw, msft_azure_ad_raw, okta_sso_raw)
| filter xdm.source.user_agent ~= "artex-(?:readonly|pentest|audit|verify|spawn|enrich)/|artex-worker/|artex-i21861-canary|artex-authorized-pentest|mozilla/5[.]0 (?:artex|[(]artex[)])|artexverify/|artex/1[.]0|scopeweaver|spa-api-recon"
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.source.user.username, xdm.event.operation, xdm.network.http.url
xql: reviewed, not executed ATT&CK T1595.002, T1190, T1078.004 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

15 user agents naming ARTEX or its variants (ScopeWeaver, spa-api-recon). Add your WAF and proxy datasets to the list; dataset names to check on your tenant. Adapted from ThreatDefence rules (MIT licence). False positives: Authorised red team exercises using ARTEX.

XQL B2. ARTEX probe artifacts in requested URLs datamodel · high Threat Brief · experimental
tb-pack-artex-b2-artefacts-de-sonde-artex-dans-les-url.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B2 · ARTEX probe artifacts in requested URLs · experimental
config case_sensitive = false
| datamodel dataset in (amazon_aws_raw, msft_azure_ad_raw, okta_sso_raw)
| filter xdm.network.http.url ~= "/zzz-nonexistent-xyz123|zzz_nonexistent_abc[.]txt|notexist-xyz|artex_write_probe|artx_persist_ok|artex_control_marker_zz9q|artex-probe-|eyjhbgcioijub25lin0[.]|eyjhbgcioijub25liiwidhlwijoislduin0[.]|eyj0exaioijkv1qilcjhbgcioijub25lin0[.]|code=aaaa&state=notvalidb64"
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.url
xql: reviewed, not executed ATT&CK T1595.002, T1190, T1606.001 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

Placeholder paths, write markers, alg:none JWTs and the OAuth callback probe. Add your WAF, proxy and web server datasets. Adapted from ThreatDefence rules (MIT licence). False positives: Vulnerability scanners testing alg:none.

XQL B3. Entra ID password spray: one address against many accounts (correlation) datamodel · high Threat Brief · experimental
tb-pack-artex-b3-password-spray-entra-id-une-adresse-contre-de-nombreux-co.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B3 · password spray against many Entra ID accounts from one address · experimental
datamodel dataset = msft_azure_ad_raw
| filter xdm.event.outcome = XDM_CONST.OUTCOME_FAILED
| bin _time span = 30m
| comp count_distinct(xdm.source.user.username) as accounts, count() as failures by xdm.source.ipv4, _time
| filter accounts >= 20
xql: reviewed, not executed ATT&CK T1110.003 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

At least 20 failing accounts from one address within 30 minutes; Storm-0940 sprayed at a fixed one-second rhythm. Adapted from ThreatDefence rules (MIT licence). False positives: Shared NAT gateways or proxies.

XQL B4. Burst of EC2 DryRun calls from one identity (correlation) amazon_aws_raw · high Threat Brief · experimental
tb-pack-artex-b4-rafale-d-appels-ec2-dryrun-d-une-m-me-identit-corr-lation.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B4 · burst of EC2 DryRun calls from one identity · experimental
dataset = amazon_aws_raw
| filter eventSource = "ec2.amazonaws.com" and errorCode = "Client.DryRunOperation"
| alter arn = json_extract_scalar(userIdentity, "$.arn")
| bin _time span = 5m
| comp count() as dryruns, values(eventName) as apis by arn, sourceIPAddress, _time
| filter dryruns >= 10
xql: reviewed, not executed ATT&CK T1580 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

Permission testing without execution: at least 10 DryRun calls within 5 minutes. Adapted from ThreatDefence rules (MIT licence). False positives: Infrastructure as code tools validating their permissions.

XQL B5. AWS access denied sweep across many APIs (correlation) amazon_aws_raw · high Threat Brief · experimental
tb-pack-artex-b5-balayage-d-acc-s-refus-s-sur-de-nombreuses-api-aws-corr-l.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B5 · AWS access denied sweep across many APIs · experimental
dataset = amazon_aws_raw
| filter errorCode in ("AccessDenied", "AccessDeniedException", "UnauthorizedOperation", "Client.UnauthorizedOperation")
| alter arn = json_extract_scalar(userIdentity, "$.arn")
| bin _time span = 10m
| comp count_distinct(eventName) as apis, count() as denied by arn, sourceIPAddress, userAgent, _time
| filter apis >= 15
xql: reviewed, not executed ATT&CK T1580 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

At least 15 distinct APIs denied to the same identity within 10 minutes: permission enumeration. Adapted from ThreatDefence rules (MIT licence). False positives: Cloud configuration audit tools.

XQL B6. CloudWatch Logs searched for secrets amazon_aws_raw · medium Threat Brief · experimental
tb-pack-artex-b6-recherche-de-secrets-dans-cloudwatch-logs.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B6 · CloudWatch Logs searched for secrets · experimental
config case_sensitive = false
| dataset = amazon_aws_raw
| filter eventSource = "logs.amazonaws.com" and eventName = "FilterLogEvents"
| alter pattern = json_extract_scalar(requestParameters, "$.filterPattern")
| filter pattern ~= "password|akia|secret|token"
| fields _time, sourceIPAddress, userAgent, pattern, userIdentity
xql: reviewed, not executed ATT&CK T1552 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

FilterLogEvents with a password, AKIA, secret or token pattern. Adapted from ThreatDefence rules (MIT licence). False positives: Security teams hunting for leaked secrets.

XQL B7. Cognito sign-up with ARTEX artifacts amazon_aws_raw · high Threat Brief · experimental
tb-pack-artex-b7-inscription-cognito-avec-artefacts-artex.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B7 · Cognito sign-up with ARTEX artifacts · experimental
config case_sensitive = false
| dataset = amazon_aws_raw
| filter eventSource = "cognito-idp.amazonaws.com" and eventName = "SignUp"
| filter errorMessage contains "custom:isAdmin" or errorMessage contains "artex-" or to_json_string(requestParameters) contains "custom:isAdmin"
| fields _time, sourceIPAddress, userAgent, errorCode, errorMessage
xql: reviewed, not executed ATT&CK T1078.004, T1136.003 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

Attempt to set custom:isAdmin at sign-up, or artex-<random>.invalid domains. Adapted from ThreatDefence rules (MIT licence).

XQL B8. Credential added to an Entra ID application or role assigned to a service principal datamodel · medium Threat Brief · experimental
tb-pack-artex-b8-identifiants-ajout-s-une-application-entra-id-ou-r-le-att.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B8 · credential added to an Entra ID application or role assigned to a service principal · experimental
config case_sensitive = false
| datamodel dataset = msft_azure_ad_audit_raw
| filter xdm.event.operation in ("Update application - Certificates and secrets management", "Add service principal credentials", "Add app role assignment to service principal", "Add member to role")
| fields _time, xdm.source.user.username, xdm.source.ipv4, xdm.event.operation
xql: reviewed, not executed ATT&CK T1098.001, T1098.003 License DRL 1.1Source: ThreatDefence artex-detections (MIT)

Storm-0940 went through compromised applications. Noisy: correlate with ARTEX user agents and the password spray. Adapted from ThreatDefence rules (MIT licence). False positives: Routine application and role management.

Published by vendors and researchers

RuleFormatAuthorLicence
ThreatDefence artex-detections : Sigma, Sentinel, Splunk, Elastic, Suricata, Zeek, YARA, osquery (184 sourced indicators; do not use feeds/domains.txt as is (legitimate services mixed in))multiThreatDefenceMIT
artex-global: Sigma rules (5 atomic, 4 correlation) derived from the tool's code (artex-enrich/1.0 and artex-selfupdate User-Agents, guard audit marker, recording-proxy certificate; an operator can change these strings, so their absence proves nothing)sigmajiwoochris/artex-global maintainersAGPL-3.0 (link only)
artex-global: Suricata rules, CSV/MISP indicators and a host triage script (Suricata on the tool's User-Agents; default ports 8787 and 127.0.0.1:8788 to check on a suspected host)suricatajiwoochris/artex-global maintainersAGPL-3.0 (link only)

Download the pack

Address that follows updates: /detections/packs/artex/latest/ · frozen version for production: /detections/packs/artex/1.1.1/

Automate

History

  • v1.0 · 2026-11-20First publication: 19 Cortex XQL rules.
  • v1.1 · 2026-11-23Links to the Sigma and Suricata rules of the ARTEX global edition; DRL 1.1 license.
  • v1.1.1 · 2026-11-24English translation of the external links (titles, authors, notes).
  • Frozen versions: 1.1.1, 1.1