Re: [kitten] draft-ietf-kitten-rfc4402bis-00 (was: Re: WGLC for three "bis" documents: draft-ietf-kitten-rfc4402bis-00, draft-ietf-kitten-rfc5653bis-01, draft-ietf-kitten-rfc6112bis-00)

Benjamin Kaduk <kaduk@MIT.EDU> Wed, 18 February 2015 02:43 UTC

Return-Path: <kaduk@mit.edu>
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 C25661A702B for <kitten@ietfa.amsl.com>; Tue, 17 Feb 2015 18:43:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 606ASsOeNlg9 for <kitten@ietfa.amsl.com>; Tue, 17 Feb 2015 18:43:52 -0800 (PST)
Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu [18.7.68.34]) by ietfa.amsl.com (Postfix) with ESMTP id B56841A8961 for <kitten@ietf.org>; Tue, 17 Feb 2015 18:43:52 -0800 (PST)
X-AuditID: 12074422-f79d16d0000024cf-37-54e3fc672513
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id D9.33.09423.76CF3E45; Tue, 17 Feb 2015 21:43:51 -0500 (EST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id t1I2hoi8001236; Tue, 17 Feb 2015 21:43:51 -0500
Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t1I2hmQO019001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Feb 2015 21:43:50 -0500
Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id t1I2hmd5007374; Tue, 17 Feb 2015 21:43:48 -0500 (EST)
Date: Tue, 17 Feb 2015 21:43:48 -0500
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Shawn M Emery <shawn.emery@oracle.com>
In-Reply-To: <54E2BFE4.4000003@oracle.com>
Message-ID: <alpine.GSO.1.10.1502172140380.3953@multics.mit.edu>
References: <alpine.GSO.1.10.1501201753140.23489@multics.mit.edu> <54CE9F5B.9070808@mit.edu> <alpine.GSO.1.10.1502131258090.3953@multics.mit.edu> <54E2BFE4.4000003@oracle.com>
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsUixG6nrpv+53GIQcdlPYujm1exWPS9PsTu wOSxZMlPJo+PT2+xBDBFcdmkpOZklqUW6dslcGUsPbWeseABZ8Xj9QeZGhjPs3cxcnJICJhI 9D27zwphi0lcuLeerYuRi0NIYDGTxMpvG5ghnI2MEk2TPzODVAkJHGKSWP8yDMJuYJR4sswM xGYR0JY4/uYRC4jNJqAiMfPNRjYQW0RAS+JGQwcTiM0soC7x7cwbRpChwgLHGCXWLXvJCJLg BCqav3U3WAOvgIPEt3X7oTavZ5R4u3ENWLeogI7E6v1TWCCKBCVOznzCAjFVS2L59G0sExgF ZyFJzUKSWsDItIpRNiW3Sjc3MTOnODVZtzg5MS8vtUjXVC83s0QvNaV0EyM4WF2UdjD+PKh0 iFGAg1GJh3fCpEchQqyJZcWVuYcYJTmYlER5k74/DhHiS8pPqcxILM6ILyrNSS0+xCjBwawk wqt0AijHm5JYWZValA+TkuZgURLn3fSDL0RIID2xJDU7NbUgtQgmK8PBoSTBa/kbqFGwKDU9 tSItM6cEIc3EwQkynAdouBxIDW9xQWJucWY6RP4Uo6KUOK8ZSEIAJJFRmgfXC0smrxjFgV4R 5jUGqeIBJiK47ldAg5mABs//8whkcEkiQkqqgTFHOcytZoraLNNPOf0u9vtf3Hx1eH81j/75 d7aNSpUeGrrrJJeHSjiaS227n+N8oXBrY7L25sCwp+/ke47v+Fj+Y2lEMufaXfuti/9dvWbG /DTP6p6wvprymtypDbVpjvNnhyjtjN95+eUN5xWGkp2Xr+Y9Xpj7RPZS3fGcaHljmU3PFRy6 OZRYijMSDbWYi4oTAWENIc8BAwAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/6UGfjYInzzjCqTlHEk_ld2bIYPo>
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] draft-ietf-kitten-rfc4402bis-00 (was: Re: WGLC for three "bis" documents: draft-ietf-kitten-rfc4402bis-00, draft-ietf-kitten-rfc5653bis-01, draft-ietf-kitten-rfc6112bis-00)
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: Wed, 18 Feb 2015 02:43:54 -0000

On Mon, 16 Feb 2015, Shawn M Emery wrote:

>
> Thanks for your review, comments in-line...
>
> On 02/13/15 11:16 AM, Benjamin Kaduk wrote:
>
> > The original RFC 4402 security considerations include:
> >
> >     [...] if an
> >     application can be tricked into providing very large input octet
> >     strings and requesting very long output octet strings, then that may
> >     constitute a denial of service attack on the application; therefore,
> >     applications SHOULD place appropriate limits on the size of any input
> >     octet strings received from their peers without integrity protection.
> >
> > It is not clear to me that integrity protection is sufficient to alleviate
> > the denial of service attack, since verifying the message integrity may
> > itself consume a substantial amount of resources.
>
> I interpret this statement differently:
>
>     If integrity protection is not enforced then an attacker can construct an
> arbitrarily long string.


Woudln't the attacker be able to do that without needing a very large
input string, though?  I guess the claims it that each individual
pseudo-random() call is more expensive on a long input, so your
interpretation is still plausible.

-Ben