Suspicious Immutable Attribute Set on SSH Authorized Keys (via process_creation)

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-10-31
Updated
2026-10-31

ATT&CK techniques

Persistence → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Cred Access

  6. Discovery

  7. Lateral Movement

  8. Collection

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule detects chattr setting the immutable attribute on an SSH authorized_keys file, a persistence hardening technique used in malicious Linux shell scripts. Locking the key file prevents defenders and legitimate users from removing the attacker planted key, entrenching backdoor access.

Related detections9 linkedT1098.004 — drag to rearrange
Malicious Immutable Flag on SSH authorized_keys via chattr
Suspicious SSH Daemon Configuration Change Enabling Root Login
Suspicious SSH Authorized Keys Modification via Scripting Interpreter on Linux via Process Creation (via process_creation)
Malicious SSH authorized_keys Overwrite With Outlaw Marker
Malicious SSH authorized_keys Modification for Persistence on Appliance
Malicious vmanage-admin Public Key Authentication in SSH Auth Log
Suspicious File Immutability Set via chattr to Resist Removal
Suspicious File Immutability via chattr
Suspicious SSH authorized_keys Modification for Persistence
Suspicious Immutable Attribute Set on SSH Authorized Keys (via process_creation)
Pivot detection · T1098.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.