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

Adam Roach <adam@nostrum.com> Tue, 19 March 2019 23:04 UTC

Return-Path: <adam@nostrum.com>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1113F131192 for <doh@ietfa.amsl.com>; Tue, 19 Mar 2019 16:04:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.979
X-Spam-Level:
X-Spam-Status: No, score=-1.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nostrum.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 lNKk_leZdeid for <doh@ietfa.amsl.com>; Tue, 19 Mar 2019 16:04:00 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D409A13118B for <doh@ietf.org>; Tue, 19 Mar 2019 16:04:00 -0700 (PDT)
Received: from MacBook-Pro.roach.at (99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id x2JN3wAS084958 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 19 Mar 2019 18:04:00 -0500 (CDT) (envelope-from adam@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1553036640; bh=uWpH1tzlTSA6Tp0iXrsW7+cnQ2F3uPmCABb1VDyAb6M=; h=Subject:To:References:From:Date:In-Reply-To; b=P4aEDn6ffoRKFLqXKgJSHgV3qM9fDkuQF0a22tyK8Jx0fk9yMRQ9aZtB9+JPLOk3f El+3MCKFtm24H1i+rPJg/xx3b/PAcVL4NsGMo0vLxZ8rRPMHFlsm8tFtPS8c8+WKQh duIJuKu1e1NI27Hr+hwqvmae7E7HOyOdeEgRbH54=
X-Authentication-Warning: raven.nostrum.com: Host 99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228] claimed to be MacBook-Pro.roach.at
To: Martin Thomson <mt@lowentropy.net>, doh@ietf.org
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> <CA+9kkMBXgPHmLRV44Qen_xm1G+Xerb5WJ0JvL11U3XayVgTHfA@mail.gmail.com> <b5f4a266-b6ef-463b-9ecd-8964ca3d20a2@www.fastmail.com>
From: Adam Roach <adam@nostrum.com>
Message-ID: <1bc67e19-cdfc-c1c0-1431-fbd15c0f0d02@nostrum.com>
Date: Tue, 19 Mar 2019 18:03:52 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
MIME-Version: 1.0
In-Reply-To: <b5f4a266-b6ef-463b-9ecd-8964ca3d20a2@www.fastmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/F8Q6DDA9m0UxsAQH44jSQt0NQsw>
Subject: Re: [Doh] [DNSOP] New I-D: draft-reid-doh-operator
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Mar 2019 23:04:03 -0000

On 3/19/19 3:33 PM, Martin Thomson wrote:
> I agree with Ted.
>
> On Wed, Mar 20, 2019, at 04:46, Ted Hardie wrote:
>> My apologies if I have misunderstood your point
>> here, but unless you also block all traffic for which you have seen no
>> resolution event, I believe that it is entirely possible to circumvent
>> the defense you describe.
> The problem with blocking packets that can't be traced to a resolution event is that you need to catch all the resolution events. DNS doesn't have a monopoly on address resolution - I mean, that's the whole point of this discussion, isn't it?


It's also pretty trivial to defeat: if I were malware that used DoH to 
resolve "cnc.horriblebotnet.example" to 192.0.2.17, I could then do a 
Do53 query for 
"192-0-2-17.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.plex.direct", which 
triggers a valid resolution response for the IP address I want to get to 
and lets my traffic through.

Sure, you can block the entire "plex.direct" tree, but it's not the only 
resolver that acts like this. You'll be playing a long game of whack-a-mole.

/a