Windows API reference

SetThreadToken

Assigns an impersonation token to a thread.

Library
Advapi32.dll
Suspicion
high

Detection summary

SetThreadToken has no reviewed Sysmon/ETW event; impersonation is inferred from EDR token telemetry and the operations performed under the token.

Sources and documentation

Last reviewed: . Page metadata generated .

Legitimate use

Installer services, UAC-elevated helpers and management agents.

Open SetThreadToken in the interactive atlas