Suspicious Backgrounded Bash Payload via nohup On macOS

PremiumReviewedSigma · Medium · v1
Product
macos
Category
process_creation
Author
HuntRule
Published
2026-10-04
Updated
2026-10-04

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 a bash payload launched detached from the terminal with nohup and backgrounded, matching the persistence behavior observed in the ClickFix infostealer chain on macOS. The Odyssey and ACR stealers use this pattern so their downloaded script keeps running after the fake verification window is closed. Detaching execution helps the operator survive the user closing the shell they were tricked into using.

Related detections9 linkedT1059.004 — drag to rearrange
Suspicious Bash Loopback Reconnaissance via curl Header Request
Suspicious macOS Credential Validation via dscl authonly
Malicious AppleScript Execution of curl-Fetched Shell Payload via osascript (via process_creation)
Suspicious Bash Dev-TCP Reverse Shell Execution
Suspicious Remote Script Download Piped to Shell via Wget or Curl on Linux
Suspicious AI Agent Compromise via Web Worker Spawning Shell or Network Tool
Malicious wp2shell WordPress RCE via Web Server Spawning Shell Recon
Suspicious Remote Script Piped Directly to Interpreter in CI Pipeline
Malicious Node Runtime Spawning Shell to Download Python Payload via Axios Compromise
Suspicious Backgrounded Bash Payload via nohup On macOS
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.