Re: [6lo] New I-D draft-delcarpio-6lo-wlanah-00.txt - security

Alexandru Petrescu <alexandru.petrescu@gmail.com> Thu, 18 June 2015 17:04 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 138661B3331 for <6lo@ietfa.amsl.com>; Thu, 18 Jun 2015 10:04:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.983
X-Spam-Level:
X-Spam-Status: No, score=-4.983 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id awzcXBy1p5mP for <6lo@ietfa.amsl.com>; Thu, 18 Jun 2015 10:04:50 -0700 (PDT)
Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.167.192.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90A2D1B3321 for <6lo@ietf.org>; Thu, 18 Jun 2015 10:04:41 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id t5IH4d1G008528; Thu, 18 Jun 2015 19:04:39 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 230EF2043FE; Thu, 18 Jun 2015 19:07:26 +0200 (CEST)
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 129BF20426A; Thu, 18 Jun 2015 19:07:26 +0200 (CEST)
Received: from [127.0.0.1] (is227335.intra.cea.fr [10.8.34.184]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id t5IH4cu5016363; Thu, 18 Jun 2015 19:04:38 +0200
Message-ID: <5582FA26.6050506@gmail.com>
Date: Thu, 18 Jun 2015 19:04:38 +0200
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Felipe Del Carpio <felipe.del.carpio@ericsson.com>, "6lo@ietf.org" <6lo@ietf.org>
References: <5EF40C5436D7B040B95EE286EE383A9C0BF20226@ESESSMB101.ericsson.se> <5581A8BA.2010202@gmail.com> <5EF40C5436D7B040B95EE286EE383A9C0F7C7538@ESESSMB108.ericsson.se> <5582EAE8.7040507@gmail.com> <5EF40C5436D7B040B95EE286EE383A9C0F7CA8A0@ESESSMB108.ericsson.se>
In-Reply-To: <5EF40C5436D7B040B95EE286EE383A9C0F7CA8A0@ESESSMB108.ericsson.se>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/ZRbxfshSx2bUcIq_yeGLZsx0bwE>
Cc: Roberto Morabito <roberto.morabito@ericsson.com>, MARIA INES ROBLES <maria.ines.robles@ericsson.com>
Subject: Re: [6lo] New I-D draft-delcarpio-6lo-wlanah-00.txt - security
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 17:04:52 -0000

Le 18/06/2015 18:26, Felipe Del Carpio a écrit :
> Dear Alexandru,
>
> This security considerations needed to be study with more detail. I
> imagine that the comments are general to all 6LoWPAN specifications
> (802.15.4/BLE/etc.).

In general one can say so.

But each of these drafts (BTLE, 15.4, 11ah, NFC, G-9x) are different.

> The IEEE 802.11ah specs defines only PHY(L1) and MAC(L2), they don't
> mention IPV4/IPv6 or 6LoWPAN in any way. This is the reason to start
> this conversation on 6Lo WG.

I think the IEEE specs should define much of what the LOWPAN_IPHC does.

And many IEEE 802.11 specs do talk IPv6.

Alex

>
> Br, Felipe
>
>> -----Original Message----- From: Alexandru Petrescu
>> [mailto:alexandru.petrescu@gmail.com] Sent: Thursday, June 18, 2015
>> 7:00 PM To: Felipe Del Carpio; 6lo@ietf.org Cc: Roberto Morabito;
>> MARIA INES ROBLES Subject: Re: [6lo] New I-D
>> draft-delcarpio-6lo-wlanah-00.txt - security
>>
>> Dear Felipe,
>>
>> Le 18/06/2015 12:28, Felipe Del Carpio a écrit : [...]
>>> [FDC] Please note that there is no intermediary routers in
>>> 802.11ah.
>>
>> Ok. I meant IPv6 routers:
>>
>> +-----------+      +-----------+        ---------
>> +-----------+ |11ah device|------|IPv6 router|-------|Internet
>> |-----|11ah device| +-----------+      +-----------+
>> ---------      +-----------+
>>
>>> However we believe that IPsec can be implemented in this kind of
>>> networks following
>>> [https://tools.ietf.org/html/draft-raza-6lowpan-ipsec-01]
>>
>> Well, that draft seems to be trying to compress IPsec headers,
>> similarly to LOWPAN_IPHC substituting new headers for RFC2460 IPv6
>> headers.
>>
>> But the LOWPAN_IPHC header is insecure, whereas the IPv6 Base
>> Header is secured by IPsec.
>>
>> The risk includes faking LOWPAN_IPHC headers between two 11ah
>> devices in the same subnet.
>>
>> Waht do you think?
>>
>> Further, you are saying in the draft the following:
>>> The security considerations defined in [RFC4944] and its update
>>> [RFC6282] can be assumed valid for the 802.11ah case as well.
>>
>> Neither RFC6282 nor RFC4944 offer a security mechanism for the
>> LOWPAN_IPHC header.
>>
>>> Indeed, the transmission of IPv6 over 802.11ah links meets all
>>> the requirements for security as for IEEE 802.15.4.
>>
>> No.
>>
>> The transmission of IPv6 over 802.11ah links requires that IPsec
>> works fine on them.  An IPv6 11ah-only device must be able to use
>> IPsec to protect its IPv6 communications with an IPv6 11b-only
>> device in the same subnet.  And an IPv6 11ah-only device must be
>> able to use IPsec to protect its IPv6 communications to an IPv6
>> 11ah-only device across the Internet.
>>
>> These are the security requirements for IPv6 over 11ah.
>>
>> Do you agree?
>>
>>> The standard IEEE 802.11ah defines all those aspects related with
>>> Link Layer security.
>>
>> Where?  Is a document publicly available?
>>
>> Is the Link Layer security defined by IEEE 802.11ah protecting the
>> LOWPAN_IPHC header?
>>
>> Does IEEE 802.11ah even mention LOWPAN_IPHC?
>>
>>> As well as for other existing WiFi solutions, 802.11ah Link
>>> Layer supports security mechanism such as WPA, WPS, 802.1X.
>>
>> But neither of these (WPA, WPS, 802.1X) carry LOWPAN_IPHC headers
>> as far as I know.  They carry IPv6 Base Headers, ethertype 0x86dd.
>>
>> Alex
>
>