Techniques › T1037 › AN0313
AN0313 Analytic 0313
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Monitoring for modification and execution of login hook scripts or LaunchAgents/LaunchDaemons used for persistence.</p>
- Detects
- T1037 Boot or Logon Initialization Scripts
- Part of
- DET0112 Boot or Logon Initialization Scripts Detection Strategy
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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | log | DC0029 Script Execution |
| fs:fsusage | file | DC0055 File Access |
| macos:osquery | launchd | DC0041 Service Metadata |
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.
| Field | Description |
|---|---|
Label | LaunchAgent or LaunchDaemon label name, often environment-specific. |
ProgramArguments | Arguments passed to scripts, which may need tuning by environment. |
UserContext | Distinguish between user login and system startup agents. |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2022-41328 | Fortinet FortiOS | Mapped |
| CVE-2024-20353 | Cisco Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD) | Mapped |
| CVE-2024-20359 | Cisco Adaptive Security Appliance (ASA) and Firepower Threat Defense (FTD) | Mapped |