token
General
Section titled “General”token allows you to manipulate token inside your processes.
It uses Native Indirect Syscall with little to no windows API at all.
[Session 9: haroun@DESKTOP-DU89UIV] » token --help
Token manipulation
Usage: token [flags]
Flags: -h, --help display help
Sub Commands: make Make and apply a new token rev2self Revert to original identity steal Steal Token whoami Return information about Process and Thread tokenIt requires you to load the token dll with load-module token
whoami
Section titled “whoami”You can use whoami to get the current process and thread token privilege.
[Session 9: haroun@DESKTOP-DU89UIV] » token whoamiYou can make a token by specifying the logontype (default is 9)
[Session 9: haroun@DESKTOP-DU89UIV] » token make --logontype 2 administrator administratorPS: Don’t forget you can use <TAB> and token make --help if needed.
You can steal other processes token by providing the PID
[Session 9: haroun@DESKTOP-DU89UIV] » token steal 8882Rev2self
Section titled “Rev2self”You can revert to your original identity using
[Session 9: haroun@DESKTOP-DU89UIV] » token rev2self