AlwaysInstallElevated
Overview
AlwaysInstallElevated is a misconfiguration that installs all msi packages as system. Wheels spinning?
Elevation via AlwaysInstallElevated
Query the registry for the misconfiguration
reg query HKLM\Software\Policies\Microsoft\Windows\Installer
reg query HKCU\Software\Policies\Microsoft\Windows\Installer
Create a malicious msi file
Pop a shell
Quick Win
You can get a quick win by using the Write-UserAddMSI function from PowerUp.
This function will add a backdoor user to the Local Administrators Group


Last updated