heroui logo

Curl and Multiple HTTP Client Families from One External IP

Elastic Detection Rules

View Source
Summary
The rule detects a burst of HTTP activity originating from a single external IP where curl is used in combination with at least two other HTTP client families within a rolling 1‑minute window, totaling 20 or more requests and producing at least two distinct event.outcome values. The supported user_agent.original values are parsed to identify tool families (curl, Python, norma ARTEX fetch, a browser, AWS CLI/SDK/Boto3, etc.). A match requires curl plus at least three distinct UA families overall (curl included) and excludes scenarios where curl is absent or where a multi-tool mix does not meet the three-family requirement. The detection looks back across multiple data streams (cloud service logs, web access logs, Kubernetes/EKS audit logs, Zeek/network logs, and related application logs) and only considers external source IPs (excluding internal/private ranges). It normalizes source IPs, filters on non-null user agents, and buckets events into one-minute windows. For each external IP, it reports metrics such as total requests, curl-specific requests, UA-family diversity, and distinct outcomes, and emits an alert when all thresholds are met. The rule is mapped to MITRE ATT&CK: T1595 Active Scanning, under TA0043 Reconnaissance, indicating automated, multi-tool probing of external targets. The rule’s severity is medium with a risk score of 47. It uses Esql.time_window and various Esql.* fields to surface context for investigation (time window, request counts, UA family distributions, and outcomes). False positives may arise from legitimate automation (NATs, proxies, CI systems) that legitimately combine curl with other clients; these should be excluded by source IP after validation. Remediation guidance recommends blocking unauthorized external addresses and revoking credentials, while tuning the three-family, two-outcome, and 20-request thresholds to align with legitimate automation. The signal is designed to catch actoric offensive tooling activity (e.g., ARTEX/CyberStrikeAI/Cairn) and related agentic frameworks that mix multiple HTTP clients from one external IP within a short interval.
Categories
  • Network
  • Endpoint
  • Cloud
Data Sources
  • Application Log
  • Cloud Service
  • Process
ATT&CK Techniques
  • T1595
Created: 2026-11-20