Techniques › T1027.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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | process:spawn, process:exec | DC0064 Command Execution |
| macos:endpointsecurity | ES_EVENT_TYPE_NOTIFY_EXEC | DC0032 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.
| Field | Description |
|---|---|
InterpreterParentFilter | Limits detection scope to shell or scripting interpreters like zsh, bash, osascript |
ScriptEntropyThreshold | Minimum entropy required to consider the command or script obfuscated |
ArgumentLengthDeviation | Deviation from baseline for long or highly nested arguments |