kevmap

TechniquesT1546.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 sourceChannelData component
macos:unifiedlogExecution of /usr/sbin/installer spawning child process from within /private/tmp or package contentsDC0032 Process Creation
macos:unifiedlogCreation or modification of postinstall scripts within .pkg or .mpkg contentsDC0039 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
ScriptLocationPath to postinstall script varies depending on .pkg packaging and user temp directories.
ParentProcessNameInstallers may vary (e.g., /usr/sbin/installer, Jamf, Munki).