Re: [rtcweb] End-to-end encryption vs end-to-end authentication (DTLS-SRTP / SDES-SRTP)

"Fabio Pietrosanti (naif)" <lists@infosecurity.ch> Thu, 05 April 2012 17:07 UTC

Return-Path: <lists@infosecurity.ch>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B51721F8767 for <rtcweb@ietfa.amsl.com>; Thu, 5 Apr 2012 10:07:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Aptmd2xFFLDK for <rtcweb@ietfa.amsl.com>; Thu, 5 Apr 2012 10:07:19 -0700 (PDT)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 7D65821F872B for <rtcweb@ietf.org>; Thu, 5 Apr 2012 10:07:19 -0700 (PDT)
Received: by werb10 with SMTP id b10so1199803wer.31 for <rtcweb@ietf.org>; Thu, 05 Apr 2012 10:07:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=afkpmnPDX9vso33hy8GY4afKYhAk4aeWa2t42FFw/fE=; b=Us8o02LzbMJN69Lh1Y+yX7r14p/ZsjF/857iIKlF+xncPkBV7letMCLBM+qmRz82Wa buGmwwIxBOjjRijD1R34ODddI0CqVqY2HKN9oukJKf1Og09XdklO+QqehIqHqi6186ox dilLb73qaMJbEMRJzI+c015iyrsJXycfdZ+vp98PE6XyWH40gck9fidc1tu0mWgeO9zO xziToglJccd1zVcb4fChmPOl/sPPK3IKF56B5HXp5TAAJB2CyoHqiBEW8MsgEmAE8U2+ sxffCCyUu0I8Mo7stcCi+zmSfeCJI1IgGTjzldWUlg/ZoFVAvHRwJNDKPros87QzFcxy gbJA==
Received: by 10.180.98.8 with SMTP id ee8mr6610217wib.14.1333645635461; Thu, 05 Apr 2012 10:07:15 -0700 (PDT)
Received: from sonyvaiop13.local (93-57-41-37.ip162.fastwebnet.it. [93.57.41.37]) by mx.google.com with ESMTPS id o2sm19280867wiv.11.2012.04.05.10.07.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Apr 2012 10:07:13 -0700 (PDT)
Sender: Fabio Pietrosanti <naif@infosecurity.ch>
Message-ID: <4F7DD13F.2010006@infosecurity.ch>
Date: Thu, 05 Apr 2012 19:07:11 +0200
From: "Fabio Pietrosanti (naif)" <lists@infosecurity.ch>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <4F7D7103.6040102@infosecurity.ch> <4F7DBEFC.6040302@alcatel-lucent.com>
In-Reply-To: <4F7DBEFC.6040302@alcatel-lucent.com>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQmoVHbFyvNZixIYAC1cgdcg5cTsBSmAswcwbQ5XEw0PYvIy87bvBqqBFL1nKWkKWYlYPkb2
Subject: Re: [rtcweb] End-to-end encryption vs end-to-end authentication (DTLS-SRTP / SDES-SRTP)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Apr 2012 17:07:20 -0000

On 4/5/12 5:49 PM, Igor Faynberg wrote:
> Fabio,
> 
> I am finding these definitions hard to understand.  I am afraid that
> somehow the activity (encryption) gets mixed with the services
> (confidentiality and authentication).
> 
>  I think your major point is that effective encryption must rely on
> symmetric keys, and that the key distribution is crucial to ensuring
> confidentiality provably.  I agree with that.
> 
> I also agree with sepating the case when session keys are handed out by
> another entity (such as KDC) and the case where the keys are known only
> to the end-points.  The latter can be achieved with signed
> Diffie-Hellman (using PKI, or PAK, or EKE).
> 
> Confidentiality, of course, relies on authentication: If I encrypt
> something with the key I share only with you, I'd better know that I
> share this key ONLY with you.
> 
> But I don't get the point of the taxonomy you propose...

Well, the main point is that DTLS-SRTP claim to provide end-to-end
encryption, however the user is not able to deliver "end-to-end security" .

end-to-end encryption != end-to-end security .

In the encryption technologies landscape, when we refer to end-to-end
encryption we always refer to cryptographic architecture where the users
communicating are guaranteed respect to the underlying transport and
communication architecture.

This bring a misleading concept on DTLS-SRTP in WebRTC because it's
referred as end-to-end encryption, but it doesn't provide end-to-end
security like other encryption technologies does (ZRTP, OpenPGP, OTR, etc).

DTLS-SRTP rely on third party for security verification.

DTLS-SRTP = end-to-site security
SRTP-SDES = end-to-site security
ZRTP = end-to-end security

This means that DTLS-SRTP, from a trust-model point of view, does not
provide end-to-end security because there will always be a trusted third
party able to authorize Man in the Middle to do eavesdropping.

>From that point of view SDES-SRTP provide very similar warranty, except
that you have to trust only 1 third party rather than 2 third party.

Fabio