From pana-bounces@ietf.org Mon Apr 03 13:18:49 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQShM-0001Oi-L3; Mon, 03 Apr 2006 13:18:40 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQShL-0001OZ-I3
	for pana@ietf.org; Mon, 03 Apr 2006 13:18:39 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQShJ-0003tg-Ij
	for pana@ietf.org; Mon, 03 Apr 2006 13:18:39 -0400
Received: from wall11.toshiba.co.jp ([133.199.90.149])
	by inet-tsb.toshiba.co.jp  with ESMTP id k33HIXtb015623;
	Tue, 4 Apr 2006 02:18:33 +0900 (JST)
Received: (from root@localhost) by wall11.toshiba.co.jp  id k33HJZaP007629;
	Tue, 4 Apr 2006 02:19:35 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] 
	by wall11.toshiba.co.jp with SMTP id CAA07590;
	Tue, 4 Apr 2006 02:19:35 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp11.toshiba.co.jp  with ESMTP id k33HIW51016157;
	Tue, 4 Apr 2006 02:18:32 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k33HIVDx018638;
	Tue, 4 Apr 2006 02:18:31 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX500LBXPEPT360@mail.po.toshiba.co.jp>; Tue,
	04 Apr 2006 02:18:31 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FQSh3-0003mO-Tg; Mon,
	03 Apr 2006 10:18:21 -0700
Date: Mon, 03 Apr 2006 13:18:21 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	yohba@tari.toshiba.com, pana@ietf.org, townsley@cisco.com
Message-id: <20060403171821.GA13665@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Cc: townsley@cisco.com, yohba@tari.toshiba.com, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Lakshminath,

This problem is known to be compound authentication problem.
Cryptographic binding is the key solution for this class of problem.

Here is a list of references on this problem:

- http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puthenkulam-eap-binding-04.txt

- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf

- Section 5 of RFC4306

Although these references are focused on MiTM attack on tunneling
authentication methods, but essentially the same attack is possible
for sequential authentication methods like NAP and ISP separate
authentication in PANA.  Compound session keys (like PANA does) is one
way of cryptographic binding.  There can be another way (like EAP
usage in IKEv2) of cryptographic binding as well.

Best regards,
Yoshihiro Ohba



On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> Hi,
> 
> The PANA spec in Section 11.4 says:
> In the absence of lower-layer security,
>    both authentications MUST be able to generate a AAA-Key, leading to
>    generation of a PANA SA.  The resultant PANA SA cryptographically
>    binds the two AAA-Keys together, hence it prevents man-in-the-middle
>    attacks.
> 
> I am curious about why the two AAA-keys need to be bound 
> together.  What is the perceived MiTM attack and how does 
> cryptographically binding the keys mitigate the attack?
> 
> Thanks in advance for any explanation.
> 
> thanks and regards,
> Lakshminath 
> 
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Mon Apr 03 15:20:39 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQUbJ-0002ng-B9; Mon, 03 Apr 2006 15:20:33 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQUbI-0002nb-Hf
	for pana@ietf.org; Mon, 03 Apr 2006 15:20:32 -0400
Received: from numenor.qualcomm.com ([129.46.51.58])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQUbH-0008WT-57
	for pana@ietf.org; Mon, 03 Apr 2006 15:20:32 -0400
Received: from sabrina.qualcomm.com (sabrina.qualcomm.com [129.46.61.150])
	by numenor.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k33JKS62007263
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Mon, 3 Apr 2006 12:20:29 -0700
Received: from LDONDETI.qualcomm.com (ldondeti.na.qualcomm.com [129.46.173.20])
	by sabrina.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k33JKQ0u026056
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Mon, 3 Apr 2006 12:20:27 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Mon, 03 Apr 2006 12:20:40 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
In-Reply-To: <20060403171821.GA13665@steelhead>
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b7b9551d71acde901886cc48bfc088a6
Cc: townsley@cisco.com, yohba@tari.toshiba.com, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Yoshi,

Please bear with me as I disagree with your take on the applicability 
of compound binding to the dual authentication problem.  Perhaps I am 
wrong, but that could be due to the lack of clear explanation of the 
nature of the "separate" (or dual as I called it) in PANA.

I reread the ASOKAN paper just a little while ago and really can't 
see how it is applicable to anything PANA does.  Here is my summary 
of the compound binding problem:

* The attack is applicable if the first authentication is NOT mutual 
(as in a tunnel establishment with server-side authentication), and 
applies even if the second auth method comprises mutual 
authentication (although the second authentication should be possible 
to run in the clear)
* If client verifies the server's ID as it should, nothing needs to be done!

Do you agree with that?

So, let's try and explore the NAP and ISP authentication in 
PANA.  First, I can't say I understand the concept of the "lower 
layer" being insecure, perhaps that needs to be elaborated.  To 
elaborate my question, I am looking for specifics on the requirements 
on the lower layer that might relax the PANA requirement of compound 
binding and also the end-points of the lower layer. The second 
question I have is what the Man-in-the-middle might be able to do if 
the NAP EAP method is key generating and mutually authenticating (and 
in fact might be compound-bound in itself) and the ISP EAP method is 
not.  Oh, and where is the MiTM situated in the PANA network diagram.

Thanks in advance for your responses.

regards,
Lakshminath

At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
>Hi Lakshminath,
>
>This problem is known to be compound authentication problem.
>Cryptographic binding is the key solution for this class of problem.
>
>Here is a list of references on this problem:
>
>- 
>http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puthenkulam-eap-binding-04.txt
>
>- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
>
>- Section 5 of RFC4306
>
>Although these references are focused on MiTM attack on tunneling
>authentication methods, but essentially the same attack is possible
>for sequential authentication methods like NAP and ISP separate
>authentication in PANA.  Compound session keys (like PANA does) is one
>way of cryptographic binding.  There can be another way (like EAP
>usage in IKEv2) of cryptographic binding as well.
>
>Best regards,
>Yoshihiro Ohba
>
>
>
>On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> > Hi,
> >
> > The PANA spec in Section 11.4 says:
> > In the absence of lower-layer security,
> >    both authentications MUST be able to generate a AAA-Key, leading to
> >    generation of a PANA SA.  The resultant PANA SA cryptographically
> >    binds the two AAA-Keys together, hence it prevents man-in-the-middle
> >    attacks.
> >
> > I am curious about why the two AAA-keys need to be bound
> > together.  What is the perceived MiTM attack and how does
> > cryptographically binding the keys mitigate the attack?
> >
> > Thanks in advance for any explanation.
> >
> > thanks and regards,
> > Lakshminath
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Mon Apr 03 17:11:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQWKn-0004hG-9N; Mon, 03 Apr 2006 17:11:37 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQWKl-0004hA-LV
	for pana@ietf.org; Mon, 03 Apr 2006 17:11:35 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQWKj-0005pO-TV
	for pana@ietf.org; Mon, 03 Apr 2006 17:11:35 -0400
Received: from wall11.toshiba.co.jp ([133.199.90.149])
	by inet-tsb.toshiba.co.jp  with ESMTP id k33LBUtb017302;
	Tue, 4 Apr 2006 06:11:30 +0900 (JST)
Received: (from root@localhost) by wall11.toshiba.co.jp  id k33LCWJx005055;
	Tue, 4 Apr 2006 06:12:32 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] 
	by wall11.toshiba.co.jp with SMTP id GAA05008;
	Tue, 4 Apr 2006 06:12:32 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp11.toshiba.co.jp  with ESMTP id k33LBTWs027670;
	Tue, 4 Apr 2006 06:11:29 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k33LBTTM028813;
	Tue, 4 Apr 2006 06:11:29 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX600L8Q070T370@mail.po.toshiba.co.jp>; Tue,
	04 Apr 2006 06:11:29 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FQWKU-0004Qd-6n; Mon,
	03 Apr 2006 14:11:18 -0700
Date: Mon, 03 Apr 2006 17:11:18 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org,
	townsley@cisco.com
Message-id: <20060403211118.GB15175@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d2b46e3b2dfbff2088e0b72a54104985
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Lakshminath,

On Mon, Apr 03, 2006 at 12:20:40PM -0700, Lakshminath Dondeti wrote:
> Hi Yoshi,
> 
> Please bear with me as I disagree with your take on the applicability 
> of compound binding to the dual authentication problem.  Perhaps I am 
> wrong, but that could be due to the lack of clear explanation of the 
> nature of the "separate" (or dual as I called it) in PANA.
> 
> I reread the ASOKAN paper just a little while ago and really can't 
> see how it is applicable to anything PANA does.  Here is my summary 
> of the compound binding problem:
> 
> * The attack is applicable if the first authentication is NOT mutual 
> (as in a tunnel establishment with server-side authentication), and 
> applies even if the second auth method comprises mutual 
> authentication (although the second authentication should be possible 
> to run in the clear)
> * If client verifies the server's ID as it should, nothing needs to be done!
> 
> Do you agree with that?

I think ASOKAN's paper addresses one aspect but not all aspects of the
compound binding problem.  In general, the compound binding problem is
applicable even if two authentication methods (tunnelled or sequenced)
support mutual authentication.  This is described in
draft-puthenkulam-eap-binding-04.txt:

"
The vulnerability exists as long as both sides are not required to
demonstrate participation in the previous "tunnel authentication" as
well as subsequent authentications, and as long as keys derived during
the exchange are not dependent on material from *all* of the
authentications.
"

I can show one example.  A MiTM uses EAP method A for NAP
authentication and EAP method B is for ISP authentication where method
A support key generation and mutual authentication.  EAP method B may
or may not support key generation and mutual authentication, but it
does not matter.

Let's assume that only the AAA-Key generated by NAP authentication is
used for deriving PANA_AUTH_KEY and PaC-EP-Master-Key.

Assume also that the MiTM has its own credentials for method A.  The
MiTM can succeed NAP authentication using method A with its own
credentials.  In the ISP authentication the MiTM just forwards method
B between legitimate PaC and PAA.

Without cryptographic binding between methods A and B, the MiTM will
succeed PANA authentication with the legitimate PAA and be able to
gain access instead of the legitimate PaC.


legitimate             MiTM                 legitimate
PaC                                            PAA
                                  PANA
    |                   |  NAP authentication   |
    |                   |   (method A)          |
    |                   |<--------------------->|
    |                   |  PANA PFER/PFEA       |              
    |                   |<--------------------->|
    |                   |         PANA          |
    |     PANA          |  ISP authentication   |
    |   (method B)      |      (method B)       |
    |<----------------->-<--------------------->|
    |                   |  PANA PBR/PBA         |
    |                   |<--------------------->|
    |                   |                       |


> 
> So, let's try and explore the NAP and ISP authentication in 
> PANA.  First, I can't say I understand the concept of the "lower 
> layer" being insecure, perhaps that needs to be elaborated.  To 

Please see draft-ietf-pana-framework-06.txt for more detailed
explanation.

> elaborate my question, I am looking for specifics on the requirements 
> on the lower layer that might relax the PANA requirement of compound 
> binding and also the end-points of the lower layer. The second 
> question I have is what the Man-in-the-middle might be able to do if 
> the NAP EAP method is key generating and mutually authenticating (and 
> in fact might be compound-bound in itself) and the ISP EAP method is 
> not.  Oh, and where is the MiTM situated in the PANA network diagram.

Please see the above example, which also covers your scenario in which
only method A is key generating and mutually authenticating.

Best regards,
Yoshihiro Ohba

> 
> Thanks in advance for your responses.
> 
> regards,
> Lakshminath
> 
> At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
> >Hi Lakshminath,
> >
> >This problem is known to be compound authentication problem.
> >Cryptographic binding is the key solution for this class of problem.
> >
> >Here is a list of references on this problem:
> >
> >- 
> >http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puthenkulam-eap-binding-04.txt
> >
> >- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
> >
> >- Section 5 of RFC4306
> >
> >Although these references are focused on MiTM attack on tunneling
> >authentication methods, but essentially the same attack is possible
> >for sequential authentication methods like NAP and ISP separate
> >authentication in PANA.  Compound session keys (like PANA does) is one
> >way of cryptographic binding.  There can be another way (like EAP
> >usage in IKEv2) of cryptographic binding as well.
> >
> >Best regards,
> >Yoshihiro Ohba
> >
> >
> >
> >On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> >> Hi,
> >>
> >> The PANA spec in Section 11.4 says:
> >> In the absence of lower-layer security,
> >>    both authentications MUST be able to generate a AAA-Key, leading to
> >>    generation of a PANA SA.  The resultant PANA SA cryptographically
> >>    binds the two AAA-Keys together, hence it prevents man-in-the-middle
> >>    attacks.
> >>
> >> I am curious about why the two AAA-keys need to be bound
> >> together.  What is the perceived MiTM attack and how does
> >> cryptographically binding the keys mitigate the attack?
> >>
> >> Thanks in advance for any explanation.
> >>
> >> thanks and regards,
> >> Lakshminath
> >>
> >>
> 
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Mon Apr 03 17:49:15 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQWv5-0001q9-BN; Mon, 03 Apr 2006 17:49:07 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQWv3-0001pk-Bx
	for pana@ietf.org; Mon, 03 Apr 2006 17:49:05 -0400
Received: from ithilien.qualcomm.com ([129.46.51.59])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQWv1-000728-Gp
	for pana@ietf.org; Mon, 03 Apr 2006 17:49:05 -0400
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151])
	by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k33Ln1Yb025031
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Mon, 3 Apr 2006 14:49:02 -0700
Received: from LDONDETI.qualcomm.com (qconnect-10-50-64-191.qualcomm.com
	[10.50.64.191])
	by crowley.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k33Lmxuo003652
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Mon, 3 Apr 2006 14:49:00 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Mon, 03 Apr 2006 14:48:58 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
In-Reply-To: <20060403211118.GB15175@steelhead>
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4b7d60495f1a7f2e853e8cbae7e6dbfc
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

At 02:11 PM 4/3/2006, Yoshihiro Ohba wrote:
>Hi Lakshminath,
>
>On Mon, Apr 03, 2006 at 12:20:40PM -0700, Lakshminath Dondeti wrote:
> > Hi Yoshi,
> >
> > Please bear with me as I disagree with your take on the applicability
> > of compound binding to the dual authentication problem.  Perhaps I am
> > wrong, but that could be due to the lack of clear explanation of the
> > nature of the "separate" (or dual as I called it) in PANA.
> >
> > I reread the ASOKAN paper just a little while ago and really can't
> > see how it is applicable to anything PANA does.  Here is my summary
> > of the compound binding problem:
> >
> > * The attack is applicable if the first authentication is NOT mutual
> > (as in a tunnel establishment with server-side authentication), and
> > applies even if the second auth method comprises mutual
> > authentication (although the second authentication should be possible
> > to run in the clear)
> > * If client verifies the server's ID as it should, nothing needs 
> to be done!
> >
> > Do you agree with that?
>
>I think ASOKAN's paper addresses one aspect but not all aspects of the
>compound binding problem.  In general, the compound binding problem is
>applicable even if two authentication methods (tunnelled or sequenced)
>support mutual authentication.  This is described in
>draft-puthenkulam-eap-binding-04.txt:
>
>"
>The vulnerability exists as long as both sides are not required to
>demonstrate participation in the previous "tunnel authentication" as
>well as subsequent authentications, and as long as keys derived during
>the exchange are not dependent on material from *all* of the
>authentications.
>"

Hi,

Thanks for the quick response.  It looks like we have different 
interpretations of the problem description (no matter, we should be 
able to resolve it with your example below).  My reading of the above 
paragraph is that the problem is applicable *only if* both sides are 
not required to demonstrate participation in the "first" (previous is 
the word used above) "tunnel authentication."  For instance if the 
first authentication is mutual, then compound binding is not 
necessary.  The first mutually authenticated tunnel establishment 
process will make sure that there is no MiTM.


>I can show one example.  A MiTM uses EAP method A for NAP
>authentication and EAP method B is for ISP authentication where method
>A support key generation and mutual authentication.  EAP method B may
>or may not support key generation and mutual authentication, but it
>does not matter.

If the two authentications are independent and in succession/par of 
each other, the second authentication must also be mutually 
authenticating.  The only issue is whether it MUST be key generating 
or not.  (I was not precise about that in my email, apologies!).  My 
contention is that a protected ISP authentication result indication 
(RI) from the backend server to the EP is sufficient.  The keymat 
from the first authentication can be used for secure association 
protocol between the PaC and the EP and if the EP has a protected ISP 
RI, your MiTM won't be successful with the attack you describe 
here.  Do you agree?

One further issue is that if the MiTM is beyond the EP, there is no 
protection from the compound binding either.

thanks and regards,
Lakshminath


>Let's assume that only the AAA-Key generated by NAP authentication is
>used for deriving PANA_AUTH_KEY and PaC-EP-Master-Key.
>
>Assume also that the MiTM has its own credentials for method A.  The
>MiTM can succeed NAP authentication using method A with its own
>credentials.  In the ISP authentication the MiTM just forwards method
>B between legitimate PaC and PAA.
>
>Without cryptographic binding between methods A and B, the MiTM will
>succeed PANA authentication with the legitimate PAA and be able to
>gain access instead of the legitimate PaC.
>
>
>legitimate             MiTM                 legitimate
>PaC                                            PAA
>                                   PANA
>     |                   |  NAP authentication   |
>     |                   |   (method A)          |
>     |                   |<--------------------->|
>     |                   |  PANA PFER/PFEA       |
>     |                   |<--------------------->|
>     |                   |         PANA          |
>     |     PANA          |  ISP authentication   |
>     |   (method B)      |      (method B)       |
>     |<----------------->-<--------------------->|
>     |                   |  PANA PBR/PBA         |
>     |                   |<--------------------->|
>     |                   |                       |
>
>
> >
> > So, let's try and explore the NAP and ISP authentication in
> > PANA.  First, I can't say I understand the concept of the "lower
> > layer" being insecure, perhaps that needs to be elaborated.  To
>
>Please see draft-ietf-pana-framework-06.txt for more detailed
>explanation.
>
> > elaborate my question, I am looking for specifics on the requirements
> > on the lower layer that might relax the PANA requirement of compound
> > binding and also the end-points of the lower layer. The second
> > question I have is what the Man-in-the-middle might be able to do if
> > the NAP EAP method is key generating and mutually authenticating (and
> > in fact might be compound-bound in itself) and the ISP EAP method is
> > not.  Oh, and where is the MiTM situated in the PANA network diagram.
>
>Please see the above example, which also covers your scenario in which
>only method A is key generating and mutually authenticating.
>
>Best regards,
>Yoshihiro Ohba
>
> >
> > Thanks in advance for your responses.
> >
> > regards,
> > Lakshminath
> >
> > At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
> > >Hi Lakshminath,
> > >
> > >This problem is known to be compound authentication problem.
> > >Cryptographic binding is the key solution for this class of problem.
> > >
> > >Here is a list of references on this problem:
> > >
> > >-
> > >http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puth 
> enkulam-eap-binding-04.txt
> > >
> > >- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
> > >
> > >- Section 5 of RFC4306
> > >
> > >Although these references are focused on MiTM attack on tunneling
> > >authentication methods, but essentially the same attack is possible
> > >for sequential authentication methods like NAP and ISP separate
> > >authentication in PANA.  Compound session keys (like PANA does) is one
> > >way of cryptographic binding.  There can be another way (like EAP
> > >usage in IKEv2) of cryptographic binding as well.
> > >
> > >Best regards,
> > >Yoshihiro Ohba
> > >
> > >
> > >
> > >On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> > >> Hi,
> > >>
> > >> The PANA spec in Section 11.4 says:
> > >> In the absence of lower-layer security,
> > >>    both authentications MUST be able to generate a AAA-Key, leading to
> > >>    generation of a PANA SA.  The resultant PANA SA cryptographically
> > >>    binds the two AAA-Keys together, hence it prevents man-in-the-middle
> > >>    attacks.
> > >>
> > >> I am curious about why the two AAA-keys need to be bound
> > >> together.  What is the perceived MiTM attack and how does
> > >> cryptographically binding the keys mitigate the attack?
> > >>
> > >> Thanks in advance for any explanation.
> > >>
> > >> thanks and regards,
> > >> Lakshminath
> > >>
> > >>
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Mon Apr 03 18:53:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQXvX-0008NP-2N; Mon, 03 Apr 2006 18:53:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQXvV-0008NK-Oc
	for pana@ietf.org; Mon, 03 Apr 2006 18:53:37 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQXvT-0002Ap-Uh
	for pana@ietf.org; Mon, 03 Apr 2006 18:53:37 -0400
Received: from wall11.toshiba.co.jp ([133.199.90.149])
	by inet-tsb.toshiba.co.jp  with ESMTP id k33MrWtb005004;
	Tue, 4 Apr 2006 07:53:32 +0900 (JST)
Received: (from root@localhost) by wall11.toshiba.co.jp  id k33MsYIK015098;
	Tue, 4 Apr 2006 07:54:34 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] 
	by wall11.toshiba.co.jp with SMTP id HAA15067;
	Tue, 4 Apr 2006 07:54:34 +0900
Received: from mx2.toshiba.co.jp (localhost [127.0.0.1])
	by ovp11.toshiba.co.jp  with ESMTP id k33MrVga017176;
	Tue, 4 Apr 2006 07:53:31 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k33MrVTr022893;
	Tue, 4 Apr 2006 07:53:31 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX600LQ14WKT450@mail.po.toshiba.co.jp>; Tue,
	04 Apr 2006 07:53:31 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FQXup-0004gm-1W; Mon,
	03 Apr 2006 15:52:55 -0700
Date: Mon, 03 Apr 2006 18:52:54 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org,
	townsley@cisco.com
Message-id: <20060403225254.GC15175@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ff0adf256e4dd459cc25215cfa732ac1
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

On Mon, Apr 03, 2006 at 02:48:58PM -0700, Lakshminath Dondeti wrote:
> At 02:11 PM 4/3/2006, Yoshihiro Ohba wrote:
> >Hi Lakshminath,
> >
> >On Mon, Apr 03, 2006 at 12:20:40PM -0700, Lakshminath Dondeti wrote:
> >> Hi Yoshi,
> >>
> >> Please bear with me as I disagree with your take on the applicability
> >> of compound binding to the dual authentication problem.  Perhaps I am
> >> wrong, but that could be due to the lack of clear explanation of the
> >> nature of the "separate" (or dual as I called it) in PANA.
> >>
> >> I reread the ASOKAN paper just a little while ago and really can't
> >> see how it is applicable to anything PANA does.  Here is my summary
> >> of the compound binding problem:
> >>
> >> * The attack is applicable if the first authentication is NOT mutual
> >> (as in a tunnel establishment with server-side authentication), and
> >> applies even if the second auth method comprises mutual
> >> authentication (although the second authentication should be possible
> >> to run in the clear)
> >> * If client verifies the server's ID as it should, nothing needs 
> >to be done!
> >>
> >> Do you agree with that?
> >
> >I think ASOKAN's paper addresses one aspect but not all aspects of the
> >compound binding problem.  In general, the compound binding problem is
> >applicable even if two authentication methods (tunnelled or sequenced)
> >support mutual authentication.  This is described in
> >draft-puthenkulam-eap-binding-04.txt:
> >
> >"
> >The vulnerability exists as long as both sides are not required to
> >demonstrate participation in the previous "tunnel authentication" as
> >well as subsequent authentications, and as long as keys derived during
> >the exchange are not dependent on material from *all* of the
> >authentications.
> >"
> 
> Hi,
> 
> Thanks for the quick response.  It looks like we have different 
> interpretations of the problem description (no matter, we should be 
> able to resolve it with your example below).  My reading of the above
> paragraph is that the problem is applicable *only if* both sides are 
> not required to demonstrate participation in the "first" (previous is 
> the word used above) "tunnel authentication."  For instance if the 
> first authentication is mutual, then compound binding is not 
> necessary.  The first mutually authenticated tunnel establishment 
> process will make sure that there is no MiTM.

Maybe my interpretation is based on a broader definition of the
problem where only sequential authentication methods exist without any
tunneling method (null "tunnel authentication").

> 
> 
> >I can show one example.  A MiTM uses EAP method A for NAP
> >authentication and EAP method B is for ISP authentication where method
> >A support key generation and mutual authentication.  EAP method B may
> >or may not support key generation and mutual authentication, but it
> >does not matter.
> 
> If the two authentications are independent and in succession/par of 
> each other, the second authentication must also be mutually 
> authenticating.  The only issue is whether it MUST be key generating 
> or not.  (I was not precise about that in my email, apologies!).  My 

If the lower layer is insecure, it must be key generating.

> contention is that a protected ISP authentication result indication 
> (RI) from the backend server to the EP is sufficient.  The keymat 
> from the first authentication can be used for secure association 
> protocol between the PaC and the EP and if the EP has a protected ISP 
> RI, your MiTM won't be successful with the attack you describe 
> here.  Do you agree?

First, there is no direct result indication sent from backend
authentication server to EP in the PANA framework (it is the PAA that
installs necessary filters to EP).

Second, even if there were direct protected result indication sent
from backend authentication server to EP, I don't understand why MiTM
won't be successful in case there is no cryptographic binding between
the two authentication methods, if both NAP and ISP authentications
succeed and the authentication server authorizes access to the
client's device identifier (which is actually the MiTM's device
identifier) that was seen by the legitimate PAA,

> 
> One further issue is that if the MiTM is beyond the EP, there is no 
> protection from the compound binding either.

An appropriate secure association protocol run between PaC and EP
after the PANA authentication and authorization phase provides further
protection regardless whether the MiTM is beyong the EP or not.

Best regards,
Yoshihiro Ohba


> 
> thanks and regards,
> Lakshminath
> 
> 
> >Let's assume that only the AAA-Key generated by NAP authentication is
> >used for deriving PANA_AUTH_KEY and PaC-EP-Master-Key.
> >
> >Assume also that the MiTM has its own credentials for method A.  The
> >MiTM can succeed NAP authentication using method A with its own
> >credentials.  In the ISP authentication the MiTM just forwards method
> >B between legitimate PaC and PAA.
> >
> >Without cryptographic binding between methods A and B, the MiTM will
> >succeed PANA authentication with the legitimate PAA and be able to
> >gain access instead of the legitimate PaC.
> >
> >
> >legitimate             MiTM                 legitimate
> >PaC                                            PAA
> >                                  PANA
> >    |                   |  NAP authentication   |
> >    |                   |   (method A)          |
> >    |                   |<--------------------->|
> >    |                   |  PANA PFER/PFEA       |
> >    |                   |<--------------------->|
> >    |                   |         PANA          |
> >    |     PANA          |  ISP authentication   |
> >    |   (method B)      |      (method B)       |
> >    |<----------------->-<--------------------->|
> >    |                   |  PANA PBR/PBA         |
> >    |                   |<--------------------->|
> >    |                   |                       |
> >
> >
> >>
> >> So, let's try and explore the NAP and ISP authentication in
> >> PANA.  First, I can't say I understand the concept of the "lower
> >> layer" being insecure, perhaps that needs to be elaborated.  To
> >
> >Please see draft-ietf-pana-framework-06.txt for more detailed
> >explanation.
> >
> >> elaborate my question, I am looking for specifics on the requirements
> >> on the lower layer that might relax the PANA requirement of compound
> >> binding and also the end-points of the lower layer. The second
> >> question I have is what the Man-in-the-middle might be able to do if
> >> the NAP EAP method is key generating and mutually authenticating (and
> >> in fact might be compound-bound in itself) and the ISP EAP method is
> >> not.  Oh, and where is the MiTM situated in the PANA network diagram.
> >
> >Please see the above example, which also covers your scenario in which
> >only method A is key generating and mutually authenticating.
> >
> >Best regards,
> >Yoshihiro Ohba
> >
> >>
> >> Thanks in advance for your responses.
> >>
> >> regards,
> >> Lakshminath
> >>
> >> At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
> >> >Hi Lakshminath,
> >> >
> >> >This problem is known to be compound authentication problem.
> >> >Cryptographic binding is the key solution for this class of problem.
> >> >
> >> >Here is a list of references on this problem:
> >> >
> >> >-
> >> >http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puth 
> >enkulam-eap-binding-04.txt
> >> >
> >> >- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
> >> >
> >> >- Section 5 of RFC4306
> >> >
> >> >Although these references are focused on MiTM attack on tunneling
> >> >authentication methods, but essentially the same attack is possible
> >> >for sequential authentication methods like NAP and ISP separate
> >> >authentication in PANA.  Compound session keys (like PANA does) is one
> >> >way of cryptographic binding.  There can be another way (like EAP
> >> >usage in IKEv2) of cryptographic binding as well.
> >> >
> >> >Best regards,
> >> >Yoshihiro Ohba
> >> >
> >> >
> >> >
> >> >On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> >> >> Hi,
> >> >>
> >> >> The PANA spec in Section 11.4 says:
> >> >> In the absence of lower-layer security,
> >> >>    both authentications MUST be able to generate a AAA-Key, leading to
> >> >>    generation of a PANA SA.  The resultant PANA SA cryptographically
> >> >>    binds the two AAA-Keys together, hence it prevents 
> >man-in-the-middle
> >> >>    attacks.
> >> >>
> >> >> I am curious about why the two AAA-keys need to be bound
> >> >> together.  What is the perceived MiTM attack and how does
> >> >> cryptographically binding the keys mitigate the attack?
> >> >>
> >> >> Thanks in advance for any explanation.
> >> >>
> >> >> thanks and regards,
> >> >> Lakshminath
> >> >>
> >> >>
> >>
> >>
> 
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Tue Apr 04 00:03:40 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQclR-0004zw-R8; Tue, 04 Apr 2006 00:03:33 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQcic-0003UR-8N
	for pana@ietf.org; Tue, 04 Apr 2006 00:00:38 -0400
Received: from ithilien.qualcomm.com ([129.46.51.59])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQcZV-0006k0-Tg
	for pana@ietf.org; Mon, 03 Apr 2006 23:51:15 -0400
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151])
	by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k343pCER024547
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Mon, 3 Apr 2006 20:51:12 -0700
Received: from LDONDETI.qualcomm.com (qconnect-10-50-68-121.qualcomm.com
	[10.50.68.121])
	by crowley.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k343pATP012634
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Mon, 3 Apr 2006 20:51:11 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Mon, 03 Apr 2006 20:51:10 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
In-Reply-To: <20060403225254.GC15175@steelhead>
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 03fb21b15d5177c512a4caa19876f30a
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Yoshi,

Thanks again.  Please see inline:

At 03:52 PM 4/3/2006, Yoshihiro Ohba wrote:
>On Mon, Apr 03, 2006 at 02:48:58PM -0700, Lakshminath Dondeti wrote:
> > At 02:11 PM 4/3/2006, Yoshihiro Ohba wrote:
> > >Hi Lakshminath,
> > >
> > >On Mon, Apr 03, 2006 at 12:20:40PM -0700, Lakshminath Dondeti wrote:
> > >> Hi Yoshi,
> > >>
> > >> Please bear with me as I disagree with your take on the applicability
> > >> of compound binding to the dual authentication problem.  Perhaps I am
> > >> wrong, but that could be due to the lack of clear explanation of the
> > >> nature of the "separate" (or dual as I called it) in PANA.
> > >>
> > >> I reread the ASOKAN paper just a little while ago and really can't
> > >> see how it is applicable to anything PANA does.  Here is my summary
> > >> of the compound binding problem:
> > >>
> > >> * The attack is applicable if the first authentication is NOT mutual
> > >> (as in a tunnel establishment with server-side authentication), and
> > >> applies even if the second auth method comprises mutual
> > >> authentication (although the second authentication should be possible
> > >> to run in the clear)
> > >> * If client verifies the server's ID as it should, nothing needs
> > >to be done!
> > >>
> > >> Do you agree with that?
> > >
> > >I think ASOKAN's paper addresses one aspect but not all aspects of the
> > >compound binding problem.  In general, the compound binding problem is
> > >applicable even if two authentication methods (tunnelled or sequenced)
> > >support mutual authentication.  This is described in
> > >draft-puthenkulam-eap-binding-04.txt:
> > >
> > >"
> > >The vulnerability exists as long as both sides are not required to
> > >demonstrate participation in the previous "tunnel authentication" as
> > >well as subsequent authentications, and as long as keys derived during
> > >the exchange are not dependent on material from *all* of the
> > >authentications.
> > >"
> >
> > Hi,
> >
> > Thanks for the quick response.  It looks like we have different
> > interpretations of the problem description (no matter, we should be
> > able to resolve it with your example below).  My reading of the above
> > paragraph is that the problem is applicable *only if* both sides are
> > not required to demonstrate participation in the "first" (previous is
> > the word used above) "tunnel authentication."  For instance if the
> > first authentication is mutual, then compound binding is not
> > necessary.  The first mutually authenticated tunnel establishment
> > process will make sure that there is no MiTM.
>
>Maybe my interpretation is based on a broader definition of the
>problem where only sequential authentication methods exist without any
>tunneling method (null "tunnel authentication").

Tunnel may be a loaded word, but I think you get my point, if the 
first EAP authentication (say the NAP authentication) authenticates 
both parties, and if tunneled, say takes into consideration the 
compound binding attack and derives the AAA-key, then MiTM attack is avoided.


> >
> >
> > >I can show one example.  A MiTM uses EAP method A for NAP
> > >authentication and EAP method B is for ISP authentication where method
> > >A support key generation and mutual authentication.  EAP method B may
> > >or may not support key generation and mutual authentication, but it
> > >does not matter.
> >
> > If the two authentications are independent and in succession/par of
> > each other, the second authentication must also be mutually
> > authenticating.  The only issue is whether it MUST be key generating
> > or not.  (I was not precise about that in my email, apologies!).  My
>
>If the lower layer is insecure, it must be key generating.
>
> > contention is that a protected ISP authentication result indication
> > (RI) from the backend server to the EP is sufficient.  The keymat
> > from the first authentication can be used for secure association
> > protocol between the PaC and the EP and if the EP has a protected ISP
> > RI, your MiTM won't be successful with the attack you describe
> > here.  Do you agree?
>
>First, there is no direct result indication sent from backend
>authentication server to EP in the PANA framework (it is the PAA that
>installs necessary filters to EP).
>
>Second, even if there were direct protected result indication sent
>from backend authentication server to EP, I don't understand why MiTM
>won't be successful in case there is no cryptographic binding between
>the two authentication methods, if both NAP and ISP authentications
>succeed and the authentication server authorizes access to the
>client's device identifier (which is actually the MiTM's device
>identifier) that was seen by the legitimate PAA,

All I am saying here is that if the second authentication is mutually 
authenticating (no MiTM) and if the result indication is sent from 
the PAA to the EP (as long as a key can be sent, an RI can be sent, 
right?), then you'll achieve equivalent functionality to mixing the two keys.

Your note on a MiTM claiming another client's device ID is not 
possible since the MiTM cannot provide the other device's credentials 
to the AS.  Note that the ISP authentication is independent of the 
NAP authentication.  Both are mutually authenticating is the assumption.

> >
> > One further issue is that if the MiTM is beyond the EP, there is no
> > protection from the compound binding either.
>
>An appropriate secure association protocol run between PaC and EP
>after the PANA authentication and authorization phase provides further
>protection regardless whether the MiTM is beyong the EP or not.

No amount of protection on the path between the PaC and the EP will 
be sufficient against an adversary on the link from the EP to the network.

What I am looking for is a clarification that compound binding is not 
necessary for the above reasons and a protected RI is sufficient to 
bind the two authentications.

regards,
Lakshminath


>Best regards,
>Yoshihiro Ohba
>
>
> >
> > thanks and regards,
> > Lakshminath
> >
> >
> > >Let's assume that only the AAA-Key generated by NAP authentication is
> > >used for deriving PANA_AUTH_KEY and PaC-EP-Master-Key.
> > >
> > >Assume also that the MiTM has its own credentials for method A.  The
> > >MiTM can succeed NAP authentication using method A with its own
> > >credentials.  In the ISP authentication the MiTM just forwards method
> > >B between legitimate PaC and PAA.
> > >
> > >Without cryptographic binding between methods A and B, the MiTM will
> > >succeed PANA authentication with the legitimate PAA and be able to
> > >gain access instead of the legitimate PaC.
> > >
> > >
> > >legitimate             MiTM                 legitimate
> > >PaC                                            PAA
> > >                                  PANA
> > >    |                   |  NAP authentication   |
> > >    |                   |   (method A)          |
> > >    |                   |<--------------------->|
> > >    |                   |  PANA PFER/PFEA       |
> > >    |                   |<--------------------->|
> > >    |                   |         PANA          |
> > >    |     PANA          |  ISP authentication   |
> > >    |   (method B)      |      (method B)       |
> > >    |<----------------->-<--------------------->|
> > >    |                   |  PANA PBR/PBA         |
> > >    |                   |<--------------------->|
> > >    |                   |                       |
> > >
> > >
> > >>
> > >> So, let's try and explore the NAP and ISP authentication in
> > >> PANA.  First, I can't say I understand the concept of the "lower
> > >> layer" being insecure, perhaps that needs to be elaborated.  To
> > >
> > >Please see draft-ietf-pana-framework-06.txt for more detailed
> > >explanation.
> > >
> > >> elaborate my question, I am looking for specifics on the requirements
> > >> on the lower layer that might relax the PANA requirement of compound
> > >> binding and also the end-points of the lower layer. The second
> > >> question I have is what the Man-in-the-middle might be able to do if
> > >> the NAP EAP method is key generating and mutually authenticating (and
> > >> in fact might be compound-bound in itself) and the ISP EAP method is
> > >> not.  Oh, and where is the MiTM situated in the PANA network diagram.
> > >
> > >Please see the above example, which also covers your scenario in which
> > >only method A is key generating and mutually authenticating.
> > >
> > >Best regards,
> > >Yoshihiro Ohba
> > >
> > >>
> > >> Thanks in advance for your responses.
> > >>
> > >> regards,
> > >> Lakshminath
> > >>
> > >> At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
> > >> >Hi Lakshminath,
> > >> >
> > >> >This problem is known to be compound authentication problem.
> > >> >Cryptographic binding is the key solution for this class of problem.
> > >> >
> > >> >Here is a list of references on this problem:
> > >> >
> > >> >-
> > >> >http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puth
> > >enkulam-eap-binding-04.txt
> > >> >
> > >> >- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
> > >> >
> > >> >- Section 5 of RFC4306
> > >> >
> > >> >Although these references are focused on MiTM attack on tunneling
> > >> >authentication methods, but essentially the same attack is possible
> > >> >for sequential authentication methods like NAP and ISP separate
> > >> >authentication in PANA.  Compound session keys (like PANA does) is one
> > >> >way of cryptographic binding.  There can be another way (like EAP
> > >> >usage in IKEv2) of cryptographic binding as well.
> > >> >
> > >> >Best regards,
> > >> >Yoshihiro Ohba
> > >> >
> > >> >
> > >> >
> > >> >On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> > >> >> Hi,
> > >> >>
> > >> >> The PANA spec in Section 11.4 says:
> > >> >> In the absence of lower-layer security,
> > >> >>    both authentications MUST be able to generate a AAA-Key, 
> leading to
> > >> >>    generation of a PANA SA.  The resultant PANA SA cryptographically
> > >> >>    binds the two AAA-Keys together, hence it prevents
> > >man-in-the-middle
> > >> >>    attacks.
> > >> >>
> > >> >> I am curious about why the two AAA-keys need to be bound
> > >> >> together.  What is the perceived MiTM attack and how does
> > >> >> cryptographically binding the keys mitigate the attack?
> > >> >>
> > >> >> Thanks in advance for any explanation.
> > >> >>
> > >> >> thanks and regards,
> > >> >> Lakshminath
> > >> >>
> > >> >>
> > >>
> > >>
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Tue Apr 04 09:10:27 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQlIU-0000M0-6v; Tue, 04 Apr 2006 09:10:14 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQlIT-0000Lv-5S
	for pana@ietf.org; Tue, 04 Apr 2006 09:10:13 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQlIQ-0004g2-ML
	for pana@ietf.org; Tue, 04 Apr 2006 09:10:13 -0400
Received: from wall11.toshiba.co.jp ([133.199.90.149])
	by inet-tsb.toshiba.co.jp  with ESMTP id k34DA6tb011937;
	Tue, 4 Apr 2006 22:10:06 +0900 (JST)
Received: (from root@localhost) by wall11.toshiba.co.jp  id k34DB8Sb014606;
	Tue, 4 Apr 2006 22:11:08 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] 
	by wall11.toshiba.co.jp with SMTP id YAA14574;
	Tue, 4 Apr 2006 22:11:08 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp11.toshiba.co.jp  with ESMTP id k34DA5vU015207;
	Tue, 4 Apr 2006 22:10:05 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k34DA5G2013910;
	Tue, 4 Apr 2006 22:10:05 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX700B208KNOO10@mail.po.toshiba.co.jp>; Tue,
	04 Apr 2006 22:10:05 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FQlI5-0005cP-7G; Tue,
	04 Apr 2006 06:09:49 -0700
Date: Tue, 04 Apr 2006 09:09:49 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org,
	townsley@cisco.com
Message-id: <20060404130949.GA20995@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 96d3a783a4707f1ab458eb15058bb2d7
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> Hi Yoshi,
> 
> Thanks again.  Please see inline:
> 
> At 03:52 PM 4/3/2006, Yoshihiro Ohba wrote:
> >On Mon, Apr 03, 2006 at 02:48:58PM -0700, Lakshminath Dondeti wrote:
> >> At 02:11 PM 4/3/2006, Yoshihiro Ohba wrote:
> >> >Hi Lakshminath,
> >> >
> >> >On Mon, Apr 03, 2006 at 12:20:40PM -0700, Lakshminath Dondeti wrote:
> >> >> Hi Yoshi,
> >> >>
> >> >> Please bear with me as I disagree with your take on the applicability
> >> >> of compound binding to the dual authentication problem.  Perhaps I am
> >> >> wrong, but that could be due to the lack of clear explanation of the
> >> >> nature of the "separate" (or dual as I called it) in PANA.
> >> >>
> >> >> I reread the ASOKAN paper just a little while ago and really can't
> >> >> see how it is applicable to anything PANA does.  Here is my summary
> >> >> of the compound binding problem:
> >> >>
> >> >> * The attack is applicable if the first authentication is NOT mutual
> >> >> (as in a tunnel establishment with server-side authentication), and
> >> >> applies even if the second auth method comprises mutual
> >> >> authentication (although the second authentication should be possible
> >> >> to run in the clear)
> >> >> * If client verifies the server's ID as it should, nothing needs
> >> >to be done!
> >> >>
> >> >> Do you agree with that?
> >> >
> >> >I think ASOKAN's paper addresses one aspect but not all aspects of the
> >> >compound binding problem.  In general, the compound binding problem is
> >> >applicable even if two authentication methods (tunnelled or sequenced)
> >> >support mutual authentication.  This is described in
> >> >draft-puthenkulam-eap-binding-04.txt:
> >> >
> >> >"
> >> >The vulnerability exists as long as both sides are not required to
> >> >demonstrate participation in the previous "tunnel authentication" as
> >> >well as subsequent authentications, and as long as keys derived during
> >> >the exchange are not dependent on material from *all* of the
> >> >authentications.
> >> >"
> >>
> >> Hi,
> >>
> >> Thanks for the quick response.  It looks like we have different
> >> interpretations of the problem description (no matter, we should be
> >> able to resolve it with your example below).  My reading of the above
> >> paragraph is that the problem is applicable *only if* both sides are
> >> not required to demonstrate participation in the "first" (previous is
> >> the word used above) "tunnel authentication."  For instance if the
> >> first authentication is mutual, then compound binding is not
> >> necessary.  The first mutually authenticated tunnel establishment
> >> process will make sure that there is no MiTM.
> >
> >Maybe my interpretation is based on a broader definition of the
> >problem where only sequential authentication methods exist without any
> >tunneling method (null "tunnel authentication").
> 
> Tunnel may be a loaded word, but I think you get my point, if the 
> first EAP authentication (say the NAP authentication) authenticates 
> both parties, and if tunneled, say takes into consideration the 
> compound binding attack and derives the AAA-key, then MiTM attack is 
> avoided.

My point is, if the first EAP authentication (whether it is tunneled
or not) is not cryptographically bound to subsequnet EAP
authentication(s), then MiTM attack is not avoided.

> 
> 
> >>
> >>
> >> >I can show one example.  A MiTM uses EAP method A for NAP
> >> >authentication and EAP method B is for ISP authentication where method
> >> >A support key generation and mutual authentication.  EAP method B may
> >> >or may not support key generation and mutual authentication, but it
> >> >does not matter.
> >>
> >> If the two authentications are independent and in succession/par of
> >> each other, the second authentication must also be mutually
> >> authenticating.  The only issue is whether it MUST be key generating
> >> or not.  (I was not precise about that in my email, apologies!).  My
> >
> >If the lower layer is insecure, it must be key generating.
> >
> >> contention is that a protected ISP authentication result indication
> >> (RI) from the backend server to the EP is sufficient.  The keymat
> >> from the first authentication can be used for secure association
> >> protocol between the PaC and the EP and if the EP has a protected ISP
> >> RI, your MiTM won't be successful with the attack you describe
> >> here.  Do you agree?
> >
> >First, there is no direct result indication sent from backend
> >authentication server to EP in the PANA framework (it is the PAA that
> >installs necessary filters to EP).
> >
> >Second, even if there were direct protected result indication sent
> >from backend authentication server to EP, I don't understand why MiTM
> >won't be successful in case there is no cryptographic binding between
> >the two authentication methods, if both NAP and ISP authentications
> >succeed and the authentication server authorizes access to the
> >client's device identifier (which is actually the MiTM's device
> >identifier) that was seen by the legitimate PAA,
> 
> All I am saying here is that if the second authentication is mutually 
> authenticating (no MiTM) and if the result indication is sent from 
> the PAA to the EP (as long as a key can be sent, an RI can be sent, 
> right?), then you'll achieve equivalent functionality to mixing the two 
> keys.

I don't think so.  Please see my comment below.

> 
> Your note on a MiTM claiming another client's device ID is not 
> possible since the MiTM cannot provide the other device's credentials 
> to the AS.  Note that the ISP authentication is independent of the 
> NAP authentication.  Both are mutually authenticating is the assumption.

I think you are making some assumption here.  If you assume device
authentication for ISP authentication, then I think the assumption is
too strong to relax the cryptographic binding requirement.  When the
credentials used for ISP authentication are not bound to a particular
device identifier, then the MiTM attack is not avoided without
cryptographically binding the two EAP runs, even if both are mutually
authenticating.

> 
> >>
> >> One further issue is that if the MiTM is beyond the EP, there is no
> >> protection from the compound binding either.
> >
> >An appropriate secure association protocol run between PaC and EP
> >after the PANA authentication and authorization phase provides further
> >protection regardless whether the MiTM is beyong the EP or not.
> 
> No amount of protection on the path between the PaC and the EP will 
> be sufficient against an adversary on the link from the EP to the network.

Sorry I was going too far in this specific statement.  The correct
statement would be:

"
An appropriate secure association protocol run between PaC and EP
after the PANA authentication and authorization phase provides further
protection if the MiTM is beyond the EP.
"

> 
> What I am looking for is a clarification that compound binding is not 
> necessary for the above reasons and a protected RI is sufficient to 
> bind the two authentications.

I don't think we can relax the cryptographic binding requirement if
the justification for it is based on strong assumption.

Regards,
Yoshihiro Ohba


> 
> regards,
> Lakshminath
> 
> 
> >Best regards,
> >Yoshihiro Ohba
> >
> >
> >>
> >> thanks and regards,
> >> Lakshminath
> >>
> >>
> >> >Let's assume that only the AAA-Key generated by NAP authentication is
> >> >used for deriving PANA_AUTH_KEY and PaC-EP-Master-Key.
> >> >
> >> >Assume also that the MiTM has its own credentials for method A.  The
> >> >MiTM can succeed NAP authentication using method A with its own
> >> >credentials.  In the ISP authentication the MiTM just forwards method
> >> >B between legitimate PaC and PAA.
> >> >
> >> >Without cryptographic binding between methods A and B, the MiTM will
> >> >succeed PANA authentication with the legitimate PAA and be able to
> >> >gain access instead of the legitimate PaC.
> >> >
> >> >
> >> >legitimate             MiTM                 legitimate
> >> >PaC                                            PAA
> >> >                                  PANA
> >> >    |                   |  NAP authentication   |
> >> >    |                   |   (method A)          |
> >> >    |                   |<--------------------->|
> >> >    |                   |  PANA PFER/PFEA       |
> >> >    |                   |<--------------------->|
> >> >    |                   |         PANA          |
> >> >    |     PANA          |  ISP authentication   |
> >> >    |   (method B)      |      (method B)       |
> >> >    |<----------------->-<--------------------->|
> >> >    |                   |  PANA PBR/PBA         |
> >> >    |                   |<--------------------->|
> >> >    |                   |                       |
> >> >
> >> >
> >> >>
> >> >> So, let's try and explore the NAP and ISP authentication in
> >> >> PANA.  First, I can't say I understand the concept of the "lower
> >> >> layer" being insecure, perhaps that needs to be elaborated.  To
> >> >
> >> >Please see draft-ietf-pana-framework-06.txt for more detailed
> >> >explanation.
> >> >
> >> >> elaborate my question, I am looking for specifics on the requirements
> >> >> on the lower layer that might relax the PANA requirement of compound
> >> >> binding and also the end-points of the lower layer. The second
> >> >> question I have is what the Man-in-the-middle might be able to do if
> >> >> the NAP EAP method is key generating and mutually authenticating (and
> >> >> in fact might be compound-bound in itself) and the ISP EAP method is
> >> >> not.  Oh, and where is the MiTM situated in the PANA network diagram.
> >> >
> >> >Please see the above example, which also covers your scenario in which
> >> >only method A is key generating and mutually authenticating.
> >> >
> >> >Best regards,
> >> >Yoshihiro Ohba
> >> >
> >> >>
> >> >> Thanks in advance for your responses.
> >> >>
> >> >> regards,
> >> >> Lakshminath
> >> >>
> >> >> At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
> >> >> >Hi Lakshminath,
> >> >> >
> >> >> >This problem is known to be compound authentication problem.
> >> >> >Cryptographic binding is the key solution for this class of problem.
> >> >> >
> >> >> >Here is a list of references on this problem:
> >> >> >
> >> >> >-
> >> >> >http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puth
> >> >enkulam-eap-binding-04.txt
> >> >> >
> >> >> >- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
> >> >> >
> >> >> >- Section 5 of RFC4306
> >> >> >
> >> >> >Although these references are focused on MiTM attack on tunneling
> >> >> >authentication methods, but essentially the same attack is possible
> >> >> >for sequential authentication methods like NAP and ISP separate
> >> >> >authentication in PANA.  Compound session keys (like PANA does) is 
> >one
> >> >> >way of cryptographic binding.  There can be another way (like EAP
> >> >> >usage in IKEv2) of cryptographic binding as well.
> >> >> >
> >> >> >Best regards,
> >> >> >Yoshihiro Ohba
> >> >> >
> >> >> >
> >> >> >
> >> >> >On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> >> >> >> Hi,
> >> >> >>
> >> >> >> The PANA spec in Section 11.4 says:
> >> >> >> In the absence of lower-layer security,
> >> >> >>    both authentications MUST be able to generate a AAA-Key, 
> >leading to
> >> >> >>    generation of a PANA SA.  The resultant PANA SA 
> >cryptographically
> >> >> >>    binds the two AAA-Keys together, hence it prevents
> >> >man-in-the-middle
> >> >> >>    attacks.
> >> >> >>
> >> >> >> I am curious about why the two AAA-keys need to be bound
> >> >> >> together.  What is the perceived MiTM attack and how does
> >> >> >> cryptographically binding the keys mitigate the attack?
> >> >> >>
> >> >> >> Thanks in advance for any explanation.
> >> >> >>
> >> >> >> thanks and regards,
> >> >> >> Lakshminath
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >>
> >>
> 
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Tue Apr 04 10:01:05 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQm5a-0003hE-1A; Tue, 04 Apr 2006 10:00:58 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQm5Y-0003h6-Q1; Tue, 04 Apr 2006 10:00:56 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FQm5X-000720-HH; Tue, 04 Apr 2006 10:00:56 -0400
Received: from tsb-wall.toshiba.co.jp ([133.199.160.134])
	by inet-tsb.toshiba.co.jp  with ESMTP id k34E0rtb023710;
	Tue, 4 Apr 2006 23:00:53 +0900 (JST)
Received: (from root@localhost) by tsb-wall.toshiba.co.jp  id k34E0s9k019652;
	Tue, 4 Apr 2006 23:00:54 +0900 (JST)
Received: from ovp1.toshiba.co.jp [133.199.192.124] 
	by tsb-wall.toshiba.co.jp with SMTP id ZAA19615;
	Tue, 4 Apr 2006 23:00:54 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp1.toshiba.co.jp  with ESMTP id k34E0qH0027869;
	Tue, 4 Apr 2006 23:00:52 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k34E0qVr001611;
	Tue, 4 Apr 2006 23:00:52 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX700B25AXBOC10@mail.po.toshiba.co.jp>; Tue,
	04 Apr 2006 23:00:52 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FQm5I-0005oP-8p; Tue,
	04 Apr 2006 07:00:40 -0700
Date: Tue, 04 Apr 2006 10:00:40 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <Pine.LNX.4.64.0603271040530.3126@netcore.fi>
To: Pekka Savola <pekkas@netcore.fi>
Mail-followup-to: Pekka Savola <pekkas@netcore.fi>, iesg@ietf.org,
	pana@ietf.org
Message-id: <20060404140040.GA22186@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <E1FKlMn-0003Ws-Lr@stiedprstage1.ietf.org>
	<Pine.LNX.4.64.0603271040530.3126@netcore.fi>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 025f8c5000216988bfe31585db759250
Cc: iesg@ietf.org, pana@ietf.org
Subject: [Pana] Re: Last Call: 'PANA Framework' to Informational RFC
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Thank you for reviewing the pana-framework draft and sorry for delayed
response.  Please see my comments below.

On Mon, Mar 27, 2006 at 11:26:10AM +0300, Pekka Savola wrote:
> On Sat, 18 Mar 2006, The IESG wrote:
> >The IESG has received a request from the Protocol for carrying 
> >Authentication
> >for Network Access WG to consider the following document:
> >
> >- 'PANA Framework '
> >  <draft-ietf-pana-framework-06.txt> as an Informational RFC
> 
> I read the PANA framework document on the plane.
> 
> I think there are a number of serious issues in there which may also reflect
> the protocol document (which I didn't look at).
> 
> substantial
> -----------
> 
> 1) the document makes a big deal about spoofing and eavesdropping
> protection, but doesn't say a word about local DoS attacks (e.g., which
> could prevent getting an address in the first place, getting a duplicate
> address, etc. -- see the SEND documents for more on this).  These should be
> discussed somewhere.

The DoS attacks are described in RFC 4016 (Protocol for Carrying
Authentication and Network Access (PANA) Threat Analysis and Security
Requirements), and we can add a reference to RFC 4016.

> 
> 2) deployment assumptions (e.g., where protocol needs to be supported, and
> what exactly needs to be supported) needs to be spelled out better.
> 
>       An EP must be located strategically in a local area network to
>       minimize the access of unauthorized clients to the network.  For
>       example, the EP can be hosted on the switch that is directly
>       connected to the clients in a wired network.  That way the EP can
>       drop unauthorized packets before they reach any other client node
>       or beyond the local area network.
> 
> (also section 4.b, 2nd paragraph)
> 
> and also:
> 
> To achieve this, each PAA/EP device on an
>    link-layer switch or access point MUST NOT forward multicast PANA
>    discovery message sent by PaCs attached to it to other devices.  This
>    model is suitable for an access network with a small number of EPs.
> 
> ==> it's not clear what your deployment assumptions are.  Is it required
> that the first L2 device port supports PANA?  What support does that mean? 
> Are the users required to do forklift upgrades? What kind of support are you
> exactly requiring?  Do you require EAP?

YO: When PAA and EP are co-located on a first L2 device, the L2 device
needs to implement both PAA and EP functinalities.  If a first L2
device is not acting as PAA but EP, it needs to implement EP
functionality but not PAA functinality.  If a first L2 device is not
acting as PAA or EP (this is possible in the case of IPsec ciphering),
then it does not needs to implement any functionality described in the
PANA framework.  Also, any implementation of the PAA functinality of
the PANA protocol requires implementation of authenticator
functionality of EAP.

> 
> 3) DSL scenario's security assumptions are not spelled out.
> 
>        One example is a DSL network where the lower-layer security is
>       provided by physical means (a.1).  Physical protection of the
>       network wiring ensures that practically there is only one client
>       that can send and receive IP packets on the link.
> 
> ==> depends on the definion of the 'client'.  Multiple PCs sitting at home
> behind such a DSL box can see each other just fine (especially if you don't
> run stuff like PPPoE), and I don't think PANA helps here unless the 
> first-hop
> devices are also doing PANA.  Hence, you're making assumptions about what
> PANA needs to protect in the scenario you describe, but these assumptions
> should be spelled out loud and clear.

In this specific example of Section 4, it is assumed that the PANA
client is implemented on DSL model/Regidential Gateway.  We can have
explict text this assumption on this specific example.

> 
> 4) v4 link-local addresses should not be assumed
> 
>       In case there is no running DHCP server on the link, the client
>       would fall back to configuring a PRPA via zeroconfiguration
>       technique [RFC3927].
> 
> ==> are you assumoing that the clients will use RFC3927 v4 link-local
> addressing  (which would be IMHO inappropriate) or did you mean 
> s/would/might/?

It should be s/would/might/.

> 
> Other than that, I think the document's emphasis on RFC3927 link-local
> addresses should be reduced to almost zero.  If you can't assume they exist,
> you will need to deploy DHCPv4 or some other means of getting addresses, and
> hence v4 link-locals don't bring you anything useful (except in cases where
> the DHCP server could be down).
> 
> Hence, I don't think v4 link-locals should be mentioned except as an odd
> curiousity.

We can reduce emphasis on RFC3927.

> 
> 5) how do you deal with link-local address -only scenarios?
> 
>    2. If the network uses IPsec for protecting the traffic on the link
>       subsequent to PANA authentication [I-D.ietf-pana-ipsec], the PaC
>       would use the PRPA as the outer address of IPsec tunnel mode SA
>       (IPsec-TOA).  The PaC also needs to configure an inner address
>       (IPsec-TIA).  There are different ways to configure an IPsec-TIA
>       which are indicated in a PANA-Bind-Request message.
> 
> ==> are you assuming that you will be able to pass v6 link-local addresses
> e.g., in IKE?  Note that the address is going to be ambigous outside of the
> link, and even inside the link, you'll need a link identifier or certain
> other hacks.

No, we don't assume carrying link-local address in IKE.

> 
> Hence, it seems that if you need to use IKE, IPsec or whatever, you just
> you WILL need to deploy non-link-local addresses as well -- the v6
> link-locals just aren't enough in that scenario.

IPsec-TIA needs to be non-link-local.  But this does not mean that
IPsec-TOA should always be non-link-local as well.

> 
> 6) does the framework assume that it's always PAA that detects new PaC?  Can
> a PaC start a PANA exchange voluntarily?

Detection of PaC's presense is not always required.  A PaC can start
PANA exchange voluntarily, and this is actually mandatory supported
method for PAA discovery that is described in the protocol document in
detail.

> 
> 7.2.  Notification of PaC Presence
> 
>    When PAA and EP are separated and PAA is configured to be the
>    initiator of the discovery and initial handshake phase of PANA, EP
>    has the responsibility to detect presence of a new PaC and notifies
>    the PAA(s) of the presence [RFC4058].  Such a presence notification
>    is carried in a PAA-EP protocol message [I-D.ietf-pana-snmp].
> 
> 7) the doc only refers to Diameter AVPs.  What about RADIUS or LDAP, or
> should folks just use proprietary extensions?   The doc also doesn't seem to
> specify a mandatory-to-implement minimum subset of PANA.  Hopefully the
> protocol specification at least does, so that different implementations of
> PANA components can be compliant!
> 
>  In addition to the device
>    identifier and keying material, other filter rules, such as the IP
>    filter rules specified in NAS-Filter-Rule AVPs carried in Diameter
>    EAP application [RFC4072] may be installed on EP.  When IPsec is used
>    the filter rules are applied to IP packets carried inside the IPsec
>    tunnel, otherwise, the filter rules are applied to IP packets that
>    are not protected with IPsec.

There was a great amount of discussion on this issue and there is
following consensus in the PANA WG:

  - For PAA to EP protocol, SNMP MUST be implemented, while other
  protocols can be used when available.  (This is described in Section
  7).

  - For PAA to authentication server (AS) protocol, there is no
  mandatory protocol specified.  This is exactly what
  IEEE 802.11i and IKEv2 specifications do, i.e., they carry EAP but
  does not specify any mandatory supported protocol between EAP
  pass-through authenticator and AS.

> 
> 
> 
> semi-editorial
> --------------
> 
>    Finally, filters that are installed at the EP allow general purpose
>    data traffic to flow between the PaC and the intranet/Internet.
> 
> ==> what you don't mention at all is how you clean up the unused and no
> longer necessary filters?

I agree.  We can mention uninstalling filters.

> 
>    1. If the network relies on physical or link layer security, the PaC
>       can configure a POPA using DHCP [RFC2131] [RFC3315] or using IPv6
>       stateless auto-configuration [RFC2461].  An IPv4 PRPA SHOULD be
>       unconfigured when the POPA is configured to prevent IPv4 address
>       selection problem [RFC3927].  If IPv6 is used, the link-local PRPA
>       SHOULD NOT be unconfigured [RFC3484].
> 
> ==> s/SHOULD NOT/MUST NOT/, each interface is required to have a link-local
> address

I agree.

> 
> 11.  Security Considerations
> 
>    Security is discussed throughout this document.  For protocol-
>    specific security considerations, refer to [I-D.ietf-pana-pana].
> 
> ==> however, this discussion is insufficient; e.g., DoS attacks are not
> properly discussed, and the remainder threats are not enumerated.  This
> probably needs to be extended.

DoS attacks and other threats are described in RFC 4016 and we can
refer to RFC 4016 in this section.

