kevmap

TechniquesT1033 › AN0256

AN0256 Analytic 0256

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

<p>Adversary uses dscl, who, or environment variables like $USER to identify accounts or sessions via Terminal or malicious LaunchAgents.</p>
Detects
T1033 System Owner/User Discovery
Part of
DET0093 Behavioral Detection of User Discovery via Local and Remote Enumeration

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:unifiedlogsubsystem:com.apple.TerminalDC0064 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
LaunchAgentPersistenceCorrelate dscl usage with known persistence vectors
CommandExecutionPathDistinguish between user-initiated terminal vs. script execution
UsernameEnumerationPatternRegex-based pattern tuning for `dscl . -list /Users` + grep filters

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2023-22518Atlassian Confluence Data Center and ServerMapped
CVE-2024-4577PHP Group PHPMapped