Re: [radext] WGLC #2 for draft-ietf-radext-dtls-04

Arran Cudbard-Bell <a.cudbardb@networkradius.com> Mon, 08 April 2013 18:50 UTC

Return-Path: <a.cudbardb@networkradius.com>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 20DFC21F93FE for <radext@ietfa.amsl.com>; Mon, 8 Apr 2013 11:50:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9vqHsWPr1RxN for <radext@ietfa.amsl.com>; Mon, 8 Apr 2013 11:50:49 -0700 (PDT)
Received: from power.freeradius.org (power.freeradius.org [88.190.25.44]) by ietfa.amsl.com (Postfix) with ESMTP id D43DC21F93FB for <radext@ietf.org>; Mon, 8 Apr 2013 11:50:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by power.freeradius.org (Postfix) with ESMTP id B5CD722410BC; Mon, 8 Apr 2013 20:50:43 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at power.freeradius.org
Received: from power.freeradius.org ([127.0.0.1]) by localhost (power.freeradius.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d90I2UmvvJFZ; Mon, 8 Apr 2013 20:50:41 +0200 (CEST)
Received: from [192.168.2.22] (bas1-ottawa11-1176224750.dsl.bell.ca [70.27.195.238]) by power.freeradius.org (Postfix) with ESMTPSA id 10E4E2240860; Mon, 8 Apr 2013 20:50:40 +0200 (CEST)
Content-Type: multipart/signed; boundary="Apple-Mail=_FFB14215-CA19-4E3D-8D56-B5D5D11BB721"; protocol="application/pkcs7-signature"; micalg="sha1"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Arran Cudbard-Bell <a.cudbardb@networkradius.com>
In-Reply-To: <tslk3odexnp.fsf@mit.edu>
Date: Mon, 08 Apr 2013 14:50:08 -0400
Message-Id: <D2A88F51-F694-49E7-BB5C-30814A70208A@networkradius.com>
References: <1A5FDF7C-9E93-447E-A103-9700349CB2F5@gmail.com> <alpine.WNT.2.00.1304021450180.3988@SMURF> <515C3604.3040406@deployingradius.com> <alpine.WNT.2.00.1304042021411.3988@SMURF> <tslli8xnoms.fsf@mit.edu> <515ED047.3040200@deployingradius.com> <alpine.WNT.2.00.1304051020120.3988@SMURF> <5160255B.40409@deployingradius.com> <alpine.WNT.2.00.1304060913320.3988@SMURF> <5160B785.8070703@deployingradius.com> <tslppy5i2dm.fsf@mit.edu> <5162C651.2000200@deployingradius.com> <alpine.WNT.2.00.1304080801440.1952@littlesmurf> <tslppy5ghnf.fsf@mit.edu> <5162F9BA.7030500@deployingradius.com> <tsltxnhey5u.fsf@mit.edu> <0FFFD8DE-5337-4A4F-A844-F8F05297A25E@freeradius.org> <tslk3odexnp.fsf@mit.edu>
To: Sam Hartman <hartmans@painless-security.com>
X-Mailer: Apple Mail (2.1503)
Cc: radext@ietf.org, Alan DeKok <aland@deployingradius.com>
Subject: Re: [radext] WGLC #2 for draft-ietf-radext-dtls-04
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/radext>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Apr 2013 18:50:50 -0000

On 8 Apr 2013, at 13:32, Sam Hartman <hartmans@painless-security.com> wrote:

>>>>>> "Arran" == Arran Cudbard-Bell <a.cudbardb@freeradius.org> writes:
> 
>    Arran> On 8 Apr 2013, at 13:21, Sam Hartman <hartmans@painless-security.com> wrote:
> 
>>>>>>> "Alan" == Alan DeKok <aland@deployingradius.com> writes:
>>> 
>    Alan> Or... we can delete all of the text around upgrade paths, and
>    Alan> just use a different port.
>>> 
>>> Well, I'm actually not sure about the security of this.  Even if
>>> you use a different port, don't you still have all the bid-down
>>> issues?  I mean what stops an attacker from sending you UDP
>>> traffic that's from a client that should be using DTLS.
> 
>    Arran> Presumably you would make this a dedicated DTLS port and
>    Arran> discard non-DTLS traffic.
> 
> Attackers have been known to choose the port that makes their attack
> work.
> The attacker will send you udp on the udp port and dtls on the dtls
> port.
> Ports aren't magic.

True. But a atching mechanism feasible eveywhere. I'd suggest that such a mechanism MUST be implemented, but suggest that it be SHOULD be configurable with high enough granularity to dictate behaviour for individual clients.

What having a dedicated DTLS port gets you, is the ability to mandate that between network boundaries only encrypted RADIUS traffic may pass. This would otherwise be difficult to enforce without DPI. 

> From a security standpoint, what the upgrade logic does is reduce the
> number of senders who are permitted to send you UDP.

It also requires that the RADIUS server be able to persistently store this latching state for this to be effective. This is a new and potentially problematic issue for a RADIUS server which up to now had not had to dynamically modify its own configuration.

Allowing a daemon to modify any part of its configuration is generally considered bad practice, and where systems operate in a 'deep freeze' state provisions would have to be made for storing this information off box.

Whilst this is an implementation issue it may hinder uptake in some cases, which is why the latching should be optional.

> That's most effective if you use a different secret for each UDP sender.

Indeed.

> Each time you reduce the number of secrets that you accept for UDP
> traffic you increase security.

Agreed. Reducing the number of IP addresses unencrypted traffic is accepted from reduces the range of IPs that can be used for a brute force attack, reducing the number of secrets also makes it less likely that such an attack would be successful. 

As an aside, were still working under the assumption that it's non-trivial to recover the shared secret from unecrypted RADIUS packets, correct?

-Arran