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 EtherRAT C2 Exfiltration Endpoints via HTTP (via proxy)
Malicious Data Exfiltration via curl with Stealer Specific BuildID Header
Suspicious Salesforce Data Access via Spoofed Automation User-Agents
Suspicious Salesforce Bulk Data Extraction via Bulk and Report APIs
Possible Discord Webhook C2 or Data Exfiltration
Suspicious Environment Variable Dump Piped to Base64 for CI Credential Exfil
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 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.