Techniques › T1547.007 › AN0349
AN0349 Analytic 0349
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Unusual modification or creation of loginwindow-related plist files in '~/Library/Preferences/ByHost' correlated with unauthorized application paths and execution upon login.</p>
- Detects
- T1547.007 Re-opened Applications
- Part of
- DET0125 Detect persistence via reopened application plist modification (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 | Execution of process launched via loginwindow session restore | DC0032 Process Creation |
| fs:filesystem | Modification or creation of files matching 'com.apple.loginwindow.*.plist' in ~/Library/Preferences/ByHost | DC0061 File Modification |
| macos:unifiedlog | LoginWindow context with associated PID linked to reopened plist paths | DC0088 Logon Session Metadata |
| macos:endpointsecurity | es_event_file_rename_t or es_event_file_write_t | DC0059 File 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 |
|---|---|
UserContext | Restrict to targeted users or unexpected users writing to plist |
FilePathPattern | Allow tuning for alternative persistence paths or directory redirection |
TimeWindow | Correlate plist write and process execution within logon window |
BinaryAnomalyScore | Optional scoring of launched binary based on code signing, entropy, and known safe apps |