Re: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)

" tglassey@earthlink.net " <tglassey@earthlink.net> Wed, 29 May 2019 05:56 UTC

Return-Path: <tglassey@earthlink.net>
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 70F001200E5 for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:56:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.135
X-Spam-Level:
X-Spam-Status: No, score=-2.135 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.415, 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=earthlink.net; domainkeys=pass (2048-bit key) header.from=tglassey@earthlink.net header.d=earthlink.net
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 UtI7uBUxrbvR for <ntp@ietfa.amsl.com>; Tue, 28 May 2019 22:56:34 -0700 (PDT)
Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82259120045 for <ntp@ietf.org>; Tue, 28 May 2019 22:56:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1559109394; bh=kw6OUWVWgezZtepb6Mns/d+m5TF4NZ8GtZ/4 noRVnlU=; h=Received:To:From:Cc:Subject:Date:MIME-Version: Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP; b=Q9YkSFx8P OjtSd5nMlFwDPyZm3ZCRVA75M4PuE52zebwk2zoEOxP9Skr4VVjTSm5j+u36tB8JUEe bv/hf72EAPqSb2zoHPoK+YDu98ziCracYYwu7SsAS1WroM3yyR4kKAZ04NlYykMVHvS pYbcJZmhvrmtpG29tDGJRzOuu66Cymm4vF+LQCrNhgjLYar/toWlTg0SmJHEncHijAr Birni7vhw2X8M4DTKNUyHB9LvTnyDlYHYm+XMjpOsjWBrxXl7xXri/oPjktVES9vEF3 HwIiEajTC+PpHfHLra1bedQAPvkZFRckQ8pk97ahHh8vIcQ9Dpz/a0aj4/gy0cTqg==
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=gStYHY9ApsXdsCj0Y+pgY8OuqFW1F66s0G0Z93sMKoN4tQg3zT3bt2mWRrhnpDkyP2Q6xTQj+8z4Xx33HmunwU5Yd7U1IyicVkFXJPJ1HH61m4ISftkIs2FSjM8Af31bq0C+4yGlh93hCC6qDQ2SjIniZz4u+s4cgPNu2XvuYZXm1xC7dhr7qPUpDnlLaB0gysEAcDydYo09+EnE1/Fdrby6Ha+IHuNki/lQyBAzrygF8FTrp2KgmtqlZHYoMImtYIXJlETzeXiuvfnpBiGZjrNKPX2bO1slZVcmj59JmQ9D/CbVmLNlNH9mUvKGXDPQAhxfnhuIYp2uE7N4NBDL0g==; h=Received:To:From:Cc:Subject:Date:MIME-Version:Content-Type:Message-ID:X-ELNK-Trace:X-Originating-IP;
Received: from [86.57.142.199] (helo=[100.64.204.92]) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from <tglassey@earthlink.net>) id 1hVrZY-0008NP-7W; Wed, 29 May 2019 01:56:24 -0400
To: "=?utf-8?B?TWFqZGkgUy4gQWJiYXM=?=" <msa@latt.net>, "=?utf-8?B?RmVybmFuZG8gR29udA==?=" <fgont@si6networks.com>
From: "=?utf-8?B?dGdsYXNzZXlAZWFydGhsaW5rLm5ldA==?=" <tglassey@earthlink.net>
Cc: ntp@ietf.org,"=?utf-8?B?R2FyeSBFLiBNaWxsZXI=?=" <gem@rellim.com>
Date: Wed, 29 May 2019 08:56:22 +0300
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_0_1559109382899"
Message-ID: <E1hVrZY-0008NP-7W@elasmtp-galgo.atl.sa.earthlink.net>
X-ELNK-Trace: 01b7a7e171bdf5911aa676d7e74259b7b3291a7d08dfec79f928f7178d99c0065e736a6a95c8d681350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 86.57.142.199
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/93wANT5yvjYhqQaM0UwRzQMrz-g>
Subject: Re: [Ntp] =?utf-8?q?New_rev_of_the_NTP_port_randomization_I-D_=28Fwd?= =?utf-8?q?=3A_New_Version_Notification_for_draft-gont-ntp-port-randomizat?= =?utf-8?q?ion-01=2Etxt=29?=
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: Wed, 29 May 2019 05:56:37 -0000

Port randomization is used to block port spoofing mitm attacks as part of a larger audit framework. 

It is part of a delivery based assurance process not an informatioin integrity process like a whopping nonce is. 

Keeping the components of the trust model separate has value. The real issue is how big the port smash threat is. 

//tsg

Sent from my HTC, so please excuse any typos.

----- Reply message -----
From: "Majdi S. Abbas" <msa@latt.net>
To: "Fernando Gont" <fgont@si6networks.com>
Cc: <ntp@ietf.org>rg>, "Gary E. Miller" <gem@rellim.com>
Subject: [Ntp] New rev of the NTP port randomization I-D (Fwd: New Version Notification for draft-gont-ntp-port-randomization-01.txt)
Date: Wed, May 29, 2019 06:20

Fernando,

Randomizing the source port is pointless.  As Danny has noted, t1 already acts as a 2^64 nonce on each client mode chime request.  This sufficiently hardens the unauthenticated case to an off path attacker.  If additional security is required, authentication (via classic PSK, or NTS modes) should be used.

Per session randomization doesn't resolve these issues -- the stated rationale for both the draft and filed CVE is hardening to off path attacks, which we've just covered.

"Because it's best practice" isn't a reason -- it's a crutch to save a draft that was filed due to an insufficient understanding of RFC 5905 and current implementations of NTPv4.  The true best practice here is authentication, and it does not seem to be a worthwhile effort
to restructure existing implementations to add 16 bits to
the existing nonce with work like NTS
pending to cover the client/server use case.

Cheers,

--msa

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