kudelskisecurity / chainoffools Goto Github PK
View Code? Open in Web Editor NEWA PoC for CVE-2020-0601
A PoC for CVE-2020-0601
The result certificate from the code is not fully trusted on Windows 10. The root certificate is trusted on the test machine but the generated client certificate is not. The generated certificate does not have enough information to build the trust chain. e.g. AIA or AKI.
Edit: The spoofed CA certificate needs to be included in the chain/bundle.
test on python2.7.12 and python3.5
>>> privkey = unhexlify(f'{privkey:x}'.encode())
File "<stdin>", line 1
privkey = unhexlify(f'{privkey:x}'.encode())
^
SyntaxError: invalid syntax
>>>
>>> rogueG = privkey_inv * Q
>>> rogueG = unhexlify(b"04" + f'{rogueG.x:x}'.encode() + f'{rogueG.y:x}'.encode())
File "<stdin>", line 1
rogueG = unhexlify(b"04" + f'{rogueG.x:x}'.encode() + f'{rogueG.y:x}'.encode())
^
SyntaxError: invalid syntax
Hi Guys, great job done with this PoC, thanks for that.
Followed the steps you mentioned, however I am getting "The issuer of this certificate could not be found."
Used Apache2 on Centos7:
SSLCertificateKeyFile .../prime256v1-privkey.pem
SSLCertificateFile .../client-cert.pem
Could you please give a hint what is wrong with my config?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.