Re: [kitten] SPAKE Preauth

Nico Williams <nico@cryptonector.com> Sat, 02 May 2015 23:16 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9387A1A9125 for <kitten@ietfa.amsl.com>; Sat, 2 May 2015 16:16:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.634
X-Spam-Level: *
X-Spam-Status: No, score=1.634 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_31=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=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 xKcfHGaIO7mq for <kitten@ietfa.amsl.com>; Sat, 2 May 2015 16:16:07 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id E0E511A8FD5 for <kitten@ietf.org>; Sat, 2 May 2015 16:16:07 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 90CA5B805B; Sat, 2 May 2015 16:16:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=ee/yCi6s4+KN8r vL2lC2Efwnx+o=; b=KNyVv4tk+D0ziGr6vZkco4FbbKDYyYhmcL1G9A2YoWdrVM E6e9psVvrD1RuRBMuXc8PftbFVz+NX38bWCAntF4EBs93ZgxunEsHaW92D8B9PCn 5el1Vyy88RW9a4FuSl59fYOdHY7IfkxX/5vTJfdQKS9/qV91iysn9ySeQyhC8=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPA id 5DA04B8058; Sat, 2 May 2015 16:16:07 -0700 (PDT)
Date: Sat, 02 May 2015 18:16:04 -0500
From: Nico Williams <nico@cryptonector.com>
To: Nathaniel McCallum <npmccallum@redhat.com>
Message-ID: <20150502231603.GG10065@localhost>
References: <1430138754.2682.10.camel@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1430138754.2682.10.camel@redhat.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/q8TNaGAmnVYyRRd4NOhiUJzrCi0>
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] SPAKE Preauth
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 02 May 2015 23:16:08 -0000

In addition to adding some standard OTP-ish second factors, I'd like to
have a way to "augment" the PAKE with the same user password so as to
improve resistance to KDC database compromise.

For example, if we had a password->signature key algorithm then we could
have a second factor that consists of a signature of the AS' and user's
PAKE public keys (say; handwaving a bit)m and then the AS ends up
storing w (from the PAKE) and the public key for the signature.

If we salt the password differently to derive w and the siging key, then
the AS ends up storing not a password equivalent, but a password
verifier.  That makes KDB compromise somewhat less bad than today, since
attackers would have to mount off-line dictionary attacks, giving realm
operators more time to have users change their passwords.  (Service keys
remain a problem, but that can be addressed too, separately.)

But augmenting the PAKE this way means we may need to use two second
factors: one to augment the PAKE, and one that's the actual OTP-ish
second factor.  That will require some tweaking of the proposed
protocol.

Nico
--