kevmap

TechniquesT1027.010 › AN1396

AN1396 Analytic 1396

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

<p>Detection of obfuscated commands via shell, osascript, or AppleScript interpreters using unusual tokens, encoding, variable substitution, or runtime string reconstruction.</p>
Detects
T1027.010 Command Obfuscation
Part of
DET0505 Detection Strategy for Command Obfuscation

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:unifiedlogprocess:spawn, process:execDC0064 Command Execution
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_EXECDC0032 Process 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
InterpreterParentFilterLimits detection scope to shell or scripting interpreters like zsh, bash, osascript
ScriptEntropyThresholdMinimum entropy required to consider the command or script obfuscated
ArgumentLengthDeviationDeviation from baseline for long or highly nested arguments