Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bundle-negotiation-32 - Magnus' comments - MID security
Eric Rescorla <ekr@rtfm.com> Fri, 07 October 2016 18:34 UTC
Return-Path: <ekr@rtfm.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99D881296BF for <mmusic@ietfa.amsl.com>; Fri, 7 Oct 2016 11:34:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 4ZLSztzf3PfY for <mmusic@ietfa.amsl.com>; Fri, 7 Oct 2016 11:34:29 -0700 (PDT)
Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 2680F1295DC for <mmusic@ietf.org>; Fri, 7 Oct 2016 11:34:29 -0700 (PDT)
Received: by mail-yb0-x232.google.com with SMTP id e20so19048392ybb.0 for <mmusic@ietf.org>; Fri, 07 Oct 2016 11:34:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IyrMTrl5CRJ2yLYOr4vGGEV3ESJvvXX+4ahgGhDzzQs=; b=aySU/5Trae9jJURzUSTCho28Mi12L0nnykbKm7uUFE/AYnIsEOdIXYChvlpaCIyxP1 lQ62Zfl4PgYDOu6SypzEHjNvS43+SnMQSQL8ll59+vZU35jRbfLFdbsIpK5iivbeatup dRovBkGLgY3UK5DuULdZOg+Fda5CJFMYN+aI+O3pdCthname9vGxinVSTSmBK4m50GLm 5DMB6tQnp+3drJl/FEW864Egyof46ozbyZFKR8M7JsiAiFOMeTYPO3miJDW5088nfLe+ rQmWo8SvBgP+kOuwA6S+7vjEyRA5veSMFgeH1vP3NaWJ0qH4yC1JsSeIN6JBHiz94/dM XSHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IyrMTrl5CRJ2yLYOr4vGGEV3ESJvvXX+4ahgGhDzzQs=; b=QksajkR6pWlH7T2f28UNeUodoDPtAoWIMJDn3CB9coxpRhY38jMxAP5VJ7bbaf3jAP xq7VjTh5f6ewHrmofx99RMTvthLptinM5Szs/cTRrITudbLVJ63PF1+LGwpcGTAlJKuN qOC+yjOT9IDvkZJ8g+LjLQFUaoFeyAkoTJ7KPw+NQUlMKfe5CihG8/jasR2gazfd68vz B9aD8CmcPXeIo+5RTxzLmYfjUIQi2LV0aJc8D5mxRoHWDXgJjwOwZpvHIBJVfLfKdtTy pegjRcRFLiQD/eszTdVmwXgKEp1l4fACDmq/rsnFm80kY/OnRs197c/UOoTN/Bvx7xGY ACdg==
X-Gm-Message-State: AA6/9RlSMLhCMRiPfbX4aQ4RGdgHoNpwtEiSteIFU1SZfCMQEHfw1TJvza/38V37CjeXqplLbNJi8/cuZMckjQ==
X-Received: by 10.37.80.12 with SMTP id e12mr16258596ybb.105.1475865268310; Fri, 07 Oct 2016 11:34:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.75.212 with HTTP; Fri, 7 Oct 2016 11:33:47 -0700 (PDT)
In-Reply-To: <243c777f-46f9-4053-1588-7e6b58a06c8c@ericsson.com>
References: <D41C238A.1095B%christer.holmberg@ericsson.com> <71419d1f-af1d-46e9-401d-81c5df73fc49@ericsson.com> <58510E68-A045-4312-B3B3-3468E83C8EB7@iii.ca> <243c777f-46f9-4053-1588-7e6b58a06c8c@ericsson.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 07 Oct 2016 11:33:47 -0700
Message-ID: <CABcZeBOkj908hNQqGMrP0DvStXPW5EpgMeYDkCTa68O9uBC8-Q@mail.gmail.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Content-Type: multipart/alternative; boundary="001a113e86cc0e0a6f053e4aa9da"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/9mvPkJ4KaZutUNtNLT10zkiyD2E>
Cc: Paul Kyzivat <pkyzivat@alum.mit.edu>, "mmusic@ietf.org" <mmusic@ietf.org>, Cullen Jennings <fluffy@iii.ca>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bundle-negotiation-32 - Magnus' comments - MID security
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Oct 2016 18:34:31 -0000
ISTM that there are two risks: 1. That people might use structured RIDs, MIDs, etc. and that that will leak a lot of information about 2. That just the structure of the media streams is a fingerprinting risk. The first of these seems addressable by guidance about how to construct these IDs. I note that we have only very limited guidance on how to construct ICE ufrag/passwords.... The second seems not that interesting as I bet you can get a lot by other metadata (packet size, PT, etc). -Ekr On Fri, Oct 7, 2016 at 1:41 AM, Magnus Westerlund < magnus.westerlund@ericsson.com> wrote: > Den 2016-10-06 kl. 23:59, skrev Cullen Jennings: > >> >> I'm not getting the problem here and mandating 6904 is not an easy >> thing to do. >> > > So, lets be clear on what I have proposed. For bundle in general it is > RECOMMENDED to encrypt MIDs in RTP header extensions. I have also proposed > that for RTCWeb implementation and use should be mandated. I was not clear > in what applies when an WebRTC endpoint talks to a legacy endpoint what is > expected here. I guess this is the thorny issue. > > >> I'm not getting what the issue is here. If mid are random, or are >> just a count of n'th m-line in the sdp, what is the problem with >> exposing them to people are getting the media? >> > > The issue is that these identifiers are going from having only been > visiable in the signalling messages to be visible also on the RTP media > plane. And without RFC6904 even if one uses SRTP, these values are exposed. > This have several different effects as I see it. So if the generation > algorithm are not strictly defined, the implementation gets possible to > fingerprint. In addition the device gets to be fingerprinted based on the > number of streams offered and their identifiers. Thus, it is not only what > is actually used that is exposed, but what was originally offered, i.e. the > full offer leaks into unencrypted domain on the media plane. Note, this > later can't be dealt with any mid id creation rules, it will still leak. > Thus devices that have more exotic configurations when it comes to media > streams, i.e. number of cameras etc this can still be fingerprinted by > passive attacks from third parties. > > It is the passive attack from third parties that has me worried here. A > peer in the signalling has massively more powerful fingerprinting, but that > requires one to be in the signalling context, not passively observe traffic > that goes past. > > > Cheers > > Magnus > > > > >> >> >> On Oct 6, 2016, at 7:39 AM, Magnus Westerlund >>> <magnus.westerlund@ericsson.com> wrote: >>> >>> Den 2016-10-06 kl. 14:49, skrev Christer Holmberg: >>> >>>> >>>> Hi, >>>> >>>> Magnus suggested usage of RFC 6904 for encryption of the RTP SDES >>>> header extension for MID. I guess it would be a SHUOLD? >>>> >>>> In addition, we would say that a corresponding level of security >>>> must be applied to the RTP SDES header extension for MID and to >>>> the RTCP SDES MID item. >>>> >>>> Any opinions? >>>> >>> >>> I think this is fine solution to this issue. I would probably >>> formulate the security considerations like this. >>> >>> The identfication-tag when included in the RTP MID SDES item, >>> independent of transport, RTCP SDES packet or RTP header extension, >>> can expose the value to parties beyond the signaling chain. >>> Therefore, the identification-tag MUST NOT contain any user related >>> information. However, the implementation's method for generating >>> identfication-tags combined with hardware configuration can enable >>> fingerprinting of the endpoint device and thus its user. As the >>> identification-tag is also used to route the media stream to the >>> right application functionality it is also important that the value >>> received is the one intended by the sender, thus integrity and the >>> authenticity of the source are important to prevent denial of >>> service on the application. At least to prevent third parties from >>> modifying the identification-tag value. >>> >>> Due to the security risks associated with the MID values in RTP and >>> RTCP it is strongly RECOMMENDED that the MID SDES item is both >>> confidentiality protected as well as source authenticated when >>> transported in either RTCP or RTP header extensions. The security >>> mechanisms used SHALL provide corresponding levels of security for >>> both RTP header extensions and RTCP. Confidentiality mechanisms for >>> RTP/RTCP are discussed in Options for Securing RTP Sessions >>> [RFC7201], for example SRTP [RFC3711] with SRTCP encryption enabled >>> combined with [RFC6904] can provide the necessary security >>> functions. >>> >>> >>> Cheers >>> >>> Magnus Westerlund >>> >>> ---------------------------------------------------------------------- >>> >>> >>> Services, Media and Network features, Ericsson Research EAB/TXM > >> ---------------------------------------------------------------------- >>> >>> >>> Ericsson AB | Phone +46 10 7148287 > >> Färögatan 6 | Mobile +46 73 0949079 SE-164 80 >>> Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com >>> ---------------------------------------------------------------------- >>> >>> >>> >>> _______________________________________________ > >> mmusic mailing list mmusic@ietf.org >>> https://www.ietf.org/mailman/listinfo/mmusic >>> >> >> >> > > -- > > Magnus Westerlund > > ---------------------------------------------------------------------- > Services, Media and Network features, Ericsson Research EAB/TXM > ---------------------------------------------------------------------- > Ericsson AB | Phone +46 10 7148287 > Färögatan 6 | Mobile +46 73 0949079 > SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com > ---------------------------------------------------------------------- > > _______________________________________________ > mmusic mailing list > mmusic@ietf.org > https://www.ietf.org/mailman/listinfo/mmusic >
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Christer Holmberg
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Magnus Westerlund
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Cullen Jennings
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Magnus Westerlund
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Jonathan Lennox
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Cullen Jennings
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Eric Rescorla
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Magnus Westerlund
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Magnus Westerlund
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Christer Holmberg
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Christer Holmberg
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Eric Rescorla
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Christer Holmberg
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Eric Rescorla
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Magnus Westerlund
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Eric Rescorla
- Re: [MMUSIC] Review of draft-ietf-mmusic-sdp-bund… Magnus Westerlund
- [MMUSIC] BUNDLE - MID Security - Updated text pro… Magnus Westerlund
- Re: [MMUSIC] BUNDLE - MID Security - Updated text… Cullen Jennings
- Re: [MMUSIC] BUNDLE - MID Security - Updated text… Adam Roach
- Re: [MMUSIC] BUNDLE - MID Security - Updated text… Magnus Westerlund
- Re: [MMUSIC] BUNDLE - MID Security - Updated text… Ted Hardie
- Re: [MMUSIC] BUNDLE - MID Security - Updated text… Magnus Westerlund