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)
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)
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).