Re: [6tisch] ASN replay attack -- proposed text

Michael Richardson <mcr+ietf@sandelman.ca> Tue, 30 July 2019 13:15 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F834120157 for <6tisch@ietfa.amsl.com>; Tue, 30 Jul 2019 06:15:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 SSi27TDAiyt6 for <6tisch@ietfa.amsl.com>; Tue, 30 Jul 2019 06:15:31 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B83812017E for <6tisch@ietf.org>; Tue, 30 Jul 2019 06:15:24 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 719ED3808A; Tue, 30 Jul 2019 09:14:59 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 97CB1980; Tue, 30 Jul 2019 09:15:23 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: =?utf-8?B?TWFsacWhYSBWdcSNaW5pxIc=?= <malisa.vucinic@inria.fr>
cc: 6tisch <6tisch@ietf.org>
In-Reply-To: <187B5557-C49C-44A3-AD16-C4CFF00FB91B@inria.fr>
References: <187B5557-C49C-44A3-AD16-C4CFF00FB91B@inria.fr>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Tue, 30 Jul 2019 09:15:23 -0400
Message-ID: <31228.1564492523@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/3H0DHz4FA4I-N697sNhGoPHmPjU>
Subject: Re: [6tisch] ASN replay attack -- proposed text
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jul 2019 13:15:34 -0000

> At the time of the synchronization, the EB frame can neither be authenticated
> nor its freshness verified.

I suggest:

> At the time of the synchronization, the EB frame can neither be authenticated
> nor its freshness verified.  An attacker could have fabricated the EB, or
> may have simply replayed a previous EB (see RFC7416, many sections,
> including section-7.3.5). The pledge has no way to know at this point.

I think that you should move the attack description earlier.
The attack described is a kind of wormhole MITM attack, and I think it is
useful to reference 7416.

> that is normally in use in the network.

this is probably too vague.  I think it's the active K1.

- The frames should be passed to the upper layer for processing using the
- promiscuous mode of {{IEEE802.15.4}} or another appropriate mechanism.

+ The pledge should be placed into promiscuous mode of {{IEEE802.15.4}}
+ (or another appropriate mechanism implementation specific mechanism)
+ in order that they can be passed to the upper layer for processing
+ despite the frames failing the security check due to lack of a key.

{I can put these into github if you like, but I will finish reading the
thread first}

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [