
Manipulation et abus des jetons d'accès Windows.
Manipulation et abus des jetons d'accès Windows.
TokenPlayer est juste un petit outil que j'ai créé pour apprendre la programmation de l'API Win32 et mieux comprendre le modèle des jetons d'accès de Windows.
General options:
--help Display help menu.
Impersonation Options:
--impersonate Impersonates the specified pid and spawns a new child
process under its context.
--pid arg Proccess ID to steal the token from.
--spawn Spawns a new command prompt under the context of the
stolen token.
Execution Options:
--exec Execute an instance of a specified program under the
impersonated context.
--pid arg Proccess ID to steal the token from.
--prog The full path to the program to be executed.
--args Optional execution arguments for the specified
program.
Make Token Options:
--maketoken Create a new process under a set of creds for only
network authentication (Similar to runas /netonly).
--username arg Username
--password arg Password in plaintext format.
--domain arg The domain the user belongs, if domain isn't specified
the local machine will be used.
UAC Bypass Options:
--pwnuac Will try to bypass UAC using the token-duplication
method.
--spawn Spawns a new elevated prompt.
--prog arg The full path to the program to be executed.
--args arg Optional execution arguments for the specified
program.
Parent Process Spoofing Options:
--spoofppid Spawn a new instance of an application with spoofed
parent process.
--ppid arg The PID of the parent process.
--prog arg The full path to the program to be executed.
--args arg Optional execution arguments for the specified
program.






Pour le compiler vous-même, vous aurez besoin d'installer la bibliothèque boost, car il l'utilise pour analyser et gérer les arguments de ligne de commande. Vous devrez également spécifier le dossier de la bibliothèque externe dans les paramètres du projet.