Techniques › T1134.001 › AN1324
AN1324 Analytic 1324
Windows · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detection of token duplication and impersonation attempts by correlating suspicious command-line executions (e.g., runas) with API calls to DuplicateToken, DuplicateTokenEx, ImpersonateLoggedOnUser, or SetThreadToken. The chain includes the initial command execution or in-memory API invocation → token handle duplication or thread token assignment → a new or existing process assuming the impersonated user's context.</p>
- Detects
- T1134.001 Token Impersonation/Theft
- Part of
- DET0482 Behavior-chain detection for T1134.001 Access Token Manipulation: Token Impersonation/Theft on Windows
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 |
|---|---|---|
| WinEventLog:Security | EventCode=4688 | DC0032 Process Creation |
| WinEventLog:Sysmon | EventCode=10 | DC0035 Process Access |
| ETW:Token | api_call: DuplicateTokenEx, ImpersonateLoggedOnUser, SetThreadToken | DC0021 OS API Execution |
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 |
|---|---|
AllowedSystemProcesses | Whitelist of known processes that legitimately duplicate tokens (e.g., services.exe). |
TimeWindow | Time interval between API call and subsequent impersonated process (e.g., 5m). |
UserContextFilter | Filter for service accounts or known administrative accounts that perform legitimate impersonation. |
ParentProcessAnomalyThreshold | Threshold for parent-child process lineage anomalies indicating token theft. |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2023-4966 | Citrix NetScaler ADC and NetScaler Gateway | Mapped |