kevmap

TechniquesT1037.004 › AN0658

AN0658 Analytic 0658

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detection of modified or newly created /etc/rc.local or /etc/init.d scripts followed by suspicious execution during system startup.</p>
Detects
T1037.004 RC Scripts
Part of
DET0237 Detection Strategy for Boot or Logon Initialization Scripts: RC Scripts

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
auditd:SYSCALLexecveDC0032 Process Creation
linux:syslogboot logsDC0029 Script Execution

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
script_pathSpecific path of init script (e.g., /etc/rc.local, /etc/init.d/*) may vary by distribution
user_contextRoot vs. non-root modification context depending on configuration
time_windowTuning window for script creation or modification relative to system boot