Re: [saag] Possible backdoor in RFC 5114

Jeffrey Walton <noloader@gmail.com> Thu, 06 October 2016 16:20 UTC

Return-Path: <noloader@gmail.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BE91129555 for <saag@ietfa.amsl.com>; Thu, 6 Oct 2016 09:20:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 x8MuIYoLPO04 for <saag@ietfa.amsl.com>; Thu, 6 Oct 2016 09:20:08 -0700 (PDT)
Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 90A5212959D for <saag@ietf.org>; Thu, 6 Oct 2016 09:10:41 -0700 (PDT)
Received: by mail-io0-x22f.google.com with SMTP id j37so20260629ioo.3 for <saag@ietf.org>; Thu, 06 Oct 2016 09:10:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=INaRvN3I2zOmDegQHXrxVTDgiEjZGNiAqOfJSJINh9c=; b=Ovl90iFC0OSpZIWN9MGu1k4qdPoBVmhZo+3Lzj5HcDl6dxGYFqdRe/9r4GDWcib88b c44TvCNY7Zm8d8RPq9driVR31TPwLN0UD1zcWZ62d8tkwZDmchtCocV7acTwpahDg07D IzwCS2XzLF0ZegZV4XbyYd8GQ13eLgAwuKNNL/3SQFdHYt31/wp1UHcx/gIVtwldb66h +JB8002xTRPPtzdbkAk+3thjV4QS9mtQYA+5/Rb3Zz+jnB3ICOSqeE62welrDphY53jo sugOOwLgiyuTEOuYzXDoWoiPFYwpVOpZUKRPm/CNl1OdFZJEwMGgm4EGtHXRHhg4amRb AKuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=INaRvN3I2zOmDegQHXrxVTDgiEjZGNiAqOfJSJINh9c=; b=h0zxmOkvSXpGLBZY04ieB88GBukd7orh+yUpN0QisICEbesErsWdg7eOq+9Wmim02+ 091vuf/7kW2LafS6nRmY7hSALmw8k8GN34FrRgPTWcGpehzavoRbegIrGwcBRPfPoOjQ Ac9Kicd4XDQ7/KzuvwNwFHhWsr7LQ9P/ot0JhrwNyYnz3qHc8xhMQhpN5SrC57bzk93w vdkpFLgMQ/Z5xRzBONaVnPm6elO7gMdDQIGiuNpBu+USm8yIzC43D2l6ejt76ahq+zal wiglwHUu5/N0/POBsFnwOqvqrxSqg6gRImZbw7vJVfIzt+8AmePrEoyUXcL+WUovGMVo yXoA==
X-Gm-Message-State: AA6/9RndCX/1AtB9oTidQf2d53jVM7BUEVLY070tPNZyCCHPo5SKioPuQytmslfvztofEP70TqjyFwp0tpDlHA==
X-Received: by 10.107.148.211 with SMTP id w202mr15743850iod.135.1475770240929; Thu, 06 Oct 2016 09:10:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.36.194 with HTTP; Thu, 6 Oct 2016 09:10:40 -0700 (PDT)
In-Reply-To: <CACsn0ck9u3ct3wD7xWXtDZ89Q1R6OKTQFMYuZ56_vY2ys+1=YQ@mail.gmail.com>
References: <CACsn0ck9u3ct3wD7xWXtDZ89Q1R6OKTQFMYuZ56_vY2ys+1=YQ@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
Date: Thu, 06 Oct 2016 12:10:40 -0400
Message-ID: <CAH8yC8mX_XhfOrY393-WSEJ2j6Pebj+2Mpim=6mOSXnDLL7Gdg@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/Rmu4h-G-PbJ48PrcYkHVSufvdt8>
Cc: "saag@ietf.org" <saag@ietf.org>
Subject: Re: [saag] Possible backdoor in RFC 5114
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: noloader@gmail.com
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Oct 2016 16:20:09 -0000

On Thu, Oct 6, 2016 at 11:56 AM, Watson Ladd <watsonbladd@gmail.com> wrote:
> https://tools.ietf.org/html/rfc5114
>
> Let's review some publicly known facts:
>
> 1) BBN is a defense contractor
>
> 2) The NSA subverts crypto standards
>
> 3) It is possible to design primes so the discrete log problem is easy
>
> 4) The primes in RFC 5114 are not generated in verifiable manner: it
> is possible they
> are hidden SNFS primes.
>
> At minimum we should obsolete RFC 5114 in favor of primes generated in
> a verifiable manner. The fact that there already were primes for IKE
> use makes me wonder why this was even needed in the first place.

That gives me a sinking feeling because I have used them in
production. I want to say, "Oh f**k...".

If they are of special form, then how can it be tested or exposed. I'm
happy to purchase some Amazon compute time and run some extended
tests.

Jeff