Re: [rtcweb] Strawman for how to prevent voice-hammer without ICE

Hadriel Kaplan <HKaplan@acmepacket.com> Thu, 28 July 2011 22:55 UTC

Return-Path: <HKaplan@acmepacket.com>
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 2215F21F874E for <rtcweb@ietfa.amsl.com>; Thu, 28 Jul 2011 15:55:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.488
X-Spam-Level:
X-Spam-Status: No, score=-2.488 tagged_above=-999 required=5 tests=[AWL=0.111, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hPNYs1xqXtvO for <rtcweb@ietfa.amsl.com>; Thu, 28 Jul 2011 15:55:48 -0700 (PDT)
Received: from ETMail2.acmepacket.com (etmail2.acmepacket.com [216.41.24.9]) by ietfa.amsl.com (Postfix) with ESMTP id 8075821F8733 for <rtcweb@ietf.org>; Thu, 28 Jul 2011 15:55:48 -0700 (PDT)
Received: from mail.acmepacket.com (216.41.24.7) by ETMail2.acmepacket.com (216.41.24.9) with Microsoft SMTP Server (TLS) id 8.1.240.5; Thu, 28 Jul 2011 18:55:47 -0400
Received: from mailbox1.acmepacket.com ([216.41.24.12]) by mail ([127.0.0.1]) with mapi; Thu, 28 Jul 2011 18:55:47 -0400
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: Harald Alvestrand <harald@alvestrand.no>
Date: Thu, 28 Jul 2011 18:55:46 -0400
Thread-Topic: [rtcweb] Strawman for how to prevent voice-hammer without ICE
Thread-Index: AcxNeXyEnTpPz/k9Q9efSDP7yQ3IHA==
Message-ID: <1109B9FB-5432-4256-8A12-6DBABA048278@acmepacket.com>
References: <B6527F21-4DE2-46B1-AE2E-891D56461313@acmepacket.com> <4E31CB69.7020006@alvestrand.no>
In-Reply-To: <4E31CB69.7020006@alvestrand.no>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAQAAAUA=
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Strawman for how to prevent voice-hammer without ICE
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, 28 Jul 2011 22:55:49 -0000

On Jul 28, 2011, at 4:49 PM, Harald Alvestrand wrote:

> I think this approach is not paranoid enough.
> 
> The attacker will negotiate a channel claiming that you can reach him on 
> 10.0.0.2 (your server that he wants to voice-hammer), and then send you 
> the five or so RTP packets you expect with a fake source address of 
> 10.0.0.2.
> 
> Then you, having seen exactly the packets that "authorize" sending 
> traffic to 10.0.0.2, will be performing the voice-hammer attack against 
> the server that the attacker otherwise couldn't reach.

Yes, that was the weakness of the model as I described in my original email: that the malicious web-server can spoof the RTP from the device being attacked.
And I proposed that instead of it being a single "authorization" phase at the beginning of the call, it could even be continuous/periodic.  Of course the web-server could continuously send spoofed RTP to the browser, but at that point it might as well do the attack directly spoofing the browser. (in other words, the malicious website isn't gaining a very useful botnet of attackers, since I assume that's the concern)


> (This doesn't work with ICE, because the ICE handshake involves the 
> recipient replying to your packet with some parameters that can only be 
> found in the request, not in the negotiation).

Yes I know ICE solves this, but since ICE doesn't exist for legacy VoIP and PSTN, a non-existent solution isn't very useful.

-hadriel