Re: [VoT] Security Problem with Primary Credential Usage

Chris <cnd@geek.net.au> Fri, 13 May 2016 09:48 UTC

Return-Path: <cnd@geek.net.au>
X-Original-To: vot@ietfa.amsl.com
Delivered-To: vot@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CE8112D0CC for <vot@ietfa.amsl.com>; Fri, 13 May 2016 02:48:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.593
X-Spam-Level:
X-Spam-Status: No, score=-4.593 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_IADB_DK=-0.095, RCVD_IN_IADB_LISTED=-0.001, RCVD_IN_IADB_RDNS=-0.235, RCVD_IN_IADB_SENDERID=-0.001, RCVD_IN_IADB_SPF=-0.059, RCVD_IN_IADB_UT_CPR_MAT=-0.001, RCVD_IN_IADB_VOUCHED=-2.2, SPF_HELO_PASS=-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=geek.net.au
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 R6kis9No4A8b for <vot@ietfa.amsl.com>; Fri, 13 May 2016 02:48:28 -0700 (PDT)
Received: from srve.com (srve.com [208.69.183.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8FF112D0A9 for <vot@ietf.org>; Fri, 13 May 2016 02:48:28 -0700 (PDT)
Received: from [172.22.0.125] (nsa.emsvr.com [120.151.160.158]) (authenticated bits=0) by srve.com (8.13.8/8.13.8/CWT/DCE) with ESMTP id u4D9mI8S030555 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 13 May 2016 09:48:22 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geek.net.au; s=20131023; t=1463132904; bh=/F8oFw6vh+gjpc6G8hhbGMj2msfPQlAmjhUEIEgPwrM=; h=Date:From:To:CC:Subject:In-Reply-To:References; b=rSDRuOrz8eo0Nzh2bRxiHOc0HIqvu6h4+IZ6632Q1zKAqpnU8brjFyn6IHJN50740 dZu06rr4SQijFUl69oHSx4yjBmyiBY+hJSPKQmPeRESbih8TZtdiUIBvQ1MCK1DsiU RS7Cp/HaVi2kg2hlZa0uufTt/xmmiUsi6w6H/F/Jx+poyXA/rTTOfCJ2NSpwsAtVL1 EDvGHoPOmPzpmcPTtE4hFSJzEO+v2uTDktf/Qcpd3LgnzZmtwy6XqOBDVNjhmkbUhD D9oxOJqGGmsRWKN4JRjBrGfn/DNNxYB8nr5nSkaEZ4xg9UThELrujxSALaVfcYI+w1 /AB+59kEwSXZw==
Date: Fri, 13 May 2016 19:48:21 +1000
From: Chris <cnd@geek.net.au>
X-Priority: 3 (Normal)
Message-ID: <329351357.20160513194821@CryptoPhoto.com>
To: Julian White <jwhite@nu-d.com>
In-Reply-To: <CAL4gWiLS+Z15QApwLTiLw4rT8xQW4ALQL5aP6BD0=m6RxvMLSg@mail.gmail.com>
References: <1523279479.20160508222427@CryptoPhoto.com> <CAL4gWiJDg4CDFpwGm-AAJXig9f8HXYNyCRUrm+yirs5ntSfiNw@mail.gmail.com> <753DBE1F-3891-4BB6-811B-5B8682A81A28@mit.edu> <CAL4gWiJJtsEPk=5+vrtQpx4zsV04jjtZPh0CpxZs7cPBJxJa5w@mail.gmail.com> <CAL4gWiLS+Z15QApwLTiLw4rT8xQW4ALQL5aP6BD0=m6RxvMLSg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----------06E0D81C21D2396DB"
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRWlGSWpSXmKPExsVSMX3BPN1jC03DDU5+U7M4vXo3s8WGay9Z LdavP8Vo0fDzAasDi8eSJT+ZPJrOHGX2aPnQweax68ZjlgCWKNbMvKT8igTWjKu75zAWPEyp OPZiInMD4+OQLkZODiGBZImmE1NZuhi5OFgE1rFIvP12lRkkwSKgKtH/+hqYzSYgKzG94ROY LSEgJjFh3S8wm1fATOJHx1xmiEFKEnd7N7CD2CJA9tnulawgNrOAocSN821gcWEBR4n/zSeA bA4OToFAiZsfmUD2CgnsY5LY1bqBFWKmoMTJmU9YIHp9JHZO2co4gZFvFpLULCQpCFtd4s+8 S8wQtrxE89bZQDYHkK0msaxVCVl4ASPbKkahslyzRL3k1KKS1NzEzBy95PzcTYzAIK5nYGDc wfjyqMchRgEORiUe3gQl03Ah1sSy4srcQ4ySHExKorxZ04BCfEn5KZUZicUZ8UWlOanFhxhl ODiUJHhDgLEjJFiUmp5akZaZA4w6mDQTB+chRgkOHiUR3mSQGt7igsTc4sx0iPwpRkkpcd6C BUAJAZBERmkeXO8lRlEpYd78eUA5noLUotzMEoj4K0ZxoAuFeVeBjOPJzCuBm/YKaBET0KLq 60Ygi0oSEVJSDYwFiYeYv25WPdMeu/2RyUGjV0rn2rs2JmqoFb67Ylaz15ppZsOLS5Uv3DZu N7kX3bu/UP5B1dT4CkaLCSubGK5wPz7p2yfoNvmSRNbhX8e9v+82/nfqhlWe1yHlQ0K613MO Sr24LCi/TPXIU34bZYcTFjsjVnx+OCm4mueRx8W9hiZf3VLfiHkpsRRnJBpqMRcVJwIAhfC/ 0eQCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/vot/CoB5-lNKCEY0bNFMp0oxPPFHhhU>
Cc: vot@ietf.org, Justin Richer <jricher@mit.edu>
Subject: Re: [VoT] Security Problem with Primary Credential Usage
X-BeenThere: vot@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Vectors of Trust discussion list <vot.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vot>, <mailto:vot-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/vot/>
List-Post: <mailto:vot@ietf.org>
List-Help: <mailto:vot-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vot>, <mailto:vot-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 May 2016 09:48:31 -0000

Hi Julian,

It is like I said at the start.  The entirety of the trustmark idea evaluates to one single strength - everything is equally untrustworthy, because it's all only unidirectional.

You can't solve trust without fixing BOTH ends.  It is a two-way street.  For as long as a user and proxy are indistinguishable, C0 == Ca == Cb == Cd == Ce == Cf.

I know it sounds like a little problem, but so was the debris on that last Concorde's runway.  This is the show stopper.

Chris.


Friday, May 13, 2016, 5:52:55 PM, you wrote:


Justin,

For my own clarity, can the RP pass a request for a specific trustmark, or list of trustmarks that it will accept? The text seems to imply that they will get whatever trustmark the IdP sends and have to make a decision based on that each time. In reality, since the evaluation of the trustmark is a cumbersome manual process I suspect RP's will whitelist trustmarks that they will accept so then it seems inefficient for and IdP to return a response under a trustmark the RP won't accept.

Thanks,

Julian.

On 12 May 2016 at 19:49, Julian White <jwhite@nu-d.com> wrote:
That makes sense, tho that didn't come across in the description of the trustmark.
Julian
On 12 May 2016 19:45, "Justin Richer" <jricher@mit.edu> wrote:
We explicitly left those kinds of things out of the vector as they’d really be related to the IdP itself and not the authentication transaction to which the VoT refers. In other words, the security of the IdP is related to the trust framework and assessment of the IdP and it can be published as part of the IdP’s discovery documents and associated trust marks. This is information that is going to remain the same regardless of the transaction. 

This is also part of why you need to have a trustmark context to interpret the VoT in.

 — Justin

On May 12, 2016, at 11:11 AM, Julian White <jwhite@nu-d.com> wrote:

Hi,

I have a number of comments and questions (see attached), many of which are related to the issues raised by Chris, some maybe my misunderstanding coming in half way through the drafting tho.

I, like Chris, also think there needs to be something more explicit around the "security" of the IdP authentication which includes the measures to try and detect 'odd' things (like MITM). I would also go one step further in that I also want to know about the maturity of the IdP's "security", its of no use to me if they have really good credentials but store all the data in the clear on their website or have a load of administrative back-doors that could let anyone generate a valid authentication response.

It feels like we need to do more work in this area.

Regards,

Julian.

On 8 May 2016 at 13:24, Chris <cnd@geek.net.au> wrote:
Hi All,

I think there is a critical flaw in section 3.2 of https://tools.ietf.org/html/draft-richer-vectors-of-trust-02 (Primary Credential Usage)

Mutual-authentication is missing.  When no provision is made to prevent man-in-the-middle, credential harvesting, spoof, phishing, malware, or other common threats, this renders all possible vectors C0, Ca, Cb, Cd, Ce, Cf, and others equally untrustworthy.

We should consider inclusion either for the overall strength of the authentication process, or some breakdown of either all the techniques used or the strength of protection employed to thwart at least common attack scenarios.

This problem gets tricky quite fast:

Do we identify the authentication technology vendor? (if yes - who works out their resistance strength to common attacks?  what about different modes?)
Do we broadly identify the techniques (whos opinions count as to whether or not the technique is effective and against what threats?)
Do we identify or classify the threats and indicate which ones were mitigated (who should be trusted to decide if these really were mitigated?)

For example - tamper-proof hardware digital certificate devices with biometrics unlocks are totally useless, if the user paid no attention to a broken SSL warning, or has malware.  They're also equally useless in most corporate environments that use deep-packet inspection firewalls - and "unexpected certificates" (eg. from DPI or malicious) carry their own privacy problems (eg: passwords are not as "protected" as you think).  Much more common authentication "protection" of course, are two-step or sms one time codes - which are equally useless when an end user can be tricked into revealing them to spoof sites.

91% of successful break-ins start from phishing.  Right now, every vector is pointing one way - we need at least one "Vector of Trust" to point back the other way!  

How about a 5th vector - "S" for "Security", which somehow allows an RP a level of confidence in the protection afforded to the user's actual authentication process, in terms of (or at least considering) a wide range of (and all common) modern threats.

Chris.

_______________________________________________
vot mailing list
vot@ietf.org
https://www.ietf.org/mailman/listinfo/vot

<draft-richer-vectors-of-trust-02.docx>_______________________________________________
vot mailing list
vot@ietf.org
https://www.ietf.org/mailman/listinfo/vot