kevmap

TechniquesT1620 › AN0840

AN0840 Analytic 0840

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

<p>Suspicious calls to dlopen(), dlsym(), or mmap with RWX flags in processes that do not typically perform dynamic module loading. Monitor anonymous memory regions executed by user processes.</p>
Detects
T1620 Reflective Code Loading
Part of
DET0300 Detection Strategy for Reflective Code Loading

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:unifiedlogexecve or dylib load from memory without backing fileDC0032 Process Creation
macos:unifiedlogsuspicious dlopen/dlsym usage in non-development processesDC0016 Module Load

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
ApplicationScopeDeveloper tools may legitimately call dlopen/dlsym; narrow scope to production workloads.
ExecutionTimeWindowCorrelate suspicious loads with subsequent process activity in a defined window.