LLM-Based Triage of Wget Activity on Linux Hosts
Elastic has developed a detection rule that monitors non-allowlisted `wget` activity on Linux hosts using Auditd Manager or Auditbeat, leveraging an Elastic LLM to triage `wget` executions for potential ingress tool transfer, command and control, or data exfiltration attempts to untrusted destinations, generating alerts only for high-confidence positive or suspicious verdicts.
Elastic has released an LLM-powered detection rule designed to identify potentially malicious wget activity on Linux systems. This rule, updated in July 2026, integrates with Auditd Manager or Auditbeat to collect process execution events, specifically targeting wget invocations. It normalizes command-line arguments, redacts sensitive information like credentials, and then uses Elastic's General Purpose LLM v2 to assess whether the activity indicates ingress tool transfer (T1105), command and control (TA0011), or data exfiltration (T1048, T1005). The rule is configured to filter out known benign wget destinations, such as local loopbacks, cloud platform services (Azure, GCP), and common vendor repositories (Microsoft, GitHub, Elastic), to reduce false positives. Alerts are generated only for high-confidence (above 0.7) positive or suspicious verdicts from the LLM, providing security teams with intelligent triage for wget usage.
Attack Chain
This brief describes a detection mechanism rather than an observed attack campaign. Therefore, a specific attack chain is not provided, as the rule monitors for general malicious wget activity, which can occur at various stages of an attack.
Impact
Successful malicious wget activity on a Linux host can lead to severe consequences, including remote code execution if an attacker downloads and executes a malicious payload, establishment of persistent command and control (C2) channels for ongoing access, or unauthorized data exfiltration using wget's upload functionalities (--post-file, --post-data, --body-file). The exposure of credentials or tokens via command-line arguments, even if redacted in logs, could facilitate further compromise or lateral movement. The detection rule aims to mitigate these impacts by identifying and triaging such activities promptly, preventing adversaries from achieving their objectives undetected.
Recommendation
- Configure Auditd Manager or Auditbeat on all Linux endpoints to collect process execution events, including
process.name,process.args, andprocess.title, as required by the detection rule. - Deploy the Sigma rule provided in this brief to your SIEM to detect suspicious
wgetactivity, which can then be further triaged. - Review the
iocslist of explicitly excluded benign destinations and add any additional routine, verified benignwgetdestinations specific to your environment to your allow-lists to reduce false positives. - Investigate high-confidence alerts generated by the rule by examining
Esql.verdict,Esql.confidence,Esql.summary,Esql.dest_host, andEsql.command_line_valueswithin your Elastic Stack. - If payload execution, command-and-control, or data exfiltration is confirmed, isolate the affected host immediately.
- Rotate any credentials or tokens that may have been exposed in
wgetcommand lines, even if redacted in logs.
Detection coverage 1
Detect Suspicious Wget Activity to Remote Hosts
mediumDetects `wget` commands used to download content from or upload data to remote hosts, excluding common benign destinations. This rule targets the initial activity that would then be triaged by an LLM in an Elastic environment.
Detection queries are available on the platform. Get full rules →
Indicators of compromise
10
domain
3
ip
| Type | Value |
|---|---|
| ip | 0.0.0.0 |
| ip | 169.254.169.254 |
| ip | 168.63.129.16 |
| domain | mcr.microsoft.com |
| domain | acs-mirror.azureedge.net |
| domain | packages.aks.azure.com |
| domain | packages.microsoft.com |
| domain | login.microsoftonline.com |
| domain | management.azure.com |
| domain | storage.googleapis.com |
| domain | api.github.com |
| domain | artifacts.elastic.co |
| domain | download.elastic.co |