Re: [Ntp] Details of the fragmentation attacks against NTP and port randomization

Watson Ladd <watsonbladd@gmail.com> Tue, 11 June 2019 01:25 UTC

Return-Path: <watsonbladd@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31E6F12008D for <ntp@ietfa.amsl.com>; Mon, 10 Jun 2019 18:25:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 2sl4z-3UieJy for <ntp@ietfa.amsl.com>; Mon, 10 Jun 2019 18:25:36 -0700 (PDT)
Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::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 EBF6E120026 for <ntp@ietf.org>; Mon, 10 Jun 2019 18:25:35 -0700 (PDT)
Received: by mail-lj1-x230.google.com with SMTP id p17so2553403ljg.1 for <ntp@ietf.org>; Mon, 10 Jun 2019 18:25:35 -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=iFgkjDAF7F50HJ1LEMgC5I5xG1H8uOkFR6DuM6/AFWo=; b=sblCKPDzwlLotOAroCKwG5UYecGWeKSqr8ivIAQHuALBKmGiYeC3X7OTnff3a6uSdn TKifVWyK8WjVKooNbN6oI2rrBWRVbwPLiwsaVxtBMJDRTCkvTUzVmeBSaRlKzF0GKHx/ vInDASIn4h3YdPFbET18diSoy0LT/h8DaF0EqvPtgY2Wog0xMltl45XQhb9lr2t04meM ldgGJDNuIcClEcn2gtIu7B/v3MIJciPzpW2SZyPILcPFvyvScLuqB2fvO3HvFTuJI/ct oAnD8CaBTNWG0HTZSCTbTmSjdvVH1Fj7dT7LcQu5uzCu2ygarPGrU25QoWkBYQMlcaaw OV1w==
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=iFgkjDAF7F50HJ1LEMgC5I5xG1H8uOkFR6DuM6/AFWo=; b=WL+sIFrKZEpuv+PUfSLk7jid2NYflEqr2GYC7309DqMn2aLkM4Kk4xYh8dZSx362ku gx5XdzuyB1JO/COvMn+dYsX0f8SVykTX/o2ec61kpgB6tBKyc9/jrDi5N0wQsLV199Eo 0gLNC1rkUq2JCVW20lN1uzYN8+QRYUIP0f2ta6/RBsLm0UaOPsdUuLGV99gkzbkRzd4+ YjIIBoXkAZ2w0BgyQnysRJhvfM0woJlr9Q8bDvvUbnSsu/60iUik2CrDDwkSKqHNM5e7 c/TTldkowg+IJxDIq8mLW+MnkL/U08hwY4W3kdgxjJju8V+aOx48qg9FziYFxKT0m6zf hcwA==
X-Gm-Message-State: APjAAAWV972jrQ67c0pYDJNSrGpQompFducUjGWEeg5xMcUhdJb03sr1 EMadAcABU3Q5LrYykoWgkIYSGxJr9ilfHVQEHMw=
X-Google-Smtp-Source: APXvYqwQuG3pkPIDGGW6LaxBlzlEid9W+GJqz+63EvgTYBiFv6BcfLXt7DKdEnJ6nm9w+/8gBUzyU2/ELnoQvftlgqE=
X-Received: by 2002:a2e:9950:: with SMTP id r16mr4458384ljj.173.1560216333992; Mon, 10 Jun 2019 18:25:33 -0700 (PDT)
MIME-Version: 1.0
References: <CAN2QdAGS20q=7+r+qMFEBBu4gNmSDR9-vYDbvgC=ZnqWLEU-6w@mail.gmail.com> <739c2eaa-05f1-0b30-4b64-fc5d3f91ce5b@pdmconsulting.net> <a3a545cf-d83d-a2c7-ad6c-3e349de78615@si6networks.com> <9f75e400-cf2f-053f-ed06-f4d6df415eaf@pdmconsulting.net> <E3F91EE1-4EE8-4D3C-95E9-135D1CB1DF8A@develooper.com> <f3b359e6-5e22-ba6d-385a-23d3a62f0330@si6networks.com> <11d44e9d-550c-ab33-71c8-964e38a879fd@ntp.org>
In-Reply-To: <11d44e9d-550c-ab33-71c8-964e38a879fd@ntp.org>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Mon, 10 Jun 2019 18:24:53 -0700
Message-ID: <CACsn0cngYO=u40pzDcL7uj5OC=HQ16czXdvK-rA4LthER3_WSw@mail.gmail.com>
To: Danny Mayer <mayer@ntp.org>
Cc: Fernando Gont <fgont@si6networks.com>, Ask Bjørn Hansen <ask@develooper.com>, ntp@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005c4ac4058b022cbb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/c0FLiRhCSb-uIPzOhfnQ_zdwrVk>
Subject: Re: [Ntp] Details of the fragmentation attacks against NTP and port randomization
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Jun 2019 01:25:38 -0000

On Mon, Jun 10, 2019, 4:26 PM Danny Mayer <mayer@ntp.org> wrote:

>
> On 6/7/19 6:56 AM, Fernando Gont wrote:
> > On 5/6/19 05:45, Ask Bjørn Hansen wrote:
> >>
> >>> On Jun 5, 2019, at 10:41 AM, Danny Mayer <mayer@pdmconsulting.net
> >>> <mailto:mayer@pdmconsulting.net>> wrote:
> >>>
> >>> Furthermore the attacker doesn't know the server being used by the NTP
> >>> client so the IP address of that server will be invalid as well.
> >> This doesn’t seem right. There are much much less NTP servers in the
> >> world than there are clients. Even an attacker wildly guessing will have
> >> a limited scope of guessing (versus “every possible IP”).
> > Indeed, this is plain wrong. e.g. see the analysis in RFC5927 and
> RFC4953.
> >
> Actually he is right. Not all NTP clients are also servers. It has
> nothing to do with whether or not to randomize the source port.
>

Who is right about what? I am confused and I dont think I'm the only one.


> Danny
>
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>