kevmap

TechniquesT1027.016 › AN0915

AN0915 Analytic 0915

macOS · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Identifies Mach-O binaries dropped into temporary directories with abnormally high binary size or padding patterns, followed by privilege escalation, exec, or memory mapping of other processes.</p>
Detects
T1027.016 Junk Code Insertion
Part of
DET0322 Detection Strategy for Junk Code Obfuscation with Suspicious Execution Patterns

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:endpointsecurityES_EVENT_TYPE_NOTIFY_EXECDC0032 Process Creation
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_MMAPDC0020 Process Modification
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_OPENDC0035 Process Access

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
TempFilePathsTrack dropped executables in ~/Library/, /tmp/, or /private/tmp/
MachOPaddingThresholdDefine padding size or section entropy anomalies in Mach-O file format
FollowOnPrivilegeEscalationDetects whether the binary attempts privilege escalation within short execution window