Re: [Patient] [saag] Internet Draft posted as requested -

"Diego R. Lopez" <diego.r.lopez@telefonica.com> Sun, 17 December 2017 23:19 UTC

Return-Path: <diego.r.lopez@telefonica.com>
X-Original-To: patient@ietfa.amsl.com
Delivered-To: patient@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 242C3126BF0; Sun, 17 Dec 2017 15:19:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 lW0vQ-ImiFgl; Sun, 17 Dec 2017 15:19:17 -0800 (PST)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr60126.outbound.protection.outlook.com [40.107.6.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6DB3F124234; Sun, 17 Dec 2017 15:19:16 -0800 (PST)
Received: from AM5PR0602MB3251.eurprd06.prod.outlook.com (10.167.170.156) by AM5PR0602MB3249.eurprd06.prod.outlook.com (10.167.170.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Sun, 17 Dec 2017 23:19:12 +0000
Received: from AM5PR0602MB3251.eurprd06.prod.outlook.com ([fe80::5e9:e441:e61f:7696]) by AM5PR0602MB3251.eurprd06.prod.outlook.com ([fe80::5e9:e441:e61f:7696%13]) with mapi id 15.20.0323.018; Sun, 17 Dec 2017 23:19:12 +0000
From: "Diego R. Lopez" <diego.r.lopez@telefonica.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Brian Witten <brian_witten@symantec.com>, "patient@ietf.org" <patient@ietf.org>, "saag@ietf.org" <saag@ietf.org>
Thread-Topic: [Patient] [saag] Internet Draft posted as requested -
Thread-Index: AQHTdG3n75b66muaQUWJ0xAs2sVGYqNDdU+AgAKmnICAAibggA==
Date: Sun, 17 Dec 2017 23:19:12 +0000
Message-ID: <AF4C62E0-61AB-45DB-B3E6-56AB67A1070A@telefonica.com>
References: <MWHPR16MB14881688FE400E3277CA8A9393310@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB14889BEE3EB0ED5F328D7C3993370@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB14889B7535153E5844649CA393370@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB14880A12D15AC58FDD5CEC8793370@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB1488D43F3B53BC7BBE9D836593370@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB1488853B0E4F7BB8E557288D93370@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB148845FB069D03625BC399B193370@MWHPR16MB1488.namprd16.prod.outlook.com> <MWHPR16MB1488848D7AC828EBB8DA90B093350@MWHPR16MB1488.namprd16.prod.outlook.com> <DM5PR16MB148477E1FAA4C210A3B013F7930A0@DM5PR16MB1484.namprd16.prod.outlook.com> <dfdb52ca-81ae-50b7-cd5f-e256b5cb047d@cs.tcd.ie>
In-Reply-To: <dfdb52ca-81ae-50b7-cd5f-e256b5cb047d@cs.tcd.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.8.0.171210
authentication-results: spf=none (sender IP is ) smtp.mailfrom=diego.r.lopez@telefonica.com;
x-originating-ip: [83.42.130.160]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM5PR0602MB3249; 6:vtziawqOVz4R/XwMHm3w+AwX871spl5OW5oPzI0KJlBvhF84P2+Z94AdNN+OCMissrffXA+F6xKGs2XO6yfNzS5ep7OyzYQTaBrJXuIOdLIwEiUxwM+P7rYkx/fPwNU6I6EnMWwkdUxt6IxI8pzKLLj3XzeDLI5Akukape5WfOCLaVTbAohizj7tExgD3L84vgzCvKI/++Uiq299dSLt0H4jO21j+CAEOGVdb5m4+g7nhADSD+k9YTdM5/BWWLSXT9GXjU16fpJBrHkABZiUVu2ps6P7QGFN5r8YVd0matg/ftXb2WJdUXQE2jEARufVJan7NvNjRGgVgy+9jPXLwInms/Qb2ejaSphT3oRPWZY=; 5:OEGAF+q16cYax2NG+5rrObQtuFHRsZuVCqk+WydZ/JwcAdlwNS3l348yjjKkO5grJ1doaZsE/li0QR9uxYZBOJ0TQkvfNY2O7IR9/BKMXCglhL4f77AmOjmpfYU3LeE3ZY2sUtLJydbUkTu3A9ubN/6PagIJXmk9o9SwHkPqrKg=; 24:IVzaMWzIRlm7aiOXnuB7BuA09QHGJ8JNWI09tojkdb4x5YtUnDUYvv5AD2aE4fS5wrAeZ5K2zhVMRFbK2ioBtbW9UXjNvOu3IkYcnN5ecmk=; 7:7u8WbdB7pvJrsPD0A8rN87uFSrmtctVLxPZpX3NMsUG614nxL90ojgdeBGsiyJD4Tk20ygD4tfI8y2jHQvj069vJI9im3uSTMyxQpYUpfyXxKUJ/Oanbj3fq7oHJk9aiAPdf+9OOlTZ9JKxPdcGKUJaHJcI8flUSZl5dcRhaTcYHQGSqC3SwESP00DcQUFZxLdzqe60txODVrupdQvveTw1T4y328VAEchLJcwOJXqlx8Lry6gtN7IY9d6wIBA79
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 37e5416c-d067-4278-7657-08d545a4955a
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307); SRVR:AM5PR0602MB3249;
x-ms-traffictypediagnostic: AM5PR0602MB3249:
x-microsoft-antispam-prvs: <AM5PR0602MB3249F4A1232ABCAAE61B74F1DF090@AM5PR0602MB3249.eurprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(32856632585715)(40392960112811)(127643986962959)(128460861657000)(21748063052155)(81160342030619);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231023)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123562025)(20161123564025)(6072148)(201708071742011); SRVR:AM5PR0602MB3249; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM5PR0602MB3249;
x-forefront-prvs: 05245CA661
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39860400002)(366004)(396003)(376002)(252514010)(189003)(40134004)(24454002)(199004)(25724002)(33656002)(3280700002)(68736007)(8936002)(97736004)(105586002)(106356001)(2950100002)(99286004)(66066001)(5660300001)(76176011)(3660700001)(93886005)(606006)(25786009)(54896002)(6306002)(6486002)(2906002)(6436002)(53936002)(7736002)(59450400001)(8676002)(478600001)(86362001)(14454004)(6506007)(5250100002)(53546011)(81156014)(81166006)(966005)(2501003)(110136005)(6512007)(236005)(83506002)(82746002)(316002)(102836003)(3846002)(2201001)(6116002)(83716003)(58126008)(229853002)(786003)(45080400002)(6246003)(2900100001)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0602MB3249; H:AM5PR0602MB3251.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: telefonica.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_AF4C62E061AB45DBB3E656AB67A1070Atelefonicacom_"
MIME-Version: 1.0
X-OriginatorOrg: telefonica.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 37e5416c-d067-4278-7657-08d545a4955a
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2017 23:19:12.4698 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9744600e-3e04-492e-baa1-25ec245c6f10
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0602MB3249
Archived-At: <https://mailarchive.ietf.org/arch/msg/patient/OtUZIgFJ_55vb6Wf-jjfVb0ZkLs>
Subject: Re: [Patient] [saag] Internet Draft posted as requested -
X-BeenThere: patient@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Protecting against Attacks Tunneling In Encrypted Network Tunnels <patient.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/patient>, <mailto:patient-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/patient/>
List-Post: <mailto:patient@ietf.org>
List-Help: <mailto:patient-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/patient>, <mailto:patient-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Dec 2017 23:19:22 -0000

