
Demo di exploit MITM basato su Go per OpenSSL CVE-2014-0224 (CCS Injection) che prende di mira il cifrario RC4-SHA, con configurazione proxy server/client per testare la vulnerabilità TLS.
Demo dell'exploit MITM per OPENSSL CVE-2014-0224.
Autore : @bluerust
Blog : http://hi.baidu.com/bluerust/item/bf2ab031bbadcf09cfb9fe41
Vers. : 1.1
Descrizione :
Solo per openssl 1.0.1*, testato solo per il cifrario RC4-SHA.
a. server
openssl s_server -debug -accept 443 -cert server.crt -certform PEM -key server.key -cipher RC4-SHA
non vogliamo discutere qui come generare il certificato.
b. client
openssl s_client -connect 127.0.0.1:9999 -debug -cipher RC4-SHA
c. proxy mitm
go run proxy_all.go -host=127.0.0.1 -port 443 -listen_port=9999
--------------------------
Riferimenti:
[1] Early ChangeCipherSpec Attack (05 Giu 2014)
https://www.imperialviolet.org/2014/06/05/earlyccs.html
[2] Vulnerabilità MITM SSL/TLS (CVE-2014-0224)
http://www.openssl.org/news/secadv_20140605.txt
[3] Come ho scoperto la vulnerabilità CCS Injection (CVE-2014-0224)
http://ccsinjection.lepidum.co.jp/blog/2014-06-05/CCS-Injection-en/index.html