ATT&CK Reference
Portfolio

TA0003 · PERSISTENCE

RC Scripts

T1037.004Sub-technique of Boot or Logon Initialization ScriptsmacOS · Linux · Network Devices · ESXiattack.mitre.org

Adversaries may establish persistence by modifying RC scripts, which are executed during a Unix-like system’s startup. These files allow system administrators to map and start custom services at startup for different run levels.

Detect it with

Monitor for unexpected changes to RC scripts in the /etc/ directory. Monitor process execution resulting from RC scripts for unusual or unknown applications or behavior.

Why it matters on shift

RC Scripts is one of the concrete ways adversaries achieve persistence. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After persistence, the next tactic is usually Privilege Escalation. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforeExecutionPersistenceafter →Privilege Escalation