> 
>    [I-D.ietf-eap-netsel-problem]
>               Arkko, J. and B. Aboba, "Network Discovery and Selection
>               Problem", draft-ietf-eap-netsel-problem-03 (work in
>               progress), October 2005.

> 
> ==> this seems rather important issue for the draft; should this be a
> normative reference?

We make the netsel draft informative because it provides background
information and does not require to implement the technology described
in pana-framework draft.

> 
> editorial
> ---------
> 
> 
>                            PANA Framework
>                       draft-ietf-pana-framework-06
> 
> ==> spell out PANA.
> 
>    3. In IPv6, clients automatically configure a link-local address
>       [RFC2462] when they initialize an interface.  Additionally, they
>       may also configure global address(es) when DHCP or router
>       advertisements with global prefixes are made available to the
>       them.

OK, we will expand it.

> 
> ==> "global" is tricky with v6, because it might not include Unique Local
> Addresses (ULAs) for example, depending on how you defined "local".  Easiest
> fix is to say "non-link-local" if that doesn't sound too bad.

I agree on replacing "global" with "non-link-local".

> 
> In addition to the fresh and unique session key derived
>    from the EAP method, IPsec also needs both traffic selectors and
>    other IPsec SA parameters are missing.
> 
> ==> I'm having trouble parsing the latter part of the sentence...

Removing "are missing" should work.

> 
> The DSL Modem/RG may also use NAPT
>    (Network Address Port Translation).
> 
> ==> this seems irrelevant and should probably be removed.

We will remove this sentense.

Thanks again,
Yoshihiro Ohba

> 
> -- 
> Pekka Savola                 "You each name yourselves king, yet the
> Netcore Oy                    kingdom bleeds."
> Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
> 
> _______________________________________________
> Ietf mailing list
> Ietf@ietf.org
> https://www1.ietf.org/mailman/listinfo/ietf
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Tue Apr 04 15:30:47 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQrEd-0007cQ-PA; Tue, 04 Apr 2006 15:30:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQrEc-0007cL-HF
	for pana@ietf.org; Tue, 04 Apr 2006 15:30:38 -0400
Received: from numenor.qualcomm.com ([129.46.51.58])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQrEa-0004w8-Ig
	for pana@ietf.org; Tue, 04 Apr 2006 15:30:38 -0400
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151])
	by numenor.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k34JUYO5017694
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Tue, 4 Apr 2006 12:30:34 -0700
Received: from LDONDETI.qualcomm.com (qconnect-10-50-64-198.qualcomm.com
	[10.50.64.198])
	by crowley.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k34JURM0019033
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 4 Apr 2006 12:30:32 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Tue, 04 Apr 2006 12:30:27 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
In-Reply-To: <20060404130949.GA20995@steelhead>
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 03fb21b15d5177c512a4caa19876f30a
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Yoshi,

Thanks again for your patient discussion on this topic.  I have some 
follow-up comments:


At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
>On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> >

<snip>

> > >
> > >Maybe my interpretation is based on a broader definition of the
> > >problem where only sequential authentication methods exist without any
> > >tunneling method (null "tunnel authentication").
> >
> > Tunnel may be a loaded word, but I think you get my point, if the
> > first EAP authentication (say the NAP authentication) authenticates
> > both parties, and if tunneled, say takes into consideration the
> > compound binding attack and derives the AAA-key, then MiTM attack is
> > avoided.
>
>My point is, if the first EAP authentication (whether it is tunneled
>or not) is not cryptographically bound to subsequnet EAP
>authentication(s), then MiTM attack is not avoided.
>
> >
> >
> > >>
> > >>
> >

<snip>

> > >Second, even if there were direct protected result indication sent
> > >from backend authentication server to EP, I don't understand why MiTM
> > >won't be successful in case there is no cryptographic binding between
> > >the two authentication methods, if both NAP and ISP authentications
> > >succeed and the authentication server authorizes access to the
> > >client's device identifier (which is actually the MiTM's device
> > >identifier) that was seen by the legitimate PAA,
> >
> > All I am saying here is that if the second authentication is mutually
> > authenticating (no MiTM) and if the result indication is sent from
> > the PAA to the EP (as long as a key can be sent, an RI can be sent,
> > right?), then you'll achieve equivalent functionality to mixing the two
> > keys.
>
>I don't think so.  Please see my comment below.
>
> >
> > Your note on a MiTM claiming another client's device ID is not
> > possible since the MiTM cannot provide the other device's credentials
> > to the AS.  Note that the ISP authentication is independent of the
> > NAP authentication.  Both are mutually authenticating is the assumption.
>
>I think you are making some assumption here.  If you assume device
>authentication for ISP authentication, then I think the assumption is
>too strong to relax the cryptographic binding requirement.  When the
>credentials used for ISP authentication are not bound to a particular
>device identifier, then the MiTM attack is not avoided without
>cryptographically binding the two EAP runs, even if both are mutually
>authenticating.

I think we are getting closer to an agreement here.  The AS/PAA must 
know the device IDs corresponding to the NAS authentication and the 
ISP authentication, so that they can bind the two AAA-keys, 
right?  So all I am saying is while binding the keys is one option, 
equivalent protection can be achieved by sending the NAS AAA-key and 
sending a binding between the NAS ID and the ISP ID (more precisely, 
L2 and L3 identifiers) to the EP.  PANA does have messages to support 
this kind of ID binding, right?


> >
> > >>
> > >> One further issue is that if the MiTM is beyond the EP, there is no
> > >> protection from the compound binding either.
> > >
> > >An appropriate secure association protocol run between PaC and EP
> > >after the PANA authentication and authorization phase provides further
> > >protection regardless whether the MiTM is beyong the EP or not.
> >
> > No amount of protection on the path between the PaC and the EP will
> > be sufficient against an adversary on the link from the EP to the network.
>
>Sorry I was going too far in this specific statement.  The correct
>statement would be:
>
>"
>An appropriate secure association protocol run between PaC and EP
>after the PANA authentication and authorization phase provides further
>protection if the MiTM is beyond the EP.
>"

Thanks for the clarification, but I don't see why any protection 
beyond the EP is possible with a SEC association between the PaC and 
the EP.  Please explain why an attacker situated after the EP cannot 
spoof identities on the packets


> >
> > What I am looking for is a clarification that compound binding is not
> > necessary for the above reasons and a protected RI is sufficient to
> > bind the two authentications.
>
>I don't think we can relax the cryptographic binding requirement if
>the justification for it is based on strong assumption.

I don't understand this part.  The assumption is the same as that 
applies to key delivery to the EP, no?

thanks and regards,
Lakshminath


>Regards,
>Yoshihiro Ohba
>
>
> >
> > regards,
> > Lakshminath
> >
> >
> > >Best regards,
> > >Yoshihiro Ohba
> > >
> > >
> > >>
> > >> thanks and regards,
> > >> Lakshminath
> > >>
> > >>
> > >> >Let's assume that only the AAA-Key generated by NAP authentication is
> > >> >used for deriving PANA_AUTH_KEY and PaC-EP-Master-Key.
> > >> >
> > >> >Assume also that the MiTM has its own credentials for method A.  The
> > >> >MiTM can succeed NAP authentication using method A with its own
> > >> >credentials.  In the ISP authentication the MiTM just forwards method
> > >> >B between legitimate PaC and PAA.
> > >> >
> > >> >Without cryptographic binding between methods A and B, the MiTM will
> > >> >succeed PANA authentication with the legitimate PAA and be able to
> > >> >gain access instead of the legitimate PaC.
> > >> >
> > >> >
> > >> >legitimate             MiTM                 legitimate
> > >> >PaC                                            PAA
> > >> >                                  PANA
> > >> >    |                   |  NAP authentication   |
> > >> >    |                   |   (method A)          |
> > >> >    |                   |<--------------------->|
> > >> >    |                   |  PANA PFER/PFEA       |
> > >> >    |                   |<--------------------->|
> > >> >    |                   |         PANA          |
> > >> >    |     PANA          |  ISP authentication   |
> > >> >    |   (method B)      |      (method B)       |
> > >> >    |<----------------->-<--------------------->|
> > >> >    |                   |  PANA PBR/PBA         |
> > >> >    |                   |<--------------------->|
> > >> >    |                   |                       |
> > >> >
> > >> >
> > >> >>
> > >> >> So, let's try and explore the NAP and ISP authentication in
> > >> >> PANA.  First, I can't say I understand the concept of the "lower
> > >> >> layer" being insecure, perhaps that needs to be elaborated.  To
> > >> >
> > >> >Please see draft-ietf-pana-framework-06.txt for more detailed
> > >> >explanation.
> > >> >
> > >> >> elaborate my question, I am looking for specifics on the requirements
> > >> >> on the lower layer that might relax the PANA requirement of compound
> > >> >> binding and also the end-points of the lower layer. The second
> > >> >> question I have is what the Man-in-the-middle might be able to do if
> > >> >> the NAP EAP method is key generating and mutually authenticating (and
> > >> >> in fact might be compound-bound in itself) and the ISP EAP method is
> > >> >> not.  Oh, and where is the MiTM situated in the PANA network diagram.
> > >> >
> > >> >Please see the above example, which also covers your scenario in which
> > >> >only method A is key generating and mutually authenticating.
> > >> >
> > >> >Best regards,
> > >> >Yoshihiro Ohba
> > >> >
> > >> >>
> > >> >> Thanks in advance for your responses.
> > >> >>
> > >> >> regards,
> > >> >> Lakshminath
> > >> >>
> > >> >> At 10:18 AM 4/3/2006, Yoshihiro Ohba wrote:
> > >> >> >Hi Lakshminath,
> > >> >> >
> > >> >> >This problem is known to be compound authentication problem.
> > >> >> >Cryptographic binding is the key solution for this class of problem.
> > >> >> >
> > >> >> >Here is a list of references on this problem:
> > >> >> >
> > >> >> >-
> > >> >> >http://mirrors.isc.org/pub/www.watersprings.org/pub/id/draft-puth
> > >> >enkulam-eap-binding-04.txt
> > >> >> >
> > >> >> >- http://www.saunalahti.fi/~asokan/research/tunnel_extab.pdf
> > >> >> >
> > >> >> >- Section 5 of RFC4306
> > >> >> >
> > >> >> >Although these references are focused on MiTM attack on tunneling
> > >> >> >authentication methods, but essentially the same attack is possible
> > >> >> >for sequential authentication methods like NAP and ISP separate
> > >> >> >authentication in PANA.  Compound session keys (like PANA does) is
> > >one
> > >> >> >way of cryptographic binding.  There can be another way (like EAP
> > >> >> >usage in IKEv2) of cryptographic binding as well.
> > >> >> >
> > >> >> >Best regards,
> > >> >> >Yoshihiro Ohba
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >On Fri, Mar 31, 2006 at 05:29:39PM -0800, Lakshminath Dondeti wrote:
> > >> >> >> Hi,
> > >> >> >>
> > >> >> >> The PANA spec in Section 11.4 says:
> > >> >> >> In the absence of lower-layer security,
> > >> >> >>    both authentications MUST be able to generate a AAA-Key,
> > >leading to
> > >> >> >>    generation of a PANA SA.  The resultant PANA SA
> > >cryptographically
> > >> >> >>    binds the two AAA-Keys together, hence it prevents
> > >> >man-in-the-middle
> > >> >> >>    attacks.
> > >> >> >>
> > >> >> >> I am curious about why the two AAA-keys need to be bound
> > >> >> >> together.  What is the perceived MiTM attack and how does
> > >> >> >> cryptographically binding the keys mitigate the attack?
> > >> >> >>
> > >> >> >> Thanks in advance for any explanation.
> > >> >> >>
> > >> >> >> thanks and regards,
> > >> >> >> Lakshminath
> > >> >> >>
> > >> >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Tue Apr 04 16:16:39 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQrx1-0001vo-Hr; Tue, 04 Apr 2006 16:16:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQrx0-0001vj-Mp
	for pana@ietf.org; Tue, 04 Apr 2006 16:16:30 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQrwz-0007kH-VP
	for pana@ietf.org; Tue, 04 Apr 2006 16:16:30 -0400
Received: from wall11.toshiba.co.jp ([133.199.90.149])
	by inet-tsb.toshiba.co.jp  with ESMTP id k34KGQtb011919;
	Wed, 5 Apr 2006 05:16:26 +0900 (JST)
Received: (from root@localhost) by wall11.toshiba.co.jp  id k34KHScf029728;
	Wed, 5 Apr 2006 05:17:28 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] 
	by wall11.toshiba.co.jp with SMTP id FAA29682;
	Wed, 5 Apr 2006 05:17:28 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp11.toshiba.co.jp  with ESMTP id k34KGPU8019245;
	Wed, 5 Apr 2006 05:16:25 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k34KGOaf002382;
	Wed, 5 Apr 2006 05:16:24 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX700B83SB7O520@mail.po.toshiba.co.jp>; Wed,
	05 Apr 2006 05:16:24 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FQrwV-0006l9-Dj; Tue,
	04 Apr 2006 13:15:59 -0700
Date: Tue, 04 Apr 2006 16:15:59 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org,
	townsley@cisco.com
Message-id: <20060404201559.GG20995@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 29dc808194f5fb921c09d0040806d6eb
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Lakshminath,

On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> Hi Yoshi,
> 
> Thanks again for your patient discussion on this topic.  I have some 
> follow-up comments:
> 
> 
> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> >>
> 
> <snip>
> 
> >> >
> >> >Maybe my interpretation is based on a broader definition of the
> >> >problem where only sequential authentication methods exist without any
> >> >tunneling method (null "tunnel authentication").
> >>
> >> Tunnel may be a loaded word, but I think you get my point, if the
> >> first EAP authentication (say the NAP authentication) authenticates
> >> both parties, and if tunneled, say takes into consideration the
> >> compound binding attack and derives the AAA-key, then MiTM attack is
> >> avoided.
> >
> >My point is, if the first EAP authentication (whether it is tunneled
> >or not) is not cryptographically bound to subsequnet EAP
> >authentication(s), then MiTM attack is not avoided.
> >
> >>
> >>
> >> >>
> >> >>
> >>
> 
> <snip>
> 
> >> >Second, even if there were direct protected result indication sent
> >> >from backend authentication server to EP, I don't understand why MiTM
> >> >won't be successful in case there is no cryptographic binding between
> >> >the two authentication methods, if both NAP and ISP authentications
> >> >succeed and the authentication server authorizes access to the
> >> >client's device identifier (which is actually the MiTM's device
> >> >identifier) that was seen by the legitimate PAA,
> >>
> >> All I am saying here is that if the second authentication is mutually
> >> authenticating (no MiTM) and if the result indication is sent from
> >> the PAA to the EP (as long as a key can be sent, an RI can be sent,
> >> right?), then you'll achieve equivalent functionality to mixing the two
> >> keys.
> >
> >I don't think so.  Please see my comment below.
> >
> >>
> >> Your note on a MiTM claiming another client's device ID is not
> >> possible since the MiTM cannot provide the other device's credentials
> >> to the AS.  Note that the ISP authentication is independent of the
> >> NAP authentication.  Both are mutually authenticating is the assumption.
> >
> >I think you are making some assumption here.  If you assume device
> >authentication for ISP authentication, then I think the assumption is
> >too strong to relax the cryptographic binding requirement.  When the
> >credentials used for ISP authentication are not bound to a particular
> >device identifier, then the MiTM attack is not avoided without
> >cryptographically binding the two EAP runs, even if both are mutually
> >authenticating.
> 
> I think we are getting closer to an agreement here.  

There is some misunderstanding.  Please see my comment below.

> The AS/PAA must 
> know the device IDs corresponding to the NAS authentication and the 
> ISP authentication, so that they can bind the two AAA-keys, 
> right?  

This is correct, except s/NAS/NAP/ I guess.

> So all I am saying is while binding the keys is one option, 
> equivalent protection can be achieved by sending the NAS AAA-key and 
> sending a binding between the NAS ID and the ISP ID (more precisely, 
> L2 and L3 identifiers) to the EP.  PANA does have messages to support 
> this kind of ID binding, right?

I don't think your scheme provides equivalent protection as the
cryptographic binding defined in the PANA specification.  In the MiTM
attack I explained, the MiTM uses its own device identifier for PANA
communication with the legitimate PAA as well as for application
traffic via the EP.  As a result, the PAA will send MiTM's device
identifier and a PaC-EP-Master-Key to the EP, not the device
identifier of the legitimate PaC.

> 
> 
> >>
> >> >>
> >> >> One further issue is that if the MiTM is beyond the EP, there is no
> >> >> protection from the compound binding either.
> >> >
> >> >An appropriate secure association protocol run between PaC and EP
> >> >after the PANA authentication and authorization phase provides further
> >> >protection regardless whether the MiTM is beyong the EP or not.
> >>
> >> No amount of protection on the path between the PaC and the EP will
> >> be sufficient against an adversary on the link from the EP to the 
> >network.
> >
> >Sorry I was going too far in this specific statement.  The correct
> >statement would be:
> >
> >"
> >An appropriate secure association protocol run between PaC and EP
> >after the PANA authentication and authorization phase provides further
> >protection if the MiTM is beyond the EP.
> >"
> 
> Thanks for the clarification, but I don't see why any protection 
> beyond the EP is possible with a SEC association between the PaC and 
> the EP.  Please explain why an attacker situated after the EP cannot 
> spoof identities on the packets

Sorry for the confusion, I meant the case where the attacker is beyond
the EP *when seeing the attacker from the network side*, i.e., the
attacker is between the PaC and EP.  If the attacker is between EP and
the network, then the SA between the PaC and EP does not help, as you
stated.

> 
> 
> >>
> >> What I am looking for is a clarification that compound binding is not
> >> necessary for the above reasons and a protected RI is sufficient to
> >> bind the two authentications.
> >
> >I don't think we can relax the cryptographic binding requirement if
> >the justification for it is based on strong assumption.
> 
> I don't understand this part.  The assumption is the same as that 
> applies to key delivery to the EP, no?

No.

"Key delivery to the EP" is for binding the PaC's device identifier to
the key generated as a result of PANA authentication, where the EAP
run(s) within the PANA authentication may use any kind of
authentication credentials (device credentials or user credentials).

Yoshihiro Ohba

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 05 14:24:46 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRCgP-0002Qy-OE; Wed, 05 Apr 2006 14:24:45 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRCgO-0002Qq-HG; Wed, 05 Apr 2006 14:24:44 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FRCgN-0002o7-Hz; Wed, 05 Apr 2006 14:24:44 -0400
Received: from tsb-wall.toshiba.co.jp ([133.199.160.134])
	by inet-tsb.toshiba.co.jp  with ESMTP id k35IOetb005432;
	Thu, 6 Apr 2006 03:24:40 +0900 (JST)
Received: (from root@localhost) by tsb-wall.toshiba.co.jp  id k35IOfAl018206;
	Thu, 6 Apr 2006 03:24:41 +0900 (JST)
Received: from ovp1.toshiba.co.jp [133.199.192.124] 
	by tsb-wall.toshiba.co.jp with SMTP id DAA18172;
	Thu, 6 Apr 2006 03:24:41 +0900
Received: from mx2.toshiba.co.jp (localhost [127.0.0.1])
	by ovp1.toshiba.co.jp  with ESMTP id k35IOdon008638;
	Thu, 6 Apr 2006 03:24:40 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k35IOdnS024969;
	Thu, 6 Apr 2006 03:24:39 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX9003HNHSYKM30@mail.po.toshiba.co.jp>; Thu,
	06 Apr 2006 03:24:39 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FRCg9-00005Z-Ck; Wed,
	05 Apr 2006 11:24:29 -0700
Date: Wed, 05 Apr 2006 14:24:29 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <Pine.LNX.4.64.0604051331490.3388@netcore.fi>
To: Pekka Savola <pekkas@netcore.fi>
Mail-followup-to: Pekka Savola <pekkas@netcore.fi>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, iesg@ietf.org, pana@ietf.org
Message-id: <20060405182429.GN28843@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <E1FKlMn-0003Ws-Lr@stiedprstage1.ietf.org>
	<Pine.LNX.4.64.0603271040530.3126@netcore.fi>
	<20060404140040.GA22186@steelhead>
	<Pine.LNX.4.64.0604051331490.3388@netcore.fi>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 225414c974e0d6437992164e91287a51
Cc: Yoshihiro Ohba <yohba@tari.toshiba.com>, iesg@ietf.org, pana@ietf.org
Subject: [Pana] Re: Last Call: 'PANA Framework' to Informational RFC
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

On Wed, Apr 05, 2006 at 01:40:59PM +0300, Pekka Savola wrote:
> Inline, just responding to a couple of substantial issues,
> 
> On Tue, 4 Apr 2006, Yoshihiro Ohba wrote:
> >>1) the document makes a big deal about spoofing and eavesdropping
> >>protection, but doesn't say a word about local DoS attacks (e.g., which
> >>could prevent getting an address in the first place, getting a duplicate
> >>address, etc. -- see the SEND documents for more on this).  These should 
> >>be
> >>discussed somewhere.
> >
> >The DoS attacks are described in RFC 4016 (Protocol for Carrying 
> >Authentication and Network Access (PANA) Threat Analysis and 
> >Security Requirements), and we can add a reference to RFC 4016.
> 
> Good.  (Note that I didn't actually look at that RFC to analyze 
> whether the issues are sufficiently discussed, but I hope so...)

Just FYI, let me quote the related text in RFC 4016:

"
   T6.6.2: PaC acquires an IP address by using stateful or stateless
           mechanisms before PANA authentication begins [PANAREQ].  When
           the IP addresses are assigned before the client
           authentication, it opens up the possibility of DoS attacks in
           which unauthenticated malicious nodes can deplete the IP
           address space by acquiring multiple IP addresses or deny
           allocation to others by responding to every duplicate address
           detection (DAD) query.

           Depleting a /64 IPv6 link-local address space or a /8 RFC1918
           private address space requires a brute-force attack.  Such an
           attack is part of a DoS class that can equally target the
           link capacity or the CPU cycles on the target system by
           bombarding arbitrary packets.  Therefore, solely handling the
           IP address depletion attack is not going to improve the
           security, as a more general solution is needed to tackle the
           whole class of brute-force attacks.

           The DAD attack can be prevented by deploying secure address
           resolution that does not depend on the client authentication,
           such as [SEND].  The attack may also be prevented if the EP
           is placed between the PaCs to monitor the ND/ARP activity and
           to detect DAD attacks (excessive NA/ARP replies).  If none of
           these solutions are applicable to a deployment, the PaCs can
           send arbitrary packets to each other without going through
           the EP, which enables a class of attacks that are based on
           interfering with the PANA messaging (See T6.1.1).  Since
           there will always be a threat in this class (e.g., insecure
           discovery), it is not going to improve the overall security
           by addressing DAD.
"

> 
> >>2) deployment assumptions (e.g., where protocol needs to be supported, and
> >>what exactly needs to be supported) needs to be spelled out better.
> >>
> >>      An EP must be located strategically in a local area network to
> >>      minimize the access of unauthorized clients to the network.  For
> >>      example, the EP can be hosted on the switch that is directly
> >>      connected to the clients in a wired network.  That way the EP can
> >>      drop unauthorized packets before they reach any other client node
> >>      or beyond the local area network.
> >>
> >>(also section 4.b, 2nd paragraph)
> >>
> >>and also:
> >>
> >>To achieve this, each PAA/EP device on an
> >>   link-layer switch or access point MUST NOT forward multicast PANA
> >>   discovery message sent by PaCs attached to it to other devices.  This
> >>   model is suitable for an access network with a small number of EPs.
> >>
> >>==> it's not clear what your deployment assumptions are.  Is it required
> >>that the first L2 device port supports PANA?  What support does that mean?
> >>Are the users required to do forklift upgrades? What kind of support are 
> >>you
> >>exactly requiring?  Do you require EAP?
> >
> >YO: When PAA and EP are co-located on a first L2 device, the L2 device
> >needs to implement both PAA and EP functinalities.  If a first L2
> >device is not acting as PAA but EP, it needs to implement EP
> >functionality but not PAA functinality.  If a first L2 device is not
> >acting as PAA or EP (this is possible in the case of IPsec ciphering),
> >then it does not needs to implement any functionality described in the
> >PANA framework.  Also, any implementation of the PAA functinality of
> >the PANA protocol requires implementation of authenticator
> >functionality of EAP.
> 
> Each of these scenarios and the implications whould probably be 
> spelled out, maybe in separate subsections, to make each PANA 
> scenario and its implications clear to the reader.

OK.  We will add those scenarios and implications in the draft.

> 
> You didn't answer what "MUST NOT forward multicast PANA discovery 
> message sent by PaCs attached to it to other devices" meant.  Did you 
> mean that you require modifications in the data plane in switches and 
> access points under certain situations?  

Yes, this requires a specific filter for multicast PANA discovery
message on the EP implmementation in switches and acess points.

> Does this apply to only 
> PANA-implementing switches/APs or also to others?  This should be 
> spelled out loud and clear.

This (i.e., "MUST NOT forward multicast PANA discovery message...  to
other devices") applies to only switches/APs that act as both EP and
PAA.  We will revise the text for more clarification on this.

> 
> >>Hence, it seems that if you need to use IKE, IPsec or whatever, you just
> >>you WILL need to deploy non-link-local addresses as well -- the v6
> >>link-locals just aren't enough in that scenario.
> >
> >IPsec-TIA needs to be non-link-local.  But this does not mean that
> >IPsec-TOA should always be non-link-local as well.
> 
> But you do assume that if you use IPsec encryption, the decryption 
> must happen on the same link (e.g., by the router) unless non-link 
> local addresses are used, right?  

Yes.

> The current framework doesn't 
> describe the scenario where non-link local addresses are used for this 
> AFAIR.

We will add some text on the scenario where non-link local address is
used for IPsec TOA, i.e., the IPsec EP is not on the same link as PaC.

> 
> Note that I'm personally of the opinion that IPsec or IKE shouldn't 
> need to be run with link-local addresses as outer addresses either if 
> it can be avoided.
> 
> >>6) does the framework assume that it's always PAA that detects new PaC?  
> >>Can
> >>a PaC start a PANA exchange voluntarily?
> >
> >Detection of PaC's presense is not always required.  A PaC can start
> >PANA exchange voluntarily, and this is actually mandatory supported
> >method for PAA discovery that is described in the protocol document in
> >detail.
> 
> .. but not described in the framework AFAIR?

You are right.  We will have explicit text on this.

Thank you,
Yoshihiro Ohba


> 
> -- 
> Pekka Savola                 "You each name yourselves king, yet the
> Netcore Oy                    kingdom bleeds."
> Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 05 19:10:01 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRH8R-0005gz-Nt; Wed, 05 Apr 2006 19:09:59 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRH8Q-0005gu-2z
	for pana@ietf.org; Wed, 05 Apr 2006 19:09:58 -0400
Received: from ithilien.qualcomm.com ([129.46.51.59])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRH8N-00028X-7g
	for pana@ietf.org; Wed, 05 Apr 2006 19:09:58 -0400
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151])
	by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k35N9rwH010479
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 5 Apr 2006 16:09:53 -0700
Received: from LDONDETI.qualcomm.com (qconnect-10-50-73-157.qualcomm.com
	[10.50.73.157])
	by crowley.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k35N9pQd028479
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Wed, 5 Apr 2006 16:09:52 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Wed, 05 Apr 2006 16:09:41 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
In-Reply-To: <20060404201559.GG20995@steelhead>
References: <6.2.5.6.2.20060331172311.04052c38@qualcomm.com>
	<20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 202a3ece0492a8c7e7c8672d5214398f
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi,

Sorry for the delay in my response, let me attribute it to a spike in 
Nomcom activity.  I read 4016 again and it seems to support my 
statements, specifically,

Requirement 3 and the related text support my statement on compound 
binding.  It applies to ISP or NAP authentication individually and 
does not necessarily apply to the dual authentication case.

Requirement 7 says

    PANA MUST securely bind the authenticated session to the device
    identifier of the client, to prevent service theft.  PANA MUST be
    able to bootstrap a shared secret between the PaC and PAA that can be
    further used to set up a security association between the PaC and EP
    to provide cryptographic protection against service theft.

So, binding authenticated session to device IDs as well as 
cryptographic protection are both supported as per 4016.  I am 
curious what changed between then and now.

Perhaps this WG consensus as in 4016 might be more convincing to you?

thanks and regards,
Lakshminath

At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
>Hi Lakshminath,
>
>On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> > Hi Yoshi,
> >
> > Thanks again for your patient discussion on this topic.  I have some
> > follow-up comments:
> >
> >
> > At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> > >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> > >>
> >
> > <snip>
> >
> > >> >
> > >> >Maybe my interpretation is based on a broader definition of the
> > >> >problem where only sequential authentication methods exist without any
> > >> >tunneling method (null "tunnel authentication").
> > >>
> > >> Tunnel may be a loaded word, but I think you get my point, if the
> > >> first EAP authentication (say the NAP authentication) authenticates
> > >> both parties, and if tunneled, say takes into consideration the
> > >> compound binding attack and derives the AAA-key, then MiTM attack is
> > >> avoided.
> > >
> > >My point is, if the first EAP authentication (whether it is tunneled
> > >or not) is not cryptographically bound to subsequnet EAP
> > >authentication(s), then MiTM attack is not avoided.
> > >
> > >>
> > >>
> > >> >>
> > >> >>
> > >>
> >
> > <snip>
> >
> > >> >Second, even if there were direct protected result indication sent
> > >> >from backend authentication server to EP, I don't understand why MiTM
> > >> >won't be successful in case there is no cryptographic binding between
> > >> >the two authentication methods, if both NAP and ISP authentications
> > >> >succeed and the authentication server authorizes access to the
> > >> >client's device identifier (which is actually the MiTM's device
> > >> >identifier) that was seen by the legitimate PAA,
> > >>
> > >> All I am saying here is that if the second authentication is mutually
> > >> authenticating (no MiTM) and if the result indication is sent from
> > >> the PAA to the EP (as long as a key can be sent, an RI can be sent,
> > >> right?), then you'll achieve equivalent functionality to mixing the two
> > >> keys.
> > >
> > >I don't think so.  Please see my comment below.
> > >
> > >>
> > >> Your note on a MiTM claiming another client's device ID is not
> > >> possible since the MiTM cannot provide the other device's credentials
> > >> to the AS.  Note that the ISP authentication is independent of the
> > >> NAP authentication.  Both are mutually authenticating is the assumption.
> > >
> > >I think you are making some assumption here.  If you assume device
> > >authentication for ISP authentication, then I think the assumption is
> > >too strong to relax the cryptographic binding requirement.  When the
> > >credentials used for ISP authentication are not bound to a particular
> > >device identifier, then the MiTM attack is not avoided without
> > >cryptographically binding the two EAP runs, even if both are mutually
> > >authenticating.
> >
> > I think we are getting closer to an agreement here.
>
>There is some misunderstanding.  Please see my comment below.
>
> > The AS/PAA must
> > know the device IDs corresponding to the NAS authentication and the
> > ISP authentication, so that they can bind the two AAA-keys,
> > right?
>
>This is correct, except s/NAS/NAP/ I guess.
>
> > So all I am saying is while binding the keys is one option,
> > equivalent protection can be achieved by sending the NAS AAA-key and
> > sending a binding between the NAS ID and the ISP ID (more precisely,
> > L2 and L3 identifiers) to the EP.  PANA does have messages to support
> > this kind of ID binding, right?
>
>I don't think your scheme provides equivalent protection as the
>cryptographic binding defined in the PANA specification.  In the MiTM
>attack I explained, the MiTM uses its own device identifier for PANA
>communication with the legitimate PAA as well as for application
>traffic via the EP.  As a result, the PAA will send MiTM's device
>identifier and a PaC-EP-Master-Key to the EP, not the device
>identifier of the legitimate PaC.
>
> >
> >
> > >>
> > >> >>
> > >> >> One further issue is that if the MiTM is beyond the EP, there is no
> > >> >> protection from the compound binding either.
> > >> >
> > >> >An appropriate secure association protocol run between PaC and EP
> > >> >after the PANA authentication and authorization phase provides further
> > >> >protection regardless whether the MiTM is beyong the EP or not.
> > >>
> > >> No amount of protection on the path between the PaC and the EP will
> > >> be sufficient against an adversary on the link from the EP to the
> > >network.
> > >
> > >Sorry I was going too far in this specific statement.  The correct
> > >statement would be:
> > >
> > >"
> > >An appropriate secure association protocol run between PaC and EP
> > >after the PANA authentication and authorization phase provides further
> > >protection if the MiTM is beyond the EP.
> > >"
> >
> > Thanks for the clarification, but I don't see why any protection
> > beyond the EP is possible with a SEC association between the PaC and
> > the EP.  Please explain why an attacker situated after the EP cannot
> > spoof identities on the packets
>
>Sorry for the confusion, I meant the case where the attacker is beyond
>the EP *when seeing the attacker from the network side*, i.e., the
>attacker is between the PaC and EP.  If the attacker is between EP and
>the network, then the SA between the PaC and EP does not help, as you
>stated.
>
> >
> >
> > >>
> > >> What I am looking for is a clarification that compound binding is not
> > >> necessary for the above reasons and a protected RI is sufficient to
> > >> bind the two authentications.
> > >
> > >I don't think we can relax the cryptographic binding requirement if
> > >the justification for it is based on strong assumption.
> >
> > I don't understand this part.  The assumption is the same as that
> > applies to key delivery to the EP, no?
>
>No.
>
>"Key delivery to the EP" is for binding the PaC's device identifier to
>the key generated as a result of PANA authentication, where the EAP
>run(s) within the PANA authentication may use any kind of
>authentication credentials (device credentials or user credentials).
>
>Yoshihiro Ohba


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 05 19:38:46 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRHaG-0002Lz-5q; Wed, 05 Apr 2006 19:38:44 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRHaF-0002Lu-EN
	for pana@ietf.org; Wed, 05 Apr 2006 19:38:43 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRHaE-00032T-9G
	for pana@ietf.org; Wed, 05 Apr 2006 19:38:43 -0400
Received: from tsb-wall.toshiba.co.jp ([133.199.160.134])
	by inet-tsb.toshiba.co.jp  with ESMTP id k35Ncctb016571;
	Thu, 6 Apr 2006 08:38:38 +0900 (JST)
Received: (from root@localhost) by tsb-wall.toshiba.co.jp  id k35NcdwF000304;
	Thu, 6 Apr 2006 08:38:39 +0900 (JST)
Received: from ovp1.toshiba.co.jp [133.199.192.124] 
	by tsb-wall.toshiba.co.jp with SMTP id JAA00292;
	Thu, 6 Apr 2006 08:38:39 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp1.toshiba.co.jp  with ESMTP id k35Ncben017656;
	Thu, 6 Apr 2006 08:38:37 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k35Nca44028790;
	Thu, 6 Apr 2006 08:38:37 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX90037UWC8KJ50@mail.po.toshiba.co.jp>; Thu,
	06 Apr 2006 08:38:37 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FRHZz-0000z0-65; Wed,
	05 Apr 2006 16:38:27 -0700
Date: Wed, 05 Apr 2006 19:38:27 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
In-reply-to: <6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org,
	townsley@cisco.com
Message-id: <20060405233827.GB3455@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 88b11fc64c1bfdb4425294ef5374ca07
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

To tell the history, when we were working on the threat analysis, NAP
and ISP separate authentication was not yet considered as a target
scenario (I mean NAP and ISP separate authentication is relatively new
scenario).  This is why RFC 4016 is silent about the cryptographic
binding for NAP and ISP separate authentication while it has a
cryptographic binding requirement on tunneling methods.

Regardless RFC 4016, cryptographic binding for NAP and ISP
authentication is needed.  Thus, lack of cryptographic binding
requirement for NAP and ISP separate authentication in RFC 4016
cannot be used for justifying your statements.

If you have further questions, please let us know.

Best regards,
Yoshihiro Ohba


On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> Hi,
> 
> Sorry for the delay in my response, let me attribute it to a spike in 
> Nomcom activity.  I read 4016 again and it seems to support my 
> statements, specifically,
> 
> Requirement 3 and the related text support my statement on compound 
> binding.  It applies to ISP or NAP authentication individually and 
> does not necessarily apply to the dual authentication case.
> 
> Requirement 7 says
> 
>    PANA MUST securely bind the authenticated session to the device
>    identifier of the client, to prevent service theft.  PANA MUST be
>    able to bootstrap a shared secret between the PaC and PAA that can be
>    further used to set up a security association between the PaC and EP
>    to provide cryptographic protection against service theft.
> 
> So, binding authenticated session to device IDs as well as 
> cryptographic protection are both supported as per 4016.  I am 
> curious what changed between then and now.
> 
> Perhaps this WG consensus as in 4016 might be more convincing to you?
> 
> thanks and regards,
> Lakshminath
> 
> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> >Hi Lakshminath,
> >
> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> >> Hi Yoshi,
> >>
> >> Thanks again for your patient discussion on this topic.  I have some
> >> follow-up comments:
> >>
> >>
> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> >> >>
> >>
> >> <snip>
> >>
> >> >> >
> >> >> >Maybe my interpretation is based on a broader definition of the
> >> >> >problem where only sequential authentication methods exist without 
> >any
> >> >> >tunneling method (null "tunnel authentication").
> >> >>
> >> >> Tunnel may be a loaded word, but I think you get my point, if the
> >> >> first EAP authentication (say the NAP authentication) authenticates
> >> >> both parties, and if tunneled, say takes into consideration the
> >> >> compound binding attack and derives the AAA-key, then MiTM attack is
> >> >> avoided.
> >> >
> >> >My point is, if the first EAP authentication (whether it is tunneled
> >> >or not) is not cryptographically bound to subsequnet EAP
> >> >authentication(s), then MiTM attack is not avoided.
> >> >
> >> >>
> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >>
> >> <snip>
> >>
> >> >> >Second, even if there were direct protected result indication sent
> >> >> >from backend authentication server to EP, I don't understand why MiTM
> >> >> >won't be successful in case there is no cryptographic binding between
> >> >> >the two authentication methods, if both NAP and ISP authentications
> >> >> >succeed and the authentication server authorizes access to the
> >> >> >client's device identifier (which is actually the MiTM's device
> >> >> >identifier) that was seen by the legitimate PAA,
> >> >>
> >> >> All I am saying here is that if the second authentication is mutually
> >> >> authenticating (no MiTM) and if the result indication is sent from
> >> >> the PAA to the EP (as long as a key can be sent, an RI can be sent,
> >> >> right?), then you'll achieve equivalent functionality to mixing the 
> >two
> >> >> keys.
> >> >
> >> >I don't think so.  Please see my comment below.
> >> >
> >> >>
> >> >> Your note on a MiTM claiming another client's device ID is not
> >> >> possible since the MiTM cannot provide the other device's credentials
> >> >> to the AS.  Note that the ISP authentication is independent of the
> >> >> NAP authentication.  Both are mutually authenticating is the 
> >assumption.
> >> >
> >> >I think you are making some assumption here.  If you assume device
> >> >authentication for ISP authentication, then I think the assumption is
> >> >too strong to relax the cryptographic binding requirement.  When the
> >> >credentials used for ISP authentication are not bound to a particular
> >> >device identifier, then the MiTM attack is not avoided without
> >> >cryptographically binding the two EAP runs, even if both are mutually
> >> >authenticating.
> >>
> >> I think we are getting closer to an agreement here.
> >
> >There is some misunderstanding.  Please see my comment below.
> >
> >> The AS/PAA must
> >> know the device IDs corresponding to the NAS authentication and the
> >> ISP authentication, so that they can bind the two AAA-keys,
> >> right?
> >
> >This is correct, except s/NAS/NAP/ I guess.
> >
> >> So all I am saying is while binding the keys is one option,
> >> equivalent protection can be achieved by sending the NAS AAA-key and
> >> sending a binding between the NAS ID and the ISP ID (more precisely,
> >> L2 and L3 identifiers) to the EP.  PANA does have messages to support
> >> this kind of ID binding, right?
> >
> >I don't think your scheme provides equivalent protection as the
> >cryptographic binding defined in the PANA specification.  In the MiTM
> >attack I explained, the MiTM uses its own device identifier for PANA
> >communication with the legitimate PAA as well as for application
> >traffic via the EP.  As a result, the PAA will send MiTM's device
> >identifier and a PaC-EP-Master-Key to the EP, not the device
> >identifier of the legitimate PaC.
> >
> >>
> >>
> >> >>
> >> >> >>
> >> >> >> One further issue is that if the MiTM is beyond the EP, there is no
> >> >> >> protection from the compound binding either.
> >> >> >
> >> >> >An appropriate secure association protocol run between PaC and EP
> >> >> >after the PANA authentication and authorization phase provides 
> >further
> >> >> >protection regardless whether the MiTM is beyong the EP or not.
> >> >>
> >> >> No amount of protection on the path between the PaC and the EP will
> >> >> be sufficient against an adversary on the link from the EP to the
> >> >network.
> >> >
> >> >Sorry I was going too far in this specific statement.  The correct
> >> >statement would be:
> >> >
> >> >"
> >> >An appropriate secure association protocol run between PaC and EP
> >> >after the PANA authentication and authorization phase provides further
> >> >protection if the MiTM is beyond the EP.
> >> >"
> >>
> >> Thanks for the clarification, but I don't see why any protection
> >> beyond the EP is possible with a SEC association between the PaC and
> >> the EP.  Please explain why an attacker situated after the EP cannot
> >> spoof identities on the packets
> >
> >Sorry for the confusion, I meant the case where the attacker is beyond
> >the EP *when seeing the attacker from the network side*, i.e., the
> >attacker is between the PaC and EP.  If the attacker is between EP and
> >the network, then the SA between the PaC and EP does not help, as you
> >stated.
> >
> >>
> >>
> >> >>
> >> >> What I am looking for is a clarification that compound binding is not
> >> >> necessary for the above reasons and a protected RI is sufficient to
> >> >> bind the two authentications.
> >> >
> >> >I don't think we can relax the cryptographic binding requirement if
> >> >the justification for it is based on strong assumption.
> >>
> >> I don't understand this part.  The assumption is the same as that
> >> applies to key delivery to the EP, no?
> >
> >No.
> >
> >"Key delivery to the EP" is for binding the PaC's device identifier to
> >the key generated as a result of PANA authentication, where the EAP
> >run(s) within the PANA authentication may use any kind of
> >authentication credentials (device credentials or user credentials).
> >
> >Yoshihiro Ohba
> 
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 05 19:49:08 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRHkF-0007YI-Jz; Wed, 05 Apr 2006 19:49:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRHkE-0007YD-WE
	for pana@ietf.org; Wed, 05 Apr 2006 19:49:03 -0400
Received: from numenor.qualcomm.com ([129.46.51.58])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRHkE-0003Iq-2w
	for pana@ietf.org; Wed, 05 Apr 2006 19:49:02 -0400
Received: from magus.qualcomm.com (magus.qualcomm.com [129.46.61.148])
	by numenor.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k35NmxGM012236
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 5 Apr 2006 16:49:00 -0700
Received: from LDONDETI.qualcomm.com (qconnect-10-50-73-157.qualcomm.com
	[10.50.73.157])
	by magus.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id k35NmwE0026275
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Wed, 5 Apr 2006 16:48:59 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Wed, 05 Apr 2006 16:49:00 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
In-Reply-To: <20060405233827.GB3455@steelhead>
References: <20060403171821.GA13665@steelhead>
	<6.2.5.6.2.20060403113011.03a2f110@qualcomm.com>
	<20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a743e34ab8eb08259de9a7307caed594
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
Subject: [Pana] Re: Question on draft-ietf-pana-pana-11
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

So 4016 is already obsolete!  And, I still don't have an answer on 
why the protected RI is not ok.  I guess we'll leave it at that!

regards,
Lakshminath

At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
>To tell the history, when we were working on the threat analysis, NAP
>and ISP separate authentication was not yet considered as a target
>scenario (I mean NAP and ISP separate authentication is relatively new
>scenario).  This is why RFC 4016 is silent about the cryptographic
>binding for NAP and ISP separate authentication while it has a
>cryptographic binding requirement on tunneling methods.
>
>Regardless RFC 4016, cryptographic binding for NAP and ISP
>authentication is needed.  Thus, lack of cryptographic binding
>requirement for NAP and ISP separate authentication in RFC 4016
>cannot be used for justifying your statements.
>
>If you have further questions, please let us know.
>
>Best regards,
>Yoshihiro Ohba
>
>
>On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> > Hi,
> >
> > Sorry for the delay in my response, let me attribute it to a spike in
> > Nomcom activity.  I read 4016 again and it seems to support my
> > statements, specifically,
> >
> > Requirement 3 and the related text support my statement on compound
> > binding.  It applies to ISP or NAP authentication individually and
> > does not necessarily apply to the dual authentication case.
> >
> > Requirement 7 says
> >
> >    PANA MUST securely bind the authenticated session to the device
> >    identifier of the client, to prevent service theft.  PANA MUST be
> >    able to bootstrap a shared secret between the PaC and PAA that can be
> >    further used to set up a security association between the PaC and EP
> >    to provide cryptographic protection against service theft.
> >
> > So, binding authenticated session to device IDs as well as
> > cryptographic protection are both supported as per 4016.  I am
> > curious what changed between then and now.
> >
> > Perhaps this WG consensus as in 4016 might be more convincing to you?
> >
> > thanks and regards,
> > Lakshminath
> >
> > At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> > >Hi Lakshminath,
> > >
> > >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> > >> Hi Yoshi,
> > >>
> > >> Thanks again for your patient discussion on this topic.  I have some
> > >> follow-up comments:
> > >>
> > >>
> > >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> > >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> > >> >>
> > >>
> > >> <snip>
> > >>
> > >> >> >
> > >> >> >Maybe my interpretation is based on a broader definition of the
> > >> >> >problem where only sequential authentication methods exist without
> > >any
> > >> >> >tunneling method (null "tunnel authentication").
> > >> >>
> > >> >> Tunnel may be a loaded word, but I think you get my point, if the
> > >> >> first EAP authentication (say the NAP authentication) authenticates
> > >> >> both parties, and if tunneled, say takes into consideration the
> > >> >> compound binding attack and derives the AAA-key, then MiTM attack is
> > >> >> avoided.
> > >> >
> > >> >My point is, if the first EAP authentication (whether it is tunneled
> > >> >or not) is not cryptographically bound to subsequnet EAP
> > >> >authentication(s), then MiTM attack is not avoided.
> > >> >
> > >> >>
> > >> >>
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> > >> <snip>
> > >>
> > >> >> >Second, even if there were direct protected result indication sent
> > >> >> >from backend authentication server to EP, I don't 
> understand why MiTM
> > >> >> >won't be successful in case there is no cryptographic 
> binding between
> > >> >> >the two authentication methods, if both NAP and ISP authentications
> > >> >> >succeed and the authentication server authorizes access to the
> > >> >> >client's device identifier (which is actually the MiTM's device
> > >> >> >identifier) that was seen by the legitimate PAA,
> > >> >>
> > >> >> All I am saying here is that if the second authentication is mutually
> > >> >> authenticating (no MiTM) and if the result indication is sent from
> > >> >> the PAA to the EP (as long as a key can be sent, an RI can be sent,
> > >> >> right?), then you'll achieve equivalent functionality to mixing the
> > >two
> > >> >> keys.
> > >> >
> > >> >I don't think so.  Please see my comment below.
> > >> >
> > >> >>
> > >> >> Your note on a MiTM claiming another client's device ID is not
> > >> >> possible since the MiTM cannot provide the other device's credentials
> > >> >> to the AS.  Note that the ISP authentication is independent of the
> > >> >> NAP authentication.  Both are mutually authenticating is the
> > >assumption.
> > >> >
> > >> >I think you are making some assumption here.  If you assume device
> > >> >authentication for ISP authentication, then I think the assumption is
> > >> >too strong to relax the cryptographic binding requirement.  When the
> > >> >credentials used for ISP authentication are not bound to a particular
> > >> >device identifier, then the MiTM attack is not avoided without
> > >> >cryptographically binding the two EAP runs, even if both are mutually
> > >> >authenticating.
> > >>
> > >> I think we are getting closer to an agreement here.
> > >
> > >There is some misunderstanding.  Please see my comment below.
> > >
> > >> The AS/PAA must
> > >> know the device IDs corresponding to the NAS authentication and the
> > >> ISP authentication, so that they can bind the two AAA-keys,
> > >> right?
> > >
> > >This is correct, except s/NAS/NAP/ I guess.
> > >
> > >> So all I am saying is while binding the keys is one option,
> > >> equivalent protection can be achieved by sending the NAS AAA-key and
> > >> sending a binding between the NAS ID and the ISP ID (more precisely,
> > >> L2 and L3 identifiers) to the EP.  PANA does have messages to support
> > >> this kind of ID binding, right?
> > >
> > >I don't think your scheme provides equivalent protection as the
> > >cryptographic binding defined in the PANA specification.  In the MiTM
> > >attack I explained, the MiTM uses its own device identifier for PANA
> > >communication with the legitimate PAA as well as for application
> > >traffic via the EP.  As a result, the PAA will send MiTM's device
> > >identifier and a PaC-EP-Master-Key to the EP, not the device
> > >identifier of the legitimate PaC.
> > >
> > >>
> > >>
> > >> >>
> > >> >> >>
> > >> >> >> One further issue is that if the MiTM is beyond the EP, 
> there is no
> > >> >> >> protection from the compound binding either.
> > >> >> >
> > >> >> >An appropriate secure association protocol run between PaC and EP
> > >> >> >after the PANA authentication and authorization phase provides
> > >further
> > >> >> >protection regardless whether the MiTM is beyong the EP or not.
> > >> >>
> > >> >> No amount of protection on the path between the PaC and the EP will
> > >> >> be sufficient against an adversary on the link from the EP to the
> > >> >network.
> > >> >
> > >> >Sorry I was going too far in this specific statement.  The correct
> > >> >statement would be:
> > >> >
> > >> >"
> > >> >An appropriate secure association protocol run between PaC and EP
> > >> >after the PANA authentication and authorization phase provides further
> > >> >protection if the MiTM is beyond the EP.
> > >> >"
> > >>
> > >> Thanks for the clarification, but I don't see why any protection
> > >> beyond the EP is possible with a SEC association between the PaC and
> > >> the EP.  Please explain why an attacker situated after the EP cannot
> > >> spoof identities on the packets
> > >
> > >Sorry for the confusion, I meant the case where the attacker is beyond
> > >the EP *when seeing the attacker from the network side*, i.e., the
> > >attacker is between the PaC and EP.  If the attacker is between EP and
> > >the network, then the SA between the PaC and EP does not help, as you
> > >stated.
> > >
> > >>
> > >>
> > >> >>
> > >> >> What I am looking for is a clarification that compound binding is not
> > >> >> necessary for the above reasons and a protected RI is sufficient to
> > >> >> bind the two authentications.
> > >> >
> > >> >I don't think we can relax the cryptographic binding requirement if
> > >> >the justification for it is based on strong assumption.
> > >>
> > >> I don't understand this part.  The assumption is the same as that
> > >> applies to key delivery to the EP, no?
> > >
> > >No.
> > >
> > >"Key delivery to the EP" is for binding the PaC's device identifier to
> > >the key generated as a result of PANA authentication, where the EAP
> > >run(s) within the PANA authentication may use any kind of
> > >authentication credentials (device credentials or user credentials).
> > >
> > >Yoshihiro Ohba
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 05 20:50:55 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRIi6-00071x-2h; Wed, 05 Apr 2006 20:50:54 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRIi5-00071s-8P
	for pana@ietf.org; Wed, 05 Apr 2006 20:50:53 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRIi4-0006DH-BI
	for pana@ietf.org; Wed, 05 Apr 2006 20:50:53 -0400
Received: from tsb-wall.toshiba.co.jp ([133.199.160.134])
	by inet-tsb.toshiba.co.jp  with ESMTP id k360ontb029598;
	Thu, 6 Apr 2006 09:50:49 +0900 (JST)
Received: (from root@localhost) by tsb-wall.toshiba.co.jp  id k360ongv015202;
	Thu, 6 Apr 2006 09:50:49 +0900 (JST)
Received: from ovp1.toshiba.co.jp [133.199.192.124] 
	by tsb-wall.toshiba.co.jp with SMTP id KAA15201;
	Thu, 6 Apr 2006 09:50:49 +0900
Received: from mx2.toshiba.co.jp (localhost [127.0.0.1])
	by ovp1.toshiba.co.jp  with ESMTP id k360omm9018134;
	Thu, 6 Apr 2006 09:50:48 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k360omTO011931;
	Thu, 6 Apr 2006 09:50:48 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IX90035GZOIKM70@mail.po.toshiba.co.jp>; Thu,
	06 Apr 2006 09:50:48 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FRIhm-0001Au-QT; Wed,
	05 Apr 2006 17:50:34 -0700
Date: Wed, 05 Apr 2006 20:50:34 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
Subject: Re: [Pana] Re: Question on draft-ietf-pana-pana-11
In-reply-to: <6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, townsley@cisco.com,
	pana@ietf.org
Message-id: <20060406005034.GD3455@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
	<6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 681e62a2ce9b0804b459fe780d892beb
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

On Wed, Apr 05, 2006 at 04:49:00PM -0700, Lakshminath Dondeti wrote:
> So 4016 is already obsolete!  And, I still don't have an answer on 
> why the protected RI is not ok.  I guess we'll leave it at that!

I explained it, but just to summarize:

When there is a MiTM, if there is no cryptographic binding between the
two AAA-Keys the following steps can be taken:

1. the PANA_MAC_Key and PaC-EP-Master-key are generated using the
AAA-Key generated by NAP authentication only.  The MiTM can possess
this AAA-Key because it uses its own credentials for NAP
authentication.  As a result, PANA authentication will succeed,
because the MiTM does not have to possess the AAA-Key generated by ISP
authentication to derive the PANA_MAC_Key.  (The legitimate PaC has
the AAA-Key generated by ISP authentication.)

Note: the PANA_MAC_Key and PaC-EP-Master-Key have been compromised in
this step, because of the lack of the cryptographic binding.  So the
subsequent steps relying on those keys are compromised as well.

2. As a result of the successful PANA authentication, the PAA will
send the PaC-EP-Master-Key and MiTM's device identifier to the EP over
a secure channel (this is the protected RI in my understanding, if
not, please clearly define what exactly protected RI means).  The EP
will associate the PaC-EP-Master-Key with the MiTM's device
identifier, instead of the legitimate PaC's device identifier.

3. the MiTM will run a secure association protocol with EP using the
PaC-EP-Master-Key and the MiTM's device identifier.  The secure
association protocol will also succeed and thus the MiTM attack will
succeed.

If there is cryptographic binding between the two AAA-Keys, Step 1
will fail because PANA authentication will not succeed.  This is
because the MiTM does not possess the AAA-Key generated by ISP
authentication while the key is required to derive the correct
PANA_MAC_Key and PaC-EP-Master-Key.

Hope this helps,
Yoshihiro Ohba


> 
> regards,
> Lakshminath
> 
> At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
> >To tell the history, when we were working on the threat analysis, NAP
> >and ISP separate authentication was not yet considered as a target
> >scenario (I mean NAP and ISP separate authentication is relatively new
> >scenario).  This is why RFC 4016 is silent about the cryptographic
> >binding for NAP and ISP separate authentication while it has a
> >cryptographic binding requirement on tunneling methods.
> >
> >Regardless RFC 4016, cryptographic binding for NAP and ISP
> >authentication is needed.  Thus, lack of cryptographic binding
> >requirement for NAP and ISP separate authentication in RFC 4016
> >cannot be used for justifying your statements.
> >
> >If you have further questions, please let us know.
> >
> >Best regards,
> >Yoshihiro Ohba
> >
> >
> >On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> >> Hi,
> >>
> >> Sorry for the delay in my response, let me attribute it to a spike in
> >> Nomcom activity.  I read 4016 again and it seems to support my
> >> statements, specifically,
> >>
> >> Requirement 3 and the related text support my statement on compound
> >> binding.  It applies to ISP or NAP authentication individually and
> >> does not necessarily apply to the dual authentication case.
> >>
> >> Requirement 7 says
> >>
> >>    PANA MUST securely bind the authenticated session to the device
> >>    identifier of the client, to prevent service theft.  PANA MUST be
> >>    able to bootstrap a shared secret between the PaC and PAA that can be
> >>    further used to set up a security association between the PaC and EP
> >>    to provide cryptographic protection against service theft.
> >>
> >> So, binding authenticated session to device IDs as well as
> >> cryptographic protection are both supported as per 4016.  I am
> >> curious what changed between then and now.
> >>
> >> Perhaps this WG consensus as in 4016 might be more convincing to you?
> >>
> >> thanks and regards,
> >> Lakshminath
> >>
> >> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> >> >Hi Lakshminath,
> >> >
> >> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> >> >> Hi Yoshi,
> >> >>
> >> >> Thanks again for your patient discussion on this topic.  I have some
> >> >> follow-up comments:
> >> >>
> >> >>
> >> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> >> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> >> >> >>
> >> >>
> >> >> <snip>
> >> >>
> >> >> >> >
> >> >> >> >Maybe my interpretation is based on a broader definition of the
> >> >> >> >problem where only sequential authentication methods exist without
> >> >any
> >> >> >> >tunneling method (null "tunnel authentication").
> >> >> >>
> >> >> >> Tunnel may be a loaded word, but I think you get my point, if the
> >> >> >> first EAP authentication (say the NAP authentication) authenticates
> >> >> >> both parties, and if tunneled, say takes into consideration the
> >> >> >> compound binding attack and derives the AAA-key, then MiTM attack 
> >is
> >> >> >> avoided.
> >> >> >
> >> >> >My point is, if the first EAP authentication (whether it is tunneled
> >> >> >or not) is not cryptographically bound to subsequnet EAP
> >> >> >authentication(s), then MiTM attack is not avoided.
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >> >> <snip>
> >> >>
> >> >> >> >Second, even if there were direct protected result indication sent
> >> >> >> >from backend authentication server to EP, I don't 
> >understand why MiTM
> >> >> >> >won't be successful in case there is no cryptographic 
> >binding between
> >> >> >> >the two authentication methods, if both NAP and ISP 
> >authentications
> >> >> >> >succeed and the authentication server authorizes access to the
> >> >> >> >client's device identifier (which is actually the MiTM's device
> >> >> >> >identifier) that was seen by the legitimate PAA,
> >> >> >>
> >> >> >> All I am saying here is that if the second authentication is 
> >mutually
> >> >> >> authenticating (no MiTM) and if the result indication is sent from
> >> >> >> the PAA to the EP (as long as a key can be sent, an RI can be sent,
> >> >> >> right?), then you'll achieve equivalent functionality to mixing the
> >> >two
> >> >> >> keys.
> >> >> >
> >> >> >I don't think so.  Please see my comment below.
> >> >> >
> >> >> >>
> >> >> >> Your note on a MiTM claiming another client's device ID is not
> >> >> >> possible since the MiTM cannot provide the other device's 
> >credentials
> >> >> >> to the AS.  Note that the ISP authentication is independent of the
> >> >> >> NAP authentication.  Both are mutually authenticating is the
> >> >assumption.
> >> >> >
> >> >> >I think you are making some assumption here.  If you assume device
> >> >> >authentication for ISP authentication, then I think the assumption is
> >> >> >too strong to relax the cryptographic binding requirement.  When the
> >> >> >credentials used for ISP authentication are not bound to a particular
> >> >> >device identifier, then the MiTM attack is not avoided without
> >> >> >cryptographically binding the two EAP runs, even if both are mutually
> >> >> >authenticating.
> >> >>
> >> >> I think we are getting closer to an agreement here.
> >> >
> >> >There is some misunderstanding.  Please see my comment below.
> >> >
> >> >> The AS/PAA must
> >> >> know the device IDs corresponding to the NAS authentication and the
> >> >> ISP authentication, so that they can bind the two AAA-keys,
> >> >> right?
> >> >
> >> >This is correct, except s/NAS/NAP/ I guess.
> >> >
> >> >> So all I am saying is while binding the keys is one option,
> >> >> equivalent protection can be achieved by sending the NAS AAA-key and
> >> >> sending a binding between the NAS ID and the ISP ID (more precisely,
> >> >> L2 and L3 identifiers) to the EP.  PANA does have messages to support
> >> >> this kind of ID binding, right?
> >> >
> >> >I don't think your scheme provides equivalent protection as the
> >> >cryptographic binding defined in the PANA specification.  In the MiTM
> >> >attack I explained, the MiTM uses its own device identifier for PANA
> >> >communication with the legitimate PAA as well as for application
> >> >traffic via the EP.  As a result, the PAA will send MiTM's device
> >> >identifier and a PaC-EP-Master-Key to the EP, not the device
> >> >identifier of the legitimate PaC.
> >> >
> >> >>
> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >> One further issue is that if the MiTM is beyond the EP, 
> >there is no
> >> >> >> >> protection from the compound binding either.
> >> >> >> >
> >> >> >> >An appropriate secure association protocol run between PaC and EP
> >> >> >> >after the PANA authentication and authorization phase provides
> >> >further
> >> >> >> >protection regardless whether the MiTM is beyong the EP or not.
> >> >> >>
> >> >> >> No amount of protection on the path between the PaC and the EP will
> >> >> >> be sufficient against an adversary on the link from the EP to the
> >> >> >network.
> >> >> >
> >> >> >Sorry I was going too far in this specific statement.  The correct
> >> >> >statement would be:
> >> >> >
> >> >> >"
> >> >> >An appropriate secure association protocol run between PaC and EP
> >> >> >after the PANA authentication and authorization phase provides 
> >further
> >> >> >protection if the MiTM is beyond the EP.
> >> >> >"
> >> >>
> >> >> Thanks for the clarification, but I don't see why any protection
> >> >> beyond the EP is possible with a SEC association between the PaC and
> >> >> the EP.  Please explain why an attacker situated after the EP cannot
> >> >> spoof identities on the packets
> >> >
> >> >Sorry for the confusion, I meant the case where the attacker is beyond
> >> >the EP *when seeing the attacker from the network side*, i.e., the
> >> >attacker is between the PaC and EP.  If the attacker is between EP and
> >> >the network, then the SA between the PaC and EP does not help, as you
> >> >stated.
> >> >
> >> >>
> >> >>
> >> >> >>
> >> >> >> What I am looking for is a clarification that compound binding is 
> >not
> >> >> >> necessary for the above reasons and a protected RI is sufficient to
> >> >> >> bind the two authentications.
> >> >> >
> >> >> >I don't think we can relax the cryptographic binding requirement if
> >> >> >the justification for it is based on strong assumption.
> >> >>
> >> >> I don't understand this part.  The assumption is the same as that
> >> >> applies to key delivery to the EP, no?
> >> >
> >> >No.
> >> >
> >> >"Key delivery to the EP" is for binding the PaC's device identifier to
> >> >the key generated as a result of PANA authentication, where the EAP
> >> >run(s) within the PANA authentication may use any kind of
> >> >authentication credentials (device credentials or user credentials).
> >> >
> >> >Yoshihiro Ohba
> >>
> >>
> 
> 
> _______________________________________________
> Pana mailing list
> Pana@ietf.org
> https://www1.ietf.org/mailman/listinfo/pana
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 05 23:38:58 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRLKd-0007ti-53; Wed, 05 Apr 2006 23:38:51 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRLKc-0007ta-7R
	for pana@ietf.org; Wed, 05 Apr 2006 23:38:50 -0400
Received: from mgw.toshibaamericaresearch.com ([165.254.55.12]
	helo=toshi17.tari.toshiba.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRLKa-0004BA-Na
	for pana@ietf.org; Wed, 05 Apr 2006 23:38:50 -0400
Received: from localhost (toshi17.tari.toshiba.com [172.30.24.10])
	by toshi17.tari.toshiba.com (8.13.1/8.13.1) with ESMTP id
	k363cgoo035456; Wed, 5 Apr 2006 23:38:42 -0400 (EDT)
	(envelope-from yohba@tari.toshiba.com)
Date: Wed, 5 Apr 2006 23:38:38 -0400
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Subject: Re: [Pana] Re: Question on draft-ietf-pana-pana-11
Message-ID: <20060406033838.GA4848@steelhead>
Mail-Followup-To: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, townsley@cisco.com,
	pana@ietf.org
References: <20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
	<6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Disposition: inline
In-Reply-To: <6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
X-Dispatcher: imput version 20050308(IM148)
Lines: 246
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 2b2ad76aced9b1d558e34a970a85c027
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

In case my summary in a separate email is not sufficient to make you
understand, there is another information.

EAP-after-EAP mode in an early IEEE 802.16e draft had the same
vulnerability on MiTM attack as your scheme due to the lack of
appropriate cryptographic binding.  The vulnerability was fixed during
the EAP WG expert review of 802.16e draft (I was one of the
reviewers), by adding essentially the same cryptographic binding
functionality as PANA defines.  Detailed review comments and the
response from IEEE 802.16 WG are available at:

http://ieee802.org/16/liaison/docs/L80216-05_041.pdf

http://ieee802.org/16/liaison/docs/L80216-05_049.pdf

Best regards,
Yoshihiro Ohba



On Wed, Apr 05, 2006 at 04:49:00PM -0700, Lakshminath Dondeti wrote:
> So 4016 is already obsolete!  And, I still don't have an answer on 
> why the protected RI is not ok.  I guess we'll leave it at that!
> 
> regards,
> Lakshminath
> 
> At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
> >To tell the history, when we were working on the threat analysis, NAP
> >and ISP separate authentication was not yet considered as a target
> >scenario (I mean NAP and ISP separate authentication is relatively new
> >scenario).  This is why RFC 4016 is silent about the cryptographic
> >binding for NAP and ISP separate authentication while it has a
> >cryptographic binding requirement on tunneling methods.
> >
> >Regardless RFC 4016, cryptographic binding for NAP and ISP
> >authentication is needed.  Thus, lack of cryptographic binding
> >requirement for NAP and ISP separate authentication in RFC 4016
> >cannot be used for justifying your statements.
> >
> >If you have further questions, please let us know.
> >
> >Best regards,
> >Yoshihiro Ohba
> >
> >
> >On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> >> Hi,
> >>
> >> Sorry for the delay in my response, let me attribute it to a spike in
> >> Nomcom activity.  I read 4016 again and it seems to support my
> >> statements, specifically,
> >>
> >> Requirement 3 and the related text support my statement on compound
> >> binding.  It applies to ISP or NAP authentication individually and
> >> does not necessarily apply to the dual authentication case.
> >>
> >> Requirement 7 says
> >>
> >>    PANA MUST securely bind the authenticated session to the device
> >>    identifier of the client, to prevent service theft.  PANA MUST be
> >>    able to bootstrap a shared secret between the PaC and PAA that can be
> >>    further used to set up a security association between the PaC and EP
> >>    to provide cryptographic protection against service theft.
> >>
> >> So, binding authenticated session to device IDs as well as
> >> cryptographic protection are both supported as per 4016.  I am
> >> curious what changed between then and now.
> >>
> >> Perhaps this WG consensus as in 4016 might be more convincing to you?
> >>
> >> thanks and regards,
> >> Lakshminath
> >>
> >> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> >> >Hi Lakshminath,
> >> >
> >> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> >> >> Hi Yoshi,
> >> >>
> >> >> Thanks again for your patient discussion on this topic.  I have some
> >> >> follow-up comments:
> >> >>
> >> >>
> >> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> >> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> >> >> >>
> >> >>
> >> >> <snip>
> >> >>
> >> >> >> >
> >> >> >> >Maybe my interpretation is based on a broader definition of the
> >> >> >> >problem where only sequential authentication methods exist without
> >> >any
> >> >> >> >tunneling method (null "tunnel authentication").
> >> >> >>
> >> >> >> Tunnel may be a loaded word, but I think you get my point, if the
> >> >> >> first EAP authentication (say the NAP authentication) authenticates
> >> >> >> both parties, and if tunneled, say takes into consideration the
> >> >> >> compound binding attack and derives the AAA-key, then MiTM attack 
> >is
> >> >> >> avoided.
> >> >> >
> >> >> >My point is, if the first EAP authentication (whether it is tunneled
> >> >> >or not) is not cryptographically bound to subsequnet EAP
> >> >> >authentication(s), then MiTM attack is not avoided.
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >> >> <snip>
> >> >>
> >> >> >> >Second, even if there were direct protected result indication sent
> >> >> >> >from backend authentication server to EP, I don't 
> >understand why MiTM
> >> >> >> >won't be successful in case there is no cryptographic 
> >binding between
> >> >> >> >the two authentication methods, if both NAP and ISP 
> >authentications
> >> >> >> >succeed and the authentication server authorizes access to the
> >> >> >> >client's device identifier (which is actually the MiTM's device
> >> >> >> >identifier) that was seen by the legitimate PAA,
> >> >> >>
> >> >> >> All I am saying here is that if the second authentication is 
> >mutually
> >> >> >> authenticating (no MiTM) and if the result indication is sent from
> >> >> >> the PAA to the EP (as long as a key can be sent, an RI can be sent,
> >> >> >> right?), then you'll achieve equivalent functionality to mixing the
> >> >two
> >> >> >> keys.
> >> >> >
> >> >> >I don't think so.  Please see my comment below.
> >> >> >
> >> >> >>
> >> >> >> Your note on a MiTM claiming another client's device ID is not
> >> >> >> possible since the MiTM cannot provide the other device's 
> >credentials
> >> >> >> to the AS.  Note that the ISP authentication is independent of the
> >> >> >> NAP authentication.  Both are mutually authenticating is the
> >> >assumption.
> >> >> >
> >> >> >I think you are making some assumption here.  If you assume device
> >> >> >authentication for ISP authentication, then I think the assumption is
> >> >> >too strong to relax the cryptographic binding requirement.  When the
> >> >> >credentials used for ISP authentication are not bound to a particular
> >> >> >device identifier, then the MiTM attack is not avoided without
> >> >> >cryptographically binding the two EAP runs, even if both are mutually
> >> >> >authenticating.
> >> >>
> >> >> I think we are getting closer to an agreement here.
> >> >
> >> >There is some misunderstanding.  Please see my comment below.
> >> >
> >> >> The AS/PAA must
> >> >> know the device IDs corresponding to the NAS authentication and the
> >> >> ISP authentication, so that they can bind the two AAA-keys,
> >> >> right?
> >> >
> >> >This is correct, except s/NAS/NAP/ I guess.
> >> >
> >> >> So all I am saying is while binding the keys is one option,
> >> >> equivalent protection can be achieved by sending the NAS AAA-key and
> >> >> sending a binding between the NAS ID and the ISP ID (more precisely,
> >> >> L2 and L3 identifiers) to the EP.  PANA does have messages to support
> >> >> this kind of ID binding, right?
> >> >
> >> >I don't think your scheme provides equivalent protection as the
> >> >cryptographic binding defined in the PANA specification.  In the MiTM
> >> >attack I explained, the MiTM uses its own device identifier for PANA
> >> >communication with the legitimate PAA as well as for application
> >> >traffic via the EP.  As a result, the PAA will send MiTM's device
> >> >identifier and a PaC-EP-Master-Key to the EP, not the device
> >> >identifier of the legitimate PaC.
> >> >
> >> >>
> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >> One further issue is that if the MiTM is beyond the EP, 
> >there is no
> >> >> >> >> protection from the compound binding either.
> >> >> >> >
> >> >> >> >An appropriate secure association protocol run between PaC and EP
> >> >> >> >after the PANA authentication and authorization phase provides
> >> >further
> >> >> >> >protection regardless whether the MiTM is beyong the EP or not.
> >> >> >>
> >> >> >> No amount of protection on the path between the PaC and the EP will
> >> >> >> be sufficient against an adversary on the link from the EP to the
> >> >> >network.
> >> >> >
> >> >> >Sorry I was going too far in this specific statement.  The correct
> >> >> >statement would be:
> >> >> >
> >> >> >"
> >> >> >An appropriate secure association protocol run between PaC and EP
> >> >> >after the PANA authentication and authorization phase provides 
> >further
> >> >> >protection if the MiTM is beyond the EP.
> >> >> >"
> >> >>
> >> >> Thanks for the clarification, but I don't see why any protection
> >> >> beyond the EP is possible with a SEC association between the PaC and
> >> >> the EP.  Please explain why an attacker situated after the EP cannot
> >> >> spoof identities on the packets
> >> >
> >> >Sorry for the confusion, I meant the case where the attacker is beyond
> >> >the EP *when seeing the attacker from the network side*, i.e., the
> >> >attacker is between the PaC and EP.  If the attacker is between EP and
> >> >the network, then the SA between the PaC and EP does not help, as you
> >> >stated.
> >> >
> >> >>
> >> >>
> >> >> >>
> >> >> >> What I am looking for is a clarification that compound binding is 
> >not
> >> >> >> necessary for the above reasons and a protected RI is sufficient to
> >> >> >> bind the two authentications.
> >> >> >
> >> >> >I don't think we can relax the cryptographic binding requirement if
> >> >> >the justification for it is based on strong assumption.
> >> >>
> >> >> I don't understand this part.  The assumption is the same as that
> >> >> applies to key delivery to the EP, no?
> >> >
> >> >No.
> >> >
> >> >"Key delivery to the EP" is for binding the PaC's device identifier to
> >> >the key generated as a result of PANA authentication, where the EAP
> >> >run(s) within the PANA authentication may use any kind of
> >> >authentication credentials (device credentials or user credentials).
> >> >
> >> >Yoshihiro Ohba
> >>
> >>
> 
> 
> _______________________________________________
> Pana mailing list
> Pana@ietf.org
> https://www1.ietf.org/mailman/listinfo/pana
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Fri Apr 07 15:40:37 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRwom-0001B2-UQ; Fri, 07 Apr 2006 15:40:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRwol-0001Ax-B8
	for pana@ietf.org; Fri, 07 Apr 2006 15:40:27 -0400
Received: from ithilien.qualcomm.com ([129.46.51.59])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRwoi-0003PH-9m
	for pana@ietf.org; Fri, 07 Apr 2006 15:40:27 -0400
Received: from crowley.qualcomm.com (crowley.qualcomm.com [129.46.61.151])
	by ithilien.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k37JeMbH021609
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 7 Apr 2006 12:40:22 -0700
Received: from LDONDETI.qualcomm.com (qconnect-10-50-73-209.qualcomm.com
	[10.50.73.209])
	by crowley.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k37JeKp9010515
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Fri, 7 Apr 2006 12:40:21 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060407094921.04002878@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Fri, 07 Apr 2006 10:15:34 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
Subject: Re: [Pana] Re: Question on draft-ietf-pana-pana-11
In-Reply-To: <20060406005034.GD3455@steelhead>
References: <20060403211118.GB15175@steelhead>
	<6.2.5.6.2.20060403142259.03edb4d8@qualcomm.com>
	<20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
	<6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
	<20060406005034.GD3455@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: dd887a8966a4c4c217a52303814d0b5f
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Yoshi,

First I will note that I got stuck with the first item (1) in your 
email below. I don't think key compromise is possible.  If it is, the 
entire protocol is broken.

I finally found some time yesterday to analyze this at length with 
the help of some colleagues and here is the conclusion:

In case of PANA,
a) (with the assumptions of lack of lower protection etc.,), and
b) if the key from the first authentication is used only for 
integrity protection and not encryption, and
c) since there is no way for the PAA or the AAA server(s) to identify 
the L2 or L3 identifiers of the entity that holds the NAP NAI and/or 
ISP NAI, and
d) since there is no way to figure out the relationship between a NAP 
NAI and an ISP NAI (whether or not the same peer/PaC holds them)

when *all* those conditions being true, there is in fact a man in the 
middle attack and that can be mitigated with key binding.  I have to 
note that simply saying this applies to all multiple EAP 
authentications is being imprecise.  I request that some of this text 
be written in the PANA specification for completeness.

Finally, many thanks for continuing the discussion.  It led to my 
analysis of it.  You were probably alluding to some of this, but 
unfortunately, it was not clear perhaps due to the nature of email 
discussion.  I hope you find this constructive, and if not, my 
sincere apologies for any time you feel was wasted in this email exchange.

many thanks and best regards,
Lakshminath

At 05:50 PM 4/5/2006, Yoshihiro Ohba wrote:
>On Wed, Apr 05, 2006 at 04:49:00PM -0700, Lakshminath Dondeti wrote:
> > So 4016 is already obsolete!  And, I still don't have an answer on
> > why the protected RI is not ok.  I guess we'll leave it at that!
>
>I explained it, but just to summarize:
>
>When there is a MiTM, if there is no cryptographic binding between the
>two AAA-Keys the following steps can be taken:
>
>1. the PANA_MAC_Key and PaC-EP-Master-key are generated using the
>AAA-Key generated by NAP authentication only.  The MiTM can possess
>this AAA-Key because it uses its own credentials for NAP
>authentication.  As a result, PANA authentication will succeed,
>because the MiTM does not have to possess the AAA-Key generated by ISP
>authentication to derive the PANA_MAC_Key.  (The legitimate PaC has
>the AAA-Key generated by ISP authentication.)
>
>Note: the PANA_MAC_Key and PaC-EP-Master-Key have been compromised in
>this step, because of the lack of the cryptographic binding.  So the
>subsequent steps relying on those keys are compromised as well.
>
>2. As a result of the successful PANA authentication, the PAA will
>send the PaC-EP-Master-Key and MiTM's device identifier to the EP over
>a secure channel (this is the protected RI in my understanding, if
>not, please clearly define what exactly protected RI means).  The EP
>will associate the PaC-EP-Master-Key with the MiTM's device
>identifier, instead of the legitimate PaC's device identifier.
>
>3. the MiTM will run a secure association protocol with EP using the
>PaC-EP-Master-Key and the MiTM's device identifier.  The secure
>association protocol will also succeed and thus the MiTM attack will
>succeed.
>
>If there is cryptographic binding between the two AAA-Keys, Step 1
>will fail because PANA authentication will not succeed.  This is
>because the MiTM does not possess the AAA-Key generated by ISP
>authentication while the key is required to derive the correct
>PANA_MAC_Key and PaC-EP-Master-Key.
>
>Hope this helps,
>Yoshihiro Ohba
>
>
> >
> > regards,
> > Lakshminath
> >
> > At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
> > >To tell the history, when we were working on the threat analysis, NAP
> > >and ISP separate authentication was not yet considered as a target
> > >scenario (I mean NAP and ISP separate authentication is relatively new
> > >scenario).  This is why RFC 4016 is silent about the cryptographic
> > >binding for NAP and ISP separate authentication while it has a
> > >cryptographic binding requirement on tunneling methods.
> > >
> > >Regardless RFC 4016, cryptographic binding for NAP and ISP
> > >authentication is needed.  Thus, lack of cryptographic binding
> > >requirement for NAP and ISP separate authentication in RFC 4016
> > >cannot be used for justifying your statements.
> > >
> > >If you have further questions, please let us know.
> > >
> > >Best regards,
> > >Yoshihiro Ohba
> > >
> > >
> > >On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> > >> Hi,
> > >>
> > >> Sorry for the delay in my response, let me attribute it to a spike in
> > >> Nomcom activity.  I read 4016 again and it seems to support my
> > >> statements, specifically,
> > >>
> > >> Requirement 3 and the related text support my statement on compound
> > >> binding.  It applies to ISP or NAP authentication individually and
> > >> does not necessarily apply to the dual authentication case.
> > >>
> > >> Requirement 7 says
> > >>
> > >>    PANA MUST securely bind the authenticated session to the device
> > >>    identifier of the client, to prevent service theft.  PANA MUST be
> > >>    able to bootstrap a shared secret between the PaC and PAA that can be
> > >>    further used to set up a security association between the PaC and EP
> > >>    to provide cryptographic protection against service theft.
> > >>
> > >> So, binding authenticated session to device IDs as well as
> > >> cryptographic protection are both supported as per 4016.  I am
> > >> curious what changed between then and now.
> > >>
> > >> Perhaps this WG consensus as in 4016 might be more convincing to you?
> > >>
> > >> thanks and regards,
> > >> Lakshminath
> > >>
> > >> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> > >> >Hi Lakshminath,
> > >> >
> > >> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> > >> >> Hi Yoshi,
> > >> >>
> > >> >> Thanks again for your patient discussion on this topic.  I have some
> > >> >> follow-up comments:
> > >> >>
> > >> >>
> > >> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> > >> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti wrote:
> > >> >> >>
> > >> >>
> > >> >> <snip>
> > >> >>
> > >> >> >> >
> > >> >> >> >Maybe my interpretation is based on a broader definition of the
> > >> >> >> >problem where only sequential authentication methods 
> exist without
> > >> >any
> > >> >> >> >tunneling method (null "tunnel authentication").
> > >> >> >>
> > >> >> >> Tunnel may be a loaded word, but I think you get my point, if the
> > >> >> >> first EAP authentication (say the NAP authentication) 
> authenticates
> > >> >> >> both parties, and if tunneled, say takes into consideration the
> > >> >> >> compound binding attack and derives the AAA-key, then MiTM attack
> > >is
> > >> >> >> avoided.
> > >> >> >
> > >> >> >My point is, if the first EAP authentication (whether it is tunneled
> > >> >> >or not) is not cryptographically bound to subsequnet EAP
> > >> >> >authentication(s), then MiTM attack is not avoided.
> > >> >> >
> > >> >> >>
> > >> >> >>
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >>
> > >> >> <snip>
> > >> >>
> > >> >> >> >Second, even if there were direct protected result 
> indication sent
> > >> >> >> >from backend authentication server to EP, I don't
> > >understand why MiTM
> > >> >> >> >won't be successful in case there is no cryptographic
> > >binding between
> > >> >> >> >the two authentication methods, if both NAP and ISP
> > >authentications
> > >> >> >> >succeed and the authentication server authorizes access to the
> > >> >> >> >client's device identifier (which is actually the MiTM's device
> > >> >> >> >identifier) that was seen by the legitimate PAA,
> > >> >> >>
> > >> >> >> All I am saying here is that if the second authentication is
> > >mutually
> > >> >> >> authenticating (no MiTM) and if the result indication is sent from
> > >> >> >> the PAA to the EP (as long as a key can be sent, an RI 
> can be sent,
> > >> >> >> right?), then you'll achieve equivalent functionality to 
> mixing the
> > >> >two
> > >> >> >> keys.
> > >> >> >
> > >> >> >I don't think so.  Please see my comment below.
> > >> >> >
> > >> >> >>
> > >> >> >> Your note on a MiTM claiming another client's device ID is not
> > >> >> >> possible since the MiTM cannot provide the other device's
> > >credentials
> > >> >> >> to the AS.  Note that the ISP authentication is independent of the
> > >> >> >> NAP authentication.  Both are mutually authenticating is the
> > >> >assumption.
> > >> >> >
> > >> >> >I think you are making some assumption here.  If you assume device
> > >> >> >authentication for ISP authentication, then I think the 
> assumption is
> > >> >> >too strong to relax the cryptographic binding requirement.  When the
> > >> >> >credentials used for ISP authentication are not bound to a 
> particular
> > >> >> >device identifier, then the MiTM attack is not avoided without
> > >> >> >cryptographically binding the two EAP runs, even if both 
> are mutually
> > >> >> >authenticating.
> > >> >>
> > >> >> I think we are getting closer to an agreement here.
> > >> >
> > >> >There is some misunderstanding.  Please see my comment below.
> > >> >
> > >> >> The AS/PAA must
> > >> >> know the device IDs corresponding to the NAS authentication and the
> > >> >> ISP authentication, so that they can bind the two AAA-keys,
> > >> >> right?
> > >> >
> > >> >This is correct, except s/NAS/NAP/ I guess.
> > >> >
> > >> >> So all I am saying is while binding the keys is one option,
> > >> >> equivalent protection can be achieved by sending the NAS AAA-key and
> > >> >> sending a binding between the NAS ID and the ISP ID (more precisely,
> > >> >> L2 and L3 identifiers) to the EP.  PANA does have messages to support
> > >> >> this kind of ID binding, right?
> > >> >
> > >> >I don't think your scheme provides equivalent protection as the
> > >> >cryptographic binding defined in the PANA specification.  In the MiTM
> > >> >attack I explained, the MiTM uses its own device identifier for PANA
> > >> >communication with the legitimate PAA as well as for application
> > >> >traffic via the EP.  As a result, the PAA will send MiTM's device
> > >> >identifier and a PaC-EP-Master-Key to the EP, not the device
> > >> >identifier of the legitimate PaC.
> > >> >
> > >> >>
> > >> >>
> > >> >> >>
> > >> >> >> >>
> > >> >> >> >> One further issue is that if the MiTM is beyond the EP,
> > >there is no
> > >> >> >> >> protection from the compound binding either.
> > >> >> >> >
> > >> >> >> >An appropriate secure association protocol run between PaC and EP
> > >> >> >> >after the PANA authentication and authorization phase provides
> > >> >further
> > >> >> >> >protection regardless whether the MiTM is beyong the EP or not.
> > >> >> >>
> > >> >> >> No amount of protection on the path between the PaC and 
> the EP will
> > >> >> >> be sufficient against an adversary on the link from the EP to the
> > >> >> >network.
> > >> >> >
> > >> >> >Sorry I was going too far in this specific statement.  The correct
> > >> >> >statement would be:
> > >> >> >
> > >> >> >"
> > >> >> >An appropriate secure association protocol run between PaC and EP
> > >> >> >after the PANA authentication and authorization phase provides
> > >further
> > >> >> >protection if the MiTM is beyond the EP.
> > >> >> >"
> > >> >>
> > >> >> Thanks for the clarification, but I don't see why any protection
> > >> >> beyond the EP is possible with a SEC association between the PaC and
> > >> >> the EP.  Please explain why an attacker situated after the EP cannot
> > >> >> spoof identities on the packets
> > >> >
> > >> >Sorry for the confusion, I meant the case where the attacker is beyond
> > >> >the EP *when seeing the attacker from the network side*, i.e., the
> > >> >attacker is between the PaC and EP.  If the attacker is between EP and
> > >> >the network, then the SA between the PaC and EP does not help, as you
> > >> >stated.
> > >> >
> > >> >>
> > >> >>
> > >> >> >>
> > >> >> >> What I am looking for is a clarification that compound binding is
> > >not
> > >> >> >> necessary for the above reasons and a protected RI is 
> sufficient to
> > >> >> >> bind the two authentications.
> > >> >> >
> > >> >> >I don't think we can relax the cryptographic binding requirement if
> > >> >> >the justification for it is based on strong assumption.
> > >> >>
> > >> >> I don't understand this part.  The assumption is the same as that
> > >> >> applies to key delivery to the EP, no?
> > >> >
> > >> >No.
> > >> >
> > >> >"Key delivery to the EP" is for binding the PaC's device identifier to
> > >> >the key generated as a result of PANA authentication, where the EAP
> > >> >run(s) within the PANA authentication may use any kind of
> > >> >authentication credentials (device credentials or user credentials).
> > >> >
> > >> >Yoshihiro Ohba
> > >>
> > >>
> >
> >
> > _______________________________________________
> > Pana mailing list
> > Pana@ietf.org
> > https://www1.ietf.org/mailman/listinfo/pana
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Fri Apr 07 18:18:58 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRzI2-0004o7-33; Fri, 07 Apr 2006 18:18:50 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRzI0-0004o0-6x
	for pana@ietf.org; Fri, 07 Apr 2006 18:18:48 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRzHz-00008w-1e
	for pana@ietf.org; Fri, 07 Apr 2006 18:18:48 -0400
Received: from wall11.toshiba.co.jp ([133.199.90.149])
	by inet-tsb.toshiba.co.jp  with ESMTP id k37MIhtb003688;
	Sat, 8 Apr 2006 07:18:43 +0900 (JST)
Received: (from root@localhost) by wall11.toshiba.co.jp  id k37MJkGp021191;
	Sat, 8 Apr 2006 07:19:46 +0900 (JST)
Received: from ovp11.toshiba.co.jp [133.199.90.148] 
	by wall11.toshiba.co.jp with SMTP id HAA21140;
	Sat, 8 Apr 2006 07:19:45 +0900
Received: from mx2.toshiba.co.jp (localhost [127.0.0.1])
	by ovp11.toshiba.co.jp  with ESMTP id k37MIgki018803;
	Sat, 8 Apr 2006 07:18:42 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k37MIgKS011702;
	Sat, 8 Apr 2006 07:18:42 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IXD0032YHYZ5MN0@mail.po.toshiba.co.jp>; Sat,
	08 Apr 2006 07:18:42 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FRzHg-0004ei-Un; Fri,
	07 Apr 2006 15:18:28 -0700
Date: Fri, 07 Apr 2006 18:18:28 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
Subject: Re: [Pana] Re: Question on draft-ietf-pana-pana-11
In-reply-to: <6.2.5.6.2.20060407094921.04002878@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, townsley@cisco.com,
	pana@ietf.org
Message-id: <20060407221828.GC15147@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
	<6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
	<20060406005034.GD3455@steelhead>
	<6.2.5.6.2.20060407094921.04002878@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e3901bdd61b234d82da85cc76f05a7e8
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Lakshminath,

On Fri, Apr 07, 2006 at 10:15:34AM -0700, Lakshminath Dondeti wrote:
> Hi Yoshi,
> 
> First I will note that I got stuck with the first item (1) in your 
> email below. I don't think key compromise is possible.  If it is, the 
> entire protocol is broken.

I got it.  My expression was not accurate on item (1).  Key itself is
not compromised, but key is not bound to both EAP authentications.

> 
> I finally found some time yesterday to analyze this at length with 
> the help of some colleagues and here is the conclusion:
> 
> In case of PANA,
> a) (with the assumptions of lack of lower protection etc.,), and

Yes.  This is described in the last paragraph of Section 4.8.2 
and Section 11.4 of pana-pana.

> b) if the key from the first authentication is used only for 
> integrity protection and not encryption, and

Even if the key is used for both integrity protection and encyption,
the attack is still possible as long as the attacker has the
encryption key.  Am I missing something?

> c) since there is no way for the PAA or the AAA server(s) to identify 
> the L2 or L3 identifiers of the entity that holds the NAP NAI and/or 
> ISP NAI, and

I am not sure removing this assumption exempts from crypt binidng.
What happens if the MiTM is spoofing the legitimate PaC's L2 or L3
identifiers?

> d) since there is no way to figure out the relationship between a NAP 
> NAI and an ISP NAI (whether or not the same peer/PaC holds them)

I am not sure whether removing this assumption provides the same level
of protection as cryptographic binding (I am wondering if other type
of MiTM is still possible by removing the assumption).  Perhaps a
formal proof might be needed to removing this assumption for exempting
from crypt binding.

> 
> when *all* those conditions being true, there is in fact a man in the 
> middle attack and that can be mitigated with key binding.  I have to 
> note that simply saying this applies to all multiple EAP 
> authentications is being imprecise.  I request that some of this text 
> be written in the PANA specification for completeness.

Condition a) is already described in PANA.  I doubt b), c) and d).

> 
> Finally, many thanks for continuing the discussion.  It led to my 
> analysis of it.  You were probably alluding to some of this, but 
> unfortunately, it was not clear perhaps due to the nature of email 
> discussion.  I hope you find this constructive, and if not, my 
> sincere apologies for any time you feel was wasted in this email exchange.

Sorry for my distributed logics and several incorrect description my
emails.  Anyways, this is interesting dicussion to me.  Identifying
conditions for exempting from crypt binding seems to be a new topic
and need more research.  I'd like to continue the discussion with you
and your colleagues privately if you like.

Thank you,
Yoshihiro Ohba


