Techniques › T1033 › 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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | subsystem:com.apple.Terminal | 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 |
|---|---|
LaunchAgentPersistence | Correlate dscl usage with known persistence vectors |
CommandExecutionPath | Distinguish between user-initiated terminal vs. script execution |
UsernameEnumerationPattern | Regex-based pattern tuning for `dscl . -list /Users` + grep filters |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2023-22518 | Atlassian Confluence Data Center and Server | Mapped |
| CVE-2024-4577 | PHP Group PHP | Mapped |