Elastic · Vendor blog

How Elasticsearch ES|QL COMPLETION turns noisy curl and wget rules into high-fidelity cloud security alerts

Published · Source: Elastic

0 entities2 ATT&CK behaviors18 indicators10 claims

Entities & attribution

No entities extracted.

MITRE ATT&CK behaviors

  • T1055 · Process Injection

    Privilege Escalation · Process injection

    “Preventing prompt injection from attacker-controlled command line strings”

    Page 1 · Paragraph 56

  • T1071.001 · Web Protocols

    Command and Control · C2 over HTTPS

    “…Expected Playwright CI activity | | 1.1.1.1 | FP | DNS over HTTPS activity | | 18.66.X.X | SUSPICIOUS | Suspicious due to the…”

    Page 1 · Paragraph 72

Indicators of compromise

  • ipv4

    10.0.0[.]0
    “…localhost*") | WHERE NOT CIDR_MATCH(TO_IP(Esql.dest_host), "10.0.0.0/8") | WHERE NOT CIDR_MATCH(TO_IP(Esql.dest_host), "127.0.0.…”

    Page 1 · Paragraph 37

  • ipv4

    127.0.0[.]0
    “…10.0.0.0/8") | WHERE NOT CIDR_MATCH(TO_IP(Esql.dest_host), "127.0.0.0/8") | WHERE NOT (Esql.dest_host IN ( // All cloud providers…”

    Page 1 · Paragraph 37

  • ipv4

    169.254.169[.]254
    “…") | WHERE NOT (Esql.dest_host IN ( // All cloud providers "169.254.169.254", // instance metadata service (IMDS) — Azure, AWS, and GCP…”

    Page 1 · Paragraph 37

  • ipv4

    168.63.129[.]16
    “…ure, AWS, and GCP all use this link-local address // Azure "168.63.129.16", // Azure platform IP: LB health probes and virtual DNS re…”

    Page 1 · Paragraph 37

  • domain

    mcr.microsoft[.]com
    “…nd virtual DNS resolver (universal across all Azure VNets) "mcr.microsoft.com", // Microsoft Container Registry — AKS node image pulls "a…”

    Page 1 · Paragraph 37

  • domain

    acs-mirror.azureedge[.]net
    “…m", // Microsoft Container Registry — AKS node image pulls "acs-mirror.azureedge.net", // AKS container image CDN mirror "packages.aks.azure.com…”

    Page 1 · Paragraph 37

  • domain

    packages.aks.azure[.]com
    “…s-mirror.azureedge.net", // AKS container image CDN mirror "packages.aks.azure.com", // AKS node package repository "packages.microsoft.com", …”

    Page 1 · Paragraph 37

  • domain

    packages.microsoft[.]com
    “…r "packages.aks.azure.com", // AKS node package repository "packages.microsoft.com", // Microsoft Linux package repository "login.microsoftonl…”

    Page 1 · Paragraph 37

  • domain

    login.microsoftonline[.]com
    “…ages.microsoft.com", // Microsoft Linux package repository "login.microsoftonline.com", // Azure AD / Entra ID authentication "management.azure.c…”

    Page 1 · Paragraph 37

  • domain

    management.azure[.]com
    “…icrosoftonline.com", // Azure AD / Entra ID authentication "management.azure.com", // Azure resource management API // GCP "storage.googleap…”

    Page 1 · Paragraph 37

  • domain

    storage.googleapis[.]com
    “…gement.azure.com", // Azure resource management API // GCP "storage.googleapis.com", // Google Cloud Storage (broad; narrow to specific bucket…”

    Page 1 · Paragraph 37

  • domain

    api.github[.]com
    “…age (broad; narrow to specific buckets as needed) // CI/CD "api.github.com", // GitHub API — artifact and release downloads // Interna…”

    Page 1 · Paragraph 37

  • domain

    apt.puppetlabs[.]com
    “…t_host IN ( "artifacts.elastic.co", "download.elastic.co", "apt.puppetlabs.com", "standards.ieee.org", "motd.ubuntu.com", "get.gravitation…”

    Page 1 · Paragraph 49

  • domain

    standards.ieee[.]org
    “….elastic.co", "download.elastic.co", "apt.puppetlabs.com", "standards.ieee.org", "motd.ubuntu.com", "get.gravitational.com", "cdn.teleport…”

    Page 1 · Paragraph 49

  • domain

    motd.ubuntu[.]com
    “…d.elastic.co", "apt.puppetlabs.com", "standards.ieee.org", "motd.ubuntu.com", "get.gravitational.com", "cdn.teleport.dev", "archive.apa…”

    Page 1 · Paragraph 49

  • domain

    get.gravitational[.]com
    “….puppetlabs.com", "standards.ieee.org", "motd.ubuntu.com", "get.gravitational.com", "cdn.teleport.dev", "archive.apache.org" ))”

    Page 1 · Paragraph 49

  • domain

    archive.apache[.]org
    “….ubuntu.com", "get.gravitational.com", "cdn.teleport.dev", "archive.apache.org" ))”

    Page 1 · Paragraph 49

  • ipv4

    1.1.1[.]1
    “…n.playwright.dev | FP | Expected Playwright CI activity | | 1.1.1.1 | FP | DNS over HTTPS activity | | 18.66.X.X | SUSPICIOUS |…”

    Page 1 · Paragraph 72

Claims & evidence

  • Reported Claim

    How Elasticsearch ES|QL COMPLETION turns noisy curl and wget rules into high-fidelity cloud security alerts exhibits Process injection (T1055)

    “Preventing prompt injection from attacker-controlled command line strings”

    Page 1 · Paragraph 56

  • Reported Claim

    How Elasticsearch ES|QL COMPLETION turns noisy curl and wget rules into high-fidelity cloud security alerts exhibits C2 over HTTPS (T1071.001)

    “…Expected Playwright CI activity | | 1.1.1.1 | FP | DNS over HTTPS activity | | 18.66.X.X | SUSPICIOUS | Suspicious due to the…”

    Page 1 · Paragraph 72

  • Inferred Relationship

    Process injection precedes C2 over HTTPS

    “…Expected Playwright CI activity | | 1.1.1.1 | FP | DNS over HTTPS activity | | 18.66.X.X | SUSPICIOUS | Suspicious due to the…”

    Page 1 · Paragraph 72

  • Reported Claim

    10.0.0.0 used as network infrastructure

    “…localhost*") | WHERE NOT CIDR_MATCH(TO_IP(Esql.dest_host), "10.0.0.0/8") | WHERE NOT CIDR_MATCH(TO_IP(Esql.dest_host), "127.0.0.…”

    Page 1 · Paragraph 37

  • Reported Claim

    127.0.0.0 used as network infrastructure

    “…10.0.0.0/8") | WHERE NOT CIDR_MATCH(TO_IP(Esql.dest_host), "127.0.0.0/8") | WHERE NOT (Esql.dest_host IN ( // All cloud providers…”

    Page 1 · Paragraph 37

  • Reported Claim

    169.254.169.254 used as network infrastructure

    “…") | WHERE NOT (Esql.dest_host IN ( // All cloud providers "169.254.169.254", // instance metadata service (IMDS) — Azure, AWS, and GCP…”

    Page 1 · Paragraph 37

  • Reported Claim

    168.63.129.16 used as network infrastructure

    “…ure, AWS, and GCP all use this link-local address // Azure "168.63.129.16", // Azure platform IP: LB health probes and virtual DNS re…”

    Page 1 · Paragraph 37

  • Reported Claim

    mcr.microsoft.com used as network infrastructure

    “…nd virtual DNS resolver (universal across all Azure VNets) "mcr.microsoft.com", // Microsoft Container Registry — AKS node image pulls "a…”

    Page 1 · Paragraph 37

  • Reported Claim

    acs-mirror.azureedge.net used as network infrastructure

    “…m", // Microsoft Container Registry — AKS node image pulls "acs-mirror.azureedge.net", // AKS container image CDN mirror "packages.aks.azure.com…”

    Page 1 · Paragraph 37

  • Lore Hypothesis

    Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant

    “Preventing prompt injection from attacker-controlled command line strings”

    Page 1 · Paragraph 56