Hi,



First of all, let me say I am glad to see this discussion reopened, and glad to see as well some proposals that sound more constructive than the usual religious entrenchments that are so common in this front, especially when I see certain acknowledgement we are not necessarily talking of mitm-ing, and we are not only talking about HTTPS and/or web access. It is about exploring the solution space for network-hosted device protection in a network with widespread (OK, let's not use "pervasive") use of end-to-end encryption.



This said, there a few points I'd like to make in response to Stephen's comments...



On 16/12/2017, 16:27, "PATIENT on behalf of Stephen Farrell" <patient-bounces@ietf.org on behalf of stephen.farrell@cs.tcd.ie> wrote:



    On 14/12/17 22:58, Brian Witten wrote:

    > The logic, in the short form of roughly five points would be:



    Let's see if there is or is not logic to be found...



    > ** (1)

    > ** Endpoints have vulnerabilities.  ( unfortunately lots of them.

    > For this part I believe there is overwhelming evidence, but please

    > LMK if you disagree. )



    That's incomplete to the point of being misleading. Middleboxes

    are as likely to have bugs. And if those are mitm'ing many https

    connections the impact of a problem is higher than for the client

    side. Probably also higher impact for most instances of servers

    too. And the mitms are certainly in a position to mitm connections

    to high-value servers (if they can do one they can do all) so all

    mitm code bugs could argued to be worse than endpoint bugs.



Is not here a flaw in your logic? Nobody has mentioned middleboxes (or “things”, as they have called below) yet…



    > ** (2) ** These vulnerabilities are often

    > difficult (sometimes nearly impossible) for device owners, users,

    > etc, to mitigate “in” these endpoints. ( this is true today for

    > countless devices, and increasingly true for increasingly closed

    > devices, particularly in IOT and mobile. )



    Where's the evidence for that? What percentage is "often"?

    (Speaking about "countless" devices, is pure rhetorical

    noise and not useful if you are honestly trying to provide

    verifiable evidence.)



The most recent I have found is here: https://danluu.com/android-updates/ . It only refers to Android devices, though it mentions other systems as Windows XP. And it does not take into account IoT devices, to name another category. May be all of those are not “countless”, but it makes the use of the word a reasonably accurate figure of speech anyway.



    Why would middleboxes be easier to patch? It seems from many

    anecdotes (I'd love to see real numbers), that at least browsers

    and web servers these days are managed much better in terms of

    updates.



I cannot speak for other people supporting this, but we have not in mind only web browsers or web access use cases. I remember constrained devices were mentioned a couple of times in Singapore.



    > ** (3) ** For that reason,

    > those endpoint owners/users/etc often need to put some “thing” in the

    > network to mitigate those endpoint vulnerabilities. **



    That's simply false. Even if I accepted your stated and flawed

    premises, the above still doesn't follow at all. Just to call

    out your flawed logic in one way: buggy difficult to fix clients

    *could* be fixed or replaced over time, so your claim that

    a mitm middlebox is *needed* is obviously false.



OK. May be “need” is a too strong word here, at least in the general case (not sure about some kinds of devices…). But my own experience as user is that “can require” is, again, reasonably accurate



    > (4) ** For

    > that to be effective (against attacks in encrypted traffic), that

    > “thing” needs keys to inspect the encrypted traffic.  ( This can be

    > done any of many ways, as it’s done today. )



    Also clearly incorrect. See [1] (recently quoted by Martin T on some

    other list) for a proof that your claim that this is *needed* is also

    just false.



    [1] https://arxiv.org/abs/1607.01639



This is an interesting reference. Thanks for sending it. I guess this kind of solutions is in the minds of many, and recommendations on them (including a sound base of datasets for training and validation, as I have mentioned elsewhere) could be an interesting result of an effort like PATIENT. But the paper acknowledges limitations and ways for further improvement, and it has been applied to a particular case: distinguishing legitimate from malware-originated encrypted traffic. Nothing is said about malware payload detection to prevent infection, as an example of a key feature.



    > ** (5) ** Where that’s

    > done today, it can be done much more safely, therefore we should spec

    > standards for how to do it more safely.  ( Lots of ideas have been

    > published in research, and I include some details on that further

    > below, but maturing the right ones and baking them into a standard is

    > of course typically a “bigger group” effort. )



    Afaics all of those approaches are inherently flawed and consider

    it someone reasonable that a human can decide when to trust a

    random name/address that claims to be "good." None (i.e. zero) of

    the approaches proposed would improve the overall environment and

    therefore none (i.e. zero) of those ought be standardised.



I am afraid I don’t follow you here… What do you mean by “random name/address that claims to be “good””? Given there are appropriate roots of trust, how is this “random” trust different from the certificate verification process in TLS?



Be goode,



--

"Esta vez no fallaremos, Doctor Infierno"

Dr Diego R. Lopez

Telefonica I+D

https://www.linkedin.com/in/dr2lopez/

e-mail: diego.r.lopez@telefonica.com

Tel:         +34 913 129 041

Mobile:  +34 682 051 091

----------------------------------





________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição