Return-Path: <owner-ips-outgoing@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips-outgoing@ece.cmu.edu>
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h5CMoD329594
	for <ipsml@ece.cmu.edu>; Thu, 12 Jun 2003 18:50:13 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id 9F4C589; Thu, 12 Jun 2003 18:50:12 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by osgood.ece.cmu.edu (Postfix) with ESMTP
	id B22AC87; Thu, 12 Jun 2003 18:50:05 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id B654589DF; Thu, 12 Jun 2003 18:49:49 -0400 (EDT)
Received: from hazard.ece.cmu.edu (HAZARD.ECE.CMU.EDU [128.2.129.24])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 9C08989DE
	for <ips-outgoing@sos.ece.cmu.edu>; Thu, 12 Jun 2003 18:49:49 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix)
	id 66CA77E; Thu, 12 Jun 2003 18:49:49 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix, from userid 953)
	id 2B84B8B; Thu, 12 Jun 2003 18:49:49 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by hazard.ece.cmu.edu (Postfix) with ESMTP id 6EB327E
	for <ips-outgoing@ece.cmu.edu>; Thu, 12 Jun 2003 18:49:46 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id 451FE89E0; Thu, 12 Jun 2003 18:49:46 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 7485689DE
	for <ips@sos.ece.cmu.edu>; Thu, 12 Jun 2003 18:49:44 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id E88687A; Thu, 12 Jun 2003 18:49:43 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id C2D1284; Thu, 12 Jun 2003 18:49:43 -0400 (EDT)
Received: from hotmail.com (bay7-f58.bay7.hotmail.com [64.4.11.58])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id CA1EC7A
	for <ips@ece.cmu.edu>; Thu, 12 Jun 2003 18:49:40 -0400 (EDT)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Thu, 12 Jun 2003 15:49:40 -0700
Received: from 66.167.171.107 by by7fd.bay7.hotmail.msn.com with HTTP;
	Thu, 12 Jun 2003 22:49:40 GMT
X-Originating-IP: [66.167.171.107]
X-Originating-Email: [bernard_aboba@hotmail.com]
From: "Bernard Aboba" <bernard_aboba@hotmail.com>
To: BIRAN@il.ibm.com, Jim.Williams@Emulex.com
Cc: ips@ece.cmu.edu
Subject: Re: Question on iSCSI security
Date: Thu, 12 Jun 2003 15:49:40 -0700
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY7-F580MjkatwD43o000703f0@hotmail.com>
X-OriginalArrivalTime: 12 Jun 2003 22:49:40.0545 (UTC) FILETIME=[E882C310:01C33134]
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-9.8 required=5.0
	tests=BAYES_01,QUOTED_EMAIL_TEXT
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

The attack you describe requires that:

a) No authorization check occurs. Authorization checks prevent 
man-in-the-middle attacks because a potential man-in-the-middle needs to be 
authorized to act in both roles.  Just because a host can successfully 
authenticate with IKE does not mean that it is authorized to act as an iSCSI 
initiator or target.  For example, my laptop has an IKE certificate on it -- 
am I authorized to bring up my machine on the corpnet as an iSCSI Target? Of 
course not. Without authorization checks any host with appropriate IKE 
credentials can act as an iSCSI Target. Given this, man-in-the-middle may be 
the least of your problems.

b) Tunnel mode is negotiated without filters.  If "any to any" is 
negotiated, then the explicit intent is to allow hosts other than the host 
that brought up the tunnel to use it.  If that's not what is desired, then 
it's probably better to negotiate the tunnel mode SA "from me to you".

c) iSCSI/IKE authorization cross-check. Even if filters are negotiated, and 
even if a host is authorized to act as an iSCSI initiator, it may not be 
authorized to act as an iSCSI initiator with a particular iSCSI identity. So 
it may be necessary to cross-check the iSCSI identity against the IKE 
identity, and ensure that they are appropriate for use with each other.



>                       "Williams, Jim"
>                       <Jim.Williams@Emu        To:       
>"'ips@ece.cmu.edu'" <ips@ece.cmu.edu>
>                       lex.com>                 cc:
>                       Sent by:                 Subject:  Question on iSCSI 
>security
>                       owner-ips@ece.cmu
>                       .edu
>
>
>                       12/06/03 21:50
>
>
>
>
>
>
>
>I am not up to speed on security and IPSec, so
>there is probably a simple answer to this.  I
>would be curious to know what it is.
>
>
>Scenario:
>
>A is an unwitting initiator, B is a malicious
>target, and C is a victim target.
>
>A attempts to log into B using IPSec.  B establishes
>IPSec SA with C.  B is honest to IKE about its identity.
>After establishing SA, B attempts to log into C, but
>lies to the iSCSI layer and claims to be A.
>B uses classic man-in-the-middle technique to get
>A to respond to C's login challenge.  If this
>works, then B has successfully logged into C
>as A.
>
>There are a number of similar scenarios with the
>common thread that the attacker is truthful about
>his identity to the IPSec layer, but lies about
>his identity to the iSCSI layer.
>
>These attacks are easily defeated if the iSCSI
>layer cross checks remote end's identity with the
>IPSec layer.  But it is not clear how this is done
>and whether it will be done or is required to
>be done.
>
>If the IPSec layer verifies that the IP address
>INSIDE the tunnel really belongs to B, and iSCSI
>verifies that the IP address it sees really belongs
>to A, and the data consulted for the verification
>is secure, then one of these checks should fail,
>but this seems like a stretch.
>
>But perhaps I am missing something simple.
>
>
>
>
>

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

