19. Metasploit Privilege Escalation
A. Using Exploits¶
Search for privilege escalation exploits:
Run post/multi/recon/local_exploit_suggester:
It lists possible privilege escalation exploits.
B. Exploiting Misconfigured Services¶
Check for weak service permissions:
Replace the binary path with your payload:
C. Exploiting UAC¶
Bypass UAC with: