Re: [Iot-onboarding] BRSKI : proximity registrar cert and MITM question
"M. Ranganathan" <mranga@gmail.com> Wed, 19 February 2020 15:55 UTC
Return-Path: <mranga@gmail.com>
X-Original-To: iot-onboarding@ietfa.amsl.com
Delivered-To: iot-onboarding@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F7A1120169 for <iot-onboarding@ietfa.amsl.com>; Wed, 19 Feb 2020 07:55:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 voR_1fzS8SYg for <iot-onboarding@ietfa.amsl.com>; Wed, 19 Feb 2020 07:55:49 -0800 (PST)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B24D120154 for <iot-onboarding@ietf.org>; Wed, 19 Feb 2020 07:55:49 -0800 (PST)
Received: by mail-io1-xd2d.google.com with SMTP id m25so1075712ioo.8 for <iot-onboarding@ietf.org>; Wed, 19 Feb 2020 07:55:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=it4wPlC1Gv0rQs9Xul8uPL8/tCMRcf7qe/Xw2N2aTaI=; b=NKNuRem79Us/qjqOVJqS+YCQaIswLqY7JVdsEwasBxxPHnnkkMGM8oPdAUZVmpbatx KRFNMP3GsFvZkRNfZc9PiJrQyTbbfQPeEwn+aYxzSrBgqKbtw2gMYnDNGT5bddoeD1O0 V1dUFq332id8jjww29veEpt+sdpt5QjPcfk6s1U2YIPTbHskaqMQsRTaRh6bKev9+KAH F1UlhEs408Zz5m6MfR2trLFskHkxOyAYJv7qRS0kdU0F9mwKwur4Y9TS4vD+8ByK7kHE BEXnwSLlXz0aes+alz/CCicoW5yi/xyK8lSdcMlKjLKjj+wIGyHRBnxm9RSUbWFSSnle 3PsQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=it4wPlC1Gv0rQs9Xul8uPL8/tCMRcf7qe/Xw2N2aTaI=; b=mFCqYjMxgQ5w5PFfpqyl944AqqpU7Ktxml5eVnp5LuRAdrWYShT68LfQvJXpRjZBH2 DhdL8ivWk1sS5aIHGKh9nT36LyX14qaG58EklkxUZ/5j6S2fndlGRAb8jDPb3aLBLF0/ qbdMITiQeLnR0UGCgyWBGaBEYiYCGw4OD00g1+7u4KrDxAK5+/+gOMZc7PvMg3t8aLWX +wM/HNTNDexiaLaz7iU64yMGJf89n4VmRa5bJcMGKmxFbv1VSwKejZK4JzeL/0VYsCqP huaQJHMjW6nlqUtjWogwZDU2B/fbntppVYZvQJ8yqVcSh4V40qdbojJmrNoTXi84KLFs ooqw==
X-Gm-Message-State: APjAAAU8Av3hh6G3Q529bUJI92c7FlHUciYZjiNTtezKOVmmFel0+GAy W3DxbmR+E6yzuDo3wb0Gd+xTxknQsl3YEUfaik0=
X-Google-Smtp-Source: APXvYqz1BNkqb6TSOLu4sHOaO9B2xndqDiWzV7jffP3yForLcdDF8wh+abLN2ApQNoLG1uHI+U7+tXydO0jcDhahgCk=
X-Received: by 2002:a6b:e601:: with SMTP id g1mr19991865ioh.55.1582127748425; Wed, 19 Feb 2020 07:55:48 -0800 (PST)
MIME-Version: 1.0
References: <CAHiu4JPRyNT=DmykHw6KaU+Q6X_o70Zc_+i0NosM-zU_iiRSZg@mail.gmail.com> <25486.1582103702@dooku>
In-Reply-To: <25486.1582103702@dooku>
From: "M. Ranganathan" <mranga@gmail.com>
Date: Wed, 19 Feb 2020 10:55:12 -0500
Message-ID: <CAHiu4JO2oBKeTypA+opUMOhCcWeuxJ-Vi8=qzji8dUMbQ6fP7A@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: iot-onboarding@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/iot-onboarding/M5Iurw5pUBM2mEXfUjFhRSpsWYU>
Subject: Re: [Iot-onboarding] BRSKI : proximity registrar cert and MITM question
X-BeenThere: iot-onboarding@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IoT onboarding mechanisms <iot-onboarding.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/iot-onboarding>, <mailto:iot-onboarding-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iot-onboarding/>
List-Post: <mailto:iot-onboarding@ietf.org>
List-Help: <mailto:iot-onboarding-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iot-onboarding>, <mailto:iot-onboarding-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Feb 2020 15:55:51 -0000
On Wed, Feb 19, 2020 at 4:15 AM Michael Richardson <mcr+ietf@sandelman.ca> wrote: > > > M. Ranganathan <mranga@gmail.com> wrote: > > The BRSKI spec says that the pledge needs to send the proximity > > registrar certificate when it requests a voucher. This establishes to > > the registrar that it is the same pledge with whom it established a TLS > > association. Can the server certificate be re-used if a different > > pledge connects? > > The registrar uses the same certificate for all pledges. > The pledge puts that certificate into the voucher request, which is a kind of > witness to the connection. > > > I don't understand the MITM scenario. An example would be helpful. > > Which specific scenario are you talking about? Thanks for your response. In section 5.2 it says : The registrar confirms that the assertion is 'proximity' and that pinned 'proximity-registrar-cert' is the Registrar's certificate. If this validation fails, then there is an On-Path Attacker (MITM), and the connection MUST be closed after the returning an HTTP 401 error code. I was wondering about how that could occur and was trying to construct a MITM attack which would be thwarted by having that certificate. > A lot of situations turn out to be difficult to construct in a convincing way > because the device is authenticated by it's IDevID, and so a MITM would have > to have an acceptable IDevID as well. The device signs the request with it's private key and likewise accepts a Voucher signed by the MASA which it has the ability to verify. How can a MITM intervene? > > -- > ] Never tell me the odds! | ipv6 mesh networks [ > ] Michael Richardson, Sandelman Software Works | network architect [ > ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [ > -- M. Ranganathan
- [Iot-onboarding] BRSKI : proximity registrar cert… M. Ranganathan
- Re: [Iot-onboarding] BRSKI : proximity registrar … Michael Richardson
- Re: [Iot-onboarding] BRSKI : proximity registrar … M. Ranganathan
- Re: [Iot-onboarding] BRSKI : proximity registrar … Michael Richardson
- Re: [Iot-onboarding] BRSKI : proximity registrar … M. Ranganathan
- Re: [Iot-onboarding] BRSKI : proximity registrar … Michael Richardson