Re: [dane] Alissa Cooper's No Objection on draft-ietf-dane-openpgpkey-10: (with COMMENT)

Stephen Farrell <stephen.farrell@cs.tcd.ie> Thu, 21 April 2016 14:12 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52AA112E8D5; Thu, 21 Apr 2016 07:12:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level:
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 vXZPbq1EX16t; Thu, 21 Apr 2016 07:12:14 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE54E12E825; Thu, 21 Apr 2016 07:12:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id A2F28BE73; Thu, 21 Apr 2016 15:12:10 +0100 (IST)
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 ovE0yh77cuER; Thu, 21 Apr 2016 15:12:10 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id E43A9BE79; Thu, 21 Apr 2016 15:12:01 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1461247922; bh=Z1kgLT7kC0OfNEhIpzGMARpYVJEAZ7GJxKC5V13EU8k=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=KFA9YajbNhKkI39+BhEMrAsVpR3uF7FWGCDN3PWRnqmwiC0013B/DTC6GPrDhQYGw HIb4dYoznQQWK5k35jDMDdQJeCukwGonPpuk/QuwBmslPZOo0vfqzVGHTwtPhCiLkx Foql10ErjcQye9X6UTf/JeRacmc1egbHBFn/+8W8=
To: Paul Wouters <paul@nohats.ca>, Alissa Cooper <alissa@cooperw.in>
References: <20160420214545.800.62731.idtracker@ietfa.amsl.com> <alpine.LRH.2.20.1604210950290.23740@ns0.nohats.ca>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <5718DFB1.2030303@cs.tcd.ie>
Date: Thu, 21 Apr 2016 15:12:01 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <alpine.LRH.2.20.1604210950290.23740@ns0.nohats.ca>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms050106040000000807060301"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dane/kOGRPSFzfe7ArqW1szmOE-jC4Uw>
Cc: draft-ietf-dane-openpgpkey@ietf.org, The IESG <iesg@ietf.org>, dane-chairs@ietf.org, dane@ietf.org
Subject: Re: [dane] Alissa Cooper's No Objection on draft-ietf-dane-openpgpkey-10: (with COMMENT)
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dane/>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 14:12:16 -0000

Hi Paul,

On Alissa's 2nd point, I think there might be a useful sentence
or two to add about the PM-relevant trade-offs between this approach
and others, (if we can ensure those sentences aren't inflammatory:-).
Do you think we could craft something along those lines to include?

Cheers,
S.


On 21/04/16 15:06, Paul Wouters wrote:
> On Wed, 20 Apr 2016, Alissa Cooper wrote:
> 
> Hi Alissa,
> 
> Thanks for the review. Comments inline,
> 
>> I think if this sees any sizable deployment, it will be trivial for
>> attackers to use it to harvest email addresses from the DNS.
> 
> Email addresses when used area really hard to keep secret. See also
> John's remarks on this. This just moves the online-smtp attack to an
> online-dns attack. Not that different.
> 
>> Section 7.4
>> therefore seems to be quite misleading. I don't see why a zone walk is
>> necessary to do this kind of harvesting when an attacker could just send
>> one query per entry in its dictionary. I think it would be more accurate
>> to say that by using this mechanism, people are effectively making their
>> email addresses public.
> 
> Why send a DNS query for a hashed name when you can send a probe to the
> SMTP server?
> 
> The only additional issue is that one could zonewalk to harvest the
> records, then perform an offline dictionary attack. But with DNSSEC
> white/black lies with an online signer these could be mitigated. One could
> even add records of non-existing users to bump the failure rate similar
> to John's described defense of always claiming any email address is valid.
> 
>> I also think the mechanism could facilitate pervasive monitoring as
>> described in RFC 7258, as it potentially makes a whole class of entities
>> (resolvers) into repositories of detailed data about who has communicated
>> with whom via email.
> 
> One could argue this deployment will actually more decentralise this.
> When a pervasive monitor sees an OPENPGPKEY query from 8.8.8.8 it knows
> less then if it sees a HTTP/HTTPS connect from some ISP owned DSL IP to
> a keyserver IP address. A pervasive monitor would also be able to keep
> track of that DSL IP and figure out the target domain or even target
> user at the domain. Match that with keyserver contents and TLS traffic
> size, they could pinpoint who you obtained a key for even if everything
> between keyserver, user and SMTP was protected by TLS.
> 
> Currently, the only somewhat automated method is to query well known
> key servers or a search engine. There are only very few of these so much
> easier to pervasively monitor. For keyservers, I tend to use pgp.mit.edu
> and pgp.surfnet.nl. Both accept HTTP without redirect to HTTPS. One of
> them even does not work on HTTPS.
> 
>> To the extent that large DNS providers keep logs
>> about individual queries, it seems like those logs could become prime
>> attack targets.
> 
> DNS is gaining protection with both DNS-over-TLS and Query
> Minimalization. Endusers can pick DNS servers they trust.
> 
>> The mechanism specified here can obviously help mitigate
>> pervasive monitoring in other ways, but I think the draft needs to be up
>> front about the trade-offs between potentially exposing metadata to a
>> wider pool of entities and attackers in exchange for more easily being
>> able to protect content.
> 
> In fact, using the DNS and caches and a method of securely querying the
> DNS from any point on the network actually gives you a nice and good
> pool of anonimity required to hide. I would not know of a better method
> to do that currently. For instance, using TOR for DNS.
> 
> Paul
> 
> _______________________________________________
> dane mailing list
> dane@ietf.org
> https://www.ietf.org/mailman/listinfo/dane