Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

5 rules over 2 days · technique T1595.002 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
26/11 XQL HexStrike User Agent or XSS Probe in Web LogsAgentic attack frameworks: Cortex XQL pack high T1190 T1595.002
tb-pack-agentic-frameworks-user-agent-hexstrike-ou-sonde-xss-dans-les-journaux-web.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · HexStrike · HexStrike User Agent or XSS Probe in Web Logs · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter ((xdm.source.user_agent contains "HexStrike-HTTP-Framework/" or xdm.source.user_agent contains "HexStrike-BrowserAgent/" or xdm.source.user_agent contains "Mozilla/5.0 (Compatible Exploit)") or xdm.network.http.url contains "hexstrikeXSSTest123")
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.method, xdm.network.http.domain, xdm.network.http.url, xdm.network.http.response_code
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects HexStrike's hard-coded user agents and the <hexstrikeXSSTest123> reflection probe its browser agent submits. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with HexStrike.

26/11 XQL RedAmon User Agent or Canary in Web LogsAgentic attack frameworks: Cortex XQL pack high T1190 T1595.002
tb-pack-agentic-frameworks-user-agent-ou-canari-redamon-dans-les-journaux-web.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · RedAmon · RedAmon User Agent or Canary in Web Logs · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter (xdm.source.user_agent contains "RedAmon" or (xdm.network.http.url contains "rEdAm0n1337XsS" or xdm.network.http.url contains "rdmncb=cb") or xdm.network.http.referrer contains "rEdAm0n1337XsS")
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.method, xdm.network.http.domain, xdm.network.http.url, xdm.network.http.response_code
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects RedAmon's self-naming user agents (RedAmon-AISurfaceRecon/1.0, RedAmon-CachePoison/1.0 and the "compatible; RedAmon" strings), the XSS canary rEdAm0n1337XsS its agent is told to use in every parameter, and the rdmncb cache buster of its cache poisoning tests. All are defaults of the published code. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with RedAmon.

26/11 XQL Xalgorix Verifier Marker or Canary in Web LogsAgentic attack frameworks: Cortex XQL pack high T1190 T1595.002
tb-pack-agentic-frameworks-marqueur-de-v-rification-ou-canari-xalgorix-dans-les-journau.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · Xalgorix · Xalgorix Verifier Marker or Canary in Web Logs · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter ((xdm.network.http.url contains "xalgorix-nonexistent-" or xdm.network.http.url contains "xalgorix-missing-") or xdm.network.http.url contains "XALG0R1XTEST" or xdm.source.user_agent ~= "^xalgorix")
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.method, xdm.network.http.domain, xdm.network.http.url, xdm.network.http.response_code
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects the paths Xalgorix's verifier requests when it confirms a finding (<path>-xalgorix-nonexistent-<id> for access control, xalgorix-missing-<id> before a path traversal), the reflection canary XALG0R1XTEST from its system prompt, and its own user agents. The verifier strings are in the code; the canary is an example the model may vary. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with Xalgorix.

20/11 XQL B1. ARTEX user agents in web, proxy, cloud and identity logsARTEX: Cortex XQL pack high T1595.002 T1190 T1078.004
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 datamodel Licence DRL 1.1

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.

20/11 XQL B2. ARTEX probe artifacts in requested URLsARTEX: Cortex XQL pack high T1595.002 T1190 T1606.001
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 datamodel Licence DRL 1.1

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.