Malicious Cryptominer Payload Retrieval into Temporary Directory

PremiumReviewedSigma · Medium · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-05-03
Updated
2026-08-28

ATT&CK techniques

C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. Exfiltration

  13. Impact

What it detects

This rule detects a shell changing into a writable temporary directory before downloading a secondary payload, a staging pattern used by the Log4j XMRig campaign to fetch shell droppers such as 8UsA.sh. This behavior stages miner components in non-persistent locations to evade inspection and hijack compute resources.

Related detections9 linkedT1105 — drag to rearrange
Malicious Hidden Virtual Machine Launched via QEMU for Persistence
Suspicious node.exe Execution Spawned by PowerShell
Suspicious Executable Download to Temp Directory via curl on Linux
Suspicious BITSAdmin File Transfer Into ProgramData via Process Creation (via process_creation)
Suspicious PowerShell Download Cradle via IEX and DownloadString (via process_creation)
Suspicious Remote File Download via certutil URLCache (via process_creation)
Suspicious WebDAV Retrieval via rundll32 and davclnt.dll (via process_creation)
Suspicious PowerShell Download to Temp and In-Memory Execution via IEX (via process_creation)
Suspicious PowerShell Download of Bumblebee Stager Files (via process_creation)
Malicious Cryptominer Payload Retrieval into Temporary Directory
Pivot detection · T1105 · 9 related

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