Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
TokenPlayer — 操纵和滥用 Windows 访问令牌。 | Kitploit
工具/GitHubGitHub/s1ckb0y1337/tokenplayer
权限提升冒充工具横向移动后渗透利用渗透测试
GitHubs1ckb0y1337/tokenplayer

TokenPlayer

操纵和滥用 Windows 访问令牌。

查看仓库
29949515年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

TokenPlayer

操纵和滥用 Windows 访问令牌。

TokenPlayer 只是我为了学习 win32 API 编程并更好地理解 Windows 访问令牌模型而编写的一个小工具。

功能特性:

  • 窃取和模拟主令牌。
  • 模拟受保护进程。
  • 通过使用令牌复制(Token-Duplication)方法绕过 UAC。
  • 通过提供凭据来创建用于网络认证的新令牌(类似于 runas /netonly),无需特殊权限或提升上下文。
  • 欺骗父进程 ID,并以替代父进程方式生成进程。
  • 在模拟上下文中使用提供的参数执行任意应用程序。
  • 可通过管道进行父子进程通信,从而在非交互式上下文(例如反向 shell)中使用。

用法:

root@kitploit:~
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.

用法 1:令牌模拟

使用同一控制台:

Token Impersonation

生成新控制台:

Token Impersonation In New Window

用法 2:执行应用程序(例如反弹 shell)

Executing Reverse Shell

用法 3:创建令牌

Make Token

用法 4:绕过 UAC

UAC Bypass

用法 5:PPID 欺骗

PPID Spoofing

编译说明

要自行编译,您需要安装 boost 库,因为它用于解析和处理命令行参数。此外,您还需要在项目设置中指定外部库的文件夹。

参考

  • Windows 访问令牌与备用凭据
  • 理解并防御访问令牌窃取
  • T1134:主访问令牌操纵
  • 通过令牌操纵进行权限提升
  • 创建具有重定向输入输出的子进程
  • 阅读方式绕过 UAC(第 1 部分)
  • 阅读方式绕过 UAC(第 2 部分)
  • 阅读方式绕过 UAC(第 3 部分)
  • UAC-TokenMagic.ps1
  • UAC-TokenDuplication
  • RunasCs
  • 访问令牌操纵:父 PID 欺骗
  • 获取 SYSTEM 权限的替代方法
下载工具