Windows Priv esc
Living of the land GTFO Bins for Windows
Enumeration with Winpeas
Enumeration with powerup.ps1
upload the script with metasploit
Now run the script with Powershell
The Iobit AdvancedSystemCareService9 service is vulnerable to path hijack. No quotes are being used to enclose the path.
unquoted service path vulnerability
Now create a reverse shell payload
using reverse meterpreter payload dies if used and we have to chain it with post/windows/manage/migrate
Now upload the malicious file and changer meterpreter to shell, stop the service and then copy the file the same location, start listener at port 4443 and start the service again.
and we got the reverse shell
Windows compiled exploits
Last updated