Impersonate Token
Meterpreter Incognito
SeImpersonatePrivileges
If there is antivirus and you able to bypass AMSI, better use Invoke-ReflectivePEInjection to perform printspoofer.exe or godpotato.exe
But the tricky part is when the exe need arguments, so the tips is modified the exe and remove the arguments by directly execute to a revershell or something else.
This meterpreter will make your live easier:
https://hacker-mind.gitbook.io/hacker-mind/metasploit/meterpreter-tricks#manage-multi-session
PrintSpoofer
use this -> https://github.com/itm4n/PrintSpoofer/releases/tag/v1.0
If you have an interactive shell, you can create a new SYSTEM process in your current console.
Use case: bind shell, reverse shell, psexec.py
, etc.
or
If you can execute commands but you don't have an interactive shell, you can create a new SYSTEM process and exit immediately without interacting with it.
Use case: WinRM, WebShell, wmiexec.py
, smbexec.py
, etc.
God Potato (latest one)
reference:
Other Privileges
https://github.com/daem0nc0re/PrivFu/tree/main/PrivilegedOperations
Last updated