Windows API reference
DuplicateToken
Creates a new token that duplicates an existing one with a requested impersonation level.
- Library
- Advapi32.dll
- Category
- Credential Access, Privilege Escalation
- Suspicion
- high
Detection summary
DuplicateToken has no reviewed Sysmon/ETW event; token duplication is inferred from EDR handle/token telemetry and the operations that follow.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Correlate DuplicateToken with OpenProcessToken, DuplicateTokenEx, SetThreadToken or CreateProcessWithTokenW. Sysmon 10 can show process access when a token is taken from another process, but it does not identify the duplication call.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1134.001: Access Token Manipulation: Token Impersonation/Theft
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Password managers, backup tools, SSO clients and forensic suites.
Related APIs
- DuplicateTokenEx — Advapi32.dll