> 
> many thanks and best regards,
> Lakshminath
> 
> At 05:50 PM 4/5/2006, Yoshihiro Ohba wrote:
> >On Wed, Apr 05, 2006 at 04:49:00PM -0700, Lakshminath Dondeti wrote:
> >> So 4016 is already obsolete!  And, I still don't have an answer on
> >> why the protected RI is not ok.  I guess we'll leave it at that!
> >
> >I explained it, but just to summarize:
> >
> >When there is a MiTM, if there is no cryptographic binding between the
> >two AAA-Keys the following steps can be taken:
> >
> >1. the PANA_MAC_Key and PaC-EP-Master-key are generated using the
> >AAA-Key generated by NAP authentication only.  The MiTM can possess
> >this AAA-Key because it uses its own credentials for NAP
> >authentication.  As a result, PANA authentication will succeed,
> >because the MiTM does not have to possess the AAA-Key generated by ISP
> >authentication to derive the PANA_MAC_Key.  (The legitimate PaC has
> >the AAA-Key generated by ISP authentication.)
> >
> >Note: the PANA_MAC_Key and PaC-EP-Master-Key have been compromised in
> >this step, because of the lack of the cryptographic binding.  So the
> >subsequent steps relying on those keys are compromised as well.
> >
> >2. As a result of the successful PANA authentication, the PAA will
> >send the PaC-EP-Master-Key and MiTM's device identifier to the EP over
> >a secure channel (this is the protected RI in my understanding, if
> >not, please clearly define what exactly protected RI means).  The EP
> >will associate the PaC-EP-Master-Key with the MiTM's device
> >identifier, instead of the legitimate PaC's device identifier.
> >
> >3. the MiTM will run a secure association protocol with EP using the
> >PaC-EP-Master-Key and the MiTM's device identifier.  The secure
> >association protocol will also succeed and thus the MiTM attack will
> >succeed.
> >
> >If there is cryptographic binding between the two AAA-Keys, Step 1
> >will fail because PANA authentication will not succeed.  This is
> >because the MiTM does not possess the AAA-Key generated by ISP
> >authentication while the key is required to derive the correct
> >PANA_MAC_Key and PaC-EP-Master-Key.
> >
> >Hope this helps,
> >Yoshihiro Ohba
> >
> >
> >>
> >> regards,
> >> Lakshminath
> >>
> >> At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
> >> >To tell the history, when we were working on the threat analysis, NAP
> >> >and ISP separate authentication was not yet considered as a target
> >> >scenario (I mean NAP and ISP separate authentication is relatively new
> >> >scenario).  This is why RFC 4016 is silent about the cryptographic
> >> >binding for NAP and ISP separate authentication while it has a
> >> >cryptographic binding requirement on tunneling methods.
> >> >
> >> >Regardless RFC 4016, cryptographic binding for NAP and ISP
> >> >authentication is needed.  Thus, lack of cryptographic binding
> >> >requirement for NAP and ISP separate authentication in RFC 4016
> >> >cannot be used for justifying your statements.
> >> >
> >> >If you have further questions, please let us know.
> >> >
> >> >Best regards,
> >> >Yoshihiro Ohba
> >> >
> >> >
> >> >On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> >> >> Hi,
> >> >>
> >> >> Sorry for the delay in my response, let me attribute it to a spike in
> >> >> Nomcom activity.  I read 4016 again and it seems to support my
> >> >> statements, specifically,
> >> >>
> >> >> Requirement 3 and the related text support my statement on compound
> >> >> binding.  It applies to ISP or NAP authentication individually and
> >> >> does not necessarily apply to the dual authentication case.
> >> >>
> >> >> Requirement 7 says
> >> >>
> >> >>    PANA MUST securely bind the authenticated session to the device
> >> >>    identifier of the client, to prevent service theft.  PANA MUST be
> >> >>    able to bootstrap a shared secret between the PaC and PAA that can 
> >be
> >> >>    further used to set up a security association between the PaC and 
> >EP
> >> >>    to provide cryptographic protection against service theft.
> >> >>
> >> >> So, binding authenticated session to device IDs as well as
> >> >> cryptographic protection are both supported as per 4016.  I am
> >> >> curious what changed between then and now.
> >> >>
> >> >> Perhaps this WG consensus as in 4016 might be more convincing to you?
> >> >>
> >> >> thanks and regards,
> >> >> Lakshminath
> >> >>
> >> >> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> >> >> >Hi Lakshminath,
> >> >> >
> >> >> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> >> >> >> Hi Yoshi,
> >> >> >>
> >> >> >> Thanks again for your patient discussion on this topic.  I have 
> >some
> >> >> >> follow-up comments:
> >> >> >>
> >> >> >>
> >> >> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> >> >> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti 
> >wrote:
> >> >> >> >>
> >> >> >>
> >> >> >> <snip>
> >> >> >>
> >> >> >> >> >
> >> >> >> >> >Maybe my interpretation is based on a broader definition of the
> >> >> >> >> >problem where only sequential authentication methods 
> >exist without
> >> >> >any
> >> >> >> >> >tunneling method (null "tunnel authentication").
> >> >> >> >>
> >> >> >> >> Tunnel may be a loaded word, but I think you get my point, if 
> >the
> >> >> >> >> first EAP authentication (say the NAP authentication) 
> >authenticates
> >> >> >> >> both parties, and if tunneled, say takes into consideration the
> >> >> >> >> compound binding attack and derives the AAA-key, then MiTM 
> >attack
> >> >is
> >> >> >> >> avoided.
> >> >> >> >
> >> >> >> >My point is, if the first EAP authentication (whether it is 
> >tunneled
> >> >> >> >or not) is not cryptographically bound to subsequnet EAP
> >> >> >> >authentication(s), then MiTM attack is not avoided.
> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >> <snip>
> >> >> >>
> >> >> >> >> >Second, even if there were direct protected result 
> >indication sent
> >> >> >> >> >from backend authentication server to EP, I don't
> >> >understand why MiTM
> >> >> >> >> >won't be successful in case there is no cryptographic
> >> >binding between
> >> >> >> >> >the two authentication methods, if both NAP and ISP
> >> >authentications
> >> >> >> >> >succeed and the authentication server authorizes access to the
> >> >> >> >> >client's device identifier (which is actually the MiTM's device
> >> >> >> >> >identifier) that was seen by the legitimate PAA,
> >> >> >> >>
> >> >> >> >> All I am saying here is that if the second authentication is
> >> >mutually
> >> >> >> >> authenticating (no MiTM) and if the result indication is sent 
> >from
> >> >> >> >> the PAA to the EP (as long as a key can be sent, an RI 
> >can be sent,
> >> >> >> >> right?), then you'll achieve equivalent functionality to 
> >mixing the
> >> >> >two
> >> >> >> >> keys.
> >> >> >> >
> >> >> >> >I don't think so.  Please see my comment below.
> >> >> >> >
> >> >> >> >>
> >> >> >> >> Your note on a MiTM claiming another client's device ID is not
> >> >> >> >> possible since the MiTM cannot provide the other device's
> >> >credentials
> >> >> >> >> to the AS.  Note that the ISP authentication is independent of 
> >the
> >> >> >> >> NAP authentication.  Both are mutually authenticating is the
> >> >> >assumption.
> >> >> >> >
> >> >> >> >I think you are making some assumption here.  If you assume device
> >> >> >> >authentication for ISP authentication, then I think the 
> >assumption is
> >> >> >> >too strong to relax the cryptographic binding requirement.  When 
> >the
> >> >> >> >credentials used for ISP authentication are not bound to a 
> >particular
> >> >> >> >device identifier, then the MiTM attack is not avoided without
> >> >> >> >cryptographically binding the two EAP runs, even if both 
> >are mutually
> >> >> >> >authenticating.
> >> >> >>
> >> >> >> I think we are getting closer to an agreement here.
> >> >> >
> >> >> >There is some misunderstanding.  Please see my comment below.
> >> >> >
> >> >> >> The AS/PAA must
> >> >> >> know the device IDs corresponding to the NAS authentication and the
> >> >> >> ISP authentication, so that they can bind the two AAA-keys,
> >> >> >> right?
> >> >> >
> >> >> >This is correct, except s/NAS/NAP/ I guess.
> >> >> >
> >> >> >> So all I am saying is while binding the keys is one option,
> >> >> >> equivalent protection can be achieved by sending the NAS AAA-key 
> >and
> >> >> >> sending a binding between the NAS ID and the ISP ID (more 
> >precisely,
> >> >> >> L2 and L3 identifiers) to the EP.  PANA does have messages to 
> >support
> >> >> >> this kind of ID binding, right?
> >> >> >
> >> >> >I don't think your scheme provides equivalent protection as the
> >> >> >cryptographic binding defined in the PANA specification.  In the MiTM
> >> >> >attack I explained, the MiTM uses its own device identifier for PANA
> >> >> >communication with the legitimate PAA as well as for application
> >> >> >traffic via the EP.  As a result, the PAA will send MiTM's device
> >> >> >identifier and a PaC-EP-Master-Key to the EP, not the device
> >> >> >identifier of the legitimate PaC.
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> One further issue is that if the MiTM is beyond the EP,
> >> >there is no
> >> >> >> >> >> protection from the compound binding either.
> >> >> >> >> >
> >> >> >> >> >An appropriate secure association protocol run between PaC and 
> >EP
> >> >> >> >> >after the PANA authentication and authorization phase provides
> >> >> >further
> >> >> >> >> >protection regardless whether the MiTM is beyong the EP or not.
> >> >> >> >>
> >> >> >> >> No amount of protection on the path between the PaC and 
> >the EP will
> >> >> >> >> be sufficient against an adversary on the link from the EP to 
> >the
> >> >> >> >network.
> >> >> >> >
> >> >> >> >Sorry I was going too far in this specific statement.  The correct
> >> >> >> >statement would be:
> >> >> >> >
> >> >> >> >"
> >> >> >> >An appropriate secure association protocol run between PaC and EP
> >> >> >> >after the PANA authentication and authorization phase provides
> >> >further
> >> >> >> >protection if the MiTM is beyond the EP.
> >> >> >> >"
> >> >> >>
> >> >> >> Thanks for the clarification, but I don't see why any protection
> >> >> >> beyond the EP is possible with a SEC association between the PaC 
> >and
> >> >> >> the EP.  Please explain why an attacker situated after the EP 
> >cannot
> >> >> >> spoof identities on the packets
> >> >> >
> >> >> >Sorry for the confusion, I meant the case where the attacker is 
> >beyond
> >> >> >the EP *when seeing the attacker from the network side*, i.e., the
> >> >> >attacker is between the PaC and EP.  If the attacker is between EP 
> >and
> >> >> >the network, then the SA between the PaC and EP does not help, as you
> >> >> >stated.
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> >>
> >> >> >> >> What I am looking for is a clarification that compound binding 
> >is
> >> >not
> >> >> >> >> necessary for the above reasons and a protected RI is 
> >sufficient to
> >> >> >> >> bind the two authentications.
> >> >> >> >
> >> >> >> >I don't think we can relax the cryptographic binding requirement 
> >if
> >> >> >> >the justification for it is based on strong assumption.
> >> >> >>
> >> >> >> I don't understand this part.  The assumption is the same as that
> >> >> >> applies to key delivery to the EP, no?
> >> >> >
> >> >> >No.
> >> >> >
> >> >> >"Key delivery to the EP" is for binding the PaC's device identifier 
> >to
> >> >> >the key generated as a result of PANA authentication, where the EAP
> >> >> >run(s) within the PANA authentication may use any kind of
> >> >> >authentication credentials (device credentials or user credentials).
> >> >> >
> >> >> >Yoshihiro Ohba
> >> >>
> >> >>
> >>
> >>
> >> _______________________________________________
> >> Pana mailing list
> >> Pana@ietf.org
> >> https://www1.ietf.org/mailman/listinfo/pana
> >>
> 
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Fri Apr 07 18:40:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRzcN-00026v-J8; Fri, 07 Apr 2006 18:39:51 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRzcL-00026q-PD
	for pana@ietf.org; Fri, 07 Apr 2006 18:39:49 -0400
Received: from numenor.qualcomm.com ([129.46.51.58])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRzcJ-0000kW-5i
	for pana@ietf.org; Fri, 07 Apr 2006 18:39:49 -0400
Received: from magus.qualcomm.com (magus.qualcomm.com [129.46.61.148])
	by numenor.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id
	k37Mdf96001673
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 7 Apr 2006 15:39:42 -0700
Received: from LDONDETI.qualcomm.com (ldondeti.na.qualcomm.com [129.46.173.20])
	by magus.qualcomm.com (8.13.6/8.12.5/1.0) with ESMTP id k37MdeV6028948
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Fri, 7 Apr 2006 15:39:41 -0700 (PDT)
Message-Id: <6.2.5.6.2.20060407152249.03b948b8@qualcomm.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Fri, 07 Apr 2006 15:39:46 -0700
To: Yoshihiro Ohba <yohba@tari.toshiba.com>
From: Lakshminath Dondeti <ldondeti@qualcomm.com>
Subject: Re: [Pana] Re: Question on draft-ietf-pana-pana-11
In-Reply-To: <20060407221828.GC15147@steelhead>
References: <20060403225254.GC15175@steelhead>
	<6.2.5.6.2.20060403203155.039c7458@qualcomm.com>
	<20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
	<6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
	<20060406005034.GD3455@steelhead>
	<6.2.5.6.2.20060407094921.04002878@qualcomm.com>
	<20060407221828.GC15147@steelhead>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: dfc64cf6e4c6efdbf6b8f4c995df04df
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

At 03:18 PM 4/7/2006, Yoshihiro Ohba wrote:
>Hi Lakshminath,
>
>On Fri, Apr 07, 2006 at 10:15:34AM -0700, Lakshminath Dondeti wrote:
> > Hi Yoshi,
> >
> > First I will note that I got stuck with the first item (1) in your
> > email below. I don't think key compromise is possible.  If it is, the
> > entire protocol is broken.
>
>I got it.  My expression was not accurate on item (1).  Key itself is
>not compromised, but key is not bound to both EAP authentications.

Yes, thanks for the clarification.  We have a similar understanding then.


> >
> > I finally found some time yesterday to analyze this at length with
> > the help of some colleagues and here is the conclusion:
> >
> > In case of PANA,
> > a) (with the assumptions of lack of lower protection etc.,), and
>
>Yes.  This is described in the last paragraph of Section 4.8.2
>and Section 11.4 of pana-pana.

Yes, you and I noted this earlier.


> > b) if the key from the first authentication is used only for
> > integrity protection and not encryption, and
>
>Even if the key is used for both integrity protection and encyption,
>the attack is still possible as long as the attacker has the
>encryption key.  Am I missing something?

Here is how I think it works.  If the adversary also has finished the 
NAP authentication, it can be a MiTM on a legitimate Peer's ISP 
authentication by stripping the AUTH payload.  The ISP authentication 
end-2-end is still between the peer and it's AAA server, but the PAA 
is fooled to believe that the MiTM is doing the ISP 
authentication.  The MiTM can replace some fields that the 
Authenticator cares for and recompute the AUTH tag with its key.  If 
the exchange is encrypted, the MiTM can't do much.  So, encryption 
fixes the problem.  I wonder what the AUTH tag's purpose was since it 
doesn't serve this important requirement :-).


> > c) since there is no way for the PAA or the AAA server(s) to identify
> > the L2 or L3 identifiers of the entity that holds the NAP NAI and/or
> > ISP NAI, and
>
>I am not sure removing this assumption exempts from crypt binidng.
>What happens if the MiTM is spoofing the legitimate PaC's L2 or L3
>identifiers?
>
> > d) since there is no way to figure out the relationship between a NAP
> > NAI and an ISP NAI (whether or not the same peer/PaC holds them)
>
>I am not sure whether removing this assumption provides the same level
>of protection as cryptographic binding (I am wondering if other type
>of MiTM is still possible by removing the assumption).  Perhaps a
>formal proof might be needed to removing this assumption for exempting
>from crypt binding.

(c) and (d) might be practical or not depending on deployments and 
use cases.  But, it is clear that the problem is end-2-end 
authentication uses different identities compared to the identities 
that the EP and or PAA might see.  Some of the binding I am talking 
about is possible with configuration.  I guess it's possible to prove 
it formally, but it would be based on a set of assumptions and 
drawing logical conclusions from there.  If you are interested, we 
can explore that off-line and report back on the list.  I am 
interested in it as well.

> >
> > when *all* those conditions being true, there is in fact a man in the
> > middle attack and that can be mitigated with key binding.  I have to
> > note that simply saying this applies to all multiple EAP
> > authentications is being imprecise.  I request that some of this text
> > be written in the PANA specification for completeness.
>
>Condition a) is already described in PANA.  I doubt b), c) and d).

 From my explanation above, please see if (b) is clear.
On c and d, let's see if we can come up with an agreeable line of 
thinking offline and report back on this list.


> >
> > Finally, many thanks for continuing the discussion.  It led to my
> > analysis of it.  You were probably alluding to some of this, but
> > unfortunately, it was not clear perhaps due to the nature of email
> > discussion.  I hope you find this constructive, and if not, my
> > sincere apologies for any time you feel was wasted in this email exchange.
>
>Sorry for my distributed logics and several incorrect description my
>emails.  Anyways, this is interesting dicussion to me.  Identifying
>conditions for exempting from crypt binding seems to be a new topic
>and need more research.  I'd like to continue the discussion with you
>and your colleagues privately if you like.

As noted earlier, sure, please initiate the discussion offline and 
I'll add my colleagues as applicable and necessary.

best wishes Yoshi,
Lakshminath


>Thank you,
>Yoshihiro Ohba
>
>
> >
> > many thanks and best regards,
> > Lakshminath
> >
> > At 05:50 PM 4/5/2006, Yoshihiro Ohba wrote:
> > >On Wed, Apr 05, 2006 at 04:49:00PM -0700, Lakshminath Dondeti wrote:
> > >> So 4016 is already obsolete!  And, I still don't have an answer on
> > >> why the protected RI is not ok.  I guess we'll leave it at that!
> > >
> > >I explained it, but just to summarize:
> > >
> > >When there is a MiTM, if there is no cryptographic binding between the
> > >two AAA-Keys the following steps can be taken:
> > >
> > >1. the PANA_MAC_Key and PaC-EP-Master-key are generated using the
> > >AAA-Key generated by NAP authentication only.  The MiTM can possess
> > >this AAA-Key because it uses its own credentials for NAP
> > >authentication.  As a result, PANA authentication will succeed,
> > >because the MiTM does not have to possess the AAA-Key generated by ISP
> > >authentication to derive the PANA_MAC_Key.  (The legitimate PaC has
> > >the AAA-Key generated by ISP authentication.)
> > >
> > >Note: the PANA_MAC_Key and PaC-EP-Master-Key have been compromised in
> > >this step, because of the lack of the cryptographic binding.  So the
> > >subsequent steps relying on those keys are compromised as well.
> > >
> > >2. As a result of the successful PANA authentication, the PAA will
> > >send the PaC-EP-Master-Key and MiTM's device identifier to the EP over
> > >a secure channel (this is the protected RI in my understanding, if
> > >not, please clearly define what exactly protected RI means).  The EP
> > >will associate the PaC-EP-Master-Key with the MiTM's device
> > >identifier, instead of the legitimate PaC's device identifier.
> > >
> > >3. the MiTM will run a secure association protocol with EP using the
> > >PaC-EP-Master-Key and the MiTM's device identifier.  The secure
> > >association protocol will also succeed and thus the MiTM attack will
> > >succeed.
> > >
> > >If there is cryptographic binding between the two AAA-Keys, Step 1
> > >will fail because PANA authentication will not succeed.  This is
> > >because the MiTM does not possess the AAA-Key generated by ISP
> > >authentication while the key is required to derive the correct
> > >PANA_MAC_Key and PaC-EP-Master-Key.
> > >
> > >Hope this helps,
> > >Yoshihiro Ohba
> > >
> > >
> > >>
> > >> regards,
> > >> Lakshminath
> > >>
> > >> At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
> > >> >To tell the history, when we were working on the threat analysis, NAP
> > >> >and ISP separate authentication was not yet considered as a target
> > >> >scenario (I mean NAP and ISP separate authentication is relatively new
> > >> >scenario).  This is why RFC 4016 is silent about the cryptographic
> > >> >binding for NAP and ISP separate authentication while it has a
> > >> >cryptographic binding requirement on tunneling methods.
> > >> >
> > >> >Regardless RFC 4016, cryptographic binding for NAP and ISP
> > >> >authentication is needed.  Thus, lack of cryptographic binding
> > >> >requirement for NAP and ISP separate authentication in RFC 4016
> > >> >cannot be used for justifying your statements.
> > >> >
> > >> >If you have further questions, please let us know.
> > >> >
> > >> >Best regards,
> > >> >Yoshihiro Ohba
> > >> >
> > >> >
> > >> >On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> > >> >> Hi,
> > >> >>
> > >> >> Sorry for the delay in my response, let me attribute it to a spike in
> > >> >> Nomcom activity.  I read 4016 again and it seems to support my
> > >> >> statements, specifically,
> > >> >>
> > >> >> Requirement 3 and the related text support my statement on compound
> > >> >> binding.  It applies to ISP or NAP authentication individually and
> > >> >> does not necessarily apply to the dual authentication case.
> > >> >>
> > >> >> Requirement 7 says
> > >> >>
> > >> >>    PANA MUST securely bind the authenticated session to the device
> > >> >>    identifier of the client, to prevent service theft.  PANA MUST be
> > >> >>    able to bootstrap a shared secret between the PaC and 
> PAA that can
> > >be
> > >> >>    further used to set up a security association between the PaC and
> > >EP
> > >> >>    to provide cryptographic protection against service theft.
> > >> >>
> > >> >> So, binding authenticated session to device IDs as well as
> > >> >> cryptographic protection are both supported as per 4016.  I am
> > >> >> curious what changed between then and now.
> > >> >>
> > >> >> Perhaps this WG consensus as in 4016 might be more convincing to you?
> > >> >>
> > >> >> thanks and regards,
> > >> >> Lakshminath
> > >> >>
> > >> >> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> > >> >> >Hi Lakshminath,
> > >> >> >
> > >> >> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti wrote:
> > >> >> >> Hi Yoshi,
> > >> >> >>
> > >> >> >> Thanks again for your patient discussion on this topic.  I have
> > >some
> > >> >> >> follow-up comments:
> > >> >> >>
> > >> >> >>
> > >> >> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> > >> >> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti
> > >wrote:
> > >> >> >> >>
> > >> >> >>
> > >> >> >> <snip>
> > >> >> >>
> > >> >> >> >> >
> > >> >> >> >> >Maybe my interpretation is based on a broader 
> definition of the
> > >> >> >> >> >problem where only sequential authentication methods
> > >exist without
> > >> >> >any
> > >> >> >> >> >tunneling method (null "tunnel authentication").
> > >> >> >> >>
> > >> >> >> >> Tunnel may be a loaded word, but I think you get my point, if
> > >the
> > >> >> >> >> first EAP authentication (say the NAP authentication)
> > >authenticates
> > >> >> >> >> both parties, and if tunneled, say takes into consideration the
> > >> >> >> >> compound binding attack and derives the AAA-key, then MiTM
> > >attack
> > >> >is
> > >> >> >> >> avoided.
> > >> >> >> >
> > >> >> >> >My point is, if the first EAP authentication (whether it is
> > >tunneled
> > >> >> >> >or not) is not cryptographically bound to subsequnet EAP
> > >> >> >> >authentication(s), then MiTM attack is not avoided.
> > >> >> >> >
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >> >> <snip>
> > >> >> >>
> > >> >> >> >> >Second, even if there were direct protected result
> > >indication sent
> > >> >> >> >> >from backend authentication server to EP, I don't
> > >> >understand why MiTM
> > >> >> >> >> >won't be successful in case there is no cryptographic
> > >> >binding between
> > >> >> >> >> >the two authentication methods, if both NAP and ISP
> > >> >authentications
> > >> >> >> >> >succeed and the authentication server authorizes access to the
> > >> >> >> >> >client's device identifier (which is actually the 
> MiTM's device
> > >> >> >> >> >identifier) that was seen by the legitimate PAA,
> > >> >> >> >>
> > >> >> >> >> All I am saying here is that if the second authentication is
> > >> >mutually
> > >> >> >> >> authenticating (no MiTM) and if the result indication is sent
> > >from
> > >> >> >> >> the PAA to the EP (as long as a key can be sent, an RI
> > >can be sent,
> > >> >> >> >> right?), then you'll achieve equivalent functionality to
> > >mixing the
> > >> >> >two
> > >> >> >> >> keys.
> > >> >> >> >
> > >> >> >> >I don't think so.  Please see my comment below.
> > >> >> >> >
> > >> >> >> >>
> > >> >> >> >> Your note on a MiTM claiming another client's device ID is not
> > >> >> >> >> possible since the MiTM cannot provide the other device's
> > >> >credentials
> > >> >> >> >> to the AS.  Note that the ISP authentication is independent of
> > >the
> > >> >> >> >> NAP authentication.  Both are mutually authenticating is the
> > >> >> >assumption.
> > >> >> >> >
> > >> >> >> >I think you are making some assumption here.  If you 
> assume device
> > >> >> >> >authentication for ISP authentication, then I think the
> > >assumption is
> > >> >> >> >too strong to relax the cryptographic binding requirement.  When
> > >the
> > >> >> >> >credentials used for ISP authentication are not bound to a
> > >particular
> > >> >> >> >device identifier, then the MiTM attack is not avoided without
> > >> >> >> >cryptographically binding the two EAP runs, even if both
> > >are mutually
> > >> >> >> >authenticating.
> > >> >> >>
> > >> >> >> I think we are getting closer to an agreement here.
> > >> >> >
> > >> >> >There is some misunderstanding.  Please see my comment below.
> > >> >> >
> > >> >> >> The AS/PAA must
> > >> >> >> know the device IDs corresponding to the NAS 
> authentication and the
> > >> >> >> ISP authentication, so that they can bind the two AAA-keys,
> > >> >> >> right?
> > >> >> >
> > >> >> >This is correct, except s/NAS/NAP/ I guess.
> > >> >> >
> > >> >> >> So all I am saying is while binding the keys is one option,
> > >> >> >> equivalent protection can be achieved by sending the NAS AAA-key
> > >and
> > >> >> >> sending a binding between the NAS ID and the ISP ID (more
> > >precisely,
> > >> >> >> L2 and L3 identifiers) to the EP.  PANA does have messages to
> > >support
> > >> >> >> this kind of ID binding, right?
> > >> >> >
> > >> >> >I don't think your scheme provides equivalent protection as the
> > >> >> >cryptographic binding defined in the PANA 
> specification.  In the MiTM
> > >> >> >attack I explained, the MiTM uses its own device identifier for PANA
> > >> >> >communication with the legitimate PAA as well as for application
> > >> >> >traffic via the EP.  As a result, the PAA will send MiTM's device
> > >> >> >identifier and a PaC-EP-Master-Key to the EP, not the device
> > >> >> >identifier of the legitimate PaC.
> > >> >> >
> > >> >> >>
> > >> >> >>
> > >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >> One further issue is that if the MiTM is beyond the EP,
> > >> >there is no
> > >> >> >> >> >> protection from the compound binding either.
> > >> >> >> >> >
> > >> >> >> >> >An appropriate secure association protocol run 
> between PaC and
> > >EP
> > >> >> >> >> >after the PANA authentication and authorization phase provides
> > >> >> >further
> > >> >> >> >> >protection regardless whether the MiTM is beyong the 
> EP or not.
> > >> >> >> >>
> > >> >> >> >> No amount of protection on the path between the PaC and
> > >the EP will
> > >> >> >> >> be sufficient against an adversary on the link from the EP to
> > >the
> > >> >> >> >network.
> > >> >> >> >
> > >> >> >> >Sorry I was going too far in this specific 
> statement.  The correct
> > >> >> >> >statement would be:
> > >> >> >> >
> > >> >> >> >"
> > >> >> >> >An appropriate secure association protocol run between PaC and EP
> > >> >> >> >after the PANA authentication and authorization phase provides
> > >> >further
> > >> >> >> >protection if the MiTM is beyond the EP.
> > >> >> >> >"
> > >> >> >>
> > >> >> >> Thanks for the clarification, but I don't see why any protection
> > >> >> >> beyond the EP is possible with a SEC association between the PaC
> > >and
> > >> >> >> the EP.  Please explain why an attacker situated after the EP
> > >cannot
> > >> >> >> spoof identities on the packets
> > >> >> >
> > >> >> >Sorry for the confusion, I meant the case where the attacker is
> > >beyond
> > >> >> >the EP *when seeing the attacker from the network side*, i.e., the
> > >> >> >attacker is between the PaC and EP.  If the attacker is between EP
> > >and
> > >> >> >the network, then the SA between the PaC and EP does not 
> help, as you
> > >> >> >stated.
> > >> >> >
> > >> >> >>
> > >> >> >>
> > >> >> >> >>
> > >> >> >> >> What I am looking for is a clarification that compound binding
> > >is
> > >> >not
> > >> >> >> >> necessary for the above reasons and a protected RI is
> > >sufficient to
> > >> >> >> >> bind the two authentications.
> > >> >> >> >
> > >> >> >> >I don't think we can relax the cryptographic binding requirement
> > >if
> > >> >> >> >the justification for it is based on strong assumption.
> > >> >> >>
> > >> >> >> I don't understand this part.  The assumption is the same as that
> > >> >> >> applies to key delivery to the EP, no?
> > >> >> >
> > >> >> >No.
> > >> >> >
> > >> >> >"Key delivery to the EP" is for binding the PaC's device identifier
> > >to
> > >> >> >the key generated as a result of PANA authentication, where the EAP
> > >> >> >run(s) within the PANA authentication may use any kind of
> > >> >> >authentication credentials (device credentials or user credentials).
> > >> >> >
> > >> >> >Yoshihiro Ohba
> > >> >>
> > >> >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Pana mailing list
> > >> Pana@ietf.org
> > >> https://www1.ietf.org/mailman/listinfo/pana
> > >>
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Fri Apr 07 20:18:16 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FS19U-00040L-Cj; Fri, 07 Apr 2006 20:18:08 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FS19T-00040G-FD
	for pana@ietf.org; Fri, 07 Apr 2006 20:18:07 -0400
Received: from inet-tsb.toshiba.co.jp ([202.33.96.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FS19R-0003cM-T4
	for pana@ietf.org; Fri, 07 Apr 2006 20:18:07 -0400
Received: from tsb-wall.toshiba.co.jp ([133.199.160.134])
	by inet-tsb.toshiba.co.jp  with ESMTP id k380I1tb029985;
	Sat, 8 Apr 2006 09:18:01 +0900 (JST)
Received: (from root@localhost) by tsb-wall.toshiba.co.jp  id k380I2VJ028532;
	Sat, 8 Apr 2006 09:18:02 +0900 (JST)
Received: from ovp1.toshiba.co.jp [133.199.192.124] 
	by tsb-wall.toshiba.co.jp with SMTP id KAA28519;
	Sat, 8 Apr 2006 09:18:02 +0900
Received: from mx.toshiba.co.jp (localhost [127.0.0.1])
	by ovp1.toshiba.co.jp  with ESMTP id k380I1w9022192;
	Sat, 8 Apr 2006 09:18:01 +0900 (JST)
Received: from tsbpoa.po.toshiba.co.jp by toshiba.co.jp id k380I0Hr029361;
	Sat, 8 Apr 2006 09:18:00 +0900 (JST)
Received: from steelhead ([172.30.24.104])
	by mail.po.toshiba.co.jp (Sun Java System Messaging Server 6.1 (built
	Apr 28
	2004)) with ESMTPSA id <0IXD00E8JNHU5I00@mail.po.toshiba.co.jp>; Sat,
	08 Apr 2006 09:18:00 +0900 (JST)
Received: from ohba by steelhead with local (Exim 4.60)
	(envelope-from <yohba@tari.toshiba.com>)	id 1FS195-0004yk-Vs; Fri,
	07 Apr 2006 17:17:44 -0700
Date: Fri, 07 Apr 2006 20:17:43 -0400
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
Subject: Re: [Pana] Re: Question on draft-ietf-pana-pana-11
In-reply-to: <6.2.5.6.2.20060407152249.03b948b8@qualcomm.com>
To: Lakshminath Dondeti <ldondeti@qualcomm.com>
Mail-followup-to: Lakshminath Dondeti <ldondeti@qualcomm.com>,
	Yoshihiro Ohba <yohba@tari.toshiba.com>, townsley@cisco.com,
	pana@ietf.org
Message-id: <20060408001743.GH15147@steelhead>
MIME-version: 1.0
Content-type: text/plain; charset=iso-2022-jp
Content-disposition: inline
References: <20060404130949.GA20995@steelhead>
	<6.2.5.6.2.20060404091755.03d9dae0@qualcomm.com>
	<20060404201559.GG20995@steelhead>
	<6.2.5.6.2.20060405153855.05b04008@qualcomm.com>
	<20060405233827.GB3455@steelhead>
	<6.2.5.6.2.20060405164504.03aa09e8@qualcomm.com>
	<20060406005034.GD3455@steelhead>
	<6.2.5.6.2.20060407094921.04002878@qualcomm.com>
	<20060407221828.GC15147@steelhead>
	<6.2.5.6.2.20060407152249.03b948b8@qualcomm.com>
User-Agent: Mutt/1.5.11+cvs20060126
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8e9fbe727bc2159b431d624c595c1eab
Cc: townsley@cisco.com, Yoshihiro Ohba <yohba@tari.toshiba.com>, pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

I have one clarication.  The PANA specification should not be blocked
by the offline discussion mentioned below, as there is no issue with
the PANA protocol.  My position is that I am just interested in deep
analysis on relaxing assumptions on cryptographic binding for multiple
EAP authentications in general.

Yoshihiro Ohba



On Fri, Apr 07, 2006 at 03:39:46PM -0700, Lakshminath Dondeti wrote:
> At 03:18 PM 4/7/2006, Yoshihiro Ohba wrote:
> >Hi Lakshminath,
> >
> >On Fri, Apr 07, 2006 at 10:15:34AM -0700, Lakshminath Dondeti wrote:
> >> Hi Yoshi,
> >>
> >> First I will note that I got stuck with the first item (1) in your
> >> email below. I don't think key compromise is possible.  If it is, the
> >> entire protocol is broken.
> >
> >I got it.  My expression was not accurate on item (1).  Key itself is
> >not compromised, but key is not bound to both EAP authentications.
> 
> Yes, thanks for the clarification.  We have a similar understanding then.
> 
> 
> >>
> >> I finally found some time yesterday to analyze this at length with
> >> the help of some colleagues and here is the conclusion:
> >>
> >> In case of PANA,
> >> a) (with the assumptions of lack of lower protection etc.,), and
> >
> >Yes.  This is described in the last paragraph of Section 4.8.2
> >and Section 11.4 of pana-pana.
> 
> Yes, you and I noted this earlier.
> 
> 
> >> b) if the key from the first authentication is used only for
> >> integrity protection and not encryption, and
> >
> >Even if the key is used for both integrity protection and encyption,
> >the attack is still possible as long as the attacker has the
> >encryption key.  Am I missing something?
> 
> Here is how I think it works.  If the adversary also has finished the 
> NAP authentication, it can be a MiTM on a legitimate Peer's ISP 
> authentication by stripping the AUTH payload.  The ISP authentication 
> end-2-end is still between the peer and it's AAA server, but the PAA 
> is fooled to believe that the MiTM is doing the ISP 
> authentication.  The MiTM can replace some fields that the 
> Authenticator cares for and recompute the AUTH tag with its key.  If 
> the exchange is encrypted, the MiTM can't do much.  So, encryption 
> fixes the problem.  I wonder what the AUTH tag's purpose was since it 
> doesn't serve this important requirement :-).
> 
> 
> >> c) since there is no way for the PAA or the AAA server(s) to identify
> >> the L2 or L3 identifiers of the entity that holds the NAP NAI and/or
> >> ISP NAI, and
> >
> >I am not sure removing this assumption exempts from crypt binidng.
> >What happens if the MiTM is spoofing the legitimate PaC's L2 or L3
> >identifiers?
> >
> >> d) since there is no way to figure out the relationship between a NAP
> >> NAI and an ISP NAI (whether or not the same peer/PaC holds them)
> >
> >I am not sure whether removing this assumption provides the same level
> >of protection as cryptographic binding (I am wondering if other type
> >of MiTM is still possible by removing the assumption).  Perhaps a
> >formal proof might be needed to removing this assumption for exempting
> >from crypt binding.
> 
> (c) and (d) might be practical or not depending on deployments and 
> use cases.  But, it is clear that the problem is end-2-end 
> authentication uses different identities compared to the identities 
> that the EP and or PAA might see.  Some of the binding I am talking 
> about is possible with configuration.  I guess it's possible to prove 
> it formally, but it would be based on a set of assumptions and 
> drawing logical conclusions from there.  If you are interested, we 
> can explore that off-line and report back on the list.  I am 
> interested in it as well.
> 
> >>
> >> when *all* those conditions being true, there is in fact a man in the
> >> middle attack and that can be mitigated with key binding.  I have to
> >> note that simply saying this applies to all multiple EAP
> >> authentications is being imprecise.  I request that some of this text
> >> be written in the PANA specification for completeness.
> >
> >Condition a) is already described in PANA.  I doubt b), c) and d).
> 
> From my explanation above, please see if (b) is clear.
> On c and d, let's see if we can come up with an agreeable line of 
> thinking offline and report back on this list.
> 
> 
> >>
> >> Finally, many thanks for continuing the discussion.  It led to my
> >> analysis of it.  You were probably alluding to some of this, but
> >> unfortunately, it was not clear perhaps due to the nature of email
> >> discussion.  I hope you find this constructive, and if not, my
> >> sincere apologies for any time you feel was wasted in this email 
> >exchange.
> >
> >Sorry for my distributed logics and several incorrect description my
> >emails.  Anyways, this is interesting dicussion to me.  Identifying
> >conditions for exempting from crypt binding seems to be a new topic
> >and need more research.  I'd like to continue the discussion with you
> >and your colleagues privately if you like.
> 
> As noted earlier, sure, please initiate the discussion offline and 
> I'll add my colleagues as applicable and necessary.
> 
> best wishes Yoshi,
> Lakshminath
> 
> 
> >Thank you,
> >Yoshihiro Ohba
> >
> >
> >>
> >> many thanks and best regards,
> >> Lakshminath
> >>
> >> At 05:50 PM 4/5/2006, Yoshihiro Ohba wrote:
> >> >On Wed, Apr 05, 2006 at 04:49:00PM -0700, Lakshminath Dondeti wrote:
> >> >> So 4016 is already obsolete!  And, I still don't have an answer on
> >> >> why the protected RI is not ok.  I guess we'll leave it at that!
> >> >
> >> >I explained it, but just to summarize:
> >> >
> >> >When there is a MiTM, if there is no cryptographic binding between the
> >> >two AAA-Keys the following steps can be taken:
> >> >
> >> >1. the PANA_MAC_Key and PaC-EP-Master-key are generated using the
> >> >AAA-Key generated by NAP authentication only.  The MiTM can possess
> >> >this AAA-Key because it uses its own credentials for NAP
> >> >authentication.  As a result, PANA authentication will succeed,
> >> >because the MiTM does not have to possess the AAA-Key generated by ISP
> >> >authentication to derive the PANA_MAC_Key.  (The legitimate PaC has
> >> >the AAA-Key generated by ISP authentication.)
> >> >
> >> >Note: the PANA_MAC_Key and PaC-EP-Master-Key have been compromised in
> >> >this step, because of the lack of the cryptographic binding.  So the
> >> >subsequent steps relying on those keys are compromised as well.
> >> >
> >> >2. As a result of the successful PANA authentication, the PAA will
> >> >send the PaC-EP-Master-Key and MiTM's device identifier to the EP over
> >> >a secure channel (this is the protected RI in my understanding, if
> >> >not, please clearly define what exactly protected RI means).  The EP
> >> >will associate the PaC-EP-Master-Key with the MiTM's device
> >> >identifier, instead of the legitimate PaC's device identifier.
> >> >
> >> >3. the MiTM will run a secure association protocol with EP using the
> >> >PaC-EP-Master-Key and the MiTM's device identifier.  The secure
> >> >association protocol will also succeed and thus the MiTM attack will
> >> >succeed.
> >> >
> >> >If there is cryptographic binding between the two AAA-Keys, Step 1
> >> >will fail because PANA authentication will not succeed.  This is
> >> >because the MiTM does not possess the AAA-Key generated by ISP
> >> >authentication while the key is required to derive the correct
> >> >PANA_MAC_Key and PaC-EP-Master-Key.
> >> >
> >> >Hope this helps,
> >> >Yoshihiro Ohba
> >> >
> >> >
> >> >>
> >> >> regards,
> >> >> Lakshminath
> >> >>
> >> >> At 04:38 PM 4/5/2006, Yoshihiro Ohba wrote:
> >> >> >To tell the history, when we were working on the threat analysis, NAP
> >> >> >and ISP separate authentication was not yet considered as a target
> >> >> >scenario (I mean NAP and ISP separate authentication is relatively 
> >new
> >> >> >scenario).  This is why RFC 4016 is silent about the cryptographic
> >> >> >binding for NAP and ISP separate authentication while it has a
> >> >> >cryptographic binding requirement on tunneling methods.
> >> >> >
> >> >> >Regardless RFC 4016, cryptographic binding for NAP and ISP
> >> >> >authentication is needed.  Thus, lack of cryptographic binding
> >> >> >requirement for NAP and ISP separate authentication in RFC 4016
> >> >> >cannot be used for justifying your statements.
> >> >> >
> >> >> >If you have further questions, please let us know.
> >> >> >
> >> >> >Best regards,
> >> >> >Yoshihiro Ohba
> >> >> >
> >> >> >
> >> >> >On Wed, Apr 05, 2006 at 04:09:41PM -0700, Lakshminath Dondeti wrote:
> >> >> >> Hi,
> >> >> >>
> >> >> >> Sorry for the delay in my response, let me attribute it to a spike 
> >in
> >> >> >> Nomcom activity.  I read 4016 again and it seems to support my
> >> >> >> statements, specifically,
> >> >> >>
> >> >> >> Requirement 3 and the related text support my statement on compound
> >> >> >> binding.  It applies to ISP or NAP authentication individually and
> >> >> >> does not necessarily apply to the dual authentication case.
> >> >> >>
> >> >> >> Requirement 7 says
> >> >> >>
> >> >> >>    PANA MUST securely bind the authenticated session to the device
> >> >> >>    identifier of the client, to prevent service theft.  PANA MUST 
> >be
> >> >> >>    able to bootstrap a shared secret between the PaC and 
> >PAA that can
> >> >be
> >> >> >>    further used to set up a security association between the PaC 
> >and
> >> >EP
> >> >> >>    to provide cryptographic protection against service theft.
> >> >> >>
> >> >> >> So, binding authenticated session to device IDs as well as
> >> >> >> cryptographic protection are both supported as per 4016.  I am
> >> >> >> curious what changed between then and now.
> >> >> >>
> >> >> >> Perhaps this WG consensus as in 4016 might be more convincing to 
> >you?
> >> >> >>
> >> >> >> thanks and regards,
> >> >> >> Lakshminath
> >> >> >>
> >> >> >> At 01:15 PM 4/4/2006, Yoshihiro Ohba wrote:
> >> >> >> >Hi Lakshminath,
> >> >> >> >
> >> >> >> >On Tue, Apr 04, 2006 at 12:30:27PM -0700, Lakshminath Dondeti 
> >wrote:
> >> >> >> >> Hi Yoshi,
> >> >> >> >>
> >> >> >> >> Thanks again for your patient discussion on this topic.  I have
> >> >some
> >> >> >> >> follow-up comments:
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> At 06:09 AM 4/4/2006, Yoshihiro Ohba wrote:
> >> >> >> >> >On Mon, Apr 03, 2006 at 08:51:10PM -0700, Lakshminath Dondeti
> >> >wrote:
> >> >> >> >> >>
> >> >> >> >>
> >> >> >> >> <snip>
> >> >> >> >>
> >> >> >> >> >> >
> >> >> >> >> >> >Maybe my interpretation is based on a broader 
> >definition of the
> >> >> >> >> >> >problem where only sequential authentication methods
> >> >exist without
> >> >> >> >any
> >> >> >> >> >> >tunneling method (null "tunnel authentication").
> >> >> >> >> >>
> >> >> >> >> >> Tunnel may be a loaded word, but I think you get my point, if
> >> >the
> >> >> >> >> >> first EAP authentication (say the NAP authentication)
> >> >authenticates
> >> >> >> >> >> both parties, and if tunneled, say takes into consideration 
> >the
> >> >> >> >> >> compound binding attack and derives the AAA-key, then MiTM
> >> >attack
> >> >> >is
> >> >> >> >> >> avoided.
> >> >> >> >> >
> >> >> >> >> >My point is, if the first EAP authentication (whether it is
> >> >tunneled
> >> >> >> >> >or not) is not cryptographically bound to subsequnet EAP
> >> >> >> >> >authentication(s), then MiTM attack is not avoided.
> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >> >> <snip>
> >> >> >> >>
> >> >> >> >> >> >Second, even if there were direct protected result
> >> >indication sent
> >> >> >> >> >> >from backend authentication server to EP, I don't
> >> >> >understand why MiTM
> >> >> >> >> >> >won't be successful in case there is no cryptographic
> >> >> >binding between
> >> >> >> >> >> >the two authentication methods, if both NAP and ISP
> >> >> >authentications
> >> >> >> >> >> >succeed and the authentication server authorizes access to 
> >the
> >> >> >> >> >> >client's device identifier (which is actually the 
> >MiTM's device
> >> >> >> >> >> >identifier) that was seen by the legitimate PAA,
> >> >> >> >> >>
> >> >> >> >> >> All I am saying here is that if the second authentication is
> >> >> >mutually
> >> >> >> >> >> authenticating (no MiTM) and if the result indication is sent
> >> >from
> >> >> >> >> >> the PAA to the EP (as long as a key can be sent, an RI
> >> >can be sent,
> >> >> >> >> >> right?), then you'll achieve equivalent functionality to
> >> >mixing the
> >> >> >> >two
> >> >> >> >> >> keys.
> >> >> >> >> >
> >> >> >> >> >I don't think so.  Please see my comment below.
> >> >> >> >> >
> >> >> >> >> >>
> >> >> >> >> >> Your note on a MiTM claiming another client's device ID is 
> >not
> >> >> >> >> >> possible since the MiTM cannot provide the other device's
> >> >> >credentials
> >> >> >> >> >> to the AS.  Note that the ISP authentication is independent 
> >of
> >> >the
> >> >> >> >> >> NAP authentication.  Both are mutually authenticating is the
> >> >> >> >assumption.
> >> >> >> >> >
> >> >> >> >> >I think you are making some assumption here.  If you 
> >assume device
> >> >> >> >> >authentication for ISP authentication, then I think the
> >> >assumption is
> >> >> >> >> >too strong to relax the cryptographic binding requirement.  
> >When
> >> >the
> >> >> >> >> >credentials used for ISP authentication are not bound to a
> >> >particular
> >> >> >> >> >device identifier, then the MiTM attack is not avoided without
> >> >> >> >> >cryptographically binding the two EAP runs, even if both
> >> >are mutually
> >> >> >> >> >authenticating.
> >> >> >> >>
> >> >> >> >> I think we are getting closer to an agreement here.
> >> >> >> >
> >> >> >> >There is some misunderstanding.  Please see my comment below.
> >> >> >> >
> >> >> >> >> The AS/PAA must
> >> >> >> >> know the device IDs corresponding to the NAS 
> >authentication and the
> >> >> >> >> ISP authentication, so that they can bind the two AAA-keys,
> >> >> >> >> right?
> >> >> >> >
> >> >> >> >This is correct, except s/NAS/NAP/ I guess.
> >> >> >> >
> >> >> >> >> So all I am saying is while binding the keys is one option,
> >> >> >> >> equivalent protection can be achieved by sending the NAS AAA-key
> >> >and
> >> >> >> >> sending a binding between the NAS ID and the ISP ID (more
> >> >precisely,
> >> >> >> >> L2 and L3 identifiers) to the EP.  PANA does have messages to
> >> >support
> >> >> >> >> this kind of ID binding, right?
> >> >> >> >
> >> >> >> >I don't think your scheme provides equivalent protection as the
> >> >> >> >cryptographic binding defined in the PANA 
> >specification.  In the MiTM
> >> >> >> >attack I explained, the MiTM uses its own device identifier for 
> >PANA
> >> >> >> >communication with the legitimate PAA as well as for application
> >> >> >> >traffic via the EP.  As a result, the PAA will send MiTM's device
> >> >> >> >identifier and a PaC-EP-Master-Key to the EP, not the device
> >> >> >> >identifier of the legitimate PaC.
> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> >>
> >> >> >> >> >> >> One further issue is that if the MiTM is beyond the EP,
> >> >> >there is no
> >> >> >> >> >> >> protection from the compound binding either.
> >> >> >> >> >> >
> >> >> >> >> >> >An appropriate secure association protocol run 
> >between PaC and
> >> >EP
> >> >> >> >> >> >after the PANA authentication and authorization phase 
> >provides
> >> >> >> >further
> >> >> >> >> >> >protection regardless whether the MiTM is beyong the 
> >EP or not.
> >> >> >> >> >>
> >> >> >> >> >> No amount of protection on the path between the PaC and
> >> >the EP will
> >> >> >> >> >> be sufficient against an adversary on the link from the EP to
> >> >the
> >> >> >> >> >network.
> >> >> >> >> >
> >> >> >> >> >Sorry I was going too far in this specific 
> >statement.  The correct
> >> >> >> >> >statement would be:
> >> >> >> >> >
> >> >> >> >> >"
> >> >> >> >> >An appropriate secure association protocol run between PaC and 
> >EP
> >> >> >> >> >after the PANA authentication and authorization phase provides
> >> >> >further
> >> >> >> >> >protection if the MiTM is beyond the EP.
> >> >> >> >> >"
> >> >> >> >>
> >> >> >> >> Thanks for the clarification, but I don't see why any protection
> >> >> >> >> beyond the EP is possible with a SEC association between the PaC
> >> >and
> >> >> >> >> the EP.  Please explain why an attacker situated after the EP
> >> >cannot
> >> >> >> >> spoof identities on the packets
> >> >> >> >
> >> >> >> >Sorry for the confusion, I meant the case where the attacker is
> >> >beyond
> >> >> >> >the EP *when seeing the attacker from the network side*, i.e., the
> >> >> >> >attacker is between the PaC and EP.  If the attacker is between EP
> >> >and
> >> >> >> >the network, then the SA between the PaC and EP does not 
> >help, as you
> >> >> >> >stated.
> >> >> >> >
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> What I am looking for is a clarification that compound 
> >binding
> >> >is
> >> >> >not
> >> >> >> >> >> necessary for the above reasons and a protected RI is
> >> >sufficient to
> >> >> >> >> >> bind the two authentications.
> >> >> >> >> >
> >> >> >> >> >I don't think we can relax the cryptographic binding 
> >requirement
> >> >if
> >> >> >> >> >the justification for it is based on strong assumption.
> >> >> >> >>
> >> >> >> >> I don't understand this part.  The assumption is the same as 
> >that
> >> >> >> >> applies to key delivery to the EP, no?
> >> >> >> >
> >> >> >> >No.
> >> >> >> >
> >> >> >> >"Key delivery to the EP" is for binding the PaC's device 
> >identifier
> >> >to
> >> >> >> >the key generated as a result of PANA authentication, where the 
> >EAP
> >> >> >> >run(s) within the PANA authentication may use any kind of
> >> >> >> >authentication credentials (device credentials or user 
> >credentials).
> >> >> >> >
> >> >> >> >Yoshihiro Ohba
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> Pana mailing list
> >> >> Pana@ietf.org
> >> >> https://www1.ietf.org/mailman/listinfo/pana
> >> >>
> >>
> >>
> 
> 
> _______________________________________________
> Pana mailing list
> Pana@ietf.org
> https://www1.ietf.org/mailman/listinfo/pana
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Tue Apr 18 08:58:16 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVpmN-0000sR-SY; Tue, 18 Apr 2006 08:58:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVpmM-0000sI-VQ; Tue, 18 Apr 2006 08:58:02 -0400
Received: from mout.perfora.net ([217.160.230.41])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FVpmM-0005MN-K1; Tue, 18 Apr 2006 08:58:02 -0400
Received: from [85.97.3.39] (helo=sysadmin13c23c)
	by mrelay.perfora.net (node=mrelayus0) with ESMTP (Nemesis),
	id 0MKoyl-1FVpm82GIH-0007gx; Tue, 18 Apr 2006 08:57:56 -0400
From: "Alper Yegin" <alper.yegin@yegin.org>
To: "'Tom Yu'" <tlyu@mit.edu>
Date: Tue, 18 Apr 2006 15:57:24 +0300
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcZZn9Z/4tKkAn+1RhyjeS0ChI1A5QJQMTeQ
In-Reply-To: <44355042.7030108@piuha.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Message-ID: <0MKoyl-1FVpm82GIH-0007gx@mrelay.perfora.net>
X-Provags-ID: perfora.net abuse@perfora.net
	login:abf7a4bb310ea4dfc9b6841113e2970f
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 93e7fb8fef2e780414389440f367c879
Cc: "'W. Mark Townsley'" <townsley@cisco.com>,
	'Jari Arkko' <jari.arkko@piuha.net>, iesg@ietf.org, pana@ietf.org
Subject: [Pana] RE: [secdir] Last Call: 'PANA Framework' to Informational RFC
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hello Tom Yu,

Thank you for reviewing the PANA WG documents. We appreciate the help.

Please see below for inlined comments.

>Russ has asked me to look at the "PANA Framework" I-D, among others 
>related to PANA.  I have read this document as a non-specialist.  As 
>such, some of the difficulties I encountered in understanding the 
>document may result from my lack of familiarity with the background 
>material.  My review will be at a somewhat high level, as I feel that I 
>lack the expertise to evaluate some of the finer details, and do not 
>feel that I understand the document sufficiently well to give a 
>thorough security review.
>
>The document cites RFC 4058 as an Informative Reference.  I found that 
>the content of the I-D to be rather incomprehensible without first 
>reading RFC 4058.  As such, I would suggest that RFC 4058 be cited as a 
>Normative Reference.  Even given RFC 4058, I found it difficult to 
>determine exact meanings of terms such as "network access".  Only 
>buried in Section 4.1.2 of RFC 4058 did I find that "network access"
>might be intended to mean "the ability to send and receive arbitrary IP 
>packets".

OK, we'll make RFC 4058 a normative reference.

>The motivations for PANA appear unclear to me from the I-D.  Reading 
>some combination of RFC 4058, in addition to the PANA WG charter, allow 
>me only a tenuous understanding of the motivations.  I will try to 
>summarize my reconstruction of the motivations.  One motivation appears 
>to be to enable a PaC with multiple data link capabilities to 
>authenticate and gain network access using any of its data links by 
>means of a unified encapsulating protocol.  This suggests that some of 
>the network access is meant to be controlled by a link-layer device.
>
>Another motivation for PANA (or perhaps it is inherited from EAP -- I 
>am not very familiar with EAP) appears to be to enable a more complex 
>architecture for authorizing network access.  The I-D suggests 
>scenarios where a mobile client may wish to connect to the Internet 
>from a multitude of data link access locations, each of which may be 
>operated by a different administrative entity, while the client may 
>wish to gain access to the Internet via a specific ISP with whom it has 
>an existing service subscription.  I suspect that this is to support 
>architectures such as having a DSL provider (who provides the client 
>data links) whose sub-IP network is distinct from the multiple ISP 
>networks to which it connects.

The following statement from RFC 4058 summarizes what PANA is:

"PANA would be a carrier protocol for EAP."

I admit we could have done a better job by calling it "an EAP lower layer"
and refer to RFC 3748 (where this term is defined).

The motivations behind PANA are documented in Appendix A of the RFC 4058.

>It appears that draft-ietf-eap-netsel-problem-03, cited in 
>pana-framework only as an Informative Reference, provides additional 
>necessary background material required to gain a good understanding of 
>the aforementioned complex network access architecture, and as such 
>should probably be cited as a Normative Reference.  A cursory reading 
>of eap-netsel-problem brings to mind the possibility of imposing an 
>Internet-scale routing problem at the data-link / access network level, 
>with associated complexity forced onto client implementations.
>It is also possible that I misunderstood the details of 
>eap-netsel-problem.

The EAP-netsel-problem I-D has somewhat a limited scope. It was meant to
capture the discussions held as part of designing an EAP-specific solution
as requested by 3GPP. We meant to expand on that work to be more
comprehensive, possibly under a new BoF/WG, but the EAP WG just wanted to
use that document to capture past discussions, not handle that problem space
in broader scope. With the current scope and status, I think it is best if
we treat that document as informational.  

>In Section 3, Figure 1 shows a diagram intended to describe the PANA 
>functional model.  It is not immediately clear whether, for instance, 
>the PaC is intended to communicate with the PAA via a pathway not 
>traversing the EP.  On the other hand, Figure 2 seems to suggest that 
>traffic between the PaC and the PAA is intended to traverse the EP.
>Accompanying text seems to favor the latter interpretation, though I do 
>not at this time have concrete suggestions for revising Figure 1.

I think we need to add some text to clarify this. The protocol/framework
does not mandate the EP be on the data path between the PaC and the PAA.
It'd be recommended to be that way, but not mandated (per protocol design).

>I am troubled by the repeated mentions of physical security.  My 
>understanding is that current IETF consensus (e.g., RFC 3552) is to 
>assume that an adversary has complete control of the communications 
>medium.  The overall architecture (or perhaps more accurately, plethora 
>of possible architectures) assumed by PANA allow the functional 
>elements (PaC, PAA, EP, AS) to be placed in multiple possible locations 
>in the network architecture, each of which has its own security 
>properties.  If this document is meant to provide guidance to operators 
>in designing networks, it should make more clear the complex security 
>properties of relationships among the functional elements and the 
>dependence of those properties on the locations of the functional 
>elements within the architecture.

I agree that we should provide some clarification on that. The only physical
security we are referring to is for the link between the PaC and the EP.
Physical security of the PAA and the AS are not relevant to PANA. And the
relevance of the former is mostly for whether a secure association protocol
is required (see Phase 2a in Figure 1 of draft-ietf-eap-keying-12.txt). [I
wish that EAP document could point out the optionality of the secure
association phase, and gave some guidelines -- so that we could simply point
at it]. The other relevance is due to EAP method selection, which is not
specific to PANA (as already stated in the document). 

>Section 11, the Security Considerations section, is very minimal, and 
>should be expanded to call out specific threats and analyses.  RFC
>4016 does not appear as a reference, though Section 11 here does refer 
>to draft-ietf-pana-pana-11, which allegedly contains security 
>considerations specific to the PANA protocol itself.  RFC 4016 probably 
>contains additional considerations specific to the architecture of an 
>access network which uses PANA, and some of these considerations should 
>probably be called out explicitly.

OK, we'll provide a reference to RFC 4016.

>
>It is not clear whether PANA is intended to provide assurances of 
>link-layer or network-layer data integrity or confidentiality to higher 
>layers, or even by what means such assurances are to be communicated.  
>Again, this is troubling in the context of repeated statements 
>regarding possible reliance on physical security.

These are relevant to "secure association" phases as illustrated in Figure 1
of draft-ietf-eap-keying-12.txt. PANA maps to the phase 1a in that figure.
1a is enabler of 2a/b, and it's the duty of 2a/b to enable L2/L3 data
integrity and confidentiality when needed.

Regards,

Alper



_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Wed Apr 19 18:29:30 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWLAt-0003h1-4L; Wed, 19 Apr 2006 18:29:27 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWLAs-0003gw-Ks
	for pana@ietf.org; Wed, 19 Apr 2006 18:29:26 -0400
Received: from mgw-ext14.nokia.com ([131.228.20.173])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWLAs-0003NH-1T
	for pana@ietf.org; Wed, 19 Apr 2006 18:29:26 -0400
Received: from esebh107.NOE.Nokia.com (esebh107.ntc.nokia.com [172.21.143.143])
	by mgw-ext14.nokia.com (Switch-3.1.8/Switch-3.1.7) with ESMTP id
	k3JMRjBo030914 for <pana@ietf.org>; Thu, 20 Apr 2006 01:27:45 +0300
Received: from daebh102.NOE.Nokia.com ([10.241.35.112]) by
	esebh107.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 20 Apr 2006 01:29:25 +0300
Received: from daebe101.NOE.Nokia.com ([10.241.35.113]) by
	daebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 19 Apr 2006 17:29:12 -0500
Received: from 10.162.253.122 ([10.162.253.122]) by daebe101.NOE.Nokia.com
	([10.241.35.113]) with Microsoft Exchange Server HTTP-DAV ; 
	Wed, 19 Apr 2006 22:29:12 +0000
User-Agent: Microsoft-Entourage/11.2.3.060209
Date: Wed, 19 Apr 2006 17:30:21 -0500
From: Basavaraj Patil <basavaraj.patil@nokia.com>
To: <pana@ietf.org>
Message-ID: <C06C242D.15993%basavaraj.patil@nokia.com>
Thread-Topic: Minutes of PANA WG meeting from IETF65
Thread-Index: AcZkANfNFpN7Tc/0EdqNzQARJNUNiA==
Mime-version: 1.0
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 19 Apr 2006 22:29:12.0810 (UTC)
	FILETIME=[AF28C4A0:01C66400]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a3f7094ccc62748c06b21fcf44c073ee
Subject: [Pana] Minutes of PANA WG meeting from IETF65
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org


Protocol for Carrying Authentication for Network Access (pana)

MONDAY, March 20, 2006
1740-1840 Afternoon Session III

CHAIRS: Basavaraj Patil <basavaraj.patil@nokia.com>
         Alper Yegin <alper01.yegin@partner.samsung.com>

Meeting minutes courtesy of: 1. Madjid Nakhjiri
(Madjid.Nakhjiri@motorola.com)

------------------------------------------------

1. Preliminaries (bluesheets, minute takers, agenda bashing, document
   status) : 5 min, Chairs

last call document:
pana-pana-11
pana-framework

pana-snmp-05 did not receive much feedback, another last call issued.

Pana-statemachine-03 ready for last call.
More work needs to be done before the last call on the following
pana-pre-auth-01, 
pana-cxtp-01
pana-mobopts...
.....

2. Base specification: 5 min, Yoshihiro Ohba
   draft-ietf-pana-pana-11.txt

Yoshi will present the issues, they are not open for discussions as the doc
is on last call.
issues on stateless PAA discovery:
-cookie example,
-concern on stateless discovery? AD expressed concern on complexibility, but
issue was rejected.
-stateless discovery indication
-PaC updating its IP address
-PANA lower layer ciphering and KDF
HMAC-SHA1 is hardcoded in the spec. More flexibility is needed.
resolution: Use IKEv2 prf+ to generate keys of arbitrary length.
-Rate limitation to responding to request (prevent DoS)
details were missing.

3. Framework: 5 min, Yoshihiro Ohba
   draft-ietf-pana-framework-06.txt

4 issues:
-Is SNMP for PAA-EP protocol mandatory?
-802.11i bootstrapping issues
--not only uncontrolled port based solution but also Virtual AP based
solution should be described.
--

Raj: The discussion was you could use other protocols than SNMP between
PAA-EP and we wanted to have one default protocol for ensuring interop, so
that is why SNMP was chosen, but people could use RADIUS/Diameter, etc.

Yoshi: Ok, agreed.

4. SNMP usage: 5 min, Yacine El Mghazli
   draft-ietf-pana-snmp-05.txt

Presented by Julien Bournelle
Julien presented changes from 04 based on ml.
typos in the MIB.
-issues on the notification usage.
resolution, we will end with a notification.

last called was done in feb. But would like to have a LC on V6.


5. Pre-authentication: 5 min, Yoshihiro, Ohba
   draft-ietf-pana-preauth-01.txt

issues were listed.
-co-existence with PANA mobopts.
After handover, How could the PaC know that is it is attached to a network
of the realm of a remote PAA with which it has a pre-auth sA?

resolution: 
PaC may find the r-PAA by 1) by running PAA discovery, or immediatley when
the PaC attaches a link layer device that is acting

-MPA reference is not needed.
res: removed reference to ohba...

Alper: how far are we from WGLC
Yoshi: we need expert reviews, after that it should be ready.

6. Context transfers: 5 min, Julien Bournelle
   draft-ietf-pana-cxtp-01.txt

avoid re-auth from scratch

issues: 
-session lifetime elapsed and so it is not enough nPAA
-how do pPAA get nPAA ID (to compute AAA-key-int)

proposal: add nPAA ID in the CDB by tlv and add text accordingly.
-details on how the PSA message is sent between pPAA and nPAA

res: text added.
-identifier for the CTD received by nPAA (match request and response)
res: a PANA specific solution was added.

Next steps: AAA interactions, AAA infrastructure needs to know PAA in charge
of the PaC.

This doc cannot go into last call unless PANA-mobopts goes to last call.
Q: What is the relation between PANA CXTP and PANA-pre-auth?
What is the prefered solution (PANA CXTP or Pre-auth)?

A: it is depending on the capability?
Q: depending on whether it is single domain or multidomain, we should have
CTXP versus Pre-auth? In that case why does the PaC needs to do capability
discovery?

Yoshi: If you had methods such as 802.21 for capability discovery, you could
know
Q: Is it mandatory to put the PANA pre-auth AVP in the spec.
To be discussed more in details.

7. PAA discovery via DHCP: 5 min, Lionel Morand
   draft-ietf-dhc-paa-option-01.txt
defines DHCP options to locate PAAs in the access network
DHCP server provides client with either....
Doc is approved as WG work item. the doc is presented in DHC WG.
change from 00:
-common draft for DHCPv4 and DHCPv6.
-redefined DHCPv4 subptions.
open issue: use of domain names
-DHCP server may currently provide IP address list or domain name list
-are unatuhenticated PaC able to reach DNS server?

Please comment.

8. PANA bootstrapping IEEE 802.11 security: 10 min, Rafa Marin Lopez
   draft-marin-pana-ieee802doti-00.txt

purpose: complement PANA framework in terms of 802.11i
PANA over 1x uncontrolled port.
PANA over non-RSN (open) AP (case 2)
PSK derivation and 4 way handshake shown
capability discovery issues discussed.

Pat C: Are we changing the semantics of 802.11i.
Q: Can we use PANA to boostrap the PSK or not?
Pat C: WiFi has a new provisioning procedure for 802.11 client. Is there a
difference there?

Alper: Is that about provisioning a master key? In this case, the client has
a master key already.

Lady: That is changing 11i, because that assumes you are using EAP or 1x.
The port is closed until you use

BoB: all data is dropped except 1x frame.
Pat C: Anybody who implements the product according to spec, will drop MSD.
Cisco: What you are trying to do is not really 802.11i. What you are doing
is a 4-way mechanism using the uncontrolled port.
Pat C: As the group goes down this path, can this implemented with issues
with that spec.

Rafa: So there is no issue with case 2?
Pat C: one of the issues what 11 is that the BSSID is not associated to a
physical device.
Rafa: there is something out of band that tells the other BSSID.

Lady: In the case 2 there is no security, so there is no issue with finding
BSSID anyway.
Nokia: how do you restrict it, if it unrestricted?

slides on 802.11i bootstrapping from PANA pre-authentication.
Pat C: how is different 802.11i or how is different from 802.11r pre-auth
Rafa: what protocol are using when two APs are not within the same
distribution systems:
Pat C: CAPWAP.
Patc: why is there so much emphasis on PSK?
Yoshi: We could also use EAP mode and bootstrap the PSK from higher layer.

Question from Rafa: should this be a WG item? informational?
 

9. Location-based Authorization Services within the PANA framework: 10 min,
   Farooq Anjum 
   draft-anjum-pana-location-requirements-00.txt

Yoshi presented. 
Requirements for LBAr was presented.
PAA must be able to obtain loc info for a PaC.
PAA must be able to determine changes in paC locations
PAA must be capable of termination network access in case PaC loca is
outside region
PaC must be to send loc ...

a bunch of issues were presented:
-privacy issues.


Q: The PAA role? location was requested by AAA infra not by PAA?
why is the loc needed at the PAA?


10. Next steps: 5 min, Chairs


Address IETF last call and IESG comments on the base spec and the framework
doc.
Please send comments on the PANA base document.

Ipsec doc is currently being reviewed by the AD.
Sam and Russel will review ait and will give comment.
Dorothy: would you consider asking for IEEE comment?
A: absolutely

state amchine to go to last call.


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Thu Apr 20 09:01:17 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWYmQ-0007zy-U2; Thu, 20 Apr 2006 09:01:06 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWYmP-0007ze-Ms; Thu, 20 Apr 2006 09:01:05 -0400
Received: from mout.perfora.net ([217.160.230.41])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FWYmO-000645-Al; Thu, 20 Apr 2006 09:01:05 -0400
Received: from [85.101.220.122] (helo=sysadmin13c23c)
	by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis),
	id 0MKp2t-1FWYm32ePH-0001wr; Thu, 20 Apr 2006 09:00:51 -0400
From: "Alper Yegin" <alper.yegin@yegin.org>
To: "'Tom Yu'" <tlyu@mit.edu>
Date: Thu, 20 Apr 2006 16:00:27 +0300
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Thread-index: AcZZn+Q13xZLNVWyTsyIW/mm6nO4CQK0pLVQ
In-reply-to: <4435505A.6030607@piuha.net>
Message-ID: <0MKp2t-1FWYm32ePH-0001wr@mrelay.perfora.net>
X-Provags-ID: perfora.net abuse@perfora.net
	login:abf7a4bb310ea4dfc9b6841113e2970f
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 156eddb66af16eef49a76ae923b15b92
Cc: "'W. Mark Townsley'" <townsley@cisco.com>, iesg@ietf.org,
	'Jari Arkko' <jari.arkko@ericsson.com>, pana@ietf.org
Subject: [Pana] RE: [secdir] Last Call: 'Protocol for Carrying
	Authentication for Network Access (PANA)' to Proposed Standard
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Tom,

Thank you, this time for your PANA review.

Please see below.

> Tom Yu wrote:
> 
> >Russ has asked me to look at the "PANA" protocol I-D, among others.  I
> >apologize for the lateness of this review; the document has not been
> >an easy one for me to read.
> >
> >Editorial nit: AVP is not expanded prior to its first use.  There are
> >probably other forward references that could use correction; I did not
> >read this document with copyediting as a goal.

We'll fix that and look for others.

> >Some aspects of the security of PANA appear to be reasonably
> >designed.  Other aspects could be problematic.
> >
> >The mechanism of using sequence numbers for prevention of blind
> >spoofing denial-of-service attacks seems reasonably sound to me.  The
> >initial sequence number is not required to be cryptographically
> >strong, but this may not be a significant problem.  The use of cookies
> >to enable statelessness on the PAA also seems reasonable.  The
> >Session-Id also appears to afford some protection against blind
> >spoofing prior to the establishment of a shared key between PaC and
> >PAA.
> >
> >It is not clear whether PANA requires mutual authentication from the
> >underlying EAP mechanism.  I'm not sure how much of a problem this
> >might be.  There are many options for how PANA may be deployed, e.g.,
> >whether the EAP method produces a AAA-key, or what the link-layer or
> >physical security capabilities are.  I was unable to find any
> >reasonably complete treatment of the security implications of the
> >interactions of particular deployment choices.  Some security
> >considerations related to deployment choices are covered in
> >pana-framework, but interaction of implementation behavior with
> >deployment security parameters should be clearly documented somewhere.
> >It's also not clear that an implementor can provide an operator a
> >simple interface for communicating the relevant deployment-specific
> >security parameters.

The selection of an EAP method to be used with PANA is outside the scope of
PANA design. This issue has applicability to any EAP lower layer, and there
is no specific design aspect of PANA to make a difference in that respect.
We captured that in Section 9 of the PANA Framework document. The same can
be said for other EAP lower layers, such as IEEE 802.1X, PKMv2, IKEv2. It'd
be more appropriate to capture such aspects in more general documents
outside PANA WG.

We haven't designed an interface (an API?) for configuring the PaC/PAA/EP.
I'm not sure one is needed. 

> >In Section 5.11, "Error Handling", and in other places, the receiver
> >of an error lacking an AUTH AVP is required to process the error
> >without changing its internal state, if the lower layer is insecure.
> >It is not clear how the receiver implementation is supposed to make
> >that determination.  Clearly, an implementation could probably detect
> >whether there is cryptographic protection at the link layer, but the
> >repeated mentions of physical security lead me to believe that the
> >authors intend for purported physical security to be factored into any
> >decision concerning whether to change state upon receipt of an error
> >message.  Elsewhere, the document indicates that the PAA has
> >knowledge, possibly configured by the operator, of whether the link
> >layer is "secure"; therefore, I assume the PaC's ability to determine
> >link-layer security would be the primary issue.

This goes back to the configuration issue. I cannot imagine the PANA
implementation dynamically discovering the lower layer capability. For that,
we need to have a configuration (file). Let us capture that in the
specification.

> >The way that PANA could interact with lower-layer security makes me
> >uncomfortable.  The ability to separate the EP and PAA functions into
> >separate entities appears to have some problematic consequences; for
> >example, the PAA needs to instruct the EP to pass traffic from the
> >PaC, but under some circumstances this can only occur by the PaC's
> >_assertion_ of its Device-Id.

And when necessary, this needs to be compounded (or, protected) by
cryptographic means. We captured that in 4.1.4 of RFC 4058, and the PANA
Framework document mentions that in several places.


> >PANA appears to circumvent the channel binding problem by essentially
> >inverting the usual conception of channel bindings; it allows
> >bootstrapping the keying of lower layers once authentication has
> >completed.  This of course assumes that the EAP method produces an
> >AAA-key.  This inversion of the usual channel binding concept could be
> >problematic; I believe that usually security in lower layers is
> >assumed to be established before security in upper layers is
> >established.

We'd be interested to know if you see specific issues with this. And I'm
wondering how different this is from enabling IPsec by first running IKE
(over UDP/IP).

> >Device-Ids which are not link-layer addresses or IP addresses are
> >potentially problematic.  If point-to-point links of various sorts are
> >used, the EP probably knows its own Device-Id and the Device-Id of the
> >PaC, but the PaC might not have any way of knowing its Device-Id as
> >seen by the EP.  If there are end-user means for configuring non-IP,
> >non-link-layer addresses as Device-Ids into the PaC, I can't imagine
> >that they would be very user-friendly, as they would likely involve
> >knowledge of the configuration of the EP.

Such Device-IDs have only local significance (as stated in Section 5.7).
They are not meant to be exchanged with the peers. They are used locally to
associate PANA sessions with the local interfaces. [I think these last two
sentences can be added to the text].


> >Even worse, as far as I can tell, with a configuration involving a
> >separated EP and PAA, the PAA has _no_ authenticated means of knowing
> >the Device-Id of the PaC except by assertion by the PaC (once
> >authenticated).  I don't think the EP is supposed to act on the
> >PaC<->PAA traffic in any way except as something like a link-layer
> >switch or IP router.  The EP thus cannot directly participate in the
> >PANA protocol in any way that would bind its perception of the PaC's
> >Device-Id to the security association (if any) built during the PANA
> >authentication.

If EP and PAA are separated and we are using locally significant Device-Ids,
then EP and PAA may have hard time indexing the PaC. I mean, how can PAA
tell the EP that "this PaC" shall be allowed to access the network? 

In that case it might appear that EP-PAA separation and locally-significant
Device-Ids don't mixup. But that's not always so. In various wireless
architectures, the EP (a base station) and the PAA (access gateway) are
separated, and the PaC (mobile terminal) traffic is tunneled between the
base station and the access gateway. The tunnel also has an attribute to
identify the mobile terminal (a session id, etc.). That'd be leveraged by
the PAA and the EP to index the PaC.

OK, we need to capture this in the document as well. 

> >If the EP and PAA are separate, it appears that the PaC's assertion of
> >its Device-Id is only really useful if it can be used, in conjunction
> >with keying material produced by the EAP method, for the purpose of
> >link-layer security or IPsec.  

I don't think cryptographic per-packet security is a mandate if EP and PAA
are separated. Think of wired Ethernet in enterprise networks. EP can be on
the Ethernet access switch, PAA somewhere else. We can retain the
non-cryptographic (physical) security used in such networks today.

> > If keying of link-layer security or of
> >IPsec does not occur, then it appears that the security is actually
> >_diminished_ from the case where EP and PAA are co-located; if they
> >are co-located, the PAA can obtain a trustworthy notion of the PaC's
> >Device-Id.

Regards,

Alper




> >_______________________________________________
> >secdir mailing list
> >secdir@mit.edu
> >https://mailman.mit.edu/mailman/listinfo/secdir
> >
> >
> >
> >


_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Thu Apr 20 18:08:57 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWhKY-00049z-IE; Thu, 20 Apr 2006 18:08:54 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWhKW-00049r-VI; Thu, 20 Apr 2006 18:08:52 -0400
Received: from mout.perfora.net ([217.160.230.40])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FWhKW-00011N-FM; Thu, 20 Apr 2006 18:08:52 -0400
Received: from [85.101.220.122] (helo=sysadmin13c23c)
	by mrelay.perfora.net (node=mrelayus1) with ESMTP (Nemesis),
	id 0MKp2t-1FWhKB21FY-0001vV; Thu, 20 Apr 2006 18:08:39 -0400
From: "Alper Yegin" <alper.yegin@yegin.org>
To: "'Bernard Aboba'" <aboba@internaut.com>
Date: Fri, 21 Apr 2006 01:08:12 +0300
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
Thread-index: AcZZn+mSbxn9LWQuSmm9IpLYuex11AK7YSlg
Message-ID: <0MKp2t-1FWhKB21FY-0001vV@mrelay.perfora.net>
X-Provags-ID: perfora.net abuse@perfora.net
	login:abf7a4bb310ea4dfc9b6841113e2970f
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6a45e05c1e4343200aa6b327df2c43fc
Cc: "'W. Mark Townsley'" <townsley@cisco.com>, iesg@ietf.org,
	'Jari Arkko' <jari.arkko@ericsson.com>, pana@ietf.org
Subject: [Pana] FW: [secdir] Last Call: 'Protocol for Carrying
	Authentication for Network Access (PANA)' to Proposed Standard
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Thank you Bernard for your review.

Please see below for inlined responses.

>I also read the document, and have to admit that I was very puzzled by 
>the deployment scenarios that were being presented.  Maybe it's just
>me, but I just couldn't figure out why an ISP would want to deploy PANA.  
>At a minimum, I think the authors need to do a better job of presenting 
>PANA's advantages and making the case for its adoption. 

The brief problem statement was captured in RFC 4058. For a more detailed
advantages discussion, I don't think protocol specification or the framework
documents are appropriate. Instead, we captured that in an FAQ. Please see
http://panasec.org/docs/PANA-FAQ.txt, question #3.


>One way the clarity of the document could be improved is
>by moving much of Section 4 up earlier in the document, since this
>section gets into the deployment scenarios envisaged for PANA. 

OK, we'll do that.

>As far as I can tell, there are two major deployment scenarios: 
>
>   a. Networks where a secure channel is already available prior to
>   running PANA
>
>In this case, the document states: 
>
>"     The PANA session can be bound to the communication channel it was
>      carried over."
>
>The use of the term "bound" is unfortunate here, because the term is 
>typically used to imply some sort of cryptographic binding, which doesn't 
>seem to be the case.  Rather, I think that the implication is that the 
>PANA session is used to provide per-port authentication on the channel. 

Maybe we should use another term, like "associated"?

>DSL is given as an example of this scenario.  However, for DSL, PPPOE has
>become quite popular, an approach which enables multiple users on a single
>wire (and traffic separation between them).  As a result, it seems to me
>that the "physical security" or "secure channel" assumption may in 
>practice prove quite restrictive. 

In the case of PPPoE, the "wire" you are referring to is the one between the
BRAS and the CPE (DSL modem) I believe. That's physically secured from
outsiders, but shared among hosts sitting behind the CPE. Unless that is
compounded by either physical or cryptographic security between the CPE and
the host (which is another piece of wire or radio link), we cannot prevent
hosts behind the CPE posing security threats to each other. So the "secure
channel" in the case of PPPoE needs to be end-to-end between the BRAS and
the end host. And that channel does not carry multiple users on it, only
one.

>The authors need to make it more clear why an ISP would want to deploy
>PANA in this scenario, as opposed to say, PPPOE. 

DSL Forum is looking at deployments without PPP (and PPPoE). For that, if
you have access to the DSL Forum documents, please take a look at  the
contribution dsl2006.174.02. The document talks about authentication
requirements for such non-PPP-based deployments. That'll also shed some
light to your first question.

>   b. Networks where a secure channel is created after running PANA
>
>This scenario seems to involve either keying of link-layer ciphersuites
>(e.g. 802.11i), or IPsec (via IKEv1 or IKEv2 binding).  However, my
>understanding is that IEEE 802.11i does not allow IP traffic to pass
>prior to completion of link layer authentication, so I'm not sure that 
>the 802.11 deployment scenario is viable.  

Currently carrying PANA over the uncontrolled port is under discussion with
IEEE. The IEEE 802.11i specification has conflicting statements with respect
to whether this approach is allowed or not (see
http://www1.ietf.org/mail-archive/web/ietf/current/msg41011.html). We'll
revise the I-D based on the IEEE resolution. 

Aside from that, please note there is another mode of operation described in
the PANA Framework document which relies on "virtual open-access AP" (see
Section 10.2.2). We verbally confirmed with the IEEE members who were
present at the last PANA meeting that this scheme was feasible. We'll do
necessary revisions per IEEE feedback.

> I also found myself puzzling
>over the IKEv1/IKEV2 deployment scenarios as well. 
>
>Some more specific comments: 
>
>"IPsec can be used for per-packet security, but nevertheless it is not the 
>only way to achieve this functionality.  Alternatives include reliance on
>physical security and link-layer ciphering."
>
>This sentence left me puzzled.  There is already an existing standard for 
>use of EAP with IPsec: IKEv2.  Since link layer authentication does not 
>bring the link to an "up" state prior to completion of authentiation, I do 
>not understand how it is possible to use PANA to key link-layer 
>ciphersuites; this would seem to require an IP interface to be operable 
>while the link was "down". 

A given L2 can be designed to allow limited IP access to unauthenticated
hosts so that they can use this pinhole to get authenticated. This is very
much akin to how 802.11 L2 allows transporting EAPOL frames but nothing else
until the station is authenticated, or how an IPsec gateway talks IKE/UDP
with the VPN client but no other non-IPsecured traffic is allowed. 

>"When the server for PANA and per-packet
>access control entities are separate, SNMP [I-D.ietf-pana-snmp] may
>be used to carry information between the two nodes."
>
>Given the issues with deployment of SNMPv3, having PANA depend on SNMPv3
>seems risky, and if earlier versions of SNMP are used (e.g. SNMPv2) it 
>seems like this could create a security problem. 

We had a long discussion among candidates, such as RADIUS, COPS, Diameter,
SNMP, and finally settled for SNMPv3. While this is the only protocol IETF
PANA WG is specifying for PAA-to-EP signaling, a given deployment is not
constrained by this choice only. In fact, several wireless architectures
already have their own version of such a provisioning protocol, that runs
between the access points (or, base stations) and the NAS. E.g.: R6 in
WiMAX, Rp in 3GPP2, etc. Those that don't have such interfaces have the
option to deploy and use SNMPv3 (or invent their own, as usual). So, I'd not
say PANA depends on SNMPv3. 


>"If the client for
>PANA configures an IPsec tunnel for enabling per-packet security,
>configuring IP addresses inside the tunnel becomes relevant, for
>which there are additional choices such as IKE [RFC2409]."
>
>Since IKEv2 already handles tunnel setup as well as EAP authentication,
>I was somewhat confused by this.  Why would PANA be needed in such a 
>scenario? 

IKEv2 does not satisfy the requirements that were set in RFC 4058, most
importantly 4.5.1. For that, and for the various other features of PANA, I
don't think IKEv2+IPsec can substitute PANA+IKEv1/IKEv2+IPsec. That's not to
say there wouldn't be any deployments using the former suite.

>Pre-PANA address (PRPA)
>
>The concept of a "pre-PANA address" does not make sense to me in a 
>link-layer authentication scenario, since the link is not even "up" at the
>time that PANA operates.  How can a host obtain an IP address on a link
>that is not in the "up" state?  The Internet layer simply is not 
>functional. 

I presume you are again referring to enabling link-layer ciphering by
EAP/PANA, right? If so, please see my earlier response.

>"Examples of secure
>association protocols include the 4-way handshake in IEEE 802.11i
>[802.11i], and IKE [RFC2409] in IPsec-based access control."
>
>While IKEv2 can serve as a secure association protocol for EAP, I
>don't understand how IKEv1 could be used for this.  
>
>The problem is that the scope of EAP keying material is defined
>by the authenticator identity advertised by the PANA authenticator (PAA). 

No, the key scope on the network side is defined by the list of Device-Ids
(IP addresses of the IPsec gateways in this case) sent by the PAA. 

>However, the binding of the pre-shared key differs within IKEv1, depending
>on the mode in use.  For example, in Main Mode, the pre-shared key is
>bound to an initiator IP address; in Aggressive Mode it is bound to an
>Initiator ID payload.  
>
>The lack of consistency between IKEv1 modes creates a problem because it
>implies that the PAA needs to advertise different authenticator identities 
>depending on the IKE mode in use.  However, the PAA cannot necessarily
>know which mode will be used, so it's not clear to me how it can announce
>an authenticator identity that can be guaranteed to work in all IKEv1 
>modes.  

Please see http://ietf.org/internet-drafts/draft-ietf-pana-ipsec-07.txt
Section 6 for the relevant details. If there is a problem we can fix in that
document.

>Also, as a practical matter, the IKEv1 pre-shared key is not typically
>implemented as a dynamic key.  For example, in FIPS 140-2 compliant
>implementations its configuration may be restricted to the 
>Crypto-Operator. 

I'm not familiar with FIPS 140-2 requirements. I'd appreciate if you can
give a pointer to the relevant details (crypto-operator, etc). Is this
something that IETF protocols must comply with? 

>I think these issues could make it difficult to deploy PANA with IKEv1. 
>Since IKEv2 already supports EAP, I am not clear why IKEv2/EAP would
>not be used as the mechanism for keying of IPsec SAs, rather than 
>PANA. 
>
>"     The EP uses non-cryptographic or cryptographic filters to
>      selectively allow and discard data packets.  These filters may be
>      applied at the link-layer or the IP-layer [I-D.ietf-pana-ipsec]."
>
>I do not understand the value of applying non-cryptographic filters for
>access control, since an attacker can simply change its source address
>and thereby access the network without impediment.  

Only if it knows the address of the victim... And that is not practical when
privacy of the communication channel is provided by the lower layers (e.g.,
wired Ethernet deployments in enterprise networks).

>"Physically secured networks (e.g.,
>DSL) or the networks that are already cryptographically secured on
>the link-layer prior to PANA run (e.g., cdma2000) do not require
>additional secure association and per-packet security.  These
>networks can bind the PANA authentication and authorization to the
>lower-layer secure channel that is already available."
>
>The document does not describe how PANA is bound to lower-layer security
>associations, and in fact, I am not clear that this kind of
>binding is permitted by those specifications.  For example in
>IEEE 802.11i, the keys are purely determined by the EAP exchange
>encapsulated within IEEE 802.1X;  any PANA exchange run on
>top of the lower layer will have no effect on the authenticator
>key cache, as it appears to the lower layer to be just another
>data flow.  Therefore I'm not clear what "bind" means in this
>context.  

I think "associate" is a better term. We should associate the PANA session
with the channel. 

>"The PaC MUST dynamically or statically configure an IP address prior
>to running PANA."
>
>In a lower layer scenario this is impossible, because the link is not
>up yet.  Am I missing something? 

Please see my earlier response.

Regards,

Alper




_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Fri Apr 28 08:16:12 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FZRtH-00004z-PY; Fri, 28 Apr 2006 08:16:07 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FZRtH-00004u-AJ
	for pana@ietf.org; Fri, 28 Apr 2006 08:16:07 -0400
Received: from smtp2.int-evry.fr ([157.159.10.45])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FZRtG-0006Eh-2M
	for pana@ietf.org; Fri, 28 Apr 2006 08:16:07 -0400
Received: from ipv6-3.int-evry.fr (ipv6-3.int-evry.fr [157.159.100.76])
	by smtp2.int-evry.fr (Postfix) with ESMTP id 30676807A
	for <pana@ietf.org>; Fri, 28 Apr 2006 14:16:04 +0200 (CEST)
Received: from jb by ipv6-3.int-evry.fr with local (Exim 4.52)
	id 1FZQxA-0001Ki-GF
	for pana@ietf.org; Fri, 28 Apr 2006 13:16:04 +0200
Date: Fri, 28 Apr 2006 13:16:04 +0200
From: Julien Bournelle <julien.bournelle@int-evry.fr>
To: pana@ietf.org
Message-ID: <20060428111604.GA5120@ipv6-3.int-evry.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-INT-MailScanner-Information: Please contact the ISP for more information
X-INT-MailScanner: Found to be clean
X-INT-MailScanner-SpamCheck: 
X-MailScanner-From: jb@int-evry.fr
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7bac9cb154eb5790ae3b2913587a40de
Subject: [Pana] PANA-Ping-Request ?
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi all,

 In the authentication phase, PaC or PAA can send PANA-Ping-Request to
 test liveness. I was wondering if both PaC and PAA could send these
 messages in the same time.

 I thought that maybe it could be sufficient to specify that it's the PAA
 which is responsible for testing liveness.

 Julien B.

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Sat Apr 29 00:03:11 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FZgfU-0003WU-00; Sat, 29 Apr 2006 00:02:52 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FZgfS-0003WP-Fd
	for pana@ietf.org; Sat, 29 Apr 2006 00:02:50 -0400
Received: from szxga02-in.huawei.com ([61.144.161.54] helo=huawei.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FZgfQ-0002yV-OJ
	for pana@ietf.org; Sat, 29 Apr 2006 00:02:50 -0400
Received: from huawei.com (szxga02-in [172.24.2.6])
	by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25
	(built Mar
	3 2004)) with ESMTP id <0IYG00EURUIZGA@szxga02-in.huawei.com> for
	pana@ietf.org; Sat, 29 Apr 2006 12:16:11 +0800 (CST)
Received: from huawei.com ([172.24.1.3])
	by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25
	(built Mar
	3 2004)) with ESMTP id <0IYG00DZUUIZAX@szxga02-in.huawei.com> for
	pana@ietf.org; Sat, 29 Apr 2006 12:16:11 +0800 (CST)
Received: from z49940 ([10.164.5.23])
	by szxml01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25
	(built Mar
	3 2004)) with ESMTPA id <0IYG00KUKUOL5K@szxml01-in.huawei.com> for
	pana@ietf.org; Sat, 29 Apr 2006 12:19:41 +0800 (CST)
Date: Sat, 29 Apr 2006 12:01:34 +0800
From: selina <zhangkewei@huawei.com>
To: pana@ietf.org
Message-id: <000001c66b41$9e060a00$1705a40a@china.huawei.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Mailer: Microsoft Outlook, Build 10.0.2627
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
X-Spam-Score: 2.5 (++)
X-Scan-Signature: 856eb5f76e7a34990d1d457d8e8e5b7f
Subject: [Pana] where is "Message-Id" field
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

hi,all

now I'm reading the draft-ietf-pana-pana-11.txt, I find in section
7,page 39,there is the following text

"Every PANA message MUST contain a message ID in its header's
   Message-Id field, which is used to determine the action that is to be
   taken for a particular message.  Figure 9 lists all PANA messages
   defined in this document"

I can't find the "Message-Id" field in Pana's header,I understand ,maybe
it's "Message Type" field in Pana's header ,is it right?
and if it's right,I think whether we can unify these two name

Thanks
Selina



_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



From pana-bounces@ietf.org Sat Apr 29 22:59:11 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Fa29K-0004Za-RQ; Sat, 29 Apr 2006 22:59:06 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Fa29J-0004ZS-Fi
	for pana@ietf.org; Sat, 29 Apr 2006 22:59:05 -0400
Received: from mgw.toshibaamericaresearch.com ([165.254.55.12]
	helo=toshi17.tari.toshiba.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Fa29I-00008z-72
	for pana@ietf.org; Sat, 29 Apr 2006 22:59:05 -0400
Received: from localhost (toshi17.tari.toshiba.com [172.30.24.10])
	by toshi17.tari.toshiba.com (8.13.1/8.13.1) with ESMTP id
	k3U2wmDq052039; Sat, 29 Apr 2006 22:58:49 -0400 (EDT)
	(envelope-from yohba@tari.toshiba.com)
Date: Sat, 29 Apr 2006 22:58:41 -0400
To: selina <zhangkewei@huawei.com>
Subject: Re: [Pana] where is "Message-Id" field
Message-ID: <20060430025841.GC30739@steelhead>
Mail-Followup-To: selina <zhangkewei@huawei.com>, pana@ietf.org
References: <000001c66b41$9e060a00$1705a40a@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Disposition: inline
In-Reply-To: <000001c66b41$9e060a00$1705a40a@china.huawei.com>
User-Agent: Mutt/1.5.11+cvs20060403
From: Yoshihiro Ohba <yohba@tari.toshiba.com>
X-Dispatcher: imput version 20050308(IM148)
Lines: 34
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 97adf591118a232206bdb5a27b217034
Cc: pana@ietf.org
X-BeenThere: pana@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Protocol for carrying Authentication for Network Access
	<pana.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:pana@ietf.org>
List-Help: <mailto:pana-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pana>,
	<mailto:pana-request@ietf.org?subject=subscribe>
Errors-To: pana-bounces@ietf.org

Hi Selina,

You are right.  "Message-Id" should be replaced with "Message Type".

Thank you for pointing this out.

Yoshihiro Ohba


On Sat, Apr 29, 2006 at 12:01:34PM +0800, selina wrote:
> hi,all
> 
> now I'm reading the draft-ietf-pana-pana-11.txt, I find in section
> 7,page 39,there is the following text
> 
> "Every PANA message MUST contain a message ID in its header's
>    Message-Id field, which is used to determine the action that is to be
>    taken for a particular message.  Figure 9 lists all PANA messages
>    defined in this document"
> 
> I can't find the "Message-Id" field in Pana's header,I understand ,maybe
> it's "Message Type" field in Pana's header ,is it right?
> and if it's right,I think whether we can unify these two name
> 
> Thanks
> Selina
> 
> 
> 
> _______________________________________________
> Pana mailing list
> Pana@ietf.org
> https://www1.ietf.org/mailman/listinfo/pana
> 

_______________________________________________
Pana mailing list
Pana@ietf.org
https://www1.ietf.org/mailman/listinfo/pana



