.. / windows-token-privilege-escalation
Star

Enumerate and exploit Windows token impersonation privileges (SeImpersonatePrivilege and SeAssignPrimaryTokenPrivilege) for privilege escalation. Demonstrates how attackers can leverage these privileges using tools like JuicyPotato and PrintSpoofer to escalate from service accounts to SYSTEM, highlighting the risk of misconfigured token privileges in post-exploitation scenarios.

Command Reference:

Target: Local Windows machine with token impersonation privileges
Command: Copy Extra code: Copy References:

https://www.hacktricks.xyz/windows-hardening/windows-local-privilege-escalation/token-privileges

https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/user-rights-assignment

https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/

https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/securing-active-directory