Re: 2 questions

Stephen Farrell <stephen.farrell@cs.tcd.ie> Tue, 31 March 2015 01:04 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41EBD1A87C4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Mar 2015 18:04:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iHbEzHAkzP8f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 30 Mar 2015 18:04:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 895D81A87B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 30 Mar 2015 18:04:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YckYL-0003WK-ED for ietf-http-wg-dist@listhub.w3.org; Tue, 31 Mar 2015 01:01:13 +0000
Resent-Date: Tue, 31 Mar 2015 01:01:13 +0000
Resent-Message-Id: <E1YckYL-0003WK-ED@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1YckYD-0003VE-Md for ietf-http-wg@listhub.w3.org; Tue, 31 Mar 2015 01:01:05 +0000
Received: from [134.226.56.6] (helo=mercury.scss.tcd.ie) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1YckY8-00012W-6q for ietf-http-wg@w3.org; Tue, 31 Mar 2015 01:01:05 +0000
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 5617ABEDA; Tue, 31 Mar 2015 02:00:28 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BNiRjfYHvX5v; Tue, 31 Mar 2015 02:00:26 +0100 (IST)
Received: from [10.87.48.73] (unknown [86.46.29.244]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id F35A5BEF1; Tue, 31 Mar 2015 02:00:25 +0100 (IST)
Message-ID: <5519F1A7.8090900@cs.tcd.ie>
Date: Tue, 31 Mar 2015 02:00:23 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Adrien de Croy <adrien@qbik.com>, Xiaoyin Liu <xiaoyin.l@outlook.com>, Dan Anderson <dan-anderson@cox.net>, "Walter H." <walter.h@mathemainzel.info>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <emf01f6974-9ea9-46e0-b943-1a88b827bdbd@bodybag>
In-Reply-To: <emf01f6974-9ea9-46e0-b943-1a88b827bdbd@bodybag>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=134.226.56.6; envelope-from=stephen.farrell@cs.tcd.ie; helo=mercury.scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-8.2
X-W3C-Hub-Spam-Report: AWL=1.210, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1YckY8-00012W-6q e1fa2a87cbd6c91067a655a05ebc917e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 2 questions
Archived-At: <http://www.w3.org/mid/5519F1A7.8090900@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29100
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>


On 31/03/15 01:07, Adrien de Croy wrote:
> 
> With MitM all bets are off

Seems to me that claims of the prevalence of MitM are
somewhat exaggerated. The last study I recall of those
in the wild found about 0.41% of requests affected. [1]

So I think any argument of the form "don't do X to try
be more secure or private, since the prevalence of MitM
implies X is pointless" ought be considered bogus at the
~99.5% confidence level, at least according to [1].

I also note that [1] found that those few unfortunate
victims of the MitM attack are terribly served between UA
and MitM as they saw a bunch of short RSA keys (with no PFS)
used. And one would expect that to be the case as a supposedly
"benevolent" MitM will generally decide to prefer crap
security so that their always-negative performance impact
is minimised. (Seeing commensurate security on both sides
of the MitM might even be considered as indicative that
the MitM is more likely malicious and not benevolent? I've
not seen that measurement so far as I recall, so I'm just
speculating there.)

Are there better studies out there with better figures?

If not and 0.41% of crappy security that you get with real
deployments of MitM's is the norm, then we ought be more than
ignoring the MitM deployments - we all (and browsers!) should
be yelling loudly about 'em as we trip over their victims.

Cheers,
S.

[1] http://arxiv.org/abs/1407.7146