kevmap

TechniquesT1037.004 › AN0659

AN0659 Analytic 0659

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

<p>Detection of edits or additions to /etc/rc.common, /Library/StartupItems, or /System/Library/StartupItems and associated script execution during login or reboot.</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
macos:unifiedlogprocess eventsDC0032 Process Creation
fs:fsusagefile activityDC0039 File Creation

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_nameName of script or LaunchDaemon plist is tunable across environments
event_intervalTime window between modification and reboot/login
file_permissionPermissions on modified RC files can vary between systems