Article View: alt.privacy.anon-server
Article #248063QSL and SSL cipher suites
From: QuickSilver
Date: Tue, 05 Apr 2011 05:25
Date: Tue, 05 Apr 2011 05:25
99 lines
5732 bytes
5732 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Folks! For those of you who saw that I was going to study up on SSL cipher suites so I might insure QSL is using ephemeral keys during data transfer, I've made progress! This has been a confusing issue, but I've finally gathered enough information to call my task complete and I thought that I'd pass on what I've learned. First, it�s extremely easy to find definitions of cipher suites all over the web. What is extremely difficult to find is information that gives a person the understanding of how to choose for his/herself what ciphers to use. During the SSL handshake the client passes a cipher suite list to the server. In the case of QSL and all of it�s components, the list looks like this: ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH What this list specifies is: 1) remove from consideration all anonymous DH ciphers, next 2) use ciphers RC4 and RSA, then all SSL version 2 ciphers and finally 3) start with the strongest and work down from there. After the client passes the cipher suite list to the server, the server is the one who chooses the actual suite used based on the clients wishes and what the server can provide. Using the openssl program, the cipher list above can be expanded to show exactly what suites are included. In the list below the fields after the name and SSL version are: Key Exchange Algo, Authentication Algo, Cipher Encryption Algo, MAC Digest Algo. The list is presented in the order specified by the client. C:\>openssl ciphers -v ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH > DHE-RSA-AES256-SHA SSLv3 Kx=DH Au=RSA Enc=AES(256) Mac=SHA1 > DHE-DSS-AES256-SHA SSLv3 Kx=DH Au=DSS Enc=AES(256) Mac=SHA1 > AES256-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(256) Mac=SHA1 > EDH-RSA-DES-CBC3-SHA SSLv3 Kx=DH Au=RSA Enc=3DES(168) Mac=SHA1 > EDH-DSS-DES-CBC3-SHA SSLv3 Kx=DH Au=DSS Enc=3DES(168) Mac=SHA1 > DES-CBC3-SHA SSLv3 Kx=RSA Au=RSA Enc=3DES(168) Mac=SHA1 > DES-CBC3-MD5 SSLv2 Kx=RSA Au=RSA Enc=3DES(168) Mac=MD5 > DHE-RSA-AES128-SHA SSLv3 Kx=DH Au=RSA Enc=AES(128) Mac=SHA1 > DHE-DSS-AES128-SHA SSLv3 Kx=DH Au=DSS Enc=AES(128) Mac=SHA1 > AES128-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(128) Mac=SHA1 > IDEA-CBC-SHA SSLv3 Kx=RSA Au=RSA Enc=IDEA(128) Mac=SHA1 > RC4-SHA SSLv3 Kx=RSA Au=RSA Enc=RC4(128) Mac=SHA1 > RC4-MD5 SSLv3 Kx=RSA Au=RSA Enc=RC4(128) Mac=MD5 > IDEA-CBC-MD5 SSLv2 Kx=RSA Au=RSA Enc=IDEA(128) Mac=MD5 > RC2-CBC-MD5 SSLv2 Kx=RSA Au=RSA Enc=RC2(128) Mac=MD5 > RC4-MD5 SSLv2 Kx=RSA Au=RSA Enc=RC4(128) Mac=MD5 > EDH-RSA-DES-CBC-SHA SSLv3 Kx=DH Au=RSA Enc=DES(56) Mac=SHA1 > EDH-DSS-DES-CBC-SHA SSLv3 Kx=DH Au=DSS Enc=DES(56) Mac=SHA1 > DES-CBC-SHA SSLv3 Kx=RSA Au=RSA Enc=DES(56) Mac=SHA1 > DES-CBC-MD5 SSLv2 Kx=RSA Au=RSA Enc=DES(56) Mac=MD5 > EXP-EDH-RSA-DES-CBC-SHA SSLv3 Kx=DH(512) Au=RSA Enc=DES(40) Mac=SHA1 export > EXP-EDH-DSS-DES-CBC-SHA SSLv3 Kx=DH(512) Au=DSS Enc=DES(40) Mac=SHA1 export > EXP-DES-CBC-SHA SSLv3 Kx=RSA(512) Au=RSA Enc=DES(40) Mac=SHA1 export > EXP-RC2-CBC-MD5 SSLv3 Kx=RSA(512) Au=RSA Enc=RC2(40) Mac=MD5 export > EXP-RC4-MD5 SSLv3 Kx=RSA(512) Au=RSA Enc=RC4(40) Mac=MD5 export > EXP-RC2-CBC-MD5 SSLv2 Kx=RSA(512) Au=RSA Enc=RC2(40) Mac=MD5 export > EXP-RC4-MD5 SSLv2 Kx=RSA(512) Au=RSA Enc=RC4(40) Mac=MD5 export In the suite names where you see DHE or EDH, these use ephemeral DH keys. That's our goal. My first impression when I started looking at this was that QSL wasn't using ephemeral keys. I based that on the cipher suite list not having mention of EDH or DHE. I discovered I was wrong when I ran openssl to generate the above table. Please notice the first 2 suites (and others as well). They both use ephemeral keys and between RSA and DSS it's likely the great majority of connections, if not all, will use ephemeral keys. This appears to be a good general- purpose list and I'm going to leave the list as-is. I don't think there is need for a change. However, as I said, I'm going to allow these cipher suite lists to be user defined with ini file entries. In the next few days I'll release an update that will have that capability. Usage will be explained in the History.txt file. I'm not going to bullshit you guys and tell you I understand this information, in depth. I don't. Basically, I've learned the current list is good for our purposes. Richard Christman https://www.quicksilvermail.net -----BEGIN PGP SIGNATURE----- Version: N/A iD8DBQFNn4CCb2QuqWfQ0wMRAjYHAKCGfK6zLIN5pnX25VLEKMOq0Kc3fQCgyHpV HDzV8ircJvxPQMGISRs2oEg= =8wT9 -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<E1Q8JRO-0004fE-0E@quicksilvermail.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!g2news2.google.com!news3.google.com!feeder.news-service.com!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2newsShow Full Headers
Complete Article Headers
Message-ID: <E1Q8JRO-0004fE-0E@quicksilvermail.net> Subject: QSL and SSL cipher suites Date: Mon, 4 Apr 2011 23:25:39 -0600 From: QuickSilver <Use-Author-Supplied-Address-Header@[127.1]> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!g2news2.google.com!news3.google.com!feeder.news-service.com!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news Author-Supplied-Address: quicksilver <AT> quicksilvermail <DOT> net Newsgroups: alt.privacy.anon-server Mail-To-News-Contact: abuse@dizum.com Organization: mail2news@dizum.com