Malicious SSH authorized_keys Overwrite With Outlaw Marker

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

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 shell activity that writes the attacker marker mdrfckr into an SSH authorized_keys file which the Outlaw botnet uses to plant its own key and lock out other access. This grants durable remote access to the compromised Linux host for the mining operation. The hardcoded comment string alongside authorized_keys manipulation is a strong Outlaw indicator.

Related detections9 linkedT1098.004 — drag to rearrange
Malicious SSH Authorized Keys Injection for Persistence
Suspicious Immutable Attribute Set on SSH Authorized Keys (via process_creation)
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 Modification for Persistence on Appliance
Malicious vmanage-admin Public Key Authentication in SSH Auth Log
Suspicious SSH authorized_keys Modification for Persistence
Malicious Immutable Attribute Set on SSH Authorized Keys via chattr on Linux
Suspicious SSH authorized_keys Persistence Modification (via process_creation)
Malicious SSH authorized_keys Overwrite With Outlaw Marker
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.