Suspicious Shell Script Download and Execution via curl Piped to Bash on Linux (via process_creation)

PremiumReviewedSigma · Medium · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-11-08
Updated
2026-11-08

ATT&CK techniques

Execution → C2
  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. Exfiltration

  12. Impact

What it detects

This rule detects a bash one-liner that curls a remote shell script, grants it execute permission and runs it, the Linux ClickFix behavior in the APT36 campaign delivering mapeal.sh. Adversaries leverage a pasted terminal command from a lure page to fetch and immediately execute the second-stage script.

Related detections9 linkedT1059.004 — drag to rearrange
Suspicious Linux Payload Fetch Piping curl Output Into a Shell
Malicious IoT Malware Download and Execution Cradle
Suspicious Remote Script Piped to Shell via Wget (via process_creation)
Possible Remote Payload Download And Execution via Shell (via process_creation)
Suspicious EtherRAT Node.js Implant Background Execution via Shell (via process_creation)
Malicious Download Piped to Shell via curl or wget (via process_creation)
Possible Mirai IoT Payload Staging via chmod on Linux (via process_creation)
Suspicious GeoServer Java Process Spawning Download Utility
Malicious Linux Payload Download and Execution Chain via Wget and Chmod (via process_creation)
Suspicious Shell Script Download and Execution via curl Piped to Bash on Linux (via process_creation)
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.