718 B
718 B
TrustedInstaller
A simple Proof of Concept in Golang to start a new shell as TrustedInstaller. This code accompanies FourCore's blog about TrustedInstaller. It is important to note that you need to run this as a user which has SeDebugPrivileges. Upon running, it will automatically ask for UAC in case you are not running as an Administrator.
Use the RunAsTrustedInstaller
function to pass any executable to be run with TrustedInstaller privileges.
To run
- git clone the repository
- ensure you have go compiler installed
- You can either build a binary using
go build ti
or run it directly usinggo run ti
It will spawn a new cmd shell as TrustedInstaller which you can check by running whoami /all