Re: [DNSOP] [Doh] New I-D: draft-reid-doh-operator

Eliot Lear <lear@cisco.com> Tue, 19 March 2019 18:45 UTC

Return-Path: <lear@cisco.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CF3C13151C; Tue, 19 Mar 2019 11:45:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 f4ww3Jn7PmzI; Tue, 19 Mar 2019 11:45:00 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96E4213150E; Tue, 19 Mar 2019 11:44:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11405; q=dns/txt; s=iport; t=1553021099; x=1554230699; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=EcpDzdEj4cU8uRg/C4AzRt4KX85wmqcAaGQFVE3WNi4=; b=EJpJVlEv3WzteF14ZginoKH/paJFykjevIOIkEQ/kZt+pCPbADnnVPh+ J3o7Tb6LSjvJ20MhN9kaKpVB6ShlxqHj2fwyJJRx+WamjHTpN72rhx5/x NCJRr1FE/1RUBpaA5xRqgVG5BzuntwlBmbejz9OtLhL/DysAZTCfvGW6Y Y=;
X-Files: signature.asc : 488
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A9AAAHOJFc/xbLJq1jGQEBAQEBAQEBAQEBAQcBAQEBAQGBZYEPgjozJ4QLiHuMNSWSPIdxCAMBAYRsAoUNOBIBAQMBAQkBAwJtKIVKAQEBAwEjVgULCxgnAwICRhEGE4MiAYFtCKpngS8fhSeEWQ+BLwGBSIoAgX+BOAwTgkyICzGCJgOKXIFahSqTCQmEYYcDh0gZixOIS5sfgnACBAYFAhWBXiGBVjMaCBsVZQGCQT6BWBeOHz4DMI9hAQE
X-IronPort-AV: E=Sophos;i="5.60,245,1549929600"; d="asc'?scan'208,217";a="10783822"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Mar 2019 18:44:57 +0000
Received: from [10.61.194.89] ([10.61.194.89]) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x2JIiup4016477 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 19 Mar 2019 18:44:56 GMT
From: Eliot Lear <lear@cisco.com>
Message-Id: <4F2265B7-BF78-498C-9372-AF8884082FCA@cisco.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_22B7570F-9E40-4A48-9C22-AEDFB6AAE3FA"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
Date: Tue, 19 Mar 2019 19:44:55 +0100
In-Reply-To: <0ea5c3ed-f0d9-8b95-515e-c555855a9c5c@huitema.net>
Cc: Matthew Pounsett <matt@conundrum.com>, Ted Hardie <ted.ietf@gmail.com>, DoH WG <doh@ietf.org>, Paul Vixie <paul@redbarn.org>, dnsop <dnsop@ietf.org>
To: Christian Huitema <huitema@huitema.net>
References: <155218771419.28706.1428072426137578566.idtracker@ietfa.amsl.com> <1914607.BasjITR8KA@linux-9daj> <CA+9kkMAYR19CCCLN00A5Oy_=9Z97FQogCz-vdC=M7Ffn47fTgQ@mail.gmail.com> <1900056.F7IrilhNgi@linux-9daj> <CA+9kkMCgmzjbPM+DTUYuS3OsT+wOCmsyaGPg6fPu=w-ibL=NrA@mail.gmail.com> <CAAiTEH_umx5Xqa24TywQ_BX_Lpo6piwRWPLWhADkh-PnM20vcg@mail.gmail.com> <A6C66F6C-2663-4AF0-B318-04CE66129D14@cisco.com> <0ea5c3ed-f0d9-8b95-515e-c555855a9c5c@huitema.net>
X-Mailer: Apple Mail (2.3445.102.3)
X-Outbound-SMTP-Client: 10.61.194.89, [10.61.194.89]
X-Outbound-Node: aer-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/9ghbzDNlaT5MIcYIMa7DLdhAHHc>
Subject: Re: [DNSOP] [Doh] New I-D: draft-reid-doh-operator
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Mar 2019 18:45:03 -0000

Hi Christian,

> On 19 Mar 2019, at 18:37, Christian Huitema <huitema@huitema.net> wrote:
> 
> 
> 
> On 3/19/2019 12:50 AM, Eliot Lear wrote:
>>> On 19 Mar 2019, at 01:50, Matthew Pounsett <matt@conundrum.com <mailto:matt@conundrum.com>> wrote:
>>> 
>>> Somewhere up-thread it was suggested that there are other reasonable steps that a network/security operator can take to maintain the controls over resolution that we have today, but so far I haven't seen them enumerated anywhere.
>>> 
>> 
>> I had stated that one can use an MDM to manage the endpoint’s use of DoH.  This doesn’t eliminate the possibility of malware, but does reduce misconfiguration in the enterprise, and provides for some protection against infection by blocking known bad names.
> Configuration works well for functions like "phishing protection": the device users in most cases want some form of protection, and then it is a matter of how this protection is configured. It does not work so well for functions like intrusion detection, such as figuring out whether a device is trying to contact a botnet C&C, because we cannot expect the infected device to be amenable to configuration.
> 

Yes.


> Third party DNS/DoH providers could probably block resolution of phishing names or  botnet C&C names using the same methods as enterprises do today, but the enterprise network will not be informed that one of its devices just tried to contact a botnet C&C. It would be very nice if the IETF standardized a way to do that.
> 

I don’t see why they wouldn’t, and I could easily envision them being obliged to do so in the future.

>> 
>> In addition, there’s at least a heuristic for detection: compare data plane activity against ANSWERs.  If you’re seeing activity to addresses that don’t match (modulo some noise), you know an alternate resolver is active on that device.  And while it’s possible for malware to mimic queries to Do53 for Good sites versus what it really wants to access, you start tarnishing the rep of the IP address as and when you detect the problem through other means (AV s/w, honey pots, binary inspection, et al).  That leaves it with cloud providers to sort their wagons.
> Yes, one could imagine IP address or IP prefix reputation systems, similar to the IP address block lists used to protect against spam. This would work, and it would also provide intrusion detection signals when an infected device starts contacting a botnet. The problem of course is the gray line between "blocking phishing sites" and "blocking content that I disagree with". The various attempts to block the whole of Wikipedia in order to block some specific pages shows where this can lead.

In the enterprise this is not a problem.  In the consumer space, it is a big problem.  This goes back to the fundamental issue of whether or not the user has given meaningful consent and what happens when they do not.  We should be at least mindful of the game of Chicken being played here with governments.  Lessig’s Law is bounded by the fact that governments have a lot more guns than most of us do (with some notable and amusing exceptions).  The point of my message was not to go into this discussion, however, but to talk about what is possible, rather than what is necessarily desirable.

The sharing of threat intel is something that could be reasonably governed by contract in this scenario.  Think about that a bit.

Eliot