Windows API reference

RevertToSelf

Ends impersonation and restores the process token.

Library
Advapi32.dll
Suspicion
low

Detection summary

RevertToSelf has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Installer services, UAC-elevated helpers and management agents.

Open RevertToSelf in the interactive atlas