LLM-Driven Penetration Testing Framework User Agent

Last updated a day ago on 2026-11-23
Created 4 days ago on 2026-11-20

About

Detects a user agent that identifies an LLM-driven penetration testing framework. ARTEX, its AntiFox and ScopeWeaver forks, CyberStrikeAI, and HexStrike embed these strings in web requests.
Tags
Domain: CloudDomain: IdentityDomain: NetworkDomain: ContainersUse Case: Threat DetectionTactic: Initial AccessTactic: ReconnaissanceTactic: PersistenceData Source: AWSData Source: Amazon Web ServicesData Source: AWS CloudTrailData Source: AzureData Source: Microsoft 365Data Source: Microsoft Entra ID Sign-In LogsData Source: Microsoft Graph Activity LogsData Source: Google Cloud PlatformData Source: GCPData Source: GCP Audit LogsData Source: KubernetesData Source: Network Packet CaptureData Source: Network TrafficData Source: ZeekData Source: OktaData Source: Okta System LogsData Source: Anthropic Audit LogsData Source: OpenAI ChatGPT EnterpriseData Source: NginxData Source: ApacheData Source: Apache TomcatData Source: IISData Source: TraefikRule Type: ES|QLThreat: Web Application AttackThreat: Web ShellPlatform: AWSPlatform: AzurePlatform: Entra IDPlatform: GCPPlatform: KubernetesPlatform: OktaPlatform: AnthropicPlatform: OpenAIService: AWS EKSService: NginxService: Apache HTTP ServerService: Apache TomcatService: IISLanguage: esql
Severity
high
Risk Score
73
MITRE ATT&CK™

Initial Access (TA0001)(external, opens in a new tab or window)

Reconnaissance (TA0043)(external, opens in a new tab or window)

Persistence (TA0003)(external, opens in a new tab or window)

False Positive Examples
An authorized penetration test or red-team exercise that runs ARTEX, AntiFox, ScopeWeaver, CyberStrikeAI, or HexStrike will match. Confirm the engagement window, the principal, and the source address before closing the alert.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

apache(external, opens in a new tab or window)

apache_tomcat(external, opens in a new tab or window)

anthropic(external, opens in a new tab or window)

aws(external, opens in a new tab or window)

azure(external, opens in a new tab or window)

gcp(external, opens in a new tab or window)

gcp_vertexai(external, opens in a new tab or window)

iis(external, opens in a new tab or window)

kubernetes(external, opens in a new tab or window)

network_traffic(external, opens in a new tab or window)

nginx(external, opens in a new tab or window)

o365(external, opens in a new tab or window)

okta(external, opens in a new tab or window)

openai_chatgpt_enterprise(external, opens in a new tab or window)

traefik(external, opens in a new tab or window)

zeek(external, opens in a new tab or window)

Query
text code block:
from logs-aws.cloudtrail-*, logs-aws.eks_audit-*, logs-nginx.access-*, logs-apache.access-*, logs-apache_tomcat.access-*, logs-iis.access-*, logs-traefik.access-*, logs-zeek.http*, logs-network_traffic.http*, logs-azure.signinlogs-*, logs-azure.graphactivitylogs-*, logs-azure.aadgraphactivitylogs-*, logs-o365.audit-*, logs-kubernetes.audit_logs-*, logs-gcp.audit-*, logs-gcp_vertexai.auditlogs-*, logs-anthropic.audit-*, logs-openai_chatgpt_enterprise.auth_log-*, logs-okta.system-* metadata _id, _version, _index | where user_agent.original is not null | eval Esql.ua_lower = to_lower(user_agent.original) | eval Esql.framework = case( Esql.ua_lower like "artex-*" or Esql.ua_lower like "mozilla/* artex*" or Esql.ua_lower like "norma/0.4*", "ARTEX", Esql.ua_lower like "*antifox*", "AntiFox", Esql.ua_lower like "*scopeweaver*", "ScopeWeaver", Esql.ua_lower like "*cyberstrikeai*", "CyberStrikeAI", Esql.ua_lower like "*hexstrike-http-framework*" or Esql.ua_lower like "*hexstrike-browseragent*", "HexStrike", "other" ) | where Esql.framework != "other" | keep _id, _version, _index, @timestamp, Esql.framework, Esql.ua_lower, user_agent.original, source.ip, data_stream.dataset, data_stream.namespace, host.name

Install detection rules in Elastic Security

Detect LLM-Driven Penetration Testing Framework User Agent in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).