Re: [DNSOP] New Version Notification for draft-pan-dnsop-swild-rr-type-00.txt

Lanlan Pan <abbypan@gmail.com> Tue, 22 August 2017 07:52 UTC

Return-Path: <abbypan@gmail.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 326CE1321B7 for <dnsop@ietfa.amsl.com>; Tue, 22 Aug 2017 00:52:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.876
X-Spam-Level:
X-Spam-Status: No, score=-0.876 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.122] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 iq0-fJeXsvDp for <dnsop@ietfa.amsl.com>; Tue, 22 Aug 2017 00:52:52 -0700 (PDT)
Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (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 9D94F126B71 for <dnsop@ietf.org>; Tue, 22 Aug 2017 00:52:51 -0700 (PDT)
Received: by mail-wr0-x230.google.com with SMTP id k46so43066930wre.2 for <dnsop@ietf.org>; Tue, 22 Aug 2017 00:52:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XMPotzlvbD7hNoLw32A3GxKDOGhmnrpEGTxWWvidfzo=; b=QZPVcPbu/r4orm1fEafOzDyKC7EAZajLAzi6Tanh8cZwQvkSk7S3K0IcnXbygLQf7E TGu7QeWixl1g/e0p5K3KAsHZA+jSUfD4SeXLPuv4h7mxwEz2oVuRBJvndzIteMM9FNsm M7je3oQKVVvJ5Xhiu979C5w2+xN0/V/99D8mkZlIUN8XpcXeFIki7BgSxBOMiSaAXmT/ SGl99Z2fYDolL2L8b7SIizsoYSZDfOYihnjavy9dNJnet0lpKAcGlQlCRFHuCKWFTOBp sC1hYHShursIoSBvAap3Js7wWI8qi/MHvFBFEAfrwejj3d+dW1dJ+54Mq+taOC1AFcIH ww2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XMPotzlvbD7hNoLw32A3GxKDOGhmnrpEGTxWWvidfzo=; b=L/vLeyytv2LIaVwgagAgbFolFz0hcvsxXJK/Fzrck4+dUFuy2u/0WojXtUR3GlRpcm 9zs6eh5Zbj611AjScA3gsGNgWhPnWE2dJMHRN0927U0hn6X1lDGuNEwNsWUf34dypVDC L5NrZt+S0/hbeQsTYi58udYjty8/My7LMZ4w92wnH848qkA+P9uXxaM8pkNRWp2l3tMK 1YbjJyL7T4d6wEK+huwX0JBgRA7lwz1Cs4KyTvsCpyWwGUbMuqfcbA7gPE5ERXv3RcBk XBVUSaKj5uJhzigShp2tCmG3Z4Vh5agBmZar5x/2qXwPWClwrT/dyZ/REvNtO3sMKjwr pnqQ==
X-Gm-Message-State: AHYfb5iVJMIK2t3ntHF0e2jr19gfWgogvnYWCgMsiD3TXkwehl0j5Hsg xrwQjuv4MC3kV7XrpJ2CWyqV5BJ2YzZF
X-Received: by 10.80.174.218 with SMTP id f26mr11887377edd.286.1503388369932; Tue, 22 Aug 2017 00:52:49 -0700 (PDT)
MIME-Version: 1.0
References: <CANLjSvWFh0ER47=SFJB-3rkTJKT_OxcjKwcD9-DUkDDxJTo=+g@mail.gmail.com> <201708151341.v7FDfNqR039481@calcite.rhyolite.com> <CAPt1N1=2eFRBCHYptn6W=3ruFisN0xRcMQSPPakgZXnmsaTS5w@mail.gmail.com> <CANLjSvWkDTgqTg+fy2jZzfcaY7e1VWB11yiWMzO3MfcrCGVLSQ@mail.gmail.com> <FFA80661-78A3-40B8-8DBC-FE79E873BCAF@fugue.com> <CANLjSvWcscFQSH9KdmZPgOb9vC5immDoJZjG3msQB5TqfiHkDQ@mail.gmail.com> <3337C704-0398-439E-8C9A-8A4BA9FB7413@fugue.com> <CANLjSvUZC=DCbuCKmq28C4+Qm_SZ7GTpTWZPisp-Gvf5hg21qw@mail.gmail.com> <DF434FBC-2F11-4548-9071-1B5FE84A549E@fugue.com> <CAHw9_iJVk2Q2G_2DH1a6PvCPW7m+iq2v5AGS+81hdBC-EP0SeA@mail.gmail.com>
In-Reply-To: <CAHw9_iJVk2Q2G_2DH1a6PvCPW7m+iq2v5AGS+81hdBC-EP0SeA@mail.gmail.com>
From: Lanlan Pan <abbypan@gmail.com>
Date: Tue, 22 Aug 2017 07:52:38 +0000
Message-ID: <CANLjSvXRyk6KSeNeCN4L9xy=0EBUvFW2ZAYZQqFHK-pOm=ybiA@mail.gmail.com>
To: Warren Kumari <warren@kumari.net>, Ted Lemon <mellon@fugue.com>
Cc: dnsop WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="f403045c4eeabfd667055752e1dc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/yvgA140b7rnfEgwpdBASjmAYCFE>
Subject: Re: [DNSOP] New Version Notification for draft-pan-dnsop-swild-rr-type-00.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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, 22 Aug 2017 07:52:55 -0000

Hi Warren,

Thanks for your work, :-)

I totally agree:  Not all Disposable Domains are wildcards like
xxx.github.io / xxx.blogspot.com / xxx.qzone.qq.com. So, wildcard solution
can not cover all example Disposable/Temporary Domains in the paper, as
your analysis.

The question is how to avoid unnecessary caches and queries, give recursive
more power to defense with wildcard issue.

As Ted's advice, for a better justification, I will do more analysis on
recursive cache, which kind of temporary domain is "particular", wildcard
domains or "domains has no incentive to publish a wildcard marker".


Warren Kumari <warren@kumari.net>于2017年8月22日周二 上午2:45写道:

> I was really trying to stay out of this thread...
>
>
> On Fri, Aug 18, 2017 at 1:05 PM, Ted Lemon <mellon@fugue.com> wrote:
> > El 18 ag 2017, a les 11:33, Lanlan Pan <abbypan@gmail.com> va escriure:
> >
> > So, can you talk about how your proposal saves cost over using a
> heuristic?
> > It can be used with cache aging heuristic.
> > Heuristic read in aaa/bbb/ccc.foo.com, expire and move out;  then read
> in
> > xxx/yyy/zzz.foo.com,  expire and move out;  loop...
> > => Map aaa/bbb/ccc/xxx/yy/zzz.foo.com to *.foo.com when heuristic read,
> it
> > will reduce the load of move in/out.
> >
> >
> > By "move out" you mean "remove," right?   Move out implies that you are
> > moving it somewhere.   You haven't actually answered my question.  You
> say
> > that SWILD will remove the load, but you don't give any evidence of this.
>
> Yup.
>
> Earlier in the thread, one of justifications for this work was "DNS
> Noise: Measuring the Pervasiveness ofDisposable Domains in Modern DNS
> Traffic." (posted by Lanlan Pan).
> In the abstract of the same is: "Disposable domains are likely
> generated automatically, characterized by a “one-time use” pattern,
> and appear to be used as a way of “signaling” via DNS queries."
>
> The document contains some examples of these "disposable domains",
> including:
> 0.0.0.0.1.0.0.4e.135jg5e1pd7s4735ftrqweufm5.avqs.mcafee.com
>
> McAfee's site says: "GTI File Reputation looks for suspicious
> programs, Portable Document Format (PDF) files, and Android
> Application Package (.APK) files that are active on endpoints running
> McAfee products, including Endpoint Security (ENS), VirusScan
> Enterprise (VSE), and SaaS Endpoint Protection (formerly known as
> Total Protection Service). If any suspicious files are found that do
> not trigger existing signature DAT files, GTI sends a DNS request to a
> central database server hosted by McAfee Labs."
>
> Basically, the way that this works is to generate a hash (or similar)
> of an object and query that hash in the DNS -- information is returned
> encoded in the address.
> It is quite clear that McAfee could not (and would not) want to
> publish a record saying that this is a wildcard -- if they did, they
> would either mark all objects as safe, or as malicious.
>
>
> Another example is:
>
> load-0-p-01.up-1852280.mem-251379712-24440832-0-p-50.swap-236691456-297943040-0-p-44.3302068.1222092134.device.trans.manage.esoft.com
> Fascinating, but device.trans.manage.esoft.com has no incentive to
> publish a wildcard marker -- the whole purpose of this query appears
> to get data back to manage.esoft.com -- having this get answered from
> an intermediate cache would defeat this.
>
> The third example is:
> p2.a22a43lt5rwfg.ihg5ki5i6q3cfn3n.191742.s1.v4.ipv6-exp.l.google.com
> Lorenzo Colitti, Steinar, Erik Kline, Tiziana Refice have a good
> writeup of the purpose of these here: "Evaluating IPv6 Adoption in the
> Internet" -
> https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/36240.pdf
> Again, these queries are being made for a reason -- it isn't that the
> senders figured "I know, let's make a DNS query for fun!!!" - they
> wanted to query for some data, or send some data -- like the abstract
> says: "“signaling” via DNS queries."
>
> In all of the above, publishing a "this is a wildcard" completely
> breaks the purpose of the queries, and so there is no incentive for
> these entities to publish such a record...
>
>
>
> >>
> >> 2) cache miss
> >> All of temporary subdomain wildcards will encounter cache miss.
> >> Query xxx.foo.com,  then query yyy.foo.com, zzz.foo.com, ...
> >> We can use SWILD to optimize it,  only query xxx.foo.com for the first
> >> time and get SWILD, avoid to send yyy/zzz.foo.com queries to
> authoritative
> >> server.
> >>
> >>
> >> Can you characterize why sending these queries to the authoritative
> server
> >> is a problem?
> >
>
> For the examples used in the paper justifying this, it's not a
> problem, it's the purpose :-)
>
> >
> > Ok, Similar to RFC8198 section 6
> > Benefit but not problem,  directly return from cache, avoid send queries
> to
> > authoritative, and wait for response, reduce laterncy.
> >
> >
> > Okay, but this isn't a reason to prefer this to existing, standardized
> > technology.
> >
> >> 3) DDoS risk
> >> The botnet ddos risk and defense is like NSEC aggressive wildcard, or
> NSEC
> >> unsigned.
> >> For example,  [0-9]+.qzone.qq.com is a popular SNS website in China,
> like
> >> facebook. If botnets send "popular website wildcards" to recursive,  the
> >> cache size of recursive will rise, recursive can not just simply remove
> them
> >> like some other random label attack.
> >> We prefer recursive directly return the IP of subdomain wildcards, and
> not
> >> rise recursive cach, not send repeat query to authoritative.
> >>
> >>
> >> Why do you prefer this?   Just saying "we prefer ..." is not a reason
> for
> >> the IETF to standardize something.
> >
> >
> > Sorry, my expression is fault.
> >
> > More details:
> > 1) All of the attack botnets were customers of ISP, sent queries to ISP
> > recursive with low rate, so all of the client's IP addresses were
> > "legitimate", could not simply use ACL.
> > 2) Normal users also visit [0-9]+.qzone.qq.com, all the the random
> queries
> > domain seems to "legitimate".
> > => The client ip addresses and the random subdomains are all in the
> > whitelist, not in blacklist.
> > 3) ISP didn't have any DNS firewall equipment ( very sad situation, but
> it
> > was true ) to take over the response of "*.qzone.qq.com".
> >
> > In this weaker scenario,  it will be better if give recursive more
> > information to directly answer queries from cache, and make recursive
> not to
> > send/cache many subdomains query/response.
> > Of course, we can defense the attack with professional operation, solve
> the
> > problem very well. But there are also many more weaker recursive only run
> > bind software, without any protection...
> >
> >
> > Maybe they should upgrade.
> >
> > I will reconsider these problems of the proposal, make the improvement
> > analysis on real-world caches before next step.
> >
> >
> > Thanks!   However, I would really encourage you to step back from your
> > proposal and see if there's a way to accomplish what you want without
> adding
> > this resource record.   I think you can get the same results you want
> > without SWILD, and the result will be a lot better for the DNS as a
> whole.
> >
> >
> > _______________________________________________
> > DNSOP mailing list
> > DNSOP@ietf.org
> > https://www.ietf.org/mailman/listinfo/dnsop
> >
>
>
>
> --
> I don't think the execution is relevant when it was obviously a bad
> idea in the first place.
> This is like putting rabid weasels in your pants, and later expressing
> regret at having chosen those particular rabid weasels and that pair
> of pants.
>    ---maf
>
-- 
致礼  Best Regards

潘蓝兰  Pan Lanlan