Suspicious Shell Profile Persistence Injection with Downloader

PremiumReviewedSigma · Medium · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-10-21
Updated
2026-10-21

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects a command that appends content to a user shell profile such as bashrc profile or zshrc while also invoking a downloader like curl or wget. TuxBot v3 injects its loader into these startup files so the bot re-launches on every interactive login. Detecting the profile append with a fetch command reveals shell initialization persistence used by the botnet.

Related detections3 linkedT1546.004 — drag to rearrange
Malicious Koske Persistence via Systemd Service and Shell Profile Hijack (via process_creation)
Suspicious Shell Profile Persistence Modification (via process_creation)
Linux Auditd: Unix Shell Configuration File Modification
Suspicious Shell Profile Persistence Injection with Downloader
Pivot detection · T1546.004 · 3 related

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