Windows API reference
AdjustTokenPrivileges
Enables or disables privileges in an access token.
- Library
- Advapi32.dll
- Category
- Privilege Escalation
- Suspicion
- high
- MITRE ATT&CK
- T1134 Access Token Manipulation
Detection summary
AdjustTokenPrivileges maps to Microsoft-Windows-Security-Auditing; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Security-Auditing
- Notes: Security-Auditing events depend on audit policy and do not contain the API name; correlate by process, token and logon identifiers.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Installer services, UAC-elevated helpers and management agents.
Related APIs
- LookupPrivilegeValueW — Advapi32.dll
- OpenProcessToken — Advapi32.dll