Suspicious Remote Script Download Piped to Shell via Wget or Curl on Linux

PremiumReviewedSigma · Medium · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-09-21
Updated
2026-09-21

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects wget or curl output piped directly into a shell interpreter on Linux, the initial execution used to deliver a coinminer after exploiting a vulnerable Tomcat server. Piping a downloaded script straight into sh runs attacker code in memory without ever writing an inspectable file to disk.

Related detections9 linkedT1059.004 — drag to rearrange
Malicious Shai-Hulud npm Worm Staging Script Execution on Linux
Suspicious Java Process Spawning Download or Shell Utility (Exposed JDWP Abuse)
Suspicious PostgreSQL Spawning Command Shell via COPY FROM PROGRAM (Soco404)
Suspicious Bash Reverse Shell via Dev TCP Redirection
Suspicious Linux Payload Fetch Piping curl Output Into a Shell
Possible CUPS cups-browsed Remote Code Execution via Shell Child Process
Malicious SUID Shell Execution via env on Ivanti EPMM
Malicious Cron Payload Retrieval via curl to Attacker Shell Scripts
Malicious IoT Malware Download and Execution Cradle
Suspicious Remote Script Download Piped to Shell via Wget or Curl on Linux
Pivot detection · T1059.004 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.