LLM-Based Curl Activity Triage
Detects non-allowlisted curl activity on Linux, macOS, and Windows hosts and uses an LLM to assess whether the activity is malicious, benign, or requires investigation. The rule parses and normalizes the destination,…
Description
Detects non-allowlisted curl activity on Linux, macOS, and Windows hosts and uses an LLM to assess whether the activity is malicious, benign, or requires investigation. The rule parses and normalizes the destination, redacts sensitive command-line values, and aggregates activity by host and destination before invoking the ES|QL COMPLETION command. Only true positive or suspicious verdicts with confidence above 0.7 generate alerts.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ESXiIaaSLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 3 ATT&CK techniques it maps to.
Known benign triggers
- Routine automation, CI/CD jobs, infrastructure tooling, package management, and expected artifact downloads to destinations that are not yet in the allow-list may be classified as suspicious. Add persistent, verified benign destinations to the deterministic allow-list.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| www.elastic.co/docs/explore-analyze/elastic-inference/eis-supported-models | 7 |
| www.elastic.co/docs/reference/query-languages/esql/esql-commands#esql-completion | 7 |
| www.elastic.co/security-labs/beyond-behaviors-ai-augmented-detection-engineering-with-esql-completion | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- d3851f38-ce10-4d13-a056-99fe711e6bcc
- Tagged by the source as
- Data Source: Elastic DefendDomain: EndpointNoise: MediumOS: LinuxOS: macOSOS: WindowsPerformance: NormalPlatform: LinuxPlatform: macOSPlatform: WindowsResources: Investigation GuideResources: LLMRule Type: ES|QLTactic: CollectionTactic: Command and ControlTactic: ExfiltrationUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 2, 2026
- Version
- 4