kevmap

TechniquesT1129 › AN0054

AN0054 Analytic 0054

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

<p>A process loads a non-system .dylib/.so via dyld (dlopen/dlsym) from user-writable locations (~/Library, /tmp) or after the library was recently created/downloaded, often followed by network egress or persistence.</p>
Detects
T1129 Shared Modules
Part of
DET0018 Behavior-chain, platform-aware detection strategy for T1129 Shared Modules

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:unifiedlogdyld/unified log entries indicating image load from non-system pathsDC0016 Module Load
macos:endpointsecurityexec: Process execution context for loaders calling dlopen/dlsymDC0032 Process Creation
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_OPEN: Open of .dylib/.so in user-writable locationsDC0055 File 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
SuspiciousDirs~/Library, /tmp, /Users/*/.* (hidden dirs) – tune to enterprise layout.
UnsignedOnlyAlert only when code-signing is invalid or absent.
TimeWindowCorrelate write/open to module load within N minutes.