From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VplaQ-0005WC-3h for bitcoin-development@lists.sourceforge.net; Sun, 08 Dec 2013 21:08:22 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of zikula.org designates 74.125.82.170 as permitted sender) client-ip=74.125.82.170; envelope-from=drak@zikula.org; helo=mail-we0-f170.google.com; Received: from mail-we0-f170.google.com ([74.125.82.170]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VplaO-0003mf-Ou for bitcoin-development@lists.sourceforge.net; Sun, 08 Dec 2013 21:08:22 +0000 Received: by mail-we0-f170.google.com with SMTP id w61so2693022wes.29 for ; Sun, 08 Dec 2013 13:08:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=4RUDe+dXXSt2WSbkpRI/eESa+0wZZPjo2xTscQgIbik=; b=FU87wqQWlFrXswwp33Vi+tb3HMWhcbsQyozf3ODCS1uxMo5iXpY9qn23oWcm1A5VvS gYedIFGxrT95w6gCOHhs0pT+WYOPz4V0/kBRZ/opOFi/URK5ZUPq7ZwsQSlJkW1oIHxF dO4UtL6Nwcvad79Jdl9NxLp7RqHsnX0BRp7tpp2IKJc+qbFCa9b3tAmMQ6zzxapKvwg2 /ZTLLWQR/5jkQx9EDRvTfOLpqWJ1fIcI/sxjcr8z4lz6SzS13Yo6o53RdrnVHJKzicoZ Pu3xQGHUSVx1gdd9e7XfIpF0Zxhz92pP3UqPLV0jLFqmGvLYS9h4hq3+R27BmwgEea1N jc6g== X-Gm-Message-State: ALoCoQnqsKQ4A8x1vUCz7VlEghTWQQHH/HX3vP2LKztVLrwAWBfXBg3F0IxXclyaP0lqyauhvdjb X-Received: by 10.180.9.74 with SMTP id x10mr11163003wia.56.1386536894294; Sun, 08 Dec 2013 13:08:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.93.105 with HTTP; Sun, 8 Dec 2013 13:07:54 -0800 (PST) In-Reply-To: References: <52A3C8A5.7010606@gmail.com> <1795f3067ba3fcdd0caf978cc59ff024.squirrel@fruiteater.riseup.net> <52A435EA.7090405@gmail.com> <201312081237.24473.luke@dashjr.org> From: Drak Date: Sun, 8 Dec 2013 21:07:54 +0000 Message-ID: To: Gregory Maxwell Content-Type: multipart/alternative; boundary=001a11c245fa1197d904ed0c4738 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bitcoin.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message X-Headers-End: 1VplaO-0003mf-Ou Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Dedicated server for bitcoin.org, your thoughts? X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 21:08:22 -0000 --001a11c245fa1197d904ed0c4738 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8 December 2013 20:50, Gregory Maxwell wrote: > Sadly this isn't true: There are (many) CAs which will issue a > certificate (apparently sometime within minutes, though last > certificate I obtained took a couple hours total) to anyone who can > respond to http (not https) requests on behalf of the domain from the > perspective of the CA. > Simple verification relies on being able to answer the email sent to the person in the whois records, or standard admin/webmaster@ addresses to prove ownership of the domain. This is a good point to note - bitcoin.orgshould not get a simple certificate, but one that requires identify verification for the person/org who is applying. They are more expensive. > This means you can MITM the site, pass all traffic through except the > HTTP request from the CA, and start intercepting once the CA has > signed your certificate. This works because the CA does nothing to > verify identity except check that the requester can control the site. > > If you'd like to me to demonstrate this attack for you I'd be willing=E2= =80=94 > I can provide a proxy that passes on :80 and :443, run your traffic > through it and I'll get a cert with your domain name. > You cannot MITM SSL connections - it will cause a browser warning. I do not have the means, but it has been demonstrated some people are performing BGP redirections, daily, and on a massive scale... and it's a problem, because BGP was designed on implicit trust. > I'm sorry for the tangent here=E2=80=94 I think this sub-discussion is re= ally > unrelated to having Bitcoin.org behind SSL=E2=80=94 but "someone is wrong= on > the internet", and its important to know that SSL hardly does anything > to reduce the need to check the offline signatures on the binaries. You are right that the CA system is not full-proof, one CA was caught issuing a bogus certificate on purpose a while back, I forgot the name but it resulted in CA certificate revokation and the entire company being blacklisted from Firefox and Google Chrome forever - basically a summary corporate execution. I personally imagine the CIA or other state actor could just quietly buy up an already trusted CA and abuse them. But it's clear, people are watching, and if a CA is caught once, that's the end of their business forever: Firefox and Google demonstrated that. The strategy is possibly too expensive and risky to carry off which is maybe why they don't do it. What has been noted with all the Snowden leaks, and with the Lavabit case, the security agencies did not get bogus certificates issued, they still got court orders, or other deception to get hold of the encryption certificates of their targets instead of issuing their own so they could listen in. The CA system is not full proof, but it is what we have. Similar arguments have been made against the use of identity certificates for bitcoin, but that hasnt stopped it's inclusion in the bitcoin payment protocol. Anyway, I take your points, but this is an area I am quite passionate about so it's important for me to be clear. Regards, Drak --001a11c245fa1197d904ed0c4738 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 8= December 2013 20:50, Gregory Maxwell <gmaxwell@gmail.com> = wrote:
Sadly this isn't true: There are (many) CAs which will issue = a
certificate (apparently sometime within minutes, though last
certificate I obtained took a couple hours total) to anyone who can
respond to http (not https) requests on behalf of the domain from the
perspective of the CA.

Simple verificat= ion relies on being able to answer the email sent to the person in the whoi= s records, or standard admin/webmaster@ addresses to prove ownership of the= domain. This is a good point to note - bitc= oin.org should not get a simple certificate, but one that requires iden= tify verification for the person/org who is applying. They are more expensi= ve.
=C2=A0
This means you can MITM the site, pass all traffic through except the
HTTP request from the CA, and start intercepting once the CA has
signed your certificate. This works because the CA does nothing to
verify identity except check that the requester can control the site.

If you'd like to me to demonstrate this attack for you I'd be willi= ng=E2=80=94
I can provide a proxy that passes on :80 and :443, run your traffic
through it and I'll get a cert with your domain name.
<= div>
You cannot MITM SSL connections - it will cause a browse= r warning.
I do not have the means, but it has been demonstrated = some people are performing BGP redirections, daily, and on a massive scale.= .. and it's a problem, because BGP was designed on implicit trust.
=C2=A0
I'm sorry for the tangent here=E2=80=94 I think this sub-discussion is = really
unrelated to having Bitcoin.org behind SSL=E2=80=94 but "someone is wr= ong on
the internet", and its important to know that SSL hardly does anything=
to reduce the need to check the offline signatures on the binaries.

You are right that the CA system is not full-proof= , one CA was caught issuing a bogus certificate on purpose a while back, I = forgot the name but it resulted in CA certificate revokation and the entire= company being blacklisted from Firefox and Google Chrome forever - basical= ly a summary corporate execution. I personally imagine the CIA or other sta= te actor could just quietly buy up an already trusted CA and abuse them. Bu= t it's clear, people are watching, and if a CA is caught once, that'= ;s the end of their business forever: Firefox and Google demonstrated that.= The strategy is possibly too expensive and risky to carry off which is may= be why they don't do it.

What has been noted with all the Snowden leaks, a= nd with the Lavabit case, the security agencies did not get bogus certifica= tes issued, they still got court orders, or other deception to get hold of = the encryption certificates of their targets instead of issuing their own s= o they could listen in.

The CA system is not full proof, but it is what we have= . Similar arguments have been made against the use of identity certificates= for bitcoin, but that hasnt stopped it's inclusion in the bitcoin paym= ent protocol.

Anyway, I take your points, but this is an area I am qu= ite passionate about so it's important for me to be clear.
Regards,

Drak
--001a11c245fa1197d904ed0c4738--