Suspicious Modification of rc.local Startup Script by Knife Framework

PremiumReviewedSigma · Medium · v1
Category
file_event
Author
HuntRule
Published
2026-07-09
Updated
2026-08-28

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 modification of the rc.local startup script on Linux systems. The Knife framework inserts persistence markers into rc.local so its implants relaunch at boot on compromised edge devices. Unexpected changes to rc.local are a common Linux persistence indicator.

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