
Windows 액세스 토큰 조작 및 악용
Windows 액세스 토큰 조작 및 악용.
___TokenPlayer___는 win32 API 프로그래밍을 배우고 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.






직접 컴파일하려면 boost 라이브러리를 설치해야 합니다. 이 도구는 명령줄 인수 구문 분석 및 처리를 위해 boost를 사용하기 때문입니다. 또한 프로젝트 설정에서 외부 라이브러리 폴더를 지정해야 합니다.