Re: [Rats] Android attestations: Re: draft-richardson-rats-usecases-00 comments

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 05 July 2019 20:35 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D45A412010D for <rats@ietfa.amsl.com>; Fri, 5 Jul 2019 13:35:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 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] 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 jnUtFgoiSmpp for <rats@ietfa.amsl.com>; Fri, 5 Jul 2019 13:35:19 -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 6510E1200D6 for <rats@ietf.org>; Fri, 5 Jul 2019 13:35:18 -0700 (PDT)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id 186B938197; Fri, 5 Jul 2019 16:33:20 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id C2B0EB26; Fri, 5 Jul 2019 16:35:16 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carl Wallace <carl@redhoundsoftware.com>
cc: "rats@ietf.org" <rats@ietf.org>
In-Reply-To: <CAGNP4BmSwTvyQ7xVPEC=LizDbRfeG9PQsZGfmBuuq6Ewu52-kA@mail.gmail.com>
References: <MW2PR00MB03963ABEB87211AD28A16240A6490@MW2PR00MB0396.namprd00.prod.outlook.com> <12503.1552447661@localhost> <219648D6-188A-429D-A13F-ED6155DE9016@island-resort.com> <14288.1553710783@dooku.sandelman.ca> <4EB6FF13-2DAF-4BDC-AC90-C46720D61AF0@arm.com> <bf003513-209a-7d5f-a9a5-58ade6c23545@gmail.com> <21417.1560911502@dooku.sandelman.ca> <fbc05f84-232b-7ca6-47c1-9b23d73e47ca@gmail.com> <CAFyqnhUkVaYMtjpB9wa4h6hEwd=h3hXHkCr9w8bd8LSXEo0ckA@mail.gmail.com> <D93100A6.E0A23%carl@redhoundsoftware.com> <2294.1562352434@localhost> <CAGNP4BmSwTvyQ7xVPEC=LizDbRfeG9PQsZGfmBuuq6Ewu52-kA@mail.gmail.com>
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: Fri, 05 Jul 2019 16:35:16 -0400
Message-ID: <28305.1562358916@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/i_8RVNisp6p8oTqUtmx2WL-RJ64>
Subject: Re: [Rats] Android attestations: Re: draft-richardson-rats-usecases-00 comments
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Remote Attestation Procedures <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jul 2019 20:35:22 -0000

Carl Wallace <carl@redhoundsoftware.com> wrote:
    > [CW] The problem that motivated the question is establishment of trust in a
    > public key associated with a specific device (i.e., the device in my hand
    > not any authentic XYZ device). The suggestion is to use an attestation
    > encrypted for a given relying party to convey something the relying party
    > can verify (i.e., a challenge password or TOTP value) along with the key
    > attestation. This could establish trust more conveniently than more manual
    > mechanisms like verifying hashes. An app could certainly perform this
    > function given an attestation but there may be value in performing this
    > step at a lower level, depending on whether the lower level validated the
    > key at all (else just doing encryption in the app would be equivalent).

Some other emails and slides went back and forth privately.

Carl is looking at a self-service SCEP situation where a Time-base One-Time
Password (TOTP) is used to validate an enrollment process.

If he were using a strictly online mechanism like EST(RFC7030), then the TOPT
could be used to authenticate the TLS connection (using some EAP method, for
instance).

But, my understanding is that this goal is a mechanism which can operate with
some kind of store and forward situation such that an object-based security
for the PKCS10 CSR.

I'm not convinced this is in scope as a RATS use case.
Please tell me otherwise.

    >> When you say challenge password, I think you mean some kind of nonce
    >> a relying party might send to the device in order to maintain freshness.
    >> That also seems like a solution to a problem, the nature of which I'm
    >> unclear
    >> about.

    > [CW] In the solution that motivated the question two TOTP values are used
    > to establish trust in a device key. The first used to present a fresh key
    > to a portal, the second used to capture affirmation of a person that the
    > hash check was performed and the device key is trusted. If the first OTP
    > was encrypted with an attestation, the second is potentially unnecessary.

So the trusted base of the system would be attesting that the hash check was
displayed to the user?    Maybe I don't understand what is being checked by a
human that could be skipped.


--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-