Techniques › T1546.016 › AN0938
AN0938 Analytic 0938
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Correlation of package install event with execution of postinstall scripts containing unknown binaries or abnormal CLI usage. Look for
/usr/sbin/installer execution followed by child processes originating from postinstall script.</p>- Detects
- T1546.016 Installer Packages
- Part of
- DET0330 Detection Strategy for T1546.016 - Event Triggered Execution via Installer Packages
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 /usr/sbin/installer spawning child process from within /private/tmp or package contents | DC0032 Process Creation |
| macos:unifiedlog | Creation or modification of postinstall scripts within .pkg or .mpkg contents | DC0039 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.
| Field | Description |
|---|---|
ScriptLocation | Path to postinstall script varies depending on .pkg packaging and user temp directories. |
ParentProcessName | Installers may vary (e.g., /usr/sbin/installer, Jamf, Munki). |