Techniques › T1037.002 › AN0682
AN0682 Analytic 0682
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detection of persistent login hooks configured via defaults or plist modifications that result in execution of scripts or binaries at user login, breaking expected parent-child process lineage.</p>
- Detects
- T1037.002 Login Hook
- Part of
- DET0244 Detection Strategy for Login Hook Persistence on macOS
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 | loginwindow or tccd-related entries | DC0032 Process Creation |
| fs:plist | /var/root/Library/Preferences/com.apple.loginwindow.plist | DC0061 File Modification |
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 |
|---|---|
login_hook_path | Path of script or binary assigned to login hook; may vary by environment |
user_context | Login hook may be applied to specific user accounts; tune by privilege level |
time_window | Correlate plist file modification to execution within a short timeframe |
parent_process_name | Expected parent process (e.g., loginwindow); anomalies can indicate masquerading |