Malicious Destructive Recursive Delete of Home Directory

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

ATT&CK techniques

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

  13. Impact

What it detects

This rule detects a recursive forced deletion targeting the user home directory, the destructive payload triggered by the Shai-Hulud gh-token-monitor daemon. After exfiltrating credentials the framework wipes the developer home directory to destroy evidence and disrupt the victim. A rm -rf against the home path is almost never intentional interactive behavior and signals a wiper action.

Related detections9 linkedT1567 — drag to rearrange
Malicious Madgicx Plus Extension C2 Domain Resolution
Suspicious Credential Exfiltration to webhook.site (via dns_query)
Suspicious HTTP POST to Local AI Malware Exfil Endpoint (via proxy)
Malicious Mini Shai-Hulud TanStack C2 git-tanstack and getsession (via dns_query)
Suspicious Data Exfiltration to Webhook.site via Command Line (via process_creation)
Malicious GitHub Repository Creation With s1ngularity Exfiltration Name
Suspicious SNS Email Subscription for Data Exfiltration
Suspicious Azure OpenAI Training File Upload via Files Import Operation (via azure)
Malicious TeamPCP LiteLLM Credential Exfiltration C2 Lookup (via dns_query)
Malicious Destructive Recursive Delete of Home Directory
Pivot detection · T1567 · 9 related

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