
From nobody Tue Mar 11 10:08:35 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0AAB1A0765 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 10:08:32 -0700 (PDT)
X-Quarantine-ID: <CmdnNsprn199>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 CmdnNsprn199 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 10:08:29 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 6E8201A0764 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 10:08:29 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============0984738059=="
MIME-Version: 1.0
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 11 Mar 2014 13:08:08 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT106CNC.rim.net ([fe80::d824:6c98:60dc:3918%16]) with mapi id 14.03.0174.001; Tue, 11 Mar 2014 13:08:07 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'dsfjdssdfsd@ietf.org'" <dsfjdssdfsd@ietf.org>
Thread-Topic: Should secure RNGs be a MUST?
Thread-Index: Ac89SpfZIQJem8b1RUqwinkMRXNkhw==
Date: Tue, 11 Mar 2014 17:08:06 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/57TDOTSAtsIWE_VFUjychf-OSt0
Subject: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 17:08:33 -0000

--===============0984738059==
Content-Language: en-US
Content-Type: application/pkcs7-mime; smime-type=signed-data;
	name="smime.p7m"
Content-Disposition: attachment; filename="smime.p7m"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggphQ29u
dGVudC1UeXBlOiBtdWx0aXBhcnQvcmVsYXRlZDsNCglib3VuZGFyeT0iLS0tLT1fTmV4dFBhcnRf
MDAwXzAxOUZfMDFDRjNEMkEuRjE1NThDMzAiDQoNClRoaXMgaXMgYSBtdWx0aXBhcnQgbWVzc2Fn
ZSBpbiBNSU1FIGZvcm1hdC4NCg0KLS0tLS0tPV9OZXh0UGFydF8wMDBfMDE5Rl8wMUNGM0QyQ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ZSBDQSBNQ0EwM1lL
RgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgCm+oWGkpR/+OmcuY0g/7Q20BdzpqU/9yA+l
kfNc6NfhrKFUUGVtEHJ2++vlvyqV6oz34knBFiCXrViy+QgGR0uU3Dg5orMODrteGA++g5Y45Cv8
EhB+aJ9tm0NC+mETtg7Nmqz+tmSur3Zj9VOHy97a1ls3BTk6mEf7GlDb6qpFAAAAAAAA

--===============0984738059==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential info=
rmation, privileged material (including material protected by the solicitor=
-client or other applicable privileges), or constitute non-public informati=
on. Any use of this information by anyone other than the intended recipient=
 is prohibited. If you have received this transmission in error, please imm=
ediately reply to the sender and delete this information from your system. =
Use, dissemination, distribution, or reproduction of this transmission by u=
nintended recipients is not authorized and may be unlawful.
--===============0984738059==--


From nobody Tue Mar 11 11:28:58 2014
Return-Path: <akr@akr.io>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89D8F1A0794 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 11:28:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level: 
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 UERNRz0dbA0u for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 11:28:49 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) by ietfa.amsl.com (Postfix) with ESMTP id A6AA21A0792 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 11:28:49 -0700 (PDT)
Received: from [10.10.42.10] (cpc5-derb12-2-0-cust796.8-3.cable.virginm.net [82.31.91.29]) by entima.net (Postfix) with ESMTPSA id D104B60ABA for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 18:28:42 +0000 (GMT)
Message-ID: <531F5573.1050905@akr.io>
Date: Tue, 11 Mar 2014 18:26:59 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: dsfjdssdfsd@ietf.org
References: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/68C1hh1vo05zTUEa5qvuYfahgq8
Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 18:28:53 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 11/03/2014 17:08, Dan Brown wrote:

> So, I am not totally sure about the question of whether secure
> RNGs should be a MUST.  I wonder what others think.

Given this list exists, I'd say yes: going forward, they MUST be. <g>

Regarding your counterargument: I think security considerations
warrant MUST.

I think secure RNGs really need to be considered a vital component to
analyse. They have clearly been considered a vital component to
attack: and no wonder. Insecure RNGs introduce major unexpected
problems, including predictable keys and key leakage, in protocols
which rely on secure RNGs to satisfy their security requirements. But
they can be subtle, and hard to verify.

We should consider how robust protocols may be if those requirements
are not met, and generally prefer (as a "safety net") protocols which
do not fail catastrophically if the RNG is weak, if a practical
alternative exists. But it's perfectly reasonable I think to also
specify at the same time that the RNG MUST be strong and if it isn't,
you're doing it wrong.

We know really vital problems have existed in implementations. Someone
should figure out what any further problems may be; look for them;
find them; fix them; disclose them. (Not necessarily in that order.)
It seems that in many cases, this hasn't happened. (Maybe everyone
thought it was someone else's problem.) It needs to.

It doesn't matter so much whose problems they are: as you correctly
say, an insecure implementation would not be securely interoperable
even with a secure one. While a bad RNG is in the wild, it could be
everyone's problem: I think we need to do what we can to avoid that.

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJTH1VzAAoJEOyEjtkWi2t6nBsP/0CqWHtgs7WBXQto5lD+pFTE
8Uh7Nkoc7Kiy6VBadGEb7irR4+gfLhxJboAbJO3cUfqJDuEHczkTZLhiM2PV1FFS
zHycQv8JwGs1EM2OUEX607jQgnV+3Jy/c+LTTGZJLCSEGXnvgD+BwQ7wlOfqvQq4
kWGsAe54VhvKGCb944H+pqTSeTZbCEUpTOQBaQoNl2JUAKwXY0QVk10o5dRV1bJt
xXirhmV+sNVpCkcg7ExL8GkOcxQ9RLWIVAMzaAqwqH/FHK4FmLLGNWjuwePThpG/
AbngohDsei7YOecMkwkcB1+14XdgAnGxfnNMXq6eslQi9XhGrF24gEQBI8JJzJ6d
EqwrJGCRP7PVkJdAvufwgAiiP3hUURGFHjMuNZmFb7XGLO/Yeu2xKmT6Z4CsIk6j
W1bOP7MPJsztprFQC2qtOgzV5qbsEia0/6LiXnpQRn8Zz8LkJNjpLlgzr3xsDwLj
pLkglDVZf3HIKzIk6DuY1dAN6zcgpCS2xMa1PDyZJAS6QNXPg1Tuq2IkMSgwPt3F
165pALuohuWk5AL+UQsu4KgSTmHYFUl9EX5nRNgMiaNwM0NNJF37VexFIyHzc04i
NlTHe4pW1vo4ngeIss07fN8/cS5X4ymYpmiobbi1KBjrDkUestZpFCOR1MjdGfs9
RyY8FgwLznkNiBYuLYLc
=sHBQ
-----END PGP SIGNATURE-----


From nobody Tue Mar 11 12:15:38 2014
Return-Path: <akr@akr.io>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F80D1A07BE for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:15:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 dhufPGjkQkfP for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:15:35 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) by ietfa.amsl.com (Postfix) with ESMTP id BC5C81A075F for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 12:15:34 -0700 (PDT)
Received: from [10.10.42.10] (cpc5-derb12-2-0-cust796.8-3.cable.virginm.net [82.31.91.29]) by entima.net (Postfix) with ESMTPSA id 7B5E560369 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 19:15:28 +0000 (GMT)
Message-ID: <531F6068.4080907@akr.io>
Date: Tue, 11 Mar 2014 19:13:44 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: dsfjdssdfsd@ietf.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/8DUibI-vXrRqta58V47IfDT5twg
Subject: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 19:15:37 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

djb posted a blog <http://blog.cr.yp.to/20140205-entropy.html> last
month which presents some interesting viewpoints on RNG design,
examining a hypothetical¹ scenario in which a malicious entropy source
to an otherwise good RNG can cause the sorts of havoc an attacker
dreams of.

It advocates that instead of the common
continuous-entropy-pool-injection designs we see today, a better
approach might be to make RNGs with a sharp transition between two
states:-

A. An entropy-gathering 'setup' state, collecting enough entropy for
   one really good 256-bit key, reading more-trusted entropy sources
   after less-trusted ones and using a high-cost hash function (to
   really increase the work a malicious entropy source would have to
   do); and then,

B. A 'running' state, which uses that key, holds it securely, and runs
   a good deterministic random bit generator to generate as much
   randomness as we need [up to some limit].

Specifically, djb advocates running A -then- run B (presumably, up to
some defined limit, as no DRBG is sound _ad infinitum_, then we'd have
to block and go back to A to gather another key?).

This is the exact opposite of what we usually do today, which would be
to run A continuously in parallel (possibly in many pools) and using B
in limited quantities to extract randomness from the running pool/s if
and when we need it.

I think that's a fascinating concept: although it runs counter to
usual existing practice, it does so specifically to minimise the
opportunity an attacker has to manipulate the RNG state. (One wonders
about the effect that might have on the window for an attacker to
observe the RNG state, although this _might_ be more defensible as
once in state B, it doesn't seem to provide them with an in-band path
to then exfiltrating it? Out-of-band exfiltration could be a problem
no matter which way you sliced it, although if it occurred, it would
be a live problem for longer, until the next re-key.)

It relies entirely on the DRBG to be strong for our external
prediction resistance. While this has potential pitfalls, it also has
potential benefits. After all, the DRBG is the deterministic element
of an RNG: the testable, easily-verifiable part (at least, compared to
the entropy sources). We already know several approaches that'll
probably work well (e.g. HMAC_DRBG; CTR_DRBG; a strong stream cipher
like ChaCha20 with a monotonically-increasing counter, maybe?) as well
as, of course, ones which infamously won't work out so well (e.g.
Dual_EC_DRBG).

I'm not completely sure if this type of "discrete-setup" RNG is a good
balance, but it's certainly an interesting one about which others may
have some thoughts...?

___
1. *Currently* hypothetical, but alarmingly possible for a sufficiently-
   determined attacker with a penchant for malicious microcode - and we
   know sufficiently-determined and funded attackers exist, and like
   weak RNGs. Maybe we could even see a PoC someday?

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJTH2BoAAoJEOyEjtkWi2t6hE4P/3SmC3EDQvLbIUHxahpWj7j7
hd94kNr4IfByMKqwk7zMw6pW1qFsdrKvbFp7ZwEC/ZglbUptZ1taQyVDMX/ii9ZD
z7lbGDwWJN6XtLR5hn6sU5m1wkUdCHJ6FeQKgMH7sLu9tRilG6XekuYVu7bcpluQ
FJpt5MbgPjRAz43uDCO9FQrEfI0IljIIlmdmJWIAREvvaJfXwV/RnBf2mrTMUTFm
I+tyvaJn7TLc3w3L0tU+7MbRghq8UP611qeeTjpsn3HUjY6xUvSaKzeGL4J6xV3U
tq8kVc6sWCe85W8OcV2yXi7fYYAuxbxSPops83mRb2YH0Ks8Pk68o3PCvty79YpS
NeSM/jiYe0GGr3mtEXsIeYirVSdLxJuEP0lUxqSHABgHS8MsxrHQOgcR//s0V/B5
GiBwvE3xE2tf55WgGomPhs2Kqmpa6nsagwrkY6YLk5W+bV12WiCIM447DKzu86mg
O4n6DrQ7h8MMwSIt2qb90Cye48IncuXczJWIVJK3ZO6TMBR1JemwSM1WP35GUtH9
QdOAKPr+zWEwAangT8ztx05XrPAq5cxzclX9ykrF43HQhizjicX9KgcsGSR3GAYe
1b3Y9IbLQc6xMWg0iOjs6Yoo3ngiF4Z8Z75n8lbl3/PoolywGRGj3unpyvSQ4qVM
ByE6GO0YsjeIbrMo/tNs
=PuzB
-----END PGP SIGNATURE-----


From nobody Tue Mar 11 12:33:21 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD0DE1A07C3 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:33:19 -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, CTYPE_001C_B=0.001] 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 hBVWnSOfPqYq for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:33:15 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 061541A04AB for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 12:33:14 -0700 (PDT)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 11 Mar 2014 15:32:40 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT105CNC.rim.net ([fe80::d13d:b7a2:ae5e:db06%16]) with mapi id 14.03.0174.001; Tue, 11 Mar 2014 15:32:39 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'akr@akr.io'" <akr@akr.io>, "'dsfjdssdfsd@ietf.org'" <dsfjdssdfsd@ietf.org>
Thread-Topic: [dsfjdssdfsd] Should secure RNGs be a MUST?
Thread-Index: Ac89SpfZIQJem8b1RUqwinkMRXNkhwALmx6AAAbunCA=
Date: Tue, 11 Mar 2014 19:32:39 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C541E4@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net> <531F5573.1050905@akr.io>
In-Reply-To: <531F5573.1050905@akr.io>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0000_01CF3D3F.226879E0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/-1GltsIUR5XNC7QxGyy5Bm7--gU
Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 19:33:20 -0000

------=_NextPart_000_0000_01CF3D3F.226879E0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Alyssa,

Thanks for your input.

By the way, I believe current specs from ANSI X9F1 and NIST (in SP 800-56A
...) have taken the view that keys MUST be generated with a secure RNG, and
have gone further to specify various details of the RNG such as a DRBG
(PRNG) mechanism that MUST be one of three or four mechanisms, and further
the seeds for the DRBG must adhere to various requirements. 

I do not disagree with these requirements, from a security perspective, but
I guess I was asking whether they are in scope, or priorities, of IETF.
Maybe, IETF places such a high priority on connectivity that security is
just a close second.  

Some IETF docs refer to ECDSA, often via X9.62-2005, which, as already
noted, requires secure RNGs, namely one of the ANSI X9.82 RNGs, or any
future ANSI-approved RNGs.  So, in that regard, the IETF docs would already
inherit a MUST for secure RNGs, including the DRBG mechanisms and so on.
(Other crypto algorithms, including IETF re-specified algorithms, may not
have these ANSI/NIST requirements, I have not checked yet.)

If so, then maybe this list should discuss whether these ANSI/NIST
requirements are necessary and/or sufficient for IETF, at least in the case
of ECDSA. 

Best regards,

Dan  




> -----Original Message-----
> From: dsfjdssdfsd [mailto:dsfjdssdfsd-bounces@ietf.org] On Behalf Of
Alyssa
> Rowan
> Sent: Tuesday, March 11, 2014 2:27 PM
> To: dsfjdssdfsd@ietf.org
> Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> On 11/03/2014 17:08, Dan Brown wrote:
> 
> > So, I am not totally sure about the question of whether secure RNGs
> > should be a MUST.  I wonder what others think.
> 
> Given this list exists, I'd say yes: going forward, they MUST be. <g>
> 
> Regarding your counterargument: I think security considerations warrant
MUST.
> 
> I think secure RNGs really need to be considered a vital component to
analyse.
> They have clearly been considered a vital component to
> attack: and no wonder. Insecure RNGs introduce major unexpected problems,
> including predictable keys and key leakage, in protocols which rely on
secure
> RNGs to satisfy their security requirements. But they can be subtle, and
hard to
> verify.
> 
> We should consider how robust protocols may be if those requirements are
not
> met, and generally prefer (as a "safety net") protocols which do not fail
> catastrophically if the RNG is weak, if a practical alternative exists.
But it's
> perfectly reasonable I think to also specify at the same time that the RNG
MUST
> be strong and if it isn't, you're doing it wrong.
> 
> We know really vital problems have existed in implementations. Someone
> should figure out what any further problems may be; look for them; find
them;
> fix them; disclose them. (Not necessarily in that order.) It seems that in
many
> cases, this hasn't happened. (Maybe everyone thought it was someone else's
> problem.) It needs to.
> 
> It doesn't matter so much whose problems they are: as you correctly say,
an
> insecure implementation would not be securely interoperable even with a
secure
> one. While a bad RNG is in the wild, it could be everyone's problem: I
think we
> need to do what we can to avoid that.
> 
> - --
> /akr
> -----BEGIN PGP SIGNATURE-----
> 
> iQIcBAEBCgAGBQJTH1VzAAoJEOyEjtkWi2t6nBsP/0CqWHtgs7WBXQto5lD+pFTE
> 8Uh7Nkoc7Kiy6VBadGEb7irR4+gfLhxJboAbJO3cUfqJDuEHczkTZLhiM2PV1FFS
> zHycQv8JwGs1EM2OUEX607jQgnV+3Jy/c+LTTGZJLCSEGXnvgD+BwQ7wlOfqvQq
> 4
> kWGsAe54VhvKGCb944H+pqTSeTZbCEUpTOQBaQoNl2JUAKwXY0QVk10o5dRV1
> bJt
> xXirhmV+sNVpCkcg7ExL8GkOcxQ9RLWIVAMzaAqwqH/FHK4FmLLGNWjuwePThp
> G/
> AbngohDsei7YOecMkwkcB1+14XdgAnGxfnNMXq6eslQi9XhGrF24gEQBI8JJzJ6d
> EqwrJGCRP7PVkJdAvufwgAiiP3hUURGFHjMuNZmFb7XGLO/Yeu2xKmT6Z4CsIk6j
> W1bOP7MPJsztprFQC2qtOgzV5qbsEia0/6LiXnpQRn8Zz8LkJNjpLlgzr3xsDwLj
> pLkglDVZf3HIKzIk6DuY1dAN6zcgpCS2xMa1PDyZJAS6QNXPg1Tuq2IkMSgwPt3F
> 165pALuohuWk5AL+UQsu4KgSTmHYFUl9EX5nRNgMiaNwM0NNJF37VexFIyHzc0
> 4i
> NlTHe4pW1vo4ngeIss07fN8/cS5X4ymYpmiobbi1KBjrDkUestZpFCOR1MjdGfs9
> RyY8FgwLznkNiBYuLYLc
> =sHBQ
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> dsfjdssdfsd mailing list
> dsfjdssdfsd@ietf.org
> https://www.ietf.org/mailman/listinfo/dsfjdssdfsd

------=_NextPart_000_0000_01CF3D3F.226879E0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ4wDAYDVQQLEwVVc2Vy
czESMBAGA1UEAxMJRGFuIEJyb3duMSIwIAYJKoZIhvcNAQkBFhNkYnJvd25AY2VydGljb20uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRc70RE0/FL9ZbfN64YjA0lkQOLR9ipGebc9nH
jB93OfYfR7CVsCUYy3+v9PO1DiUS9MeWWR4nxB9Ztee32d3syDxGg3PGFwSrms/ORAW9pgiS/yKH
An9SKRKyqMz9LSn/VQrEgoyPBPT0S/vg521MGH58MwMXyLm1cLBQU5gtCQIDAQABo4IDmDCCA5Qw
CwYDVR0PBAQDAgWgMEQGCSqGSIb3DQEJDwQ3MDUwDg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ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 738291A07AD for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:42:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 VLGjIwAy9fhs for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:41:58 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) by ietfa.amsl.com (Postfix) with ESMTP id A42F01A0653 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 12:41:58 -0700 (PDT)
Received: from [10.10.42.10] (cpc5-derb12-2-0-cust796.8-3.cable.virginm.net [82.31.91.29]) by entima.net (Postfix) with ESMTPSA id 4540C60369 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 19:41:52 +0000 (GMT)
Message-ID: <531F6699.9090803@akr.io>
Date: Tue, 11 Mar 2014 19:40:09 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: dsfjdssdfsd@ietf.org
References: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net> <531F5573.1050905@akr.io> <810C31990B57ED40B2062BA10D43FBF5C541E4@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C541E4@XMB116CNC.rim.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/J6dKeVLa9nAZoAyA_zdsEOHRu0Q
Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 19:42:01 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 11/03/2014 19:32, Dan Brown wrote:

> […]I was asking whether they are in scope, or priorities, of 
> IETF.[…]

I'm certainly no process expert, but probably? Advice on secure RNG
practices in RFC 4086 seems to have been considered in-scope for IETF
before.

This list exists to discuss randomness, where it impacts IETF
protocols. It's definitely not something we should ignore: and given
what we've seen, and how fundamental good randomness is to good
security, I would firmly argue not something we should defer to other,
less transparent, bodies in future.

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJTH2aZAAoJEOyEjtkWi2t67D4QAJ8U1ukEi6SslqFXGz63NVdR
EptXLGET+ClamZlXOuFMjins1wGwEJ67ItNgv68qRRmaSmbmiAU181HHir/e4pTl
PpCh+yczIvcDI56X1eR6b7zDMMgwaV5g6iymMaBnGH4bOcMsa5jy/pYvICT3exTG
L1tuj0RcjrQMyAAXS1+VxS0mSAye/lb4dtL29foCwHRgDw66nxTQvKx4ltQIEb9c
DGj8A7FPxxDcUP5yoIvnHT7tkDhLCYqvUBdJ36gaU2XsjJKTXBXUmZT4hbAUolzY
fkYPZF1LNaSxsBfMZlWIwxaqjYZhY6OQjXLuSI7mvXD9L/EApVKyrC5LXMa9ulfi
BQv9D4NFOw5PyhmA0vKajbKoSZ7nXXPGzCVOmIcBnbcMM3bk/DBoSUqsBSd/ODF7
sKwDOgpbyyxh5nMVyieoHQidyunPllhVVQyCk9iBSuTo2kPxPcMLva2VWhMobPrA
QYr2hTrz3MWz8SJJXx8uE41sucPzE9K23mPI19b2P9tCtHbbZU6sQurryzDfHex6
N/EGNFvfb7QjoJzgmUtuG0Gi7Klrkfa6rOr6fDuY0Xfp1x1UBCI5quhs8BfsfXYQ
tHQkmWZrFaUOzOGYkG6DHDyZ3+HXtN65yk3lwswH1+AuPkGyJYO8+oko7Gjm6F0U
jx1PYN7/uy7/ygwaw7KY
=6UUk
-----END PGP SIGNATURE-----


From nobody Tue Mar 11 12:48:44 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 172541A07D4 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:48:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 jhKsm7oRovKy for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:48:36 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 7D4BF1A07D8 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 12:48:32 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 11 Mar 2014 15:48:25 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT102CNC.rim.net ([fe80::2066:5d4f:8c45:af55%17]) with mapi id 14.03.0174.001; Tue, 11 Mar 2014 15:48:24 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'akr@akr.io'" <akr@akr.io>, "'dsfjdssdfsd@ietf.org'" <dsfjdssdfsd@ietf.org>
Thread-Topic: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs,	and Baskets
Thread-Index: AQHPPV5IJGLa+MVjDkCv/yPQoN7tTZrcSQPg
Date: Tue, 11 Mar 2014 19:48:24 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C5527C@XMB116CNC.rim.net>
References: <531F6068.4080907@akr.io>
In-Reply-To: <531F6068.4080907@akr.io>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/2vTQgfQ-i_yAYtSuKQeFaI68310
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <m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4g
R2lCd3ZFM3hFMnRmNTVXZ0dvbVBoczJLcW1wYTZuc2Fnd3JrWTZZTGs1VytiVjEyV2lDSU00NDdE
S3p1ODYNCj4gbWcNCj4gTzRuNkRyUTdoOE1Nd1NJdDJxYjkwQ3llNDhJbmN1WGN6SldJVkpLM1pP
NlRNQlIxSmVtd1NNMVdQMzVHVQ0KPiB0SDkNCj4gUWRPQUtQcit6V0V3QWFuZ1Q4enR4MDVYclBB
cTVjeHpjbFg5eWtyRjQzSFFoaXpqaWNYOUtnY3NHU1IzR0FZZQ0KPiAxYjNZOUliTFFjNnhNV2cw
aU9qczZZb28zbmdpRjRaOFo3NW44bGJsMy9Qb29seXdHUkdqM3VucHl2U1E0cVZNDQo+IEJ5RTZH
TzBZc2plSWJyTW8vdE5zDQo+ID1QdXpCDQo+IC0tLS0tRU5EIFBHUCBTSUdOQVRVUkUtLS0tLQ0K
PiANCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCj4g
ZHNmamRzc2Rmc2QgbWFpbGluZyBsaXN0DQo+IGRzZmpkc3NkZnNkQGlldGYub3JnDQo+IGh0dHBz
Oi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vZHNmamRzc2Rmc2QNCg==


From nobody Tue Mar 11 12:54:54 2014
Return-Path: <tytso@thunk.org>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DE131A07CB for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:54:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level: 
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, T_DKIM_INVALID=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 KXVvyjGXMT88 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 12:54:50 -0700 (PDT)
Received: from imap.thunk.org (imap.thunk.org [IPv6:2600:3c02::f03c:91ff:fe96:be03]) by ietfa.amsl.com (Postfix) with ESMTP id 6E8551A07C1 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 12:54:50 -0700 (PDT)
Received: from root (helo=closure.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.80) (envelope-from <tytso@thunk.org>) id 1WNSl9-0001VZ-SG; Tue, 11 Mar 2014 19:54:43 +0000
Received: by closure.thunk.org (Postfix, from userid 15806) id 3F8985812DE; Tue, 11 Mar 2014 15:54:43 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=thunk.org; s=mail; t=1394567683; bh=XHeTCLh1SA1pm1P0ql90sjNCC47wGXoKCZc4xvd7SLY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1SCxfAbJbeNgK6g3FoIBJr5S+1MJ2CYs727UQ9OX+Tvl87uBaP+bRl6mkQ35tvmKR J34qsQJD5o2w4hIHV9SDInAmnzjmDyGTiJRHCB0oJAafxskbhnhdqe3buYXD+MKun8 uN+GZFvBEz0Y1h1qNJovJO9v5QLFiLlaLJAY+omo=
Date: Tue, 11 Mar 2014 15:54:43 -0400
From: Theodore Ts'o <tytso@mit.edu>
To: Alyssa Rowan <akr@akr.io>
Message-ID: <20140311195443.GD2190@thunk.org>
References: <531F6068.4080907@akr.io>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD"
Content-Disposition: inline
In-Reply-To: <531F6068.4080907@akr.io>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tytso@thunk.org
X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/SnG2zn9hzqmmLEpBsZV2azMRJvI
Cc: dsfjdssdfsd@ietf.org
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 19:54:52 -0000

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 11, 2014 at 07:13:44PM +0000, Alyssa Rowan wrote:
> B. A 'running' state, which uses that key, holds it securely, and runs
>    a good deterministic random bit generator to generate as much
>    randomness as we need [up to some limit].
>=20
> Specifically, djb advocates running A -then- run B (presumably, up to
> some defined limit, as no DRBG is sound _ad infinitum_, then we'd have
> to block and go back to A to gather another key?).

I'll note that an criteria for judging RNG's which is very popular
with academics who love to write papers poking (theoretical) holes
into random number generators is how quickly a RNG can recover from
state compromise.

One of the reasons why some people love RNG's such as Fortuna and
Yarrow is that it is specifically designed to recover from state
compromises --- and the scheme which djb has suggested would do poorly
on that particular metric.

Does it matter?  Well, entire virtual forests of electronic trees have
been felled by people speculating on whether fast/reliable recovery
=66rom state recovery is critically important compared to other design
considerations.

Personally, my take is that if you can compromise the state of the
RNG, you can probably far more damage, so I'm not convinced state
compromise is a very high priority threat to defend against.  But
there are tons and tons of academic papers which are convinced that
any RNG which doesn't worry about this attack is Fatally Flawed.

    	      	      	    	       	      - Ted

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJTH2n8AAoJENNvdpvBGATwvQwQALsaHR0TRuGbe8tgtRYhbHEQ
QmsOMCvfO5oUOaaJCNfkHRl85ap0LVVinNTi2k7Mo1UH9kuAd0fhjeAQE/gzH+H6
AtgbfpKbX42owZKn4eFVvg33GwsD1nCqCnXxPgnJ6jxHvMxdp6vEKF8K3ASJRBgE
7omI8adjDZVJdfNaSbM7CYaQSBOd42wurz7EoP/cIgtA+GmRaXWWf8HjlOpanaZw
8SUtq0DyQ7s5qL6UISM32Hk+cVfij3Wqe4mtoC02Ju99rGl+Y+uSn8dPfky/5dla
w/x03NVzt8P3DwRvoT9RTHOe2tFFOSi5aQr6nPrHmV39u+6NSniHqmoK1LwJtasq
iha0CBglTlKl3TZdV3CLCS89/JHT/FR19nUQkLvjeiWZIbpty5SZRJ/W37ozecgA
lT8o6CY33xeMDg0yDGgY3oPDxfQ78m9WUnaYPEcIC9yCmuJw0PN6y+Q/Z2zBPrgo
aZXtVsEo5fZfNKIWz4ftypLPs1fhyOgNnmjKvfhpsgY+O6rDuueo0aAtlhXELuGY
VlD+pT7a0vUyCgtSAcYW+jmdB1rjNOeb6RNRHSOgzqkPtQZwF5PW1SUeyoPK8j+G
zer9V63zqZT1flxQY20o/c5IdbhhCBfzNv63or/fSYWqJWH3m9llqg33FkiOCmSe
emW+FXwdg56n3g9WJomz
=v7zn
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--


From nobody Tue Mar 11 14:22:28 2014
Return-Path: <dan@geer.org>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4AA21A0810 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 14:22:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 CyRla5Y19Mfz for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 14:22:21 -0700 (PDT)
Received: from palinka.tinho.net (palinka.tinho.net [166.84.6.13]) by ietfa.amsl.com (Postfix) with ESMTP id E63511A0804 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 14:22:20 -0700 (PDT)
Received: by palinka.tinho.net (Postfix, from userid 126) id 6383622813B; Tue, 11 Mar 2014 17:22:13 -0400 (EDT)
Received: from palinka.tinho.net (localhost [127.0.0.1]) by palinka.tinho.net (Postfix) with ESMTP id 606EE2280BE; Tue, 11 Mar 2014 17:22:13 -0400 (EDT)
From: dan@geer.org
To: Alyssa Rowan <akr@akr.io>
In-Reply-To: Your message of "Tue, 11 Mar 2014 18:26:59 -0000." <531F5573.1050905@akr.io>
Date: Tue, 11 Mar 2014 17:22:13 -0400
Message-Id: <20140311212213.6383622813B@palinka.tinho.net>
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/lnxloe-qe1D6C8vzA7zbeP2O6iI
Cc: dsfjdssdfsd@ietf.org
Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 21:22:24 -0000

> > So, I am not totally sure about the question of whether secure
> > RNGs should be a MUST.  I wonder what others think.
> 
> Given this list exists, I'd say yes: going forward, they MUST be. <g>
> 
> Regarding your counterargument: I think security considerations
> warrant MUST.
> 
> I think secure RNGs really need to be considered a vital component to
> analyse. They have clearly been considered a vital component to
> attack: and no wonder. Insecure RNGs introduce major unexpected
> problems, including predictable keys and key leakage, in protocols
> which rely on secure RNGs to satisfy their security requirements. But
> they can be subtle, and hard to verify.
> ...snip...

I know that this is not the right term as it has a pre-existing
definition, but might you be arguing that a trustworthy RNG is a,
if not the, "trust anchor" for security as we now understand it?
That is to say "the authoritative entity for which trust is assumed
and not derived"?  [quotation from various Wiki def'ns]

--dan


From nobody Tue Mar 11 15:19:33 2014
Return-Path: <Jeff.Hodges@KingsMountain.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72EEE1A0868 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 15:19:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.231
X-Spam-Level: 
X-Spam-Status: No, score=-1.231 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001] autolearn=no
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 c4lBhIXUYrno for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 15:19:30 -0700 (PDT)
Received: from alt-proxy11.mail.unifiedlayer.com (alt-proxy11.mail.unifiedlayer.com [74.220.211.241]) by ietfa.amsl.com (Postfix) with SMTP id 349251A0848 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 15:19:30 -0700 (PDT)
Received: (qmail 31663 invoked by uid 0); 11 Mar 2014 22:19:23 -0000
Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by oproxy16.mail.unifiedlayer.com with SMTP; 11 Mar 2014 22:19:23 -0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kingsmountain.com; s=default;  h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=MeWijcxpyLMqhtdtQStumvo1BwKn/qnTwMVSuE9scBs=;  b=cPCcPWImm7uZRxLhWVsVY14GUiGRm87Kuo9JaaWZX5/K5E6K4hyID5nTO3M0Ui0nbXbQs2Ybzi4IN5pgl3GiW+tVuxxWqstDVBy33hrly9m4iBm/fsk8eYgg5qAPvesj;
Received: from [216.113.168.128] (port=30230 helo=[10.244.137.220]) by box514.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1WNV19-0001sP-EW for dsfjdssdfsd@ietf.org; Tue, 11 Mar 2014 16:19:23 -0600
Message-ID: <531F8BF8.4020102@KingsMountain.com>
Date: Tue, 11 Mar 2014 15:19:36 -0700
From: =JeffH <Jeff.Hodges@KingsMountain.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5
MIME-Version: 1.0
To: IETF Pseudorandom Number Generator PRNG discussion list <dsfjdssdfsd@ietf.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Identified-User: {11025:box514.bluehost.com:kingsmou:kingsmountain.com} {sentby:smtp auth 216.113.168.128 authed with jeff.hodges+kingsmountain.com}
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/oRkT43mmorXPGpcli2axpXg4S1g
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 22:19:31 -0000

 > Ted noted..
 >
 > I'll note that an criteria for judging RNG's which is very popular
 > with academics who love to write papers poking (theoretical) holes
 > into random number generators is how quickly a RNG can recover from
 > state compromise.
 > ...
 > Personally, my take is that if you can compromise the state of the
 > RNG, you can probably far more damage, so I'm not convinced state
 > compromise is a very high priority threat to defend against.  But
 > there are tons and tons of academic papers which are convinced that
 > any RNG which doesn't worry about this attack is Fatally Flawed.

a recent paper that is perhaps an instance of the above class(es) of pape=
rs=20
(but may be of interest in any case) is...

Dodis, Yevgeniy, Adi Shamir, Noah Stephens-Davidowitz, and Daniel Wichs. =

"How to Eat Your Entropy and Have it Too=97Optimal Recovery Strategies fo=
r=20
Compromised RNGs."
https://eprint.iacr.org/2014/167.pdf


=3DJeffH



From nobody Tue Mar 11 15:48:20 2014
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19F461A086D for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 15:48:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] 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 u04plSTQv5ZT for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 15:48:16 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) by ietfa.amsl.com (Postfix) with ESMTP id 8AD6A1A085E for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 15:48:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 7CA9FBE3F; Tue, 11 Mar 2014 22:48:10 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-CtRr30UioC; Tue, 11 Mar 2014 22:48:09 +0000 (GMT)
Received: from [10.87.48.8] (unknown [86.46.16.238]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 5826FBE20; Tue, 11 Mar 2014 22:48:09 +0000 (GMT)
Message-ID: <531F92A8.7090006@cs.tcd.ie>
Date: Tue, 11 Mar 2014 22:48:08 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Dan Brown <dbrown@certicom.com>, "'akr@akr.io'" <akr@akr.io>,  "'dsfjdssdfsd@ietf.org'" <dsfjdssdfsd@ietf.org>
References: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net> <531F5573.1050905@akr.io> <810C31990B57ED40B2062BA10D43FBF5C541E4@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C541E4@XMB116CNC.rim.net>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/4brUknTjGF87ONl4LFd5u0N4JYw
Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 22:48:18 -0000

Well, you're brave if you're arguing to make NIST RNG specs
a MUST given recent news;-)

But seriously, I don't think its at all clear how 2119 terms
map to an implementation consideration such as the goodness
of an RNG, especially when its so hard to measure.

If there were some accepted descriptions for different kinds
of randomness requirements that might be placed on protocol
data units that could be useful, esp if we also had examples
of how to meet those requirements.

But I'm not sure if the above would be very useful really.

We may be better off just updating 4086.

However, that's what this list is for, so people can discuss
this kind of thing.

S.


From nobody Tue Mar 11 16:46:20 2014
Return-Path: <sandyinchina@gmail.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F08621A087B for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 16:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] 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 Ii_tcwF-9VVy for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 11 Mar 2014 16:46:14 -0700 (PDT)
Received: from mail-ve0-x22c.google.com (mail-ve0-x22c.google.com [IPv6:2607:f8b0:400c:c01::22c]) by ietfa.amsl.com (Postfix) with ESMTP id A739A1A0857 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 16:46:14 -0700 (PDT)
Received: by mail-ve0-f172.google.com with SMTP id jx11so9309306veb.17 for <dsfjdssdfsd@ietf.org>; Tue, 11 Mar 2014 16:46:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dN2F7zG3/2WysLafEENOW52HVyCsCcjhhF/gF8gdRyo=; b=RAvvjcVpOmp71P3gNkdP5HS3GKJqHJ78BFwL2csmQ4upeqvCVA/7/vIg11X+3VdNEP nouWn052pfskC7hJsAgiEgpR9jXNgXKmWwvwoVCfw88gu/K4kR0GMV17FE+y7VL4T7IH y+bhPQ9vACp/FFwrhRYgRuS4CP1SIREDx7g8rBKA7Q42TUHw98v2QPuNHCcn5OLx4Vjx SqnR3/hD89DQMQgt/Vb5QpNEumMsS0ZzI+6cUvkt1vJi8YnHCU5grX6u/q5XAyrvt60i z0EoOg5BQtcSMEXyKK8FNB55zhd7qmyfJpncTApglamjGyDYmGgRsu7CykA50R7hLh0L IRSw==
MIME-Version: 1.0
X-Received: by 10.221.74.65 with SMTP id yv1mr32360vcb.31.1394581568502; Tue, 11 Mar 2014 16:46:08 -0700 (PDT)
Received: by 10.58.234.4 with HTTP; Tue, 11 Mar 2014 16:46:08 -0700 (PDT)
In-Reply-To: <531F5573.1050905@akr.io>
References: <810C31990B57ED40B2062BA10D43FBF5C523AD@XMB116CNC.rim.net> <531F5573.1050905@akr.io>
Date: Tue, 11 Mar 2014 19:46:08 -0400
Message-ID: <CACXcFmnX86-mOGohL8K=y1kQ7NuZRoi3hZ2JiVuYu9=4GsH1mw@mail.gmail.com>
From: Sandy Harris <sandyinchina@gmail.com>
To: dsfjdssdfsd@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/isCM0Rq8RcSu3rciUZHBCf2sHmI
Subject: Re: [dsfjdssdfsd] Should secure RNGs be a MUST?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 23:46:17 -0000

On Tue, Mar 11, 2014 at 2:26 PM, Alyssa Rowan <akr@akr.io> wrote:

> On 11/03/2014 17:08, Dan Brown wrote:
>
>> So, I am not totally sure about the question of whether secure
>> RNGs should be a MUST.  I wonder what others think.
>
> Given this list exists, I'd say yes: going forward, they MUST be. <g>
>
> Regarding your counterargument: I think security considerations
> warrant MUST.

Absolutely, at least in any protocols whose security properties matter,
and often elsewhere as well.

> I think secure RNGs really need to be considered a vital component to
> analyse. ...
>
> We should consider how robust protocols may be if those requirements
> are not met, and generally prefer (as a "safety net") protocols which
> do not fail catastrophically if the RNG is weak, ...

I cannot think offhand of a protocol that uses random numbers and
does not fail with bad ones. Sometimes, as in choosing TCP sequence
numbers, it may not matter a lot, but I am not even certain of that.

There are many examples of important security protocols that fail
disastrously -- as in do not achieve any of their design goals -- if a
weak RNG is used. Here are some:

The Diffie-Hellman key negotiation protocol -- used by at least IPsec,
SSL/TLS and SSH, and for all I know others -- can be straightforwardly
broken if either party uses a weak RNG. The break gives the enemy
the shared key, which lets him break both the encryption and the
packet-level authentication.

PGP generates a random key and uses it to encrypt the message
with an efficient block cipher. Then it uses public key methods to
safely deliver that key to recipients. A sufficiently bad RNG could
therefore break PGP.

RNGs are also required for most types of key generation for any
public key algorithm. The recent findings of massive duplication
of TLS keys (a fatal flaw) on the net was attributed mainly to
linux-based routers that failed to initialise their RNGs correctly.

The DSA algorithm may be a standard, but it is horrendously
flawed. A single use with a bad RNG or multiple uses if each
leaks a bit of random material, completely break it, letting an
attacker get the private key.
https://en.wikipedia.org/wiki/Digital_Signature_Algorithm#Sensitivity

Some people, including me, suspect that such a flawed method
could only have been standardised as a deliberate attempt to
facilitate monitoring.


From nobody Wed Mar 12 11:42:43 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71F171A073F for <dsfjdssdfsd@ietfa.amsl.com>; Wed, 12 Mar 2014 11:42:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.5
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] 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 F3LMHtXXqXSz for <dsfjdssdfsd@ietfa.amsl.com>; Wed, 12 Mar 2014 11:42:39 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 4845D1A0479 for <dsfjdssdfsd@ietf.org>; Wed, 12 Mar 2014 11:42:39 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 12 Mar 2014 14:42:33 -0400
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT101CNC.rim.net (10.65.161.201) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 12 Mar 2014 14:42:32 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Wed, 12 Mar 2014 14:42:32 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'akr@akr.io'" <akr@akr.io>, "'dsfjdssdfsd@ietf.org'" <dsfjdssdfsd@ietf.org>
Thread-Topic: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
Thread-Index: AQHPPWLmQjYJLz7470CYayzcUMxJTJrdjv7Q
Date: Wed, 12 Mar 2014 18:42:31 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C55E13@XMB116CNC.rim.net>
References: <531F6068.4080907@akr.io> <810C31990B57ED40B2062BA10D43FBF5C5527C@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C5527C@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/QxIcfTML3k48IZvr771h-F07MuQ
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Mar 2014 18:42:41 -0000

PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYW4gQnJvd24gKG1lKQ0KPiBT
ZW50OiBUdWVzZGF5LCBNYXJjaCAxMSwgMjAxNCAzOjQ4IFBNDQo+IA0KPiBUaGUgQU5TSS9OSVNU
IHN0YW5kYXJkcyBhbHJlYWR5IHJlc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2lvdXNseSwgaS5lLiBieSBhbiBhZHZlcnNhcnkgdGhhdCBkb2VzIG5vdCBr
bm93IHggYW5kIHkuICBJIHRoaW5rIHRoZSBibG9nIGVudHJ5IGlzIHBvaW50aW5nIG91dCwgY29y
cmVjdGx5IHRoYXQgdGhlIGFkdmVyc2FyeSBtYXkgaGF2ZSB0d28gcGFydHM6IGFuIGVtYmVkZGVk
IG1hbHdhcmUgdGhhdCBrbm93cyB4IGFuZCB5LCBhbmQgYW4gZXh0ZXJuYWwgYWR2ZXJzYXJ5IHRo
YXQgb25seSBvYnNlcnZlcyBuZXR3b3JrIGNvbW11bmljYXRpb25zLCBidXQgaGFzIG5vIGlkZWEg
b2YgeCBhbmQgeS4gUGVyaGFwcyB0aGUgY29udmVudGlvbmFsIHdpc2RvbSBpZ25vcmVzIHRoaXMg
bGF0dGVyIHNwbGl0IGFkdmVyc2FyeS4NCg0KDQoNCg0KDQo=


From nobody Fri Mar 14 09:21:19 2014
Return-Path: <agr@me.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCB4B1A017E for <dsfjdssdfsd@ietfa.amsl.com>; Fri, 14 Mar 2014 09:21:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.6
X-Spam-Level: 
X-Spam-Status: No, score=-3.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 zB90LbhNafA1 for <dsfjdssdfsd@ietfa.amsl.com>; Fri, 14 Mar 2014 09:21:13 -0700 (PDT)
Received: from st11p01mm-asmtp002.mac.com (st11p01mm-asmtpout002.mac.com [17.172.204.237]) by ietfa.amsl.com (Postfix) with ESMTP id 6DA2E1A0184 for <dsfjdssdfsd@ietf.org>; Fri, 14 Mar 2014 09:21:11 -0700 (PDT)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_2JgkYjlJYKX7uiXMT2WPuw)"
Received: from new-host.home (pool-108-7-220-89.bstnma.fios.verizon.net [108.7.220.89]) by st11p01mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2F0077RPF0DS70@st11p01mm-asmtp002.mac.com> for dsfjdssdfsd@ietf.org; Fri, 14 Mar 2014 16:21:01 +0000 (GMT)
From: Arnold Reinhold <agr@me.com>
In-reply-to: <20140311195443.GD2190@thunk.org>
Date: Fri, 14 Mar 2014 12:20:56 -0400
Message-id: <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org>
To: dsfjdssdfsd@ietf.org
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=me.com; e=me.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaEhEKTEMXGx0EGx0YBBIZBBsSEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxsZGmJCH2lmG2RYGXhzB xhvGxwYGxsfEQpYXBcZBBoEHQdNSx0SSEkcTAUbHQQbHRgEEhkEGxIQGx4aHxsRCl5ZF2F9ZG9 jEQpMRhdsa2sRCkNaFxsaEgQdBBgYGgQSExEKRFgXGREKREkXGBEKQkYXbH1MRH59ZRNpXhMRC kJFF3p/fXhabExeQ2JAEQpCThdscGB5QB1iUmkaYhEKQkwXbWh7YE5jRQUFYWgRCkJsF2d+cEV EWXpIQX0cEQpCQBdgWk1uTGdtXEFDTREKcGgXb0hQR0Nbf216E18RCnBoF2MeUEd8aGt5fkl4E QpwaBdsHGVNfhITZW1hUxEKcGgXbgFlYU95b19+eVkRCnBoF2tTcHNQHRxhaRh6EQpwfxdrQB5 hWHhyWk1QWxEKcF8Xb31BQUBoYGVbaWYRCnB/F2hTbAVGXBl6HmMcEQpwXxdoWRJZc0xIbhsST hEKcGwXbn9kQ21zfkQebhMR
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/av8N3Nf4irRRLrXaUhla4bEO5Iw
Cc: Alyssa Rowan <akr@akr.io>, Theodore Ts'o <tytso@mit.edu>
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Mar 2014 16:21:16 -0000

--Boundary_(ID_2JgkYjlJYKX7uiXMT2WPuw)
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

Here are some scenarios where recovery from a state compromise would be important:

o A bug in system software that exposes PRNG state only rarely
o An attack that that exposes PRNG state in a system that is well guarded against covert channels, limiting undetected outbound messages to very low bit rate
o An attack that exposes PRNG state which requires physical access to a computer in a well guarded location, for example a Tempest attack where receiving equipment must be placed close to the system under attack
o A flaw in the hash algorithm used to protect the PRNG state that takes massive processing power to exploit
o Any attack that reveals only part of the PRNG state, forcing an expensive search to recover the unknown portion 

My response to the expected question "How likely are any of these situations, really?" is "How difficult is it to implement a PRNG that safely and rapidly recovers from a state compromise?"  If you believe the Dodis paper (http://www.cs.nyu.edu/~dodis/ps/rng.pdf), not very.

We know that both criminal organizations and state actors devote great effort to find any weaknesses. In particular, the expected rapid advance of the "Internet of Things" will produce many black-box diskless devices, some in critical functions, that have minimal entropy sources and software that is updated infrequently or never. I suggest that the Internet of Things should be a primary test case for any new RNG standards activity.

Arnold Reinhold

On Mar 11, 2014, at 3:54 PM, Theodore Ts'o <tytso@mit.edu> wrote:

> On Tue, Mar 11, 2014 at 07:13:44PM +0000, Alyssa Rowan wrote:
>> B. A 'running' state, which uses that key, holds it securely, and runs
>>   a good deterministic random bit generator to generate as much
>>   randomness as we need [up to some limit].
>> 
>> Specifically, djb advocates running A -then- run B (presumably, up to
>> some defined limit, as no DRBG is sound _ad infinitum_, then we'd have
>> to block and go back to A to gather another key?).
> 
> I'll note that an criteria for judging RNG's which is very popular
> with academics who love to write papers poking (theoretical) holes
> into random number generators is how quickly a RNG can recover from
> state compromise.
> 
> One of the reasons why some people love RNG's such as Fortuna and
> Yarrow is that it is specifically designed to recover from state
> compromises --- and the scheme which djb has suggested would do poorly
> on that particular metric.
> 
> Does it matter?  Well, entire virtual forests of electronic trees have
> been felled by people speculating on whether fast/reliable recovery
> from state recovery is critically important compared to other design
> considerations.
> 
> Personally, my take is that if you can compromise the state of the
> RNG, you can probably far more damage, so I'm not convinced state
> compromise is a very high priority threat to defend against.  But
> there are tons and tons of academic papers which are convinced that
> any RNG which doesn't worry about this attack is Fatally Flawed.
> 
>    	      	      	    	       	      - Ted
> _______________________________________________
> dsfjdssdfsd mailing list
> dsfjdssdfsd@ietf.org
> https://www.ietf.org/mailman/listinfo/dsfjdssdfsd


--Boundary_(ID_2JgkYjlJYKX7uiXMT2WPuw)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: quoted-printable

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Here =
are some scenarios where recovery from a state compromise would be =
important:<div><br></div><div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;">o A bug in system software that exposes PRNG =
state only rarely</span></div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;">o An attack that that exposes PRNG state in a =
system that is well guarded against covert channels, limiting undetected =
outbound messages to very low bit rate</span></div><div =
style=3D"font-size: 13px;"><span style=3D"font-size: 12px;">o An attack =
that exposes PRNG state which requires physical access to a computer in =
a well guarded location, for example a Tempest attack where receiving =
equipment must be placed close to the system under =
attack</span></div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;">o A flaw in the hash algorithm used to =
protect the PRNG state that takes massive processing power to =
exploit</span></div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;">o Any attack that reveals only part of the =
PRNG state, forcing an expensive search to recover the unknown =
portion&nbsp;</span></div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;"><br></span></div><div><span style=3D"font-size:=
 12px;">My response to the expected question "How likely are any of =
these situations, really?" is</span><span style=3D"font-size: =
12px;">&nbsp;"How difficult is it to implement a PRNG that safely and =
rapidly recovers from a state compromise?" &nbsp;</span><span =
style=3D"font-size: 12px;">If you believe the Dodis paper =
(http://</span>www.cs.nyu.edu/~dodis/ps/rng<span style=3D"font-size: =
13px;">.pdf)<span style=3D"font-size: 12px;">, not =
very.</span></span></div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;"><br></span></div><div style=3D"font-size: =
13px;">We know that both criminal organizations and state actors devote =
great effort to find any weaknesses.&nbsp;<span style=3D"font-size: =
12px;">In particular, the expected rapid advance of the "Internet of =
Things" will produce many black-box diskless devices, some in critical =
functions, that have minimal entropy sources and software that is =
updated infrequently or never. I suggest that the&nbsp;</span><span =
style=3D"font-size: 12px;">Internet of Things</span><span =
style=3D"font-size: 12px;">&nbsp;should be a primary test case for any =
new RNG standards activity.</span></div><div style=3D"font-size: =
13px;"><span style=3D"font-size: 12px;"><br></span></div><div =
style=3D"font-size: 13px;"><span style=3D"font-size: 12px;">Arnold =
Reinhold</span></div><div style=3D"font-size: 13px;"><span =
style=3D"font-size: 12px;"><br></span></div><div><div>On Mar 11, 2014, =
at 3:54 PM, Theodore Ts'o &lt;<a =
href=3D"mailto:tytso@mit.edu">tytso@mit.edu</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">On Tue, =
Mar 11, 2014 at 07:13:44PM +0000, Alyssa Rowan wrote:<br><blockquote =
type=3D"cite">B. A 'running' state, which uses that key, holds it =
securely, and runs<br> &nbsp;&nbsp;a good deterministic random bit =
generator to generate as much<br> &nbsp;&nbsp;randomness as we need [up =
to some limit].<br><br>Specifically, djb advocates running A -then- run =
B (presumably, up to<br>some defined limit, as no DRBG is sound _ad =
infinitum_, then we'd have<br>to block and go back to A to gather =
another key?).<br></blockquote><br>I'll note that an criteria for =
judging RNG's which is very popular<br>with academics who love to write =
papers poking (theoretical) holes<br>into random number generators is =
how quickly a RNG can recover from<br>state compromise.<br><br>One of =
the reasons why some people love RNG's such as Fortuna and<br>Yarrow is =
that it is specifically designed to recover from state<br>compromises =
--- and the scheme which djb has suggested would do poorly<br>on that =
particular metric.<br><br>Does it matter? &nbsp;Well, entire virtual =
forests of electronic trees have<br>been felled by people speculating on =
whether fast/reliable recovery<br>from state recovery is critically =
important compared to other design<br>considerations.<br><br>Personally, =
my take is that if you can compromise the state of the<br>RNG, you can =
probably far more damage, so I'm not convinced state<br>compromise is a =
very high priority threat to defend against. &nbsp;But<br>there are tons =
and tons of academic papers which are convinced that<br>any RNG which =
doesn't worry about this attack is Fatally Flawed.<br><br> =
&nbsp;&nbsp;&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> &nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- =
Ted<br>_______________________________________________<br>dsfjdssdfsd =
mailing list<br><a =
href=3D"mailto:dsfjdssdfsd@ietf.org">dsfjdssdfsd@ietf.org</a><br>https://w=
ww.ietf.org/mailman/listinfo/dsfjdssdfsd<br></blockquote></div><br></div><=
/body></html>=

--Boundary_(ID_2JgkYjlJYKX7uiXMT2WPuw)--


From nobody Fri Mar 14 10:08:03 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 956CB1A0164 for <dsfjdssdfsd@ietfa.amsl.com>; Fri, 14 Mar 2014 10:07:58 -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, HTML_MESSAGE=0.001] 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 zzO0AXp0Dl_Y for <dsfjdssdfsd@ietfa.amsl.com>; Fri, 14 Mar 2014 10:07:56 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id E17BA1A00F1 for <dsfjdssdfsd@ietf.org>; Fri, 14 Mar 2014 10:07:55 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 14 Mar 2014 13:07:44 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT102CNC.rim.net ([fe80::2066:5d4f:8c45:af55%17]) with mapi id 14.03.0174.001; Fri, 14 Mar 2014 13:07:43 -0400
From: Dan Brown <dbrown@certicom.com>
To: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Thread-Topic: Remove ref to DSS RNG
Thread-Index: Ac8/oeDqAvPuqchjQj+uruz0cI95dQ==
Date: Fri, 14 Mar 2014 17:07:43 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C575A7@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_001B_01CF3F86.62A805E0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/uBMIX2NRR0ozOKTGTivYZhpgDdc
Subject: [dsfjdssdfsd] Remove ref to DSS RNG
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Mar 2014 17:07:58 -0000

------=_NextPart_000_001B_01CF3F86.62A805E0
Content-Type: multipart/related;
	boundary="----=_NextPart_001_001C_01CF3F86.62A805E0"


------=_NextPart_001_001C_01CF3F86.62A805E0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_001D_01CF3F86.62A805E0"


------=_NextPart_002_001D_01CF3F86.62A805E0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

 

I think that the RFC 4086 sequel should drop the reference in its Section
7.2.3 to DSS RNG, or deprecate it.

 

The main reason, as I vaguely recall, is that it suffers from some form of
backtracking attack (found by somebody other than me).  Hence X9.62-2005
dropped this RNG..

 

I wonder if the following weak attack is the attack I'm trying to remember:

 

An adversary who sees the latest output X_j and compromises the current
state XKEY_(j+1) should, ideally, not be able to distinguish X_j from a
uniformly random bit string.  The idea is that current secret state reveals
nothing about past states.

 

But in the DSS RNG, an adversary can easily confirm the match by testing
that

 

X_j == G(t, XKEY_(j+1) - 1 - X_j) 

 

Assuming that (optional user input) == 0.

 

Hmm, maybe I'm wrong and just missing something obvious.  

 

I think newer DRBGs, e.g. in X9.82-3 and SP 800-90A, try to resist such
attacks.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_001D_01CF3F86.62A805E0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Hi,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>I think that the RFC 4086 sequel should drop the reference =
in its Section 7.2.3 to DSS RNG, or deprecate =
it.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>The main reason, as I vaguely recall, is that it suffers =
from some form of backtracking attack (found by somebody other than =
me).&nbsp; Hence X9.62-2005 dropped this RNG..<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>I wonder if the following weak =
attack is the attack I&#8217;m trying to =
remember:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>An adversary who sees the latest output X_j and compromises =
the current state XKEY_(j+1) should, ideally, not be able to distinguish =
X_j from a uniformly random bit string.&nbsp; The idea is that current =
secret state reveals nothing about past states.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>But in the DSS RNG, an adversary =
can easily confirm the match by testing that<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>X_j =3D=3D G(t, XKEY_(j+1) &#8211; =
1 &#8211; X_j) <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Assuming that (optional user input) =3D=3D =
0.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Hmm, maybe I&#8217;m wrong and just missing something =
obvious.&nbsp; <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>I think newer DRBGs, e.g. in X9.82-3 and SP 800-90A, try to =
resist such attacks.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Best regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in =
3.0pt 0in'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF3F86.6014B0D0"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_001D_01CF3F86.62A805E0--

------=_NextPart_001_001C_01CF3F86.62A805E0
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF3F86.6014B0D0>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX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pSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_001C_01CF3F86.62A805E0--

------=_NextPart_000_001B_01CF3F86.62A805E0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ4wDAYDVQQLEwVVc2Vy
czESMBAGA1UEAxMJRGFuIEJyb3duMSIwIAYJKoZIhvcNAQkBFhNkYnJvd25AY2VydGljb20uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRc70RE0/FL9ZbfN64YjA0lkQOLR9ipGebc9nH
jB93OfYfR7CVsCUYy3+v9PO1DiUS9MeWWR4nxB9Ztee32d3syDxGg3PGFwSrms/ORAW9pgiS/yKH
An9SKRKyqMz9LSn/VQrEgoyPBPT0S/vg521MGH58MwMXyLm1cLBQU5gtCQIDAQABo4IDmDCCA5Qw
CwYDVR0PBAQDAgWgMEQGCSqGSIb3DQEJDwQ3MDUwDgYIKoZIhvcNAwICAgCAMA4GCCqGSIb3DQME
AgIAgDAHBgUrDgMCBzAKBggqhkiG9w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yLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmlt
MSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwCQYFKw4D
AhoFAKCCAaYwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwMzE0
MTcwNzQzWjAjBgkqhkiG9w0BCQQxFgQUWOMzeM6A82vXr+tddLT3bnCsNKAwZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgC+8Shwz1AMy
kR9pRLXd/LdJVvMh5QXFOjIl9c/1Ta4W9YzFtx/6DV2CtWpH4PNKYlSuuNDZSoxDCq2heimDQYex
2B+Awv+SZxO4R/NwUEUM1WISaO1svnPyVM6WRdHwqDeiBa93xowYjAeeF6C1frrwETISNghWFHPc
3deaVqR8AAAAAAAA

------=_NextPart_000_001B_01CF3F86.62A805E0--


From nobody Sat Mar 15 07:16:42 2014
Return-Path: <iang@iang.org>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA6F91A01DD for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 07:16:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_21=0.6] autolearn=no
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 uOs2Y7euwmQw for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 07:16:38 -0700 (PDT)
Received: from virulha.pair.com (virulha.pair.com [209.68.5.166]) by ietfa.amsl.com (Postfix) with ESMTP id 6FFEC1A01D2 for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 07:16:38 -0700 (PDT)
Received: from tormenta.local (www2.futureware.at [78.41.115.142]) by virulha.pair.com (Postfix) with ESMTPSA id A0A526D46D; Sat, 15 Mar 2014 10:16:29 -0400 (EDT)
Message-ID: <532460BB.2080808@iang.org>
Date: Sat, 15 Mar 2014 14:16:27 +0000
From: ianG <iang@iang.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: dsfjdssdfsd@ietf.org
References: <mailman.64.1394650814.4986.dsfjdssdfsd@ietf.org>
In-Reply-To: <mailman.64.1394650814.4986.dsfjdssdfsd@ietf.org>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/h7JQNYwPuNm92wjwzr0vtbeUmVk
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Mar 2014 14:16:41 -0000

> Theodore Ts'o <tytso@mit.edu>

> On Tue, Mar 11, 2014 at 07:13:44PM +0000, Alyssa Rowan wrote:
>>> B. A 'running' state, which uses that key, holds it securely,
>>> and runs a good deterministic random bit generator to generate
>>> as much randomness as we need [up to some limit].
>>> 
>>> Specifically, djb advocates running A -then- run B (presumably,
>>> up to some defined limit, as no DRBG is sound _ad infinitum_,
>>> then we'd have to block and go back to A to gather another
>>> key?).
> I'll note that an criteria for judging RNG's which is very popular 
> with academics who love to write papers poking (theoretical) holes 
> into random number generators is how quickly a RNG can recover
> from state compromise.
> 
> One of the reasons why some people love RNG's such as Fortuna and 
> Yarrow is that it is specifically designed to recover from state 
> compromises --- and the scheme which djb has suggested would do
> poorly on that particular metric.
> 
> Does it matter?  Well, entire virtual forests of electronic trees
> have been felled by people speculating on whether fast/reliable
> recovery from state recovery is critically important compared to
> other design considerations.
> 
> Personally, my take is that if you can compromise the state of the 
> RNG, you can probably far more damage, so I'm not convinced state 
> compromise is a very high priority threat to defend against.  But 
> there are tons and tons of academic papers which are convinced
> that any RNG which doesn't worry about this attack is Fatally
> Flawed.



Responding to Ted to highlight the opposing view, ... Schneier in a
sense responds in today's Cryptogram:


** *** ***** ******* *********** *************
    The Security of the Fortuna PRNG

Providing random numbers on computers can be very difficult.  Back in
2003, Niels Ferguson and I designed Fortuna as a secure PRNG.
Particularly important is how it collects entropy from various
processes on the computer and mixes them all together.

While Fortuna is widely used, there hadn't been any real analysis of
the system.  This has now changed.  A new paper by Yevgeniy Dodis, Adi
Shamir, Noah Stephens-Davidowitz, and Daniel Wichs provides some
theoretical modeling for entropy collection and PRNG.  They analyze
Fortuna and find it good but not optimal, and then provide their own
optimal system.

Excellent, and long-needed, research.

http://eprint.iacr.org/2014/167

Fortuna:
https://www.schneier.com/fortuna.html
** *** ***** ******* *********** *************



Which abstract aptly describes the approach of the threat model, and
the challenges that it inspires, as well as promising a solution:


** *** ***** ******* *********** *************
   How to Eat Your Entropy and Have it Too
      --
   Optimal Recovery Strategies for Compromised RNGs

Yevgeniy Dodis and Adi Shamir and Noah Stephens-Davidowitz and Daniel
Wichs

Abstract: Random number generators (RNGs) play a crucial role in many
cryptographic schemes and protocols, but their security proof usually
assumes that their internal state is initialized with truly random
seeds and remains secret at all times. However, in many practical
situations these are unrealistic assumptions: The seed is often
gathered after a reset/reboot from low entropy external events such as
the timing of manual key presses, and the state can be compromised at
unknown points in time via side channels or penetration attacks. The
usual remedy (used by all the major operating systems, including
Windows, Linux, FreeBSD, MacOS, iOS, etc.) is to periodically
replenish the internal state through an auxiliary input with
additional randomness harvested from the environment. However,
recovering from such attacks in a provably correct and computationally
optimal way had remained an unsolved challenge so far.

In this paper we formalize the problem of designing an efficient
recovery mechanism from state compromise, by considering it as an
online optimization problem. If we knew the timing of the last
compromise and the amount of entropy gathered since then, we could
stop producing any outputs until the state becomes truly random again.
However, our challenge is to recover within a time proportional to
this optimal solution even in the hardest (and most realistic) case in
which (a) we know nothing about the timing of the last state
compromise, and the amount of new entropy injected since then into the
state, and (b) any premature production of outputs leads to the total
loss of all the added entropy {\em used by the RNG}, since the
attacker can use brute force to enumerate all the possible low-entropy
states. In other words, the challenge is to develop recovery
mechanisms which are guaranteed to save the day as quickly as possible
after a compromise we are not even aware of. The dilemma that we face
is that any entropy used prematurely will be lost, and any entropy
which is kept unused will delay the recovery.

After developing our formal definitional framework for RNGs with
inputs, we show how to construct a nearly optimal RNG which is secure
in our model. Our technique is inspired by the design of the Fortuna
RNG (which is a heuristic RNG construction that is currently used by
Windows and comes without any formal analysis), but we non-trivially
adapt it to our much stronger adversarial setting. Along the way, our
formal treatment of Fortuna enables us to improve its entropy
efficiency by almost a factor of two, and to show that our improved
construction is essentially tight, by proving a rigorous lower bound
on the possible efficiency of any recovery mechanism in our very
general model of the problem.
** *** ***** ******* *********** *************





(caveat, I haven't read the paper, so have no idea if the holy grail
is delivered)

iang


From nobody Sat Mar 15 08:39:36 2014
Return-Path: <d3e3e3@gmail.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 20A711A0175 for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 08:39:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 YcFx5dS2uacz for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 08:39:34 -0700 (PDT)
Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) by ietfa.amsl.com (Postfix) with ESMTP id 06A871A010C for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 08:39:33 -0700 (PDT)
Received: by mail-ob0-f176.google.com with SMTP id wp18so3782828obc.7 for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 08:39:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jNbS5j+EwI4mqXdnbBIkX/dhZVqVpPqCTwl23q639ao=; b=xWKSQ2ctkXWRa+slKt1nu0LpNppgL41hajAk4h1dRxaaHkeCXuc+XXDQr9GWATcfN0 umh9sSjcJPAIQ/3Vl+X2PwTkKwuUkuTP+ZH8JFP/uI+g5Rr8DJ25AzWDQojX5AfBQeqs 3tGqws9VZhr8+hAU6ENsKjzNglBvL3Knv9gTfqLVSefAD7bU/eYaP3tcI3e5FxuGT3Eh 314fo3gtZoCOrTuwMk5g+VSBZd8a9vtnZMgCOLQy2yPQDmdF2bpLgZkzCupjxTi9Vqsh 6ajLWgXSO0yku4emg6u612Gz4ztzVdoO55BxFW/qPEXqGvJ29vZ1gxMpM5sK2fE8Mf5Y eCow==
MIME-Version: 1.0
X-Received: by 10.60.157.228 with SMTP id wp4mr12507220oeb.39.1394897966824; Sat, 15 Mar 2014 08:39:26 -0700 (PDT)
Received: by 10.76.23.138 with HTTP; Sat, 15 Mar 2014 08:39:26 -0700 (PDT)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C575A7@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C575A7@XMB116CNC.rim.net>
Date: Sat, 15 Mar 2014 11:39:26 -0400
Message-ID: <CAF4+nEGb30XCNs=z6GLyQ61h0bXzPC_-eiqv1gH81Oo=z46iyA@mail.gmail.com>
From: Donald Eastlake <d3e3e3@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/I_JkewYGnoAErFXtFFMPlnMPJQw
Cc: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Subject: Re: [dsfjdssdfsd] Remove ref to DSS RNG
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Mar 2014 15:39:35 -0000

On 3/14/14, Dan Brown <dbrown@certicom.com> wrote:
> Hi,
>
> I think that the RFC 4086 sequel should drop the reference in its Section
> 7.2.3 to DSS RNG, or deprecate it.

I agree that its use for RNG should be deprecated.

However, I think the comment in RFC 4086 pointing out that DSS
requires new good randomness for each signature should remain and
probably the fact that, if you can control that "randomness" you can
leak an entire key in two signatures, should be mentioned and linked
to the recent "interesting" revelations and speculations concerning
subverted RNG...

Thanks,
Donald
=============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 155 Beaver Street, Milford, MA 01757 USA
 d3e3e3@gmail.com

> The main reason, as I vaguely recall, is that it suffers from some form of
> backtracking attack (found by somebody other than me).  Hence X9.62-2005
> dropped this RNG..
>
>
>
> I wonder if the following weak attack is the attack I'm trying to remember:
>
>
>
> An adversary who sees the latest output X_j and compromises the current
> state XKEY_(j+1) should, ideally, not be able to distinguish X_j from a
> uniformly random bit string.  The idea is that current secret state reveals
> nothing about past states.
>
>
>
> But in the DSS RNG, an adversary can easily confirm the match by testing
> that
>
>
>
> X_j == G(t, XKEY_(j+1) - 1 - X_j)
>
>
>
> Assuming that (optional user input) == 0.
>
>
>
> Hmm, maybe I'm wrong and just missing something obvious.
>
>
>
> I think newer DRBGs, e.g. in X9.82-3 and SP 800-90A, try to resist such
> attacks.
>
>
>
> Best regards,
>
>
>
>
> Daniel Brown
>
>
> Research In Motion Limited


From nobody Sat Mar 15 08:42:12 2014
Return-Path: <d3e3e3@gmail.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C14AC1A012C for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 08:42:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 cPxFt5qTcAQg for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 08:42:08 -0700 (PDT)
Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) by ietfa.amsl.com (Postfix) with ESMTP id 9B7D71A010C for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 08:42:08 -0700 (PDT)
Received: by mail-oa0-f53.google.com with SMTP id j17so3957882oag.12 for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 08:42:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jNbS5j+EwI4mqXdnbBIkX/dhZVqVpPqCTwl23q639ao=; b=Wb4RDpbA2rPsSzVPpMtz4QFFEGOHRVqRWvtvCEpIoY81LP8sLYO4onQWk+SS74C6GY tKI7EIKJFzHP06ixecQDhRu+24UXufCe74SCfrREX/VEYO60fi9LA7oqTTkdRvLUf13O X98mdv1cPAHO10fOjbVqgaxXcS1Uh6/kMPAhY9x3XsQCt/2owK+HJOtQHKMGa/4S92Bj W3GuzPOvNJs2N/zzdagbx+PdytW6W/15VJrve63FmrmOcxRr5Myk5ZbyMe1c8pB96hDt WHj93OKV8ppNOHMfQI1I0k3KtQlYXKDuq7Uon9M0WIzpu7IiCfQ6MQxvxQh6BGZxPAmn qZ7w==
MIME-Version: 1.0
X-Received: by 10.60.116.74 with SMTP id ju10mr12351740oeb.6.1394898121355; Sat, 15 Mar 2014 08:42:01 -0700 (PDT)
Received: by 10.76.23.138 with HTTP; Sat, 15 Mar 2014 08:42:01 -0700 (PDT)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C575A7@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C575A7@XMB116CNC.rim.net>
Date: Sat, 15 Mar 2014 11:42:01 -0400
Message-ID: <CAF4+nEHU7t9BTCrvHGnPwzhiismRfFGTT7S5vyGSbtn1jYo5DQ@mail.gmail.com>
From: Donald Eastlake <d3e3e3@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/GCXXv_-PeJGm5oQkaQjNLI4F9Ys
Cc: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Subject: Re: [dsfjdssdfsd] Remove ref to DSS RNG
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Mar 2014 15:42:10 -0000

On 3/14/14, Dan Brown <dbrown@certicom.com> wrote:
> Hi,
>
> I think that the RFC 4086 sequel should drop the reference in its Section
> 7.2.3 to DSS RNG, or deprecate it.

I agree that its use for RNG should be deprecated.

However, I think the comment in RFC 4086 pointing out that DSS
requires new good randomness for each signature should remain and
probably the fact that, if you can control that "randomness" you can
leak an entire key in two signatures, should be mentioned and linked
to the recent "interesting" revelations and speculations concerning
subverted RNG...

Thanks,
Donald
=============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 155 Beaver Street, Milford, MA 01757 USA
 d3e3e3@gmail.com

> The main reason, as I vaguely recall, is that it suffers from some form of
> backtracking attack (found by somebody other than me).  Hence X9.62-2005
> dropped this RNG..
>
>
>
> I wonder if the following weak attack is the attack I'm trying to remember:
>
>
>
> An adversary who sees the latest output X_j and compromises the current
> state XKEY_(j+1) should, ideally, not be able to distinguish X_j from a
> uniformly random bit string.  The idea is that current secret state reveals
> nothing about past states.
>
>
>
> But in the DSS RNG, an adversary can easily confirm the match by testing
> that
>
>
>
> X_j == G(t, XKEY_(j+1) - 1 - X_j)
>
>
>
> Assuming that (optional user input) == 0.
>
>
>
> Hmm, maybe I'm wrong and just missing something obvious.
>
>
>
> I think newer DRBGs, e.g. in X9.82-3 and SP 800-90A, try to resist such
> attacks.
>
>
>
> Best regards,
>
>
>
>
> Daniel Brown
>
>
> Research In Motion Limited


From nobody Sat Mar 15 08:50:56 2014
Return-Path: <pinterkr@gmail.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C985B1A0218 for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 08:50:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.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, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 mxiSx2tX4ra4 for <dsfjdssdfsd@ietfa.amsl.com>; Sat, 15 Mar 2014 08:50:50 -0700 (PDT)
Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) by ietfa.amsl.com (Postfix) with ESMTP id 8A4D21A020A for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 08:50:50 -0700 (PDT)
Received: by mail-ee0-f51.google.com with SMTP id c13so2485485eek.10 for <dsfjdssdfsd@ietf.org>; Sat, 15 Mar 2014 08:50:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=date:from:message-id:to:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=8vDiwcJojknb9xTAIowcYh4j276efk83aVKfWHP15zc=; b=GR+cfeoZPDE++nPuEetU/Ph7rI7JvueJkQgjTbC03GWw7pZOBTPIPKJZqYSy+vzO34 yg89krzlsn+A5BZXNbShCzWz9CkMYPKDLeagAe8iqqsqoBHhQSBUXeAx+vaFDzG7p8Zx qhKzPOeQ9B/V34hUtK1mm8FezKG6OrhKA9fFvl4glFdwU6Jopr5rKL3yNfL4hkGhMwAJ 1QZZhGHo/hJB+/dJ0156yV6r5PwWBSYusKReqP5UhdMYMeogx7KHybmLPJDfw38B8dw8 c6z5xTjDZxYzK0y/kQl2pZKj+BaaVDj+VUiqvLYIGuvTfCjcZsAL2bn4g6nCkoAu5nUN aFWw==
X-Received: by 10.15.64.75 with SMTP id n51mr6097415eex.33.1394898641300; Sat, 15 Mar 2014 08:50:41 -0700 (PDT)
Received: from [192.168.2.244] (catv-176-63-52-22.catv.broadband.hu. [176.63.52.22]) by mx.google.com with ESMTPSA id m8sm25506186eef.14.2014.03.15.08.50.40 for <dsfjdssdfsd@ietf.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 15 Mar 2014 08:50:40 -0700 (PDT)
Date: Sat, 15 Mar 2014 16:50:37 +0100
From: =?iso-8859-15?Q?Kriszti=E1n_Pint=E9r?= <pinterkr@gmail.com>
X-Priority: 3 (Normal)
Message-ID: <56491888.20140315165037@gmail.com>
To: dsfjdssdfsd@ietf.org
In-Reply-To: <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/78HPKgJvIzWMFh5yxiuzTc63FmI
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Mar 2014 15:50:52 -0000

Arnold Reinhold (at Friday, March 14, 2014, 5:20:56 PM):
> Here are some scenarios where recovery from a state compromise would be important:
> o A bug in system software that exposes PRNG state only rarely
> o An attack that that exposes PRNG state in a system that is well
> guarded against covert channels, limiting undetected outbound messages to very low bit rate
[...]

and these are the attacks about which djb says: your system is broken.
don't patch it, fix it. if such attacks could be carried out, session
keys or long term keys might have been compromised. recovering your
prng won't help that, the damage has been done.

it is not the way to reduce the chance of any attack by a small
factor, let the factor be a 100, or even a million, it is still small.
what we want is systems that are reliable and safe. and if our system
is safe, we don't need reseeding.



From nobody Sun Mar 16 08:18:54 2014
Return-Path: <agr@me.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81F7E1A01E9 for <dsfjdssdfsd@ietfa.amsl.com>; Sun, 16 Mar 2014 08:18:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.501
X-Spam-Level: 
X-Spam-Status: No, score=-2.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 Gquj9cvRKb2A for <dsfjdssdfsd@ietfa.amsl.com>; Sun, 16 Mar 2014 08:18:50 -0700 (PDT)
Received: from st11p01mm-asmtp002.mac.com (st11p01mm-asmtp002.mac.com [17.172.204.237]) by ietfa.amsl.com (Postfix) with ESMTP id 79B481A02F4 for <dsfjdssdfsd@ietf.org>; Sun, 16 Mar 2014 08:18:49 -0700 (PDT)
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Received: from arnoldsacbook15.home (pool-108-7-220-89.bstnma.fios.verizon.net [108.7.220.89]) by st11p01mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2J00BJCBUV0X40@st11p01mm-asmtp002.mac.com> for dsfjdssdfsd@ietf.org; Sun, 16 Mar 2014 15:18:32 +0000 (GMT)
From: Arnold Reinhold <agr@me.com>
X-Priority: 3 (Normal)
In-reply-to: <56491888.20140315165037@gmail.com>
Date: Sun, 16 Mar 2014 11:18:29 -0400
Content-transfer-encoding: quoted-printable
Message-id: <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com> <56491888.20140315165037@gmail.com>
To: =?iso-8859-1?Q?Kriszti=E1n_Pint=E9r?= <pinterkr@gmail.com>
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=me.com; e=me.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaGBEKTEMXGx0EGx0YBBIZBBsdEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxsYGmJCH2luHGYcGXhzB xhtGx8bEn0bEQpYXBcZBBoEHQdNSx0SSEkcTAUbHQQbHRgEEhkEGx0QGx4aHxsRCl5ZF2F9GHx AEQpMRhdia2sRCkNaFxsaEgQdBBgYGgQSExEKRFgXGBEKREkXGxEKQkYXbH1MRH59ZRNpXhMRC kJFF3p/fXhabExeQ2JAEQpCThdscGB5QB1iUmkaYhEKQkwXbWh7YE5jRQUFYWgRCkJsF2d+cEV EWXpIQX0cEQpCQBdkZl1mbkt+SxxZXhEKcGgXegFlW09bQRoTQXwRCnBoF2EFXlh5ElpLZVJJE QpwaBdhbkl4X2hwHltvQhEKcGgXbEgZWXpmZGgfEwERCnBoF2R6Y0JwT2AaWh1ZEQpwbBduf2R DbXN+RB5uExEKcEwXbhodWnIeY2YbfkER
X-CLX-Spam: false
X-CLX-Score: 1011
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/H9nC2pSMKZ29MvdZtAQTqQy8NvM
Cc: dsfjdssdfsd@ietf.org
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Mar 2014 15:18:52 -0000

On Mar 15, 2014, at 11:50 AM, Kriszti=E1n Pint=E9r <pinterkr@gmail.com> =
wrote:

>=20
> Arnold Reinhold (at Friday, March 14, 2014, 5:20:56 PM):
>> Here are some scenarios where recovery from a state compromise would =
be important:
>> o A bug in system software that exposes PRNG state only rarely
>> o An attack that that exposes PRNG state in a system that is well
>> guarded against covert channels, limiting undetected outbound =
messages to very low bit rate
> [...]
>=20
> and these are the attacks about which djb says: your system is broken.
> don't patch it, fix it. if such attacks could be carried out, session
> keys or long term keys might have been compromised. recovering your
> prng won't help that, the damage has been done.
>=20
> it is not the way to reduce the chance of any attack by a small
> factor, let the factor be a 100, or even a million, it is still small.
> what we want is systems that are reliable and safe. and if our system
> is safe, we don't need reseeding.

I am not aware of anyone who even claims to have a system that is =
"safe", as in free from any security bugs, much less one that remains =
safe from bugs being added as new software is developed and other bugs =
are fixed.=20

And note that not all the issues I raised are software related. Tempest, =
for example, is a very tricky business. The NSA specs for Tempest =
protection are not publicly available, but I have been told they require =
tight physical configuration control, as even a single wire change can =
destroy Tempest protection.  Perhaps the best that can be achieved is to =
keep any attacker a safe distance from critical systems. A determined =
attacker might be willing to absorb the effort and risk to covertly =
penetrate physical security barriers if doing so will lead to a =
permanent compromise of a one-time-seeded PRNG, less so if the benefits =
will last only briefly as the PRNG reseeds after they leave.

We now have something we never had before, an apparently thorough =
rigorous analysis of the reseeding issue. Of course, time should be =
allowed for responses and critiques to the Dodis paper to emerge, but =
planning new security guidelines that ignore this work seems foolhardy.

Arnold Reinhold=


From nobody Sun Mar 16 10:17:34 2014
Return-Path: <tytso@thunk.org>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08CB61A0301 for <dsfjdssdfsd@ietfa.amsl.com>; Sun, 16 Mar 2014 10:17:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level: 
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, T_DKIM_INVALID=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 q4_S6sXAXpAS for <dsfjdssdfsd@ietfa.amsl.com>; Sun, 16 Mar 2014 10:17:30 -0700 (PDT)
Received: from imap.thunk.org (imap.thunk.org [IPv6:2600:3c02::f03c:91ff:fe96:be03]) by ietfa.amsl.com (Postfix) with ESMTP id 72A0C1A02F2 for <dsfjdssdfsd@ietf.org>; Sun, 16 Mar 2014 10:17:30 -0700 (PDT)
Received: from root (helo=closure.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.80) (envelope-from <tytso@thunk.org>) id 1WPEga-0007iD-Pj; Sun, 16 Mar 2014 17:17:20 +0000
Received: by closure.thunk.org (Postfix, from userid 15806) id 353875802B0; Sun, 16 Mar 2014 13:17:16 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=thunk.org; s=mail; t=1394990236; bh=o7tlg7yDjPHqY0/A88An7HmDh5+xe01xt0J3fW3ZGDM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z33s+770PWrR2r86+R6Ac8r6MQ0481kW3+Ygj8GlPNZkVRSxhqFx88atoEX28pQIG yrl9wRzWvWBYe34qEA9rl04cOVunig4CJIT00/S2XSRWR5NsaVjKtVFpIcszFr8fWj MH7/379IdC5o4oUzmwnl5SwrGNpFDzapKcYNDUUM=
Date: Sun, 16 Mar 2014 13:17:16 -0400
From: tytso@mit.edu
To: Arnold Reinhold <agr@me.com>
Message-ID: <20140316171716.GD31988@thunk.org>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com> <56491888.20140315165037@gmail.com> <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com>
User-Agent: Mutt/1.5.22 (2013-10-16)
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tytso@thunk.org
X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/aZSzOEVOaDD1APfSm0zGHQ7yQHY
Cc: dsfjdssdfsd@ietf.org, =?iso-8859-1?Q?Kriszti=E1n_Pint=E9r_=3Cpinterkr=40gmail=2Ecom=3E?=@thunk.org
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Mar 2014 17:17:32 -0000

On Sun, Mar 16, 2014 at 11:18:29AM -0400, Arnold Reinhold wrote:
> 
> And note that not all the issues I raised are software
> related. Tempest, for example, is a very tricky business. The NSA
> specs for Tempest protection are not publicly available, but I have
> been told they require tight physical configuration control, as even
> a single wire change can destroy Tempest protection.  Perhaps the
> best that can be achieved is to keep any attacker a safe distance
> from critical systems. A determined attacker might be willing to
> absorb the effort and risk to covertly penetrate physical security
> barriers if doing so will lead to a permanent compromise of a
> one-time-seeded PRNG, less so if the benefits will last only briefly
> as the PRNG reseeds after they leave.

One of the things which is not obvious is whether or not each
contributor has the same threat model in mind.  (In fact, it seems
pretty obvious to me that we don't all share the same threat model,
but I'm trying to be polite.  :-)

The sort of things that you might need to worry about if you are
trying to protect against pervasive monitoring are very different if
you are worried about a targetted attack.  If someone is willing to
bring in a listening truck and park it outside your house, or coverly
penetrate physical security, there is a whole host of things that you
would need to protect against before you are fully protected against
that level of attack.

In particular, who cares about how carefully constructed your RNG
might be if the attacker can replace it (along with perhaps your
entire networking stack, and the monitoring tools that might allow you
to notice that something strange has happened to your system)?  Or
just simply drop in some malware which leaks the session key after
your perfect RNG that meets with all of the academics' worries about
state compromise recovery....

						- Ted


From nobody Mon Mar 17 07:35:17 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AA7B1A017E for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 07:35:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001] 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 XJBd7iWtQ2Il for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 07:35:14 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id E96CB1A0411 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 07:35:12 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 17 Mar 2014 10:35:02 -0400
Received: from XCT113CNC.rim.net (10.65.161.213) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 17 Mar 2014 10:35:01 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT113CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Mon, 17 Mar 2014 10:35:01 -0400
From: Dan Brown <dbrown@certicom.com>
To: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Thread-Topic: Re: What has gone wrong with RNGs in practice
Thread-Index: Ac9B7dulrErbn6EYTHygX4piIDAnQQ==
Date: Mon, 17 Mar 2014 14:35:00 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C5918A@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0032_01CF41CC.8C978DB0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/ehXT1B8l0DHbva60dJan8EO6ycs
Subject: Re: [dsfjdssdfsd] What has gone wrong with RNGs in practice
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 14:35:16 -0000

------=_NextPart_000_0032_01CF41CC.8C978DB0
Content-Type: multipart/related;
	boundary="----=_NextPart_001_0033_01CF41CC.8C978DB0"


------=_NextPart_001_0033_01CF41CC.8C978DB0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0034_01CF41CC.8C978DB0"


------=_NextPart_002_0034_01CF41CC.8C978DB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

> EE. Bad entropy estimation

> 

> Numerous RNGs rely on each entropy inputs being acccompanied by an

> estimate of how many bits of entropy each contains. Historically,

> these entropy estimates have been pretty bogus, but I'm not aware of

> any attack arising out of that.

 

Does the Goldberg-Wagner attack on the poorly seeded Netscape SSL RNG count
here?

 

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_0034_01CF41CC.8C978DB0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>&gt; EE. Bad =
entropy estimation<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&gt;<o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>&gt; Numerous RNGs =
rely on each entropy inputs being acccompanied by =
an<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>&gt; estimate of =
how many bits of entropy each contains. =
Historically,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>&gt; these entropy =
estimates have been pretty bogus, but I'm not aware =
of<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>&gt; any attack =
arising out of that.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Does the Goldberg&#8212;Wagner attack on the poorly seeded =
Netscape SSL RNG count here?<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in =
3.0pt 0in'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF41CC.894ECB50"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_0034_01CF41CC.8C978DB0--

------=_NextPart_001_0033_01CF41CC.8C978DB0
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF41CC.894ECB50>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3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K9irO0
HRrbw/olrpdooEVugXOPvHuT7k1o0CCiiigAooooAhms7a4YNNbxSMOhdAafFDFAmyGNI1/uouBT
6KAKzafZvdi6a0gNwOkpjG4fj1psml6fNci5lsrd5wc+Y0QLfnVuigCGO1t4pWljgjSRvvMqAE/j
UVzplheuHurK3ncDAaSMMR+dW6KAIfstv9nFv5EfkjgR7Bt/KnpDHFEIo41WMDAVRgflT6KAIYbW
3t93kwRx7vvbEAz9ajGm2IYMLO3DA5B8sVaooAKpSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_0033_01CF41CC.8C978DB0--

------=_NextPart_000_0032_01CF41CC.8C978DB0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ4wDAYDVQQLEwVVc2Vy
czESMBAGA1UEAxMJRGFuIEJyb3duMSIwIAYJKoZIhvcNAQkBFhNkYnJvd25AY2VydGljb20uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRc70RE0/FL9ZbfN64YjA0lkQOLR9ipG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yUmPXkYhc3vudgKQq5s/G
8ay8uyxEP+HG4wAy0veJddtZly89sEtMrFn3REoiBwCW3hFMP7+6MNDTcYYUD4flHvsxMwxHylpB
VLupTPROAAAAAAAA

------=_NextPart_000_0032_01CF41CC.8C978DB0--


From nobody Mon Mar 17 07:43:25 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 373241A041D for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 07:43:08 -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, HTML_MESSAGE=0.001] 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 dPTknmDpGPqh for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 07:42:55 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 6779E1A0401 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 07:42:55 -0700 (PDT)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 17 Mar 2014 10:42:47 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT108CNC.rim.net ([fe80::8dc1:9551:6ed8:c618%17]) with mapi id 14.03.0174.001; Mon, 17 Mar 2014 10:42:46 -0400
From: Dan Brown <dbrown@certicom.com>
To: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Thread-Topic: Blum-Blum-Shub ambiguity in 4086 ...
Thread-Index: Ac9B7i5ZEVD92qlgTACcsVmMMe395g==
Date: Mon, 17 Mar 2014 14:42:44 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C59197@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_003B_01CF41CD.A1226240"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/dLGTXNKL4pvwK1kuG_cUKTgFBjQ
Subject: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 14:43:08 -0000

------=_NextPart_000_003B_01CF41CD.A1226240
Content-Type: multipart/related;
	boundary="----=_NextPart_001_003C_01CF41CD.A1226240"


------=_NextPart_001_003C_01CF41CD.A1226240
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_003D_01CF41CD.A1226240"


------=_NextPart_002_003D_01CF41CD.A1226240
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Two issues:

 

1.      If it is unclear to me from the 4086 description of BBS whether the
state s_i is to be updated after each output. I believe that the state
should be updated to improve backtracking resistance.  (Otherwise, it would
be affected by a similar weak backtracking attack to the one DSS RNG, i.e.
current state compromise the latest output can be distinguished from
random.)

2.      Does the secret state include p and q?  If so, then the BBS suffers
from a more severe backtracking attack: recovering the current state allows
recovery of all the previous states, because p and q allows one to compute
square roots.  This would undermine forward security applications.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_003D_01CF41CD.A1226240
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1689060152;
	mso-list-type:hybrid;
	mso-list-template-ids:-1376375056 67698703 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Two issues:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'><![if =
!supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>If it is unclear to me =
from the 4086 description of BBS whether the state s_i is to be updated =
after each output. I believe that the state should be updated to improve =
backtracking resistance.&nbsp; (Otherwise, it would be affected by a =
similar weak backtracking attack to the one DSS RNG, i.e. current state =
compromise the latest output can be distinguished from =
random.)<o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'><![if =
!supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>Does the secret state =
include p and q?&nbsp; If so, then the BBS suffers from a more severe =
backtracking attack: recovering the current state allows recovery of all =
the previous states, because p and q allows one to compute square =
roots.&nbsp; This would undermine forward security =
applications.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Best regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in =
3.0pt 0in'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF41CD.9DCA5DA0"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_003D_01CF41CD.A1226240--

------=_NextPart_001_003C_01CF41CD.A1226240
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF41CD.9DCA5DA0>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3qW6t
4W2yzxRn0dwKV7iGOMSPNGqN0YsADXjPxI8IXfibxi88HifSrRFjSJLaa42up75Ge9TeLfBN4fB/
h/QD4nsLeSzDSSS3c+wy59OeQKAPYY5Y5l3RSI6+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.A1226240--

------=_NextPart_000_003B_01CF41CD.A1226240
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ4wDAYDVQQLEwVVc2Vy
czESMBAGA1UEAxMJRGFuIEJyb3duMSIwIAYJKoZIhvcNAQkBFhNkYnJvd25AY2VydGljb20uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRc70RE0/FL9ZbfN64YjA0lkQOLR9ipGebc9nH
jB93OfYfR7CVsCUYy3+v9PO1DiUS9MeWWR4nxB9Ztee32d3syDxGg3PGFwSrms/ORAW9pgiS/yKH
An9SKRKyqMz9LSn/VQrEgoyPBPT0S/vg521MGH58MwMXyLm1cLBQU5gtCQIDAQABo4IDmDCCA5Qw
CwYDVR0PBAQDAgWgMEQGCSqGSIb3DQEJDwQ3MDUwDgYIKoZIhvcNAwICAgCAMA4GCCqGSIb3DQME
AgIAgDAHBgUrDgMCBzAKBggqhkiG9w0DBzAdBgNVHQ4EFgQUAlQmTNpWxnzoCUVjxGTtDz2JvLww
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMB8GA1UdIwQYMBaAFLgwF25vZ5X+hYxoO6XhF7M/+CU6
MIIBMQYDVR0fBIIBKDCCASQwggEgoIIBHKCCARiGgctsZGF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kqhkiG9w0BCQUxDxcNMTQwMzE3
MTQ0MjQ0WjAjBgkqhkiG9w0BCQQxFgQU2m3w3yQU5MJwoJKJqAAP8FNADs8wZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgKmd/I0aarcL
YCRfu3MWa5/Ac6hh0QFxJzS/itPfFEi+uJC+w/KC/Qu1OVvCmoGkwmEpr3NkawTMyiTCRoh1Xx/y
MhbIxak3tUoRXIvzb7DTQZZwIq7yICZfCfN/H0lcgU8wnWEVkJtwbAHqCXz6ipOKQo4AKaFHcSBn
PVQUOaa2AAAAAAAA

------=_NextPart_000_003B_01CF41CD.A1226240--


From nobody Mon Mar 17 09:16:36 2014
Return-Path: <nick.a.mathewson@gmail.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35A781A0443 for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:16:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 Mc60xiTBSYPr for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:16:32 -0700 (PDT)
Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) by ietfa.amsl.com (Postfix) with ESMTP id DF8E91A0431 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 09:16:31 -0700 (PDT)
Received: by mail-lb0-f170.google.com with SMTP id s7so3882737lbd.1 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 09:16:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=j2jvVZBvk2ucgOXwjK046vQdMELR5bBlNeVAhyoBnvY=; b=d87Jb1kj53LJ+t/65mPr7jhA1iDSJE/rheqd7K88qPIXs6S6AnmKixmR1HN1x8iMl2 7KH/LhxNSqi9Gk/DdzccLtl4grSuhxSzfo4Kw6ja/JbG52smZP/dflQxlJ9kIleNHzwe QhO7Uc2QJIlFi95W8uJxZVl0DI2kO/KrIwdRuUtqswUUtt3jxdY/EaPlJcRrDdak9ROA l9ZKleuCraon+EufjW5m1+qopHDcvsdkUuYnJqLnu3DlOr20sQ7FqD9KWeEwhGGzP8Md h1Twqbm6XNauB/l5Pgs3NBKDq18MSJWNPZqef8SQk6D2xseIwoC0ntvo+sP2ArGaVtBF 19+w==
MIME-Version: 1.0
X-Received: by 10.152.1.8 with SMTP id 8mr17277868lai.1.1395072983377; Mon, 17 Mar 2014 09:16:23 -0700 (PDT)
Sender: nick.a.mathewson@gmail.com
Received: by 10.112.90.5 with HTTP; Mon, 17 Mar 2014 09:16:23 -0700 (PDT)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C5918A@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C5918A@XMB116CNC.rim.net>
Date: Mon, 17 Mar 2014 12:16:23 -0400
X-Google-Sender-Auth: RcaYWpRUweIi69cy_-pF6OvOCoI
Message-ID: <CAKDKvuxCBcJmcO-=LO-53ARn5U8f5G_BZQCuaG9=BDTW7uCOpw@mail.gmail.com>
From: Nick Mathewson <nickm@torproject.org>
To: Dan Brown <dbrown@certicom.com>
Content-Type: multipart/alternative; boundary=089e012281329c2c6f04f4cfbd6f
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/kRaYJlcsuzeBKvbffhVFZylJtJ8
Cc: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Subject: Re: [dsfjdssdfsd] What has gone wrong with RNGs in practice
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 16:16:34 -0000

--089e012281329c2c6f04f4cfbd6f
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 17, 2014 at 10:35 AM, Dan Brown <dbrown@certicom.com> wrote:

> > EE. Bad entropy estimation
>
> >
>
> > Numerous RNGs rely on each entropy inputs being acccompanied by an
>
> > estimate of how many bits of entropy each contains. Historically,
>
> > these entropy estimates have been pretty bogus, but I'm not aware of
>
> > any attack arising out of that.
>
>
>
> Does the Goldberg--Wagner attack on the poorly seeded Netscape SSL RNG
> count here?
>

Not exactly.  I meant item "EE" to cover only cases where the RNG has an
internal variable that tracks how much entropy it has received, but this
internal variable is calculated through a dubious process.

If I'm reading [1] correctly, the Netscape SSL RNG problem was that it only
seeded with the PID, the parent PID, and the current time in microseconds.
It didn't track entropy levels at all: it just failed to use adequate
entropy.

So let's add a new category to the list:

"
J. Not even trying to use enough entropy as an input.
"

[1] http://www.cs.berkeley.edu/~daw/papers/ddj-netscape.html

-- 
Nick

--089e012281329c2c6f04f4cfbd6f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Mon, Mar 17, 2014 at 10:35 AM, Dan Brown <span dir=3D"ltr">&lt;<=
a href=3D"mailto:dbrown@certicom.com" target=3D"_blank">dbrown@certicom.com=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><p clas=
s=3D"MsoNormal">
<span style=3D"font-size:10pt;font-family:&#39;Courier New&#39;">&gt; EE. B=
ad entropy estimation<u></u><u></u></span></p><p class=3D"MsoNormal"><span =
style=3D"font-size:10pt;font-family:&#39;Courier New&#39;">&gt;<u></u>&nbsp=
;<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:&#39;Couri=
er New&#39;">&gt; Numerous RNGs rely on each entropy inputs being acccompan=
ied by an<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"fon=
t-size:10pt;font-family:&#39;Courier New&#39;">&gt; estimate of how many bi=
ts of entropy each contains. Historically,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10pt;font-family:&#39;Couri=
er New&#39;">&gt; these entropy estimates have been pretty bogus, but I&#39=
;m not aware of<u></u><u></u></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:10pt;font-family:&#39;Courier New&#39;">&gt; any attack arisi=
ng out of that.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>&nbsp;<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Does the Goldberg&mdash;Wagner =
attack on the poorly seeded Netscape SSL RNG count here?</span></p></div></=
blockquote><div>
<br></div><div>Not exactly. &nbsp;I meant item &quot;EE&quot; to cover only=
 cases where the RNG has an internal variable that tracks how much entropy =
it has received, but this internal variable is calculated through a dubious=
 process.</div>
<div><br></div><div>If I&#39;m reading [1] correctly, the Netscape SSL RNG =
problem was that it only seeded with the PID, the parent PID, and the curre=
nt time in microseconds. It didn&#39;t track entropy levels at all: it just=
 failed to use adequate entropy.</div>
<div><br></div><div>So let&#39;s add a new category to the list:&nbsp;</div=
><div><br></div><div>&quot;</div><div>J. Not even trying to use enough entr=
opy as an input.</div><div>&quot;</div><div><br></div><div>[1]&nbsp;<a href=
=3D"http://www.cs.berkeley.edu/~daw/papers/ddj-netscape.html">http://www.cs=
.berkeley.edu/~daw/papers/ddj-netscape.html</a></div>
<div><br></div><div>--&nbsp;</div><div>Nick</div></div></div></div>

--089e012281329c2c6f04f4cfbd6f--


From nobody Mon Mar 17 09:35:54 2014
Return-Path: <joncallas@icloud.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 897F11A040E for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:35:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 2eyfZL-l8ere for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:35:51 -0700 (PDT)
Received: from st11p01mm-asmtp002.mac.com (st11p01mm-asmtp002.mac.com [17.172.204.237]) by ietfa.amsl.com (Postfix) with ESMTP id B38D61A0401 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 09:35:51 -0700 (PDT)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_kddiOC0fzYvJwvOXwgm4Zw)"
Received: from [10.0.23.30] (media.merrymeet.com [173.164.244.98]) by st11p01mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2L001EMA3HHPB0@st11p01mm-asmtp002.mac.com> for dsfjdssdfsd@ietf.org; Mon, 17 Mar 2014 16:35:43 +0000 (GMT)
From: Jon Callas <joncallas@icloud.com>
In-reply-to: <810C31990B57ED40B2062BA10D43FBF5C59197@XMB116CNC.rim.net>
Date: Mon, 17 Mar 2014 09:35:40 -0700
Message-id: <BAEC3519-7B6B-45DF-A0B4-E73EA066C0E5@icloud.com>
References: <810C31990B57ED40B2062BA10D43FBF5C59197@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=icloud.com; e=icloud.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaEhEKTEMXGx0EGx0YBBIZBBsTEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxseGmJCH2lmG2RYGXhzB xhiGxwZH0IRClhcFxkEGgQdB01LHRJISRxMBRsdBBsdGAQSGQQbExAbHhofGxEKXlkXYXJnQBw RCkxGF2xraxEKQ1oXGx0ZBBscHgQYHh4EExIRCkRYFxkRCkRJFxkRCkJGF2x9TER+fWUTaV4TE QpCRRduRX9kXngBE0AScBEKQk4Xa0UaUlAeQ1xZXGgRCkJMF2NEZh18TBNQZh5mEQpCbBdtSBN abU9PZ2dkHxEKQkAXZH5uWG8TbG1aTQURCnBoF2MbYU0cYWRHG3B6EQpwaBdsBRp+GXJ9HGhfH BEKcGgXZ38TcBh4XlpaUhIRCnBoF3ocEnMfQE9tQxJkEQpwaBdjcxwSWnBBEkldaxEKcGwXelh tBUMfH1tzUEcRCnBMF2YdfFxJSR95ZHxJEQ==
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/l_sobBjUBaFCscXpzvSK_EgUBYs
Cc: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>, Jon Callas <joncallas@icloud.com>
Subject: Re: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 16:35:53 -0000

--Boundary_(ID_kddiOC0fzYvJwvOXwgm4Zw)
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT


On Mar 17, 2014, at 7:42 AM, Dan Brown <dbrown@certicom.com> wrote:

> Two issues:
>  
> 1.      If it is unclear to me from the 4086 description of BBS whether the state s_i is to be updated after each output. I believe that the state should be updated to improve backtracking resistance.  (Otherwise, it would be affected by a similar weak backtracking attack to the one DSS RNG, i.e. current state compromise the latest output can be distinguished from random.)
> 2.      Does the secret state include p and q?  If so, then the BBS suffers from a more severe backtracking attack: recovering the current state allows recovery of all the previous states, because p and q allows one to compute square roots.  This would undermine forward security applications.
> 

Yes, it does suffer from that same problem. While BBS has number-theoretic proofs of security, those proofs presume a random, unknown p and q. I've said that this is pushing the randomness problem down to the turtle below you.

I wrote a missive on the Cryptography list around the turn of the year in which I said that the EC DRBGs have this problem -- you get randomness providing you have a secret key, but how did you get *that*? -- going back to BBS. If you want, I'll dredge it up and post here.

	Jon





--Boundary_(ID_kddiOC0fzYvJwvOXwgm4Zw)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: quoted-printable

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><br><div><div>On Mar 17, 2014, at 7:42 AM, Dan Brown =
&lt;<a href=3D"mailto:dbrown@certicom.com">dbrown@certicom.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"><meta name=3D"Generator" content=3D"Microsoft Word =
14 (filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1689060152;
	mso-list-type:hybrid;
	mso-list-template-ids:-1376375056 67698703 67698713 67698715 =
67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--><div lang=3D"EN-US" link=3D"blue" =
vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span =
lang=3D"EN-CA">Two issues:<o:p></o:p></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA">&nbsp;</span></p><p =
class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 =
level1 lfo1"><!--[if !supportLists]--><span lang=3D"EN-CA"><span =
style=3D"mso-list:Ignore">1.<span style=3D"font:7.0pt &quot;Times New =
Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><!--[endif]--><span lang=3D"EN-CA">If it is unclear =
to me from the 4086 description of BBS whether the state s_i is to be =
updated after each output. I believe that the state should be updated to =
improve backtracking resistance.&nbsp; (Otherwise, it would be affected =
by a similar weak backtracking attack to the one DSS RNG, i.e. current =
state compromise the latest output can be distinguished from =
random.)<o:p></o:p></span></p><p class=3D"MsoListParagraph" =
style=3D"text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if =
!supportLists]--><span lang=3D"EN-CA"><span =
style=3D"mso-list:Ignore">2.<span style=3D"font:7.0pt &quot;Times New =
Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><!--[endif]--><span lang=3D"EN-CA">Does the secret =
state include p and q?&nbsp; If so, then the BBS suffers from a more =
severe backtracking attack: recovering the current state allows recovery =
of all the previous states, because p and q allows one to compute square =
roots.&nbsp; This would undermine forward security =
applications.</span></p><div><br></div></div></div></blockquote><div><br><=
/div>Yes, it does suffer from that same problem. While BBS has =
number-theoretic proofs of security, those proofs presume a random, =
unknown p and q. I've said that this is pushing the randomness problem =
down to the turtle below you.</div><div><br></div><div>I wrote a missive =
on the Cryptography list around the turn of the year in which I said =
that the EC DRBGs have this problem -- you get randomness providing you =
have a secret key, but how did you get *that*? -- going back to BBS. If =
you want, I'll dredge it up and post =
here.</div><div><br></div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	=
</span>Jon</div><div><br><br></div><div><br></div><br></body></html>=

--Boundary_(ID_kddiOC0fzYvJwvOXwgm4Zw)--


From nobody Mon Mar 17 09:53:52 2014
Return-Path: <joncallas@icloud.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA9E81A0436 for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:53:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.799
X-Spam-Level: 
X-Spam-Status: No, score=-4.799 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, GB_I_LETTER=-2, HTML_MESSAGE=0.001, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 bN_BVa3YfAn7 for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 09:53:46 -0700 (PDT)
Received: from st11p01mm-asmtp002.mac.com (st11p01mm-asmtpout002.mac.com [17.172.204.237]) by ietfa.amsl.com (Postfix) with ESMTP id 064F71A006F for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 09:53:44 -0700 (PDT)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_resG8UD9if42WWC1TmNTow)"
Received: from [10.0.23.30] (media.merrymeet.com [173.164.244.98]) by st11p01mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2L002LAAWXX3A0@st11p01mm-asmtp002.mac.com> for dsfjdssdfsd@ietf.org; Mon, 17 Mar 2014 16:53:23 +0000 (GMT)
From: Jon Callas <joncallas@icloud.com>
In-reply-to: <BAEC3519-7B6B-45DF-A0B4-E73EA066C0E5@icloud.com>
Date: Mon, 17 Mar 2014 09:53:20 -0700
Message-id: <B8284FAC-387F-4C63-A988-6065600FC51C@icloud.com>
References: <810C31990B57ED40B2062BA10D43FBF5C59197@XMB116CNC.rim.net> <BAEC3519-7B6B-45DF-A0B4-E73EA066C0E5@icloud.com>
To: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=icloud.com; e=icloud.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaHxEKTEMXGx0EGx0YBBIZBBsdEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxsYGmJCHx1SH3JpGXhzB xhiGxwfGWQYEQpYXBcZBBoEHQdNSx0SSEkcTAUbHQQbHRgEEhkEGx0QGx4aHxsRCl5ZF2FyZxp PEQpMRhdsa2sRCkNaFxsdGQQbHB4EGB4eBBMSEQpEWBcYEQpEXhcYEQpESRcbEQpCRhdsfUxEf n1lE2leExEKQkUXbkV/ZF54ARNAEnARCkJOF2tFGlJQHkNcWVxoEQpCTBdjRGYdfEwTUGYeZhE KQmwXbUgTWm1PT2dnZB8RCkJAF2BrRXNCYml8bRh/EQpwaBdlYWtiYV1NTWcFTxEKcGgXZ2ZHc 0FdQH5PekgRCnBoF2tObXNeQHsbcEluEQpwaBdmTFofRUUBckdlYxEKcGgXY09YSwFlaBhcYx0 RCnB/F2dGAXpcG21sYlNlEQpwXxdgRRlsYV54WH9HcxEKcH8XYlh5elBEWW5NW20RCnBfF25ue 1NcUnJaZG5AEQpwfxd6QU0Ya2h8XUhIcBEKcF8XYkIbBU4SUFkBTWsRCnB/F2l4T3B6SBMaThp 5EQpwXxd6Z0FbTnJYe2lzSBEKcH8XZhISeRwTEm9jHB0RCnBfF2d7HFhlaUdFAU0eEQpwbBd6W G0FQx8fW3NQRxE=
X-CLX-Spam: false
X-CLX-Score: 1011
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/gWYywOs9NCYcuu_raRjwgHxyZqE
Cc: Jon Callas <joncallas@icloud.com>
Subject: Re: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 16:53:49 -0000

--Boundary_(ID_resG8UD9if42WWC1TmNTow)
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

I found my missive in question, and upon re-reading it, I think it bears repeating here.

The thread starts with 
<http://www.metzdowd.com/pipermail/cryptography/2014-January/019423.html>

and the message I quote from below is
<http://www.metzdowd.com/pipermail/cryptography/2014-January/019426.html>.

The discussion started with the blog post <http://blog.0xbadc0de.be/archives/155> which purports to show how DUAL_EC_DRBG *must* have been backdoored from the start. That blog post is the antecedent of "it" in the paragraph first paragraph.

----

It's nice work on a technical level, but I think it fails at its goal, that is to be a piece of polemic -- even mischaracterizing the Ferguson/Shumow CRYPTO Rump Session talk (their last slide explicitly said they were not suggesting a back door). 

Lest you think I'm saying something nice about DUAL_EC_DRBG, I'll repeat what I've said before, "Only an idiot would use it." It's slow, has biases in its output that hashes and ciphers don't, and cannot be proved secure.

Let me rewind to the first public key based DRBG/PRNG -- Blum-Blum-Shub. (DRBG is the name NIST gave to what you and I would call a PRNG, it's Deterministic Random Bit Generator. If you think of a complete design of an RNG, you want at least three major sections -- "entropy" collection, entropy pool management, and conditioned output. A DRBG is the output stage.)

Blub-Blum-Shub uses an iterated RSA-like operation to generate random bits. It was developed in 1986 and is a brilliant piece of mathematics. It was one of the very, very few bits of early crypto to have a sound theoretical basis.

Many people who haven't thought it through have sung its praises over the years, mostly because they got seduced by the sound theoretic basis. Blum-Blum-Shub has two of the three flaws that DUAL_EC_DRBG has: it's slow, and you can't prove it secure.

I'm sure you thinking, 'What do you mean, "can't be proved secure? Didn't you just say that it had a sound theoretical basis?"' Yup, and the sound theoretical basis gives you the good mathematical pseudo-randomness of the output. The slow part is pretty obvious. The inobvious part is that it can't be proven secure.

As an iterated, RSA-like operation, the core of it is two prime numbers, p and q. The security resolves down to the secrecy of the two primes.

And this leaves you with the question of how you get the primes. Well, if you generate them at run time, then you push the construction of your RNG down to the turtle below you. Your random number generator requires random p and q and you get those by using some other random number generator, one presumes.

Alternatively, you could use a fixed p and q, and then you have the *exact* flaw as DUAL_EC_DRBG -- you have a fixed private key that can be used to jimmy the thing open.

Matt Green wrote a great blog post last week at <http://blog.cryptographyengineering.com>, which you should read. I'll summarize a bit and say that Micali and Shnorr did their own public-key based PRNG which also has Step 1 being "generate large primes p and q" and they helpfully gave test P and Q. I'm not merely being ironic. As someone who implemented the AES-CTR DRBG, having test vectors is really, really nice. NIST's test vectors for that are really, really annoying and I'll complain at length to anyone who cares.

Anyway, Matt Green identifies the Micali-Shnorr generator as a precursor to DUAL_EC_DRBG in both design and having a fixed key that you use for whatever purporses, testing or compromise. 

I have a couple points:

(Point 1) Any public-key based PRNG is going to have the issue that either you have a fixed key, or you have to generate a key using some other secure means. This is why I use terms as strong as "can't be proven to be secure" despite having a mathematical "sound theoretical basis."

I think there's a huge security philosophy problem here -- security proofs that are mathematical can have underlying engineering assumptions that render them insecure to the point of being silly.

I think that people get blinded by this as well, and if there's a mathematical proof they're blinded by it, if not cowed by the math and stop prodding at the engineering and operational security.

Going back to Blum-Blum-Shub, look at the Wikipedia article on it at <http://en.wikipedia.org/wiki/Blum_Blum_Shub>. There are some interesting statements there, like the first sentence of the security section:

   The generator is not appropriate for use in simulations, only for
   cryptography, because it is very slow.

That makes me splutter. As an engineer, I'd argue that slow alone makes it not suitable for cryptography. I'm tempted to argue that for simulations, speed isn't an issue, but really, if you slow things down enough, it's not suitable for anything. I also have a long-standing twitch at *any* security discussion that brings in performance. Performance is not security, and many security sins have their root cause in a performance worry, usually an artificial one.

The remainder of the section reads:

   However, there is a proof reducing its security to the
   computational difficulty of the Quadratic residuosity problem.
   Since the only known way to solve that problem requires factoring
   the modulus, the difficulty of Integer factorization is generally
   regarded as providing security. When the primes are chosen
   appropriately, and O(log log M) lower-order bits of each xn are
   output, then in the limit as M grows large, distinguishing the
   output bits from random should be at least as difficult as
   factoring M.

   If integer factorization is difficult (as is suspected) then B.B.S.
   with large M should have an output free from any nonrandom patterns
   that can be discovered with any reasonable amount of calculation.
   Thus it appears to be as secure as other encryption technologies
   tied to the factorization problem, such as RSA encryption.

This is interesting because nowhere do they address the central engineering issue -- that a fixed p,q is not secure yet a variable one requires another RNG to seed the RNG.

Also look at the section in the Handbook of Applied Cryptography on "Cryptographically secure pseudorandom bit generation":

<http://books.google.com/books?id=nSzoG72E93MC&lpg=PA185&dq=Cryptographically%20secure%20pseudorandom%20bit%20generation&pg=PA185#v=onepage>

We find an RSA-based generator there along with Micali-Shnorr and Blum-Blum-Shub and *all* of these have a recipe that starts unironically with (essentially):

1. Setup. Generate two RSA-like secret primes, p and q.

This is a blind spot that's been there forever -- two of the three flaws of DUAL_EC_DRBG have been staring us all in the face since 1986. Despite mathematical brilliance, the security of public-key based PRNGs have always been flawed with something that could be used as a back door.

(Point 2) History looks different when you look backwards than when you look forwards. Everyone has a tendency to act as if things were predetermined when we analyze the decisions of the past. We also assign intent when we have to explain a WTF. Yet the usual answer to "What were you thinking?" is "They weren't." To quote the great philosopher David Byrne, "And you might say to yourself, 'My God, what have I done?'"

The general flaws have been there forever, and in general we still don't see them. In specific, the documents on Micali-Shnorr and DUAL_EC_DRBG were up front about the flaw all along.

Would the NSA exploit such a flaw? Hell, yes. We keep seeing this from leaked documents, over and over. It's clear that they have taken the hacker philosophy that nothing is out of scope or out of bounds to heart as an operating principle. You can see it in the recent ANT toy catalog, as well as the BULLRUN statement that sent us all into a tizzy.

We have *assumed* that the BULLRUN statement that they're after damaging standards means that DUAL_EC_DRBG is backdoored. People have said it so loudly and so often that it's part of conventional wisdom now. Yet until BULLRUN, it was part of conventional wisdom that despite the speed problems, mathematics made public key PRNGs more secure.

I know that one of my personal blind spots is that I'm a contrarian. I'm also a cynic who believes that stupidity is one of the fundamental forces of the universe. So I find myself in the ironic position of defending a thing I never liked because yes, really, people *can* be that stupid. We all defer to authorities, are cowed by proofs, and lose our critical thinking skills when faced with a standard. I am reminded of Markoff Chaney from Illuminatus! as well as Poe's Purloined Letter.

If we want to look at this as a root-cause exercise, we can go back to Blum-Blum-Shub and see the kernel of the flaws and blindness of them. You can see that despite it being there from the start, we didn't *understand* it. You can see the progression through Micali-Shnorr through the ANSI X9 committee, and then on to NIST.

I'm left wondering if something can really be a backdoor if it was there all along, we just didn't grok it. Was the purloined letter hidden? 

I can't help but feel that calling it a back door is just too cheap and easy and convenient. It wasn't that we were collectively stupid and snookered ourselves, it was demons and those in league with them.

This leaves the question of what they *have* been doing with that $250M, which is a good question. I lean towards private standards like those used in telecom etc. In the public world, we're good at doing it to ourselves.

	Jon


--Boundary_(ID_resG8UD9if42WWC1TmNTow)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: quoted-printable

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I =
found my missive in question, and upon re-reading it, I think it bears =
repeating here.<br><div style=3D"font-family: monospace;"><br></div><div =
style=3D"font-family: monospace;"><div>The thread starts =
with&nbsp;</div><div>&lt;<a =
href=3D"http://www.metzdowd.com/pipermail/cryptography/2014-January/019423=
.html">http://www.metzdowd.com/pipermail/cryptography/2014-January/019423.=
html</a>&gt;</div><div><br></div><div>and the message I quote from below =
is</div><div>&lt;<a =
href=3D"http://www.metzdowd.com/pipermail/cryptography/2014-January/019426=
.html">http://www.metzdowd.com/pipermail/cryptography/2014-January/019426.=
html</a>&gt;.</div></div><div style=3D"font-family: =
monospace;"><br></div><div style=3D"font-family: monospace;">The =
discussion started with the blog post &lt;<a =
href=3D"http://blog.0xbadc0de.be/archives/155">http://blog.0xbadc0de.be/ar=
chives/155</a>&gt; which purports to show how DUAL_EC_DRBG *must* have =
been backdoored from the start. That blog post is the antecedent of "it" =
in the paragraph first paragraph.</div><div style=3D"font-family: =
monospace;"><br></div><div style=3D"font-family: =
monospace;">----</div><br style=3D"font-family: monospace;"><div =
style=3D"font-family: monospace;">It's nice work on a technical level, =
but I think it fails at its goal, that is&nbsp;to be a piece of polemic =
-- even mischaracterizing the Ferguson/Shumow CRYPTO&nbsp;Rump Session =
talk (their last slide explicitly said they were not suggesting =
a&nbsp;back door).&nbsp;<br><br>Lest you think I'm saying something nice =
about DUAL_EC_DRBG, I'll repeat what&nbsp;I've said before, "Only an =
idiot would use it." It's slow, has biases in its&nbsp;output that =
hashes and ciphers don't, and cannot be proved secure.<br><br>Let me =
rewind to the first public key based DRBG/PRNG -- Blum-Blum-Shub. =
(DRBG&nbsp;is the name NIST gave to what you and I would call a PRNG, =
it's Deterministic&nbsp;Random Bit Generator. If you think of a complete =
design of an RNG, you want at&nbsp;least three major sections -- =
"entropy" collection, entropy pool management,&nbsp;and conditioned =
output. A DRBG is the output stage.)<br><br>Blub-Blum-Shub uses an =
iterated RSA-like operation to generate random bits. It&nbsp;was =
developed in 1986 and is a brilliant piece of mathematics. It was one =
of&nbsp;the very, very few bits of early crypto to have a sound =
theoretical basis.<br><br>Many people who haven't thought it through =
have sung its praises over the&nbsp;years, mostly because they got =
seduced by the sound theoretic basis. Blum-Blum-Shub has two of the =
three flaws that DUAL_EC_DRBG has: it's slow, and you can't&nbsp;prove =
it secure.<br><br>I'm sure you thinking, 'What do you mean, "can't be =
proved secure? Didn't you&nbsp;just say that it had a sound theoretical =
basis?"' Yup, and the sound&nbsp;theoretical basis gives you the good =
mathematical pseudo-randomness of the&nbsp;output. The slow part is =
pretty obvious. The inobvious part is that it can't be&nbsp;proven =
secure.<br><br>As an iterated, RSA-like operation, the core of it is two =
prime numbers, p and&nbsp;q. The security resolves down to the secrecy =
of the two primes.<br><br>And this leaves you with the question of how =
you get the primes. Well, if you&nbsp;generate them at run time, then =
you push the construction of your RNG down to&nbsp;the turtle below you. =
Your random number generator requires random p and q and&nbsp;you get =
those by using some other random number generator, one =
presumes.<br><br>Alternatively, you could use a fixed p and q, and then =
you have the *exact*&nbsp;flaw as DUAL_EC_DRBG -- you have a fixed =
private key that can be used to jimmy&nbsp;the thing open.<br><br>Matt =
Green wrote a great blog post last week at&nbsp;&lt;<a =
href=3D"http://blog.cryptographyengineering.com">http://blog.cryptographye=
ngineering.com</a>&gt;, which you should read. I'll&nbsp;summarize a bit =
and say that Micali and Shnorr did their own public-key based&nbsp;PRNG =
which also has Step 1 being "generate large primes p and q" and =
they&nbsp;helpfully gave test P and Q. I'm not merely being ironic. As =
someone who&nbsp;implemented the AES-CTR DRBG, having test vectors is =
really, really nice.&nbsp;NIST's test vectors for that are really, =
really annoying and I'll complain at&nbsp;length to anyone who =
cares.<br><br>Anyway, Matt Green identifies the Micali-Shnorr generator =
as a precursor to&nbsp;DUAL_EC_DRBG in both design and having a fixed =
key that you use for whatever&nbsp;purporses, testing or =
compromise.&nbsp;<br><br>I have a couple points:<br><br>(Point 1) Any =
public-key based PRNG is going to have the issue that either =
you&nbsp;have a fixed key, or you have to generate a key using some =
other secure means.&nbsp;This is why I use terms as strong as "can't be =
proven to be secure" despite&nbsp;having a mathematical "sound =
theoretical basis."<br><br>I think there's a huge security philosophy =
problem here -- security proofs that&nbsp;are mathematical can have =
underlying engineering assumptions that render them&nbsp;insecure to the =
point of being silly.<br><br>I think that people get blinded by this as =
well, and if there's a mathematical&nbsp;proof they're blinded by it, if =
not cowed by the math and stop prodding at the&nbsp;engineering and =
operational security.<br><br>Going back to Blum-Blum-Shub, look at the =
Wikipedia article on it at&nbsp;&lt;<a =
href=3D"http://en.wikipedia.org/wiki/Blum_Blum_Shub">http://en.wikipedia.o=
rg/wiki/Blum_Blum_Shub</a>&gt;. There are some =
interesting&nbsp;statements there, like the first sentence of the =
security section:<br><br>&nbsp; &nbsp;The generator is not appropriate =
for use in simulations, only for<br>&nbsp; &nbsp;cryptography, because =
it is very slow.<br><br>That makes me splutter. As an engineer, I'd =
argue that slow alone makes it not&nbsp;suitable for cryptography. I'm =
tempted to argue that for simulations, speed&nbsp;isn't an issue, but =
really, if you slow things down enough, it's not suitable&nbsp;for =
anything. I also have a long-standing twitch at *any* security =
discussion&nbsp;that brings in performance. Performance is not security, =
and many security sins&nbsp;have their root cause in a performance =
worry, usually an artificial one.<br><br>The remainder of the section =
reads:<br><br>&nbsp; &nbsp;However, there is a proof reducing its =
security to the<br>&nbsp; &nbsp;computational difficulty of the =
Quadratic residuosity problem.<br>&nbsp; &nbsp;Since the only known way =
to solve that problem requires factoring<br>&nbsp; &nbsp;the modulus, =
the difficulty of Integer factorization is generally<br>&nbsp; =
&nbsp;regarded as providing security. When the primes are =
chosen<br>&nbsp; &nbsp;appropriately, and O(log log M) lower-order bits =
of each xn are<br>&nbsp; &nbsp;output, then in the limit as M grows =
large, distinguishing the<br>&nbsp; &nbsp;output bits from random should =
be at least as difficult as<br>&nbsp; &nbsp;factoring M.<br><br>&nbsp; =
&nbsp;If integer factorization is difficult (as is suspected) then =
B.B.S.<br>&nbsp; &nbsp;with large M should have an output free from any =
nonrandom patterns<br>&nbsp; &nbsp;that can be discovered with any =
reasonable amount of calculation.<br>&nbsp; &nbsp;Thus it appears to be =
as secure as other encryption technologies<br>&nbsp; &nbsp;tied to the =
factorization problem, such as RSA encryption.<br><br>This is =
interesting because nowhere do they address the central =
engineering&nbsp;issue -- that a fixed p,q is not secure yet a variable =
one requires another RNG&nbsp;to seed the RNG.<br><br>Also look at the =
section in the Handbook of Applied Cryptography =
on&nbsp;"Cryptographically secure pseudorandom bit =
generation":<br><br>&lt;<a =
href=3D"http://books.google.com/books?id=3DnSzoG72E93MC&amp;lpg=3DPA185&am=
p;dq=3DCryptographically%20secure%20pseudorandom%20bit%20generation&amp;pg=
=3DPA185#v=3Donepage">http://books.google.com/books?id=3DnSzoG72E93MC&amp;=
lpg=3DPA185&amp;dq=3DCryptographically%20secure%20pseudorandom%20bit%20gen=
eration&amp;pg=3DPA185#v=3Donepage</a>&gt;<br><br>We find an RSA-based =
generator there along with Micali-Shnorr and Blum-Blum-Shub and *all* of =
these have a recipe that starts unironically =
with&nbsp;(essentially):<br><br>1. Setup. Generate two RSA-like secret =
primes, p and q.<br><br>This is a blind spot that's been there forever =
-- two of the three flaws of&nbsp;DUAL_EC_DRBG have been staring us all =
in the face since 1986. Despite&nbsp;mathematical brilliance, the =
security of public-key based PRNGs have always&nbsp;been flawed with =
something that could be used as a back door.<br><br>(Point 2) History =
looks different when you look backwards than when you =
look&nbsp;forwards. Everyone has a tendency to act as if things were =
predetermined when&nbsp;we analyze the decisions of the past. We also =
assign intent when we have to&nbsp;explain a WTF. Yet the usual answer =
to "What were you thinking?" is "They&nbsp;weren't." To quote the great =
philosopher David Byrne, "And you might say to&nbsp;yourself, 'My God, =
what have I done?'"<br><br>The general flaws have been there forever, =
and in general we still don't see&nbsp;them. In specific, the documents =
on Micali-Shnorr and DUAL_EC_DRBG were up&nbsp;front about the flaw all =
along.<br><br>Would the NSA exploit such a flaw? Hell, yes. We keep =
seeing this from leaked&nbsp;documents, over and over. It's clear that =
they have taken the hacker philosophy&nbsp;that nothing is out of scope =
or out of bounds to heart as an operating&nbsp;principle. You can see it =
in the recent ANT toy catalog, as well as the BULLRUN&nbsp;statement =
that sent us all into a tizzy.<br><br>We have *assumed* that the BULLRUN =
statement that they're after damaging&nbsp;standards means that =
DUAL_EC_DRBG is backdoored. People have said it so loudly&nbsp;and so =
often that it's part of conventional wisdom now. Yet until BULLRUN, =
it&nbsp;was part of conventional wisdom that despite the speed problems, =
mathematics&nbsp;made public key PRNGs more secure.<br><br>I know that =
one of my personal blind spots is that I'm a contrarian. I'm also =
a&nbsp;cynic who believes that stupidity is one of the fundamental =
forces of the&nbsp;universe. So I find myself in the ironic position of =
defending a thing I never&nbsp;liked because yes, really, people *can* =
be that stupid. We all defer to&nbsp;authorities, are cowed by proofs, =
and lose our critical thinking skills when&nbsp;faced with a standard. I =
am reminded of Markoff Chaney from Illuminatus! as&nbsp;well as Poe's =
Purloined Letter.<br><br>If we want to look at this as a root-cause =
exercise, we can go back to Blum-Blum-Shub and see the kernel of the =
flaws and blindness of them. You can see&nbsp;that despite it being =
there from the start, we didn't *understand* it. You can&nbsp;see the =
progression through Micali-Shnorr through the ANSI X9 committee, =
and&nbsp;then on to NIST.<br><br>I'm left wondering if something can =
really be a backdoor if it was there all&nbsp;along, we just didn't grok =
it. Was the purloined letter hidden?&nbsp;<br><br>I can't help but feel =
that calling it a back door is just too cheap and easy&nbsp;and =
convenient. It wasn't that we were collectively stupid and =
snookered&nbsp;ourselves, it was demons and those in league with =
them.<br><br>This leaves the question of what they *have* been doing =
with that $250M, which&nbsp;is a good question. I lean towards private =
standards like those used in telecom&nbsp;etc. In the public world, =
we're good at doing it to ourselves.<br><br><span class=3D"Apple-tab-span"=
 style=3D"white-space: pre;">	</span>Jon<br><br></div><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1689060152;
	mso-list-type:hybrid;
	mso-list-template-ids:-1376375056 67698703 67698713 67698715 =
67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style></body></html>=

--Boundary_(ID_resG8UD9if42WWC1TmNTow)--


From nobody Mon Mar 17 10:15:31 2014
Return-Path: <Jeff.Hodges@kingsmountain.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46A451A0432 for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 10:15:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.897
X-Spam-Level: 
X-Spam-Status: No, score=-0.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001] autolearn=no
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 9zXkTDHO9-bP for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 10:15:13 -0700 (PDT)
Received: from gproxy4-pub.mail.unifiedlayer.com (gproxy4-pub.mail.unifiedlayer.com [69.89.23.142]) by ietfa.amsl.com (Postfix) with SMTP id E47521A01C0 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 10:15:12 -0700 (PDT)
Received: (qmail 22109 invoked by uid 0); 17 Mar 2014 17:15:05 -0000
Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy4.mail.unifiedlayer.com with SMTP; 17 Mar 2014 17:15:05 -0000
Received: from box514.bluehost.com ([74.220.219.114]) by cmgw4 with  id eoEy1n00T2UhLwi01oF1wa; Mon, 17 Mar 2014 18:15:03 -0600
X-Authority-Analysis: v=2.1 cv=Ht/lRSjS c=1 sm=1 tr=0 a=9W6Fsu4pMcyimqnCr1W0/w==:117 a=9W6Fsu4pMcyimqnCr1W0/w==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=4eyjf-e663kA:10 a=U0GcV9K8lpYA:10 a=3NT3xRclEPMA:10 a=8nJEP1OIZ-IA:10 a=ieNpE_y6AAAA:8 a=XYUc-DgfXtMA:10 a=N9f8vlzIAAAA:8 a=P-fCVmJAAAAA:8 a=vciZqZV3_5uKB1QQ6H4A:9 a=jRYIlFMb9d6w7NvS:21 a=2YR6F72-AmfIHhh6:21 a=wPNLvfGTeEIA:10 a=5zrRBKlu_boA:10 a=d2k7d80oREwA:10
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kingsmountain.com; s=default;  h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=U32WpdDnZO1P12aMmpbiCAIBjhgl4NKRx4tH9mUK6yI=;  b=8Zvjjo/vIuFHoAUIo281MBSgdgrDNJhLyGSSBBqTyrViKkNLmHpMV299TDDECbbxouMuLYvic0YuLHF1sIfiuQMwZrNmV6rdetEDSkTjPtYO5WFSocF9UoKku2rT53Tv;
Received: from [216.113.168.128] (port=4597 helo=[10.244.137.220]) by box514.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1WPb7r-0003WZ-D8 for dsfjdssdfsd@ietf.org; Mon, 17 Mar 2014 11:14:59 -0600
Message-ID: <53272D91.1030001@KingsMountain.com>
Date: Mon, 17 Mar 2014 10:14:57 -0700
From: =JeffH <Jeff.Hodges@KingsMountain.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5
MIME-Version: 1.0
To: IETF Pseudorandom Number Generator PRNG discussion list <dsfjdssdfsd@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Identified-User: {11025:box514.bluehost.com:kingsmou:kingsmountain.com} {sentby:smtp auth 216.113.168.128 authed with jeff.hodges+kingsmountain.com}
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/KvrlCYhiu8Wvj0vGSKxQE1KmEt4
Subject: [dsfjdssdfsd] fyi: Revisiting iOS Kernel (In)Security: Attacking the early random() PRNG
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Mar 2014 17:15:14 -0000

Of possible interest...

Attacking the iOS 7 early_random() PRNG
http://blog.azimuthsecurity.com/2014/03/attacking-ios-7-earlyrandom-prng.html


Revisiting iOS Kernel (In)Security: Attacking the early random() PRNG
http://mista.nu/research/early_random-paper.pdf

http://mista.nu/research/early_random-slides.pdf


Abstract. iOS is by many considered to be one of the most secure mo-
bile platforms due to its stringent security features and relatively strong
focus on mitigation technology. In an eort to improve kernel security,
iOS 6 introduced numerous mitigations including verication cookies and
memory layout randomization. Conceptually, these mitigations seek to
complicate kernel exploitation by leveraging non-predictable data and
therefore require sucient entropy to be provided at boot time. In this
paper, we evaluate the security of the early random pseudorandom num-
ber generator. The early random PRNG is fundamental in supporting
the mitigations leveraged by the iOS kernel. Notably, we show how an
attacker can recover arbitrary outputs generated by the early random
PRNG in iOS 7 without being assisted by additional vulnerabilities or
having any prior knowledge about the kernel address space. Recovering
these outputs essentially allows an attacker to bypass a variety of exploit
mitigations, such as those designed to mitigate specic exploitation tech-
niques or whole classes of vulnerabilities. In turn, this may allow trivial
exploitation of vulnerabilities previously deemed non-exploitable.


From nobody Mon Mar 17 17:42:27 2014
Return-Path: <agr@me.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 597D31A0308 for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 17:42:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 fU2toqDCp7ZA for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 17:42:23 -0700 (PDT)
Received: from nk11p00mm-asmtp003.mac.com (nk11p00mm-asmtp003.mac.com [17.158.161.2]) by ietfa.amsl.com (Postfix) with ESMTP id 68D071A0303 for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 17:42:22 -0700 (PDT)
MIME-version: 1.0
Content-type: text/plain; charset=windows-1252
Received: from [192.168.1.134] (c-66-31-43-48.hsd1.ma.comcast.net [66.31.43.48]) by nk11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2L00EVIWMCJL70@nk11p00mm-asmtp003.mac.com> for dsfjdssdfsd@ietf.org; Tue, 18 Mar 2014 00:42:14 +0000 (GMT)
From: Arnold Reinhold <agr@me.com>
In-reply-to: <20140316171716.GD31988@thunk.org>
Date: Mon, 17 Mar 2014 20:43:36 -0400
Content-transfer-encoding: quoted-printable
Message-id: <D1CAFBA9-92AB-4CE6-871E-740A428DA859@me.com>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com> <56491888.20140315165037@gmail.com> <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com> <20140316171716.GD31988@thunk.org>
To: tytso@mit.edu
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=me.com; e=me.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXREEbG1oaGkdHB0lGUkdDRl5PWBoaHxEKTEMXGx0EGx8SBBscHwQdGxAbHho fGhEKWE0XSxEKbX4XGhEKTFkXGxobGxEKWUkXEQpZXhdoY3kRCkNOF0sbGxpiTk0caBsdcBl4c wcYYxoaHhhvEhEKWFwXGQQaBB0HTUsdEkhJHEwFGx0EGx8SBBscHwQdGxAbHhofGxEKXlkXYXJ +WWgRCkxGF2xraxEKQ1oXHBwEGRsEHhkEHhIRCkRYFxkRCkRJFxgRCkJGF2x9TER+fWUTaV4TE QpCRRd6f314WmxMXkNiQBEKQk4XbHBgeUAdYlJpGmIRCkJMF21oe2BOY0UFBWFoEQpCbBdnfnB FRFl6SEF9HBEKQkAXZGZdZm5LfkscWV4RCnBoF2cTQmlgfWV6ZEtuEQpwaBdlS29rYExZen8BE xEKcGgXYG56eX0faxxFGkMRCnBoF2JtHRN+YERDWmUTEQpwaBdjElheQWVTZVwBHhEKcGwXbn9 kQ21zfkQebhMR
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/9WKgZycgeWvD-z3XBU_bFqt94hA
Cc: =?windows-1252?Q?=22Kriszti=E1n_Pint=E9r_=40thunk=2Eorg=22?= <pinterkr@gmail.com>, dsfjdssdfsd@ietf.org
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 00:42:25 -0000

On Mar 16, 2014, at 1:17 PM, tytso@mit.edu wrote:

> On Sun, Mar 16, 2014 at 11:18:29AM -0400, Arnold Reinhold wrote:
>>=20
>> And note that not all the issues I raised are software
>> related. Tempest, for example, is a very tricky business. The NSA
>> specs for Tempest protection are not publicly available, but I have
>> been told they require tight physical configuration control, as even
>> a single wire change can destroy Tempest protection.  Perhaps the
>> best that can be achieved is to keep any attacker a safe distance
>> from critical systems. A determined attacker might be willing to
>> absorb the effort and risk to covertly penetrate physical security
>> barriers if doing so will lead to a permanent compromise of a
>> one-time-seeded PRNG, less so if the benefits will last only briefly
>> as the PRNG reseeds after they leave.
>=20
> One of the things which is not obvious is whether or not each
> contributor has the same threat model in mind.  (In fact, it seems
> pretty obvious to me that we don't all share the same threat model,
> but I'm trying to be polite.  :-)
>=20
> The sort of things that you might need to worry about if you are
> trying to protect against pervasive monitoring are very different if
> you are worried about a targetted attack.  If someone is willing to
> bring in a listening truck and park it outside your house, or coverly
> penetrate physical security, there is a whole host of things that you
> would need to protect against before you are fully protected against
> that level of attack.
>=20
> In particular, who cares about how carefully constructed your RNG
> might be if the attacker can replace it (along with perhaps your
> entire networking stack, and the monitoring tools that might allow you
> to notice that something strange has happened to your system)?  Or
> just simply drop in some malware which leaks the session key after
> your perfect RNG that meets with all of the academics' worries about
> state compromise recovery=85.

I agree completely that there are multiple threat models in play =
regarding RNG and that this is a cause for much confusion. As I see it =
there are two broad categories:

1. The corporate threat model, which focuses on facilitating e-commerce =
and financial transections, complying with privacy regulations, (HIPPA, =
SOX, EU Data Directive, etc.), avoiding potential legal liability and =
protecting trade secrets.

2. The personal privacy threat model, which fears the mass surveillance =
society, doesn=92t trust corporate vendors and certifying bodies, and =
considers state actors principal threats. I=92d put Bitcoin and the like =
here.

Intel=92s RDrand instruction is a good example of the difference. It is =
deeply distrusted by group 2, but would appear to meet the needs of  =
group 1 (except maybe for trade secret protection at non-US companies).

Nonetheless, I would like to see future RNG standards address both =
groups' concerns as far as reasonably possible. And I would not be =
dismissive about =94exotic=94 attacks such as Tempest. What was once the =
purview of state actors like NSA, e.g. massively parallel machines for =
brute forcing passwords and keys, is now widely in use by the private =
and criminal sectors. =20

The time interval between RFCs 1750 and 4086 is over ten years and =
another ten are likely to have elapsed before a successor is adopted. A =
lot can happen in ten years, so it seems to me the goal should be to =
recommend the best available technology and to at least consider as many =
threats and use cases as can be reasonably foreseen, making technical =
compromises only when clearly needed after due consideration of =
alternatives.

Arnold Reinhold





From nobody Mon Mar 17 19:39:50 2014
Return-Path: <tytso@thunk.org>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB8591A0353 for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 19:39:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level: 
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, T_DKIM_INVALID=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 ylCNfqQHR-rR for <dsfjdssdfsd@ietfa.amsl.com>; Mon, 17 Mar 2014 19:39:46 -0700 (PDT)
Received: from imap.thunk.org (imap.thunk.org [IPv6:2600:3c02::f03c:91ff:fe96:be03]) by ietfa.amsl.com (Postfix) with ESMTP id 5C9D81A023D for <dsfjdssdfsd@ietf.org>; Mon, 17 Mar 2014 19:39:46 -0700 (PDT)
Received: from root (helo=closure.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.80) (envelope-from <tytso@thunk.org>) id 1WPjwH-0005rk-J1; Tue, 18 Mar 2014 02:39:37 +0000
Received: by closure.thunk.org (Postfix, from userid 15806) id 046375801E5; Mon, 17 Mar 2014 22:39:32 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=thunk.org; s=mail; t=1395110373; bh=5JbL/IwWxZi9S8qNhv0O10BF0MNyK5wHgCD/AiMUyow=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eCU5Yoot7WAPVoJL23tIEBo4zUx2S7bV0CtMGts/nUu0eBZsCC2RfBf+g1cw+h4ky AmS8vCiCFn2uYdF46OFCoZrzYZQ0XryL9k8RyvGjtdt68VqVF1b/U/0z4AaYizuZWA sXCAMghA6yp9+v05djPaEvQdZetj38O+Uiv9XoSc=
Date: Mon, 17 Mar 2014 22:39:32 -0400
From: tytso@mit.edu
To: Arnold Reinhold <agr@me.com>
Message-ID: <20140318023932.GA7144@thunk.org>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com> <56491888.20140315165037@gmail.com> <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com> <20140316171716.GD31988@thunk.org> <D1CAFBA9-92AB-4CE6-871E-740A428DA859@me.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <D1CAFBA9-92AB-4CE6-871E-740A428DA859@me.com>
User-Agent: Mutt/1.5.22 (2013-10-16)
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tytso@thunk.org
X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/PCeAOw1Ceushv0KRfv3hejwphIE
Cc: =?iso-8859-1?B?QGdtYWlsLmNvbT4=?=@thunk.org, dsfjdssdfsd@ietf.org, =?iso-8859-1?B?IktyaXN6dGnhbiBQaW506XIgQHRodW5rLm9yZyIgPHBpbnRlcmty?=@thunk.org
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 02:39:48 -0000

On Mon, Mar 17, 2014 at 08:43:36PM -0400, Arnold Reinhold wrote:
> 2. The personal privacy threat model, which fears the mass
> surveillance society, doesn’t trust corporate vendors and certifying
> bodies, and considers state actors principal threats. I’d put
> Bitcoin and the like here.

... and this also needs to separated into the "proof against a
targetted attack" and "protect against mass surveillance".

There's a big difference between NSA or FBI cutting a deal with AT&T
so that they get to put an Carnivore style keyword monitoring device
in a telephone closet at a fiber exchange point, and the FBI deciding
to park a Tempest van outside of your house.

Cheers,

						- Ted


From nobody Tue Mar 18 09:15:01 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 39F4A1A06F5 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 09:14:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.888
X-Spam-Level: 
X-Spam-Status: No, score=-3.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, HTML_MESSAGE=0.001, LOTS_OF_MONEY=0.001, T_MONEY_PERCENT=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 l8b46cgtkbN9 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 09:14:33 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 22E151A041D for <dsfjdssdfsd@ietf.org>; Tue, 18 Mar 2014 09:14:32 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 18 Mar 2014 12:14:21 -0400
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 18 Mar 2014 12:14:21 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Tue, 18 Mar 2014 12:14:20 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'joncallas@icloud.com'" <joncallas@icloud.com>, "'dsfjdssdfsd@ietf.org'" <dsfjdssdfsd@ietf.org>
Thread-Topic: [dsfjdssdfsd] provability & Dual_EC ... [was Blum-Blum-Shub ambiguity in 4086 ...]
Thread-Index: Ac9CxQ+6tC49sxKRTUuOfSNE/YvxTA==
Date: Tue, 18 Mar 2014 16:14:20 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C59E28@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/alternative; boundary="_000_810C31990B57ED40B2062BA10D43FBF5C59E28XMB116CNCrimnet_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/JVEmwoMQE_f8rwP0QrUDc8zlQCs
Subject: Re: [dsfjdssdfsd] provability & Dual_EC ... [was Blum-Blum-Shub ambiguity in 4086 ...]
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 16:14:52 -0000

--_000_810C31990B57ED40B2062BA10D43FBF5C59E28XMB116CNCrimnet_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Jon,

Thanks for forwarding your interesting email here.

You raise the provability issue about BBS (which is different from the two =
issues about BBS that I previously raised, which were some attacks), and al=
so extend it to Dual_EC, and perhaps any "public-key" DRBG.

Specifically, you say that no public-key DRBG/PRNG can be proved secure. By=
 contrast, BBS claim a security proof (but I have not reviewed the BBS proo=
f at all).  Gjosteen and I claim a security proof CRYPTO 2007 for Dual_EC. =
 Therefore, it would be interesting if we could find some common ground.  T=
o that end, I've taken some time to write a reactionary missive that I thin=
k addresses your concerns.

Firstly, the Dual_EC proof is only about its quality as a DRBG, PRNG, or PR=
G.  Specifically, any PRG, including HMAC_DRBG, CTR_DRBG, starts with an in=
itially random fixed length secret seed, maintains a state, and outputs a l=
ong stream, with the aim to provide some measure of indistinguishability fo=
r the existing outputs even permitting the adversary to access the latest c=
urrent state.  Our claims ignored the threat of state compromise recovery (=
aka prediction resistance).  As usual, a security proof, like any proof, ha=
s some hypotheses, and its conclusions are only as a strong as its hypothes=
es.  Also, it is implied by our CRYPTO 2007 paper, that what's required to =
be initially short secret seed is not only the conventional running state s=
, but also trapdoor-component of the state log_P(Q).  To force log_P(Q) to =
be random, one can just choose P and Q to be random.  To do that, choose th=
em yourself, derived from the same entropy source you needed for the runnin=
g state, or else choose them as nothing up my sleeve numbers ideally perhap=
s via NIST SP 800-90A alternative formulation.  These techniques help to ma=
ke log_P(Q) known to nobody at all. If log_P(Q) has been chosen by (or for)=
 you, by some authority, then the Dual_EC, according to the proof, seems se=
cure against everybody but those who know both the running secret state and=
 the value of log_P(Q).

Secondly, you also critique of Dual_EC and BBS that the p's and q's themsel=
ves need a DRBG to be generated.  But then so does any DRBG, once one insis=
ts on uniform keys (like conventional security assmuptions for HMAC and AES=
-CTR usually do).  That's what entropy conditioners can help resolve, trans=
itioning from biased raw entropy, to something more like the keys that conv=
entional crypto algorithms usually expect.  Also, a variable output-length =
DRBG is not needed either, because the input states to DRBG are fixed lengt=
h (with the exceptional of continuously reseeding DRBG).   Maybe it's a gre=
ater nuisance to generate the public-key DRBG seeds, but I don't see it as =
some essential obstacle.

That all said, I disagree {with /and perhaps even if} the conventional wisd=
om {that / is} the public-key PRNGs are more secure, by some kind of defaul=
t.  Security should be measured by firstly (a) what attacks are known, and =
by secondly (b) what the valid proofs claim and assume.  It's still on my t=
o-do list to review the security proof for HMAC_DRBG, and see what assumpti=
ons it hypothesizes. It is also my hope that the somebody will prove the se=
curity of CTR_DRBG, even if in the ideal cipher model (which may be necessa=
ry because its backtracking resistance depends on related keys, and most st=
andard assumptions about AES don't involve related keys).  As far as I know=
, there's no fundamental difference in being able to prove security of sche=
mes built from symmetric and asymmetric primitives.  The fixed version of D=
ual_EC (i.e. truncated to 50% of bits per point and "verifiably random" P &=
 Q), the HMAC_DRBG and CTR_DRBG are free from any known attacks. It is also=
 good to have security proofs to complement the lack of attacks.

I also sympathize with your general point that security proofs have the dan=
ger of dazzling and, thereby, lulling some people into passive acceptance. =
That's a psychological issue, and I don't have any kind of workaround for i=
t.  I think many other people have written lots on the general topic (see A=
nother Look ...).  I wonder how much other factors can induce similar effec=
ts: implementations, advertising, publication, ...

You rightly point out a commonality between some public-key DRBGs, namely D=
ual_EC and BBS, and their potential for a private key to be abused as a bac=
kdoor.  That said, some differences between BBS and Dual_EC (only the insuf=
ficiently truncated version and backdoored version) include a different in =
impact upon adversarial knowledge of the private-key-like "trapdoor" (porti=
on of the effective secret state):


1.      Given also one output, Dual_EC allows computation of future states =
(i.e. same consequence as state reveal for any DRBG), and distinguishing of=
 previous past output from random.

2.      Given also one running secret state, BBS allows computation of futu=
re and past states (and thus outputs).

So arguably, the weak version Dual_EC improves on BBS slightly on the narro=
w aspect of the backtracking resistance: only distinguishing is possible, n=
ot computation.  (To be fair, though, BBS is better on the aspect of semmin=
g to require invasive access to the internal secret state before backtracki=
ng.)  The significance of this is that (computational) backtracking resista=
nce is helpful, perhaps needed, for forward secrecy.  Notice that there see=
ms some growing demand for forward secrecy. This brings me back to my secon=
d issue about BBS in my original email on this thread.

Again the fully corrected version of Dual_EC does not have any known backtr=
acking vulnerability at all, and like, HMAC_DRBG, even has a security proof=
 (under various reasonable assumptions).   Its main disadvantages are being=
 relatively slow, and hard-to-explain differences between the possibly-back=
doored version.

Best regards,

Dan


From: dsfjdssdfsd [mailto:dsfjdssdfsd-bounces@ietf.org] On Behalf Of Jon Ca=
llas
Sent: Monday, March 17, 2014 12:53 PM
To: dsfjdssdfsd@ietf.org
Cc: Jon Callas
Subject: Re: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...

I found my missive in question, and upon re-reading it, I think it bears re=
peating here.

The thread starts with
<http://www.metzdowd.com/pipermail/cryptography/2014-January/019423.html>

and the message I quote from below is
<http://www.metzdowd.com/pipermail/cryptography/2014-January/019426.html>.

The discussion started with the blog post <http://blog.0xbadc0de.be/archive=
s/155> which purports to show how DUAL_EC_DRBG *must* have been backdoored =
from the start. That blog post is the antecedent of "it" in the paragraph f=
irst paragraph.

----

It's nice work on a technical level, but I think it fails at its goal, that=
 is to be a piece of polemic -- even mischaracterizing the Ferguson/Shumow =
CRYPTO Rump Session talk (their last slide explicitly said they were not su=
ggesting a back door).

Lest you think I'm saying something nice about DUAL_EC_DRBG, I'll repeat wh=
at I've said before, "Only an idiot would use it." It's slow, has biases in=
 its output that hashes and ciphers don't, and cannot be proved secure.

Let me rewind to the first public key based DRBG/PRNG -- Blum-Blum-Shub. (D=
RBG is the name NIST gave to what you and I would call a PRNG, it's Determi=
nistic Random Bit Generator. If you think of a complete design of an RNG, y=
ou want at least three major sections -- "entropy" collection, entropy pool=
 management, and conditioned output. A DRBG is the output stage.)

Blub-Blum-Shub uses an iterated RSA-like operation to generate random bits.=
 It was developed in 1986 and is a brilliant piece of mathematics. It was o=
ne of the very, very few bits of early crypto to have a sound theoretical b=
asis.

Many people who haven't thought it through have sung its praises over the y=
ears, mostly because they got seduced by the sound theoretic basis. Blum-Bl=
um-Shub has two of the three flaws that DUAL_EC_DRBG has: it's slow, and yo=
u can't prove it secure.

I'm sure you thinking, 'What do you mean, "can't be proved secure? Didn't y=
ou just say that it had a sound theoretical basis?"' Yup, and the sound the=
oretical basis gives you the good mathematical pseudo-randomness of the out=
put. The slow part is pretty obvious. The inobvious part is that it can't b=
e proven secure.

As an iterated, RSA-like operation, the core of it is two prime numbers, p =
and q. The security resolves down to the secrecy of the two primes.

And this leaves you with the question of how you get the primes. Well, if y=
ou generate them at run time, then you push the construction of your RNG do=
wn to the turtle below you. Your random number generator requires random p =
and q and you get those by using some other random number generator, one pr=
esumes.

Alternatively, you could use a fixed p and q, and then you have the *exact*=
 flaw as DUAL_EC_DRBG -- you have a fixed private key that can be used to j=
immy the thing open.

Matt Green wrote a great blog post last week at <http://blog.cryptographyen=
gineering.com>, which you should read. I'll summarize a bit and say that Mi=
cali and Shnorr did their own public-key based PRNG which also has Step 1 b=
eing "generate large primes p and q" and they helpfully gave test P and Q. =
I'm not merely being ironic. As someone who implemented the AES-CTR DRBG, h=
aving test vectors is really, really nice. NIST's test vectors for that are=
 really, really annoying and I'll complain at length to anyone who cares.

Anyway, Matt Green identifies the Micali-Shnorr generator as a precursor to=
 DUAL_EC_DRBG in both design and having a fixed key that you use for whatev=
er purporses, testing or compromise.

I have a couple points:

(Point 1) Any public-key based PRNG is going to have the issue that either =
you have a fixed key, or you have to generate a key using some other secure=
 means. This is why I use terms as strong as "can't be proven to be secure"=
 despite having a mathematical "sound theoretical basis."

I think there's a huge security philosophy problem here -- security proofs =
that are mathematical can have underlying engineering assumptions that rend=
er them insecure to the point of being silly.

I think that people get blinded by this as well, and if there's a mathemati=
cal proof they're blinded by it, if not cowed by the math and stop prodding=
 at the engineering and operational security.

Going back to Blum-Blum-Shub, look at the Wikipedia article on it at <http:=
//en.wikipedia.org/wiki/Blum_Blum_Shub>. There are some interesting stateme=
nts there, like the first sentence of the security section:

   The generator is not appropriate for use in simulations, only for
   cryptography, because it is very slow.

That makes me splutter. As an engineer, I'd argue that slow alone makes it =
not suitable for cryptography. I'm tempted to argue that for simulations, s=
peed isn't an issue, but really, if you slow things down enough, it's not s=
uitable for anything. I also have a long-standing twitch at *any* security =
discussion that brings in performance. Performance is not security, and man=
y security sins have their root cause in a performance worry, usually an ar=
tificial one.

The remainder of the section reads:

   However, there is a proof reducing its security to the
   computational difficulty of the Quadratic residuosity problem.
   Since the only known way to solve that problem requires factoring
   the modulus, the difficulty of Integer factorization is generally
   regarded as providing security. When the primes are chosen
   appropriately, and O(log log M) lower-order bits of each xn are
   output, then in the limit as M grows large, distinguishing the
   output bits from random should be at least as difficult as
   factoring M.

   If integer factorization is difficult (as is suspected) then B.B.S.
   with large M should have an output free from any nonrandom patterns
   that can be discovered with any reasonable amount of calculation.
   Thus it appears to be as secure as other encryption technologies
   tied to the factorization problem, such as RSA encryption.

This is interesting because nowhere do they address the central engineering=
 issue -- that a fixed p,q is not secure yet a variable one requires anothe=
r RNG to seed the RNG.

Also look at the section in the Handbook of Applied Cryptography on "Crypto=
graphically secure pseudorandom bit generation":

<http://books.google.com/books?id=3DnSzoG72E93MC&lpg=3DPA185&dq=3DCryptogra=
phically%20secure%20pseudorandom%20bit%20generation&pg=3DPA185#v=3Donepage>

We find an RSA-based generator there along with Micali-Shnorr and Blum-Blum=
-Shub and *all* of these have a recipe that starts unironically with (essen=
tially):

1. Setup. Generate two RSA-like secret primes, p and q.

This is a blind spot that's been there forever -- two of the three flaws of=
 DUAL_EC_DRBG have been staring us all in the face since 1986. Despite math=
ematical brilliance, the security of public-key based PRNGs have always bee=
n flawed with something that could be used as a back door.

(Point 2) History looks different when you look backwards than when you loo=
k forwards. Everyone has a tendency to act as if things were predetermined =
when we analyze the decisions of the past. We also assign intent when we ha=
ve to explain a WTF. Yet the usual answer to "What were you thinking?" is "=
They weren't." To quote the great philosopher David Byrne, "And you might s=
ay to yourself, 'My God, what have I done?'"

The general flaws have been there forever, and in general we still don't se=
e them. In specific, the documents on Micali-Shnorr and DUAL_EC_DRBG were u=
p front about the flaw all along.

Would the NSA exploit such a flaw? Hell, yes. We keep seeing this from leak=
ed documents, over and over. It's clear that they have taken the hacker phi=
losophy that nothing is out of scope or out of bounds to heart as an operat=
ing principle. You can see it in the recent ANT toy catalog, as well as the=
 BULLRUN statement that sent us all into a tizzy.

We have *assumed* that the BULLRUN statement that they're after damaging st=
andards means that DUAL_EC_DRBG is backdoored. People have said it so loudl=
y and so often that it's part of conventional wisdom now. Yet until BULLRUN=
, it was part of conventional wisdom that despite the speed problems, mathe=
matics made public key PRNGs more secure.

I know that one of my personal blind spots is that I'm a contrarian. I'm al=
so a cynic who believes that stupidity is one of the fundamental forces of =
the universe. So I find myself in the ironic position of defending a thing =
I never liked because yes, really, people *can* be that stupid. We all defe=
r to authorities, are cowed by proofs, and lose our critical thinking skill=
s when faced with a standard. I am reminded of Markoff Chaney from Illumina=
tus! as well as Poe's Purloined Letter.

If we want to look at this as a root-cause exercise, we can go back to Blum=
-Blum-Shub and see the kernel of the flaws and blindness of them. You can s=
ee that despite it being there from the start, we didn't *understand* it. Y=
ou can see the progression through Micali-Shnorr through the ANSI X9 commit=
tee, and then on to NIST.

I'm left wondering if something can really be a backdoor if it was there al=
l along, we just didn't grok it. Was the purloined letter hidden?

I can't help but feel that calling it a back door is just too cheap and eas=
y and convenient. It wasn't that we were collectively stupid and snookered =
ourselves, it was demons and those in league with them.

This leaves the question of what they *have* been doing with that $250M, wh=
ich is a good question. I lean towards private standards like those used in=
 telecom etc. In the public world, we're good at doing it to ourselves.

     Jon

--_000_810C31990B57ED40B2062BA10D43FBF5C59E28XMB116CNCrimnet_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:113254691;
	mso-list-type:hybrid;
	mso-list-template-ids:1201833988 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:1074429044;
	mso-list-type:hybrid;
	mso-list-template-ids:352330118 67698705 67698713 67698715 67698703 676987=
13 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Hi Jon,<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Thanks for forwarding =
your interesting email here.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You raise the provabil=
ity issue about BBS (which is different from the two issues about BBS that =
I previously raised, which were some attacks), and also extend it to Dual_E=
C, and perhaps any &#8220;public-key&#8221; DRBG.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Specifically, you say =
that no public-key DRBG/PRNG can be proved secure. By contrast, BBS claim a=
 security proof (but I have not reviewed the BBS proof at all). &nbsp;Gjost=
een and I claim a security proof CRYPTO 2007
 for Dual_EC.&nbsp; Therefore, it would be interesting if we could find som=
e common ground.&nbsp; To that end, I&#8217;ve taken some time to write a r=
eactionary missive that I think addresses your concerns.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Firstly, the Dual_EC p=
roof is only about its quality as a DRBG, PRNG, or PRG.&nbsp; Specifically,=
 any PRG, including HMAC_DRBG, CTR_DRBG, starts with an initially random fi=
xed length secret seed, maintains a state,
 and outputs a long stream, with the aim to provide some measure of indisti=
nguishability for the existing outputs even permitting the adversary to acc=
ess the latest current state.&nbsp; Our claims ignored the threat of state =
compromise recovery (aka prediction resistance).&nbsp;
 As usual, a security proof, like any proof, has some hypotheses, and its c=
onclusions are only as a strong as its hypotheses. &nbsp;Also, it is implie=
d by our CRYPTO 2007 paper, that what&#8217;s required to be initially shor=
t secret seed is not only the conventional
 running state s, but also trapdoor-component of the state log_P(Q).&nbsp; =
To force log_P(Q) to be random, one can just choose P and Q to be random.&n=
bsp; To do that, choose them yourself, derived from the same entropy source=
 you needed for the running state, or else
 choose them as nothing up my sleeve numbers ideally perhaps via NIST SP 80=
0-90A alternative formulation.&nbsp; These techniques help to make log_P(Q)=
 known to nobody at all. If log_P(Q) has been chosen by (or for) you, by so=
me authority, then the Dual_EC, according
 to the proof, seems secure against everybody but those who know both the r=
unning secret state and the value of log_P(Q).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Secondly, you also cri=
tique of Dual_EC and BBS that the p&#8217;s and q&#8217;s themselves need a=
 DRBG to be generated.&nbsp; But then so does any DRBG, once one insists on=
 uniform keys (like conventional security assmuptions
 for HMAC and AES-CTR usually do).&nbsp; That&#8217;s what entropy conditio=
ners can help resolve, transitioning from biased raw entropy, to something =
more like the keys that conventional crypto algorithms usually expect.&nbsp=
; Also, a variable output-length DRBG is not needed
 either, because the input states to DRBG are fixed length (with the except=
ional of continuously reseeding DRBG). &nbsp;&nbsp;Maybe it&#8217;s a great=
er nuisance to generate the public-key DRBG seeds, but I don&#8217;t see it=
 as some essential obstacle.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">That all said, I disag=
ree {with /and perhaps even if} the conventional wisdom {that / is} the pub=
lic-key PRNGs are more secure, by some kind of default.&nbsp; Security shou=
ld be measured by firstly (a) what attacks
 are known, and by secondly (b) what the valid proofs claim and assume.&nbs=
p; It&#8217;s still on my to-do list to review the security proof for HMAC_=
DRBG, and see what assumptions it hypothesizes. It is also my hope that the=
 somebody will prove the security of CTR_DRBG,
 even if in the ideal cipher model (which may be necessary because its back=
tracking resistance depends on related keys, and most standard assumptions =
about AES don&#8217;t involve related keys).&nbsp; As far as I know, there&=
#8217;s no fundamental difference in being able to
 prove security of schemes built from symmetric and asymmetric primitives.&=
nbsp; The fixed version of Dual_EC (i.e. truncated to 50% of bits per point=
 and &#8220;verifiably random&#8221; P &amp; Q), the HMAC_DRBG and CTR_DRBG=
 are free from any known attacks. It is also good to
 have security proofs to complement the lack of attacks.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I also sympathize with=
 your general point that security proofs have the danger of dazzling and, t=
hereby, lulling some people into passive acceptance. That&#8217;s a psychol=
ogical issue, and I don&#8217;t have any kind of
 workaround for it.&nbsp; I think many other people have written lots on th=
e general topic (see Another Look &#8230;).&nbsp; I wonder how much other f=
actors can induce similar effects: implementations, advertising, publicatio=
n, &#8230;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">You rightly point out =
a commonality between some public-key DRBGs, namely Dual_EC and BBS, and th=
eir potential for a private key to be abused as a backdoor.&nbsp; That said=
, some differences between BBS and Dual_EC
 (only the insufficiently truncated version and backdoored version) include=
 a different in impact upon adversarial knowledge of the private-key-like &=
#8220;trapdoor&#8221; (portion of the effective secret state):
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"color:#1F497D"><span style=3D"m=
so-list:Ignore">1.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"color:#1F497D">Given also one=
 output, Dual_EC allows computation of future states (i.e. same consequence=
 as state reveal for any DRBG), and distinguishing of previous past output =
from random.<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"color:#1F497D"><span style=3D"m=
so-list:Ignore">2.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"color:#1F497D">Given also one=
 running secret state, BBS allows computation of future and past states (an=
d thus outputs).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">So arguably, the weak =
version Dual_EC improves on BBS slightly on the narrow aspect of the backtr=
acking resistance: only distinguishing is possible, not computation.&nbsp; =
(To be fair, though, BBS is better on the
 aspect of semming to require invasive access to the internal secret state =
before backtracking.)&nbsp; The significance of this is that (computational=
) backtracking resistance is helpful, perhaps needed, for forward secrecy.&=
nbsp; Notice that there seems some growing
 demand for forward secrecy. This brings me back to my second issue about B=
BS in my original email on this thread.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Again the fully correc=
ted version of Dual_EC does not have any known backtracking vulnerability a=
t all, and like, HMAC_DRBG, even has a security proof (under various reason=
able assumptions).&nbsp; &nbsp;Its main disadvantages
 are being relatively slow, and hard-to-explain differences between the pos=
sibly-backdoored version.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Best regards,<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Dan<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> dsfjdssd=
fsd [mailto:dsfjdssdfsd-bounces@ietf.org]
<b>On Behalf Of </b>Jon Callas<br>
<b>Sent:</b> Monday, March 17, 2014 12:53 PM<br>
<b>To:</b> dsfjdssdfsd@ietf.org<br>
<b>Cc:</b> Jon Callas<br>
<b>Subject:</b> Re: [dsfjdssdfsd] Blum-Blum-Shub ambiguity in 4086 ...<o:p>=
</o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I found my missive in question, and upon re-reading =
it, I think it bears repeating here.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
The thread starts with&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&lt;<a href=3D"http://www.metzdowd.com/pipermail/cryptography/2014-January/=
019423.html">http://www.metzdowd.com/pipermail/cryptography/2014-January/01=
9423.html</a>&gt;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
and the message I quote from below is<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&lt;<a href=3D"http://www.metzdowd.com/pipermail/cryptography/2014-January/=
019426.html">http://www.metzdowd.com/pipermail/cryptography/2014-January/01=
9426.html</a>&gt;.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
The discussion started with the blog post &lt;<a href=3D"http://blog.0xbadc=
0de.be/archives/155">http://blog.0xbadc0de.be/archives/155</a>&gt; which pu=
rports to show how DUAL_EC_DRBG *must* have been backdoored
 from the start. That blog post is the antecedent of &quot;it&quot; in the =
paragraph first paragraph.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
----<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Times New Roman&quo=
t;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"font-f=
amily:&quot;Courier New&quot;">It's nice work on a technical level, but I t=
hink it fails at its goal, that is&nbsp;to be a piece of polemic -- even mi=
scharacterizing the Ferguson/Shumow CRYPTO&nbsp;Rump Session
 talk (their last slide explicitly said they were not suggesting a&nbsp;bac=
k door).&nbsp;<br>
<br>
Lest you think I'm saying something nice about DUAL_EC_DRBG, I'll repeat wh=
at&nbsp;I've said before, &quot;Only an idiot would use it.&quot; It's slow=
, has biases in its&nbsp;output that hashes and ciphers don't, and cannot b=
e proved secure.<br>
<br>
Let me rewind to the first public key based DRBG/PRNG -- Blum-Blum-Shub. (D=
RBG&nbsp;is the name NIST gave to what you and I would call a PRNG, it's De=
terministic&nbsp;Random Bit Generator. If you think of a complete design of=
 an RNG, you want at&nbsp;least three major sections
 -- &quot;entropy&quot; collection, entropy pool management,&nbsp;and condi=
tioned output. A DRBG is the output stage.)<br>
<br>
Blub-Blum-Shub uses an iterated RSA-like operation to generate random bits.=
 It&nbsp;was developed in 1986 and is a brilliant piece of mathematics. It =
was one of&nbsp;the very, very few bits of early crypto to have a sound the=
oretical basis.<br>
<br>
Many people who haven't thought it through have sung its praises over the&n=
bsp;years, mostly because they got seduced by the sound theoretic basis. Bl=
um-Blum-Shub has two of the three flaws that DUAL_EC_DRBG has: it's slow, a=
nd you can't&nbsp;prove it secure.<br>
<br>
I'm sure you thinking, 'What do you mean, &quot;can't be proved secure? Did=
n't you&nbsp;just say that it had a sound theoretical basis?&quot;' Yup, an=
d the sound&nbsp;theoretical basis gives you the good mathematical pseudo-r=
andomness of the&nbsp;output. The slow part is pretty obvious.
 The inobvious part is that it can't be&nbsp;proven secure.<br>
<br>
As an iterated, RSA-like operation, the core of it is two prime numbers, p =
and&nbsp;q. The security resolves down to the secrecy of the two primes.<br=
>
<br>
And this leaves you with the question of how you get the primes. Well, if y=
ou&nbsp;generate them at run time, then you push the construction of your R=
NG down to&nbsp;the turtle below you. Your random number generator requires=
 random p and q and&nbsp;you get those by using
 some other random number generator, one presumes.<br>
<br>
Alternatively, you could use a fixed p and q, and then you have the *exact*=
&nbsp;flaw as DUAL_EC_DRBG -- you have a fixed private key that can be used=
 to jimmy&nbsp;the thing open.<br>
<br>
Matt Green wrote a great blog post last week at&nbsp;&lt;<a href=3D"http://=
blog.cryptographyengineering.com">http://blog.cryptographyengineering.com</=
a>&gt;, which you should read. I'll&nbsp;summarize a bit and say that Mical=
i and Shnorr did their own public-key based&nbsp;PRNG which
 also has Step 1 being &quot;generate large primes p and q&quot; and they&n=
bsp;helpfully gave test P and Q. I'm not merely being ironic. As someone wh=
o&nbsp;implemented the AES-CTR DRBG, having test vectors is really, really =
nice.&nbsp;NIST's test vectors for that are really, really
 annoying and I'll complain at&nbsp;length to anyone who cares.<br>
<br>
Anyway, Matt Green identifies the Micali-Shnorr generator as a precursor to=
&nbsp;DUAL_EC_DRBG in both design and having a fixed key that you use for w=
hatever&nbsp;purporses, testing or compromise.&nbsp;<br>
<br>
I have a couple points:<br>
<br>
(Point 1) Any public-key based PRNG is going to have the issue that either =
you&nbsp;have a fixed key, or you have to generate a key using some other s=
ecure means.&nbsp;This is why I use terms as strong as &quot;can't be prove=
n to be secure&quot; despite&nbsp;having a mathematical &quot;sound
 theoretical basis.&quot;<br>
<br>
I think there's a huge security philosophy problem here -- security proofs =
that&nbsp;are mathematical can have underlying engineering assumptions that=
 render them&nbsp;insecure to the point of being silly.<br>
<br>
I think that people get blinded by this as well, and if there's a mathemati=
cal&nbsp;proof they're blinded by it, if not cowed by the math and stop pro=
dding at the&nbsp;engineering and operational security.<br>
<br>
Going back to Blum-Blum-Shub, look at the Wikipedia article on it at&nbsp;&=
lt;<a href=3D"http://en.wikipedia.org/wiki/Blum_Blum_Shub">http://en.wikipe=
dia.org/wiki/Blum_Blum_Shub</a>&gt;. There are some interesting&nbsp;statem=
ents there, like the first sentence of the security
 section:<br>
<br>
&nbsp; &nbsp;The generator is not appropriate for use in simulations, only =
for<br>
&nbsp; &nbsp;cryptography, because it is very slow.<br>
<br>
That makes me splutter. As an engineer, I'd argue that slow alone makes it =
not&nbsp;suitable for cryptography. I'm tempted to argue that for simulatio=
ns, speed&nbsp;isn't an issue, but really, if you slow things down enough, =
it's not suitable&nbsp;for anything. I also have
 a long-standing twitch at *any* security discussion&nbsp;that brings in pe=
rformance. Performance is not security, and many security sins&nbsp;have th=
eir root cause in a performance worry, usually an artificial one.<br>
<br>
The remainder of the section reads:<br>
<br>
&nbsp; &nbsp;However, there is a proof reducing its security to the<br>
&nbsp; &nbsp;computational difficulty of the Quadratic residuosity problem.=
<br>
&nbsp; &nbsp;Since the only known way to solve that problem requires factor=
ing<br>
&nbsp; &nbsp;the modulus, the difficulty of Integer factorization is genera=
lly<br>
&nbsp; &nbsp;regarded as providing security. When the primes are chosen<br>
&nbsp; &nbsp;appropriately, and O(log log M) lower-order bits of each xn ar=
e<br>
&nbsp; &nbsp;output, then in the limit as M grows large, distinguishing the=
<br>
&nbsp; &nbsp;output bits from random should be at least as difficult as<br>
&nbsp; &nbsp;factoring M.<br>
<br>
&nbsp; &nbsp;If integer factorization is difficult (as is suspected) then B=
.B.S.<br>
&nbsp; &nbsp;with large M should have an output free from any nonrandom pat=
terns<br>
&nbsp; &nbsp;that can be discovered with any reasonable amount of calculati=
on.<br>
&nbsp; &nbsp;Thus it appears to be as secure as other encryption technologi=
es<br>
&nbsp; &nbsp;tied to the factorization problem, such as RSA encryption.<br>
<br>
This is interesting because nowhere do they address the central engineering=
&nbsp;issue -- that a fixed p,q is not secure yet a variable one requires a=
nother RNG&nbsp;to seed the RNG.<br>
<br>
Also look at the section in the Handbook of Applied Cryptography on&nbsp;&q=
uot;Cryptographically secure pseudorandom bit generation&quot;:<br>
<br>
&lt;<a href=3D"http://books.google.com/books?id=3DnSzoG72E93MC&amp;lpg=3DPA=
185&amp;dq=3DCryptographically%20secure%20pseudorandom%20bit%20generation&a=
mp;pg=3DPA185#v=3Donepage">http://books.google.com/books?id=3DnSzoG72E93MC&=
amp;lpg=3DPA185&amp;dq=3DCryptographically%20secure%20pseudorandom%20bit%20=
generation&amp;pg=3DPA185#v=3Donepage</a>&gt;<br>
<br>
We find an RSA-based generator there along with Micali-Shnorr and Blum-Blum=
-Shub and *all* of these have a recipe that starts unironically with&nbsp;(=
essentially):<br>
<br>
1. Setup. Generate two RSA-like secret primes, p and q.<br>
<br>
This is a blind spot that's been there forever -- two of the three flaws of=
&nbsp;DUAL_EC_DRBG have been staring us all in the face since 1986. Despite=
&nbsp;mathematical brilliance, the security of public-key based PRNGs have =
always&nbsp;been flawed with something that could
 be used as a back door.<br>
<br>
(Point 2) History looks different when you look backwards than when you loo=
k&nbsp;forwards. Everyone has a tendency to act as if things were predeterm=
ined when&nbsp;we analyze the decisions of the past. We also assign intent =
when we have to&nbsp;explain a WTF. Yet the usual
 answer to &quot;What were you thinking?&quot; is &quot;They&nbsp;weren't.&=
quot; To quote the great philosopher David Byrne, &quot;And you might say t=
o&nbsp;yourself, 'My God, what have I done?'&quot;<br>
<br>
The general flaws have been there forever, and in general we still don't se=
e&nbsp;them. In specific, the documents on Micali-Shnorr and DUAL_EC_DRBG w=
ere up&nbsp;front about the flaw all along.<br>
<br>
Would the NSA exploit such a flaw? Hell, yes. We keep seeing this from leak=
ed&nbsp;documents, over and over. It's clear that they have taken the hacke=
r philosophy&nbsp;that nothing is out of scope or out of bounds to heart as=
 an operating&nbsp;principle. You can see it in
 the recent ANT toy catalog, as well as the BULLRUN&nbsp;statement that sen=
t us all into a tizzy.<br>
<br>
We have *assumed* that the BULLRUN statement that they're after damaging&nb=
sp;standards means that DUAL_EC_DRBG is backdoored. People have said it so =
loudly&nbsp;and so often that it's part of conventional wisdom now. Yet unt=
il BULLRUN, it&nbsp;was part of conventional wisdom
 that despite the speed problems, mathematics&nbsp;made public key PRNGs mo=
re secure.<br>
<br>
I know that one of my personal blind spots is that I'm a contrarian. I'm al=
so a&nbsp;cynic who believes that stupidity is one of the fundamental force=
s of the&nbsp;universe. So I find myself in the ironic position of defendin=
g a thing I never&nbsp;liked because yes, really,
 people *can* be that stupid. We all defer to&nbsp;authorities, are cowed b=
y proofs, and lose our critical thinking skills when&nbsp;faced with a stan=
dard. I am reminded of Markoff Chaney from Illuminatus! as&nbsp;well as Poe=
's Purloined Letter.<br>
<br>
If we want to look at this as a root-cause exercise, we can go back to Blum=
-Blum-Shub and see the kernel of the flaws and blindness of them. You can s=
ee&nbsp;that despite it being there from the start, we didn't *understand* =
it. You can&nbsp;see the progression through
 Micali-Shnorr through the ANSI X9 committee, and&nbsp;then on to NIST.<br>
<br>
I'm left wondering if something can really be a backdoor if it was there al=
l&nbsp;along, we just didn't grok it. Was the purloined letter hidden?&nbsp=
;<br>
<br>
I can't help but feel that calling it a back door is just too cheap and eas=
y&nbsp;and convenient. It wasn't that we were collectively stupid and snook=
ered&nbsp;ourselves, it was demons and those in league with them.<br>
<br>
This leaves the question of what they *have* been doing with that $250M, wh=
ich&nbsp;is a good question. I lean towards private standards like those us=
ed in telecom&nbsp;etc. In the public world, we're good at doing it to ours=
elves.<br>
<br>
<span class=3D"apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp; </span>Jon<o:p></o:=
p></span></p>
</div>
</div>
</div>
</body>
</html>

--_000_810C31990B57ED40B2062BA10D43FBF5C59E28XMB116CNCrimnet_--


From nobody Tue Mar 18 10:06:38 2014
Return-Path: <iang@iang.org>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C1531A06F8 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 10:06:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 F29Ud1WDQDQX for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 10:06:33 -0700 (PDT)
Received: from virulha.pair.com (virulha.pair.com [209.68.5.166]) by ietfa.amsl.com (Postfix) with ESMTP id 962541A0721 for <dsfjdssdfsd@ietf.org>; Tue, 18 Mar 2014 10:06:16 -0700 (PDT)
Received: from tormenta.local (www2.futureware.at [78.41.115.142]) by virulha.pair.com (Postfix) with ESMTPSA id 7B1D56D52B; Tue, 18 Mar 2014 13:06:03 -0400 (EDT)
Message-ID: <53287CF9.9050407@iang.org>
Date: Tue, 18 Mar 2014 17:06:01 +0000
From: ianG <iang@iang.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: dsfjdssdfsd@ietf.org
References: <mailman.7123.1395159295.2539.dsfjdssdfsd@ietf.org>
In-Reply-To: <mailman.7123.1395159295.2539.dsfjdssdfsd@ietf.org>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/CHDfQ1C38Vx2ZB4dk0dSzb-vPhw
Cc: Dan Brown <dbrown@certicom.com>, "joncallas@icloud.com" <joncallas@icloud.com>
Subject: Re: [dsfjdssdfsd] provability & Dual_EC ... [was Blum-Blum-Shub ambiguity in 4086 ...]
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 17:06:35 -0000

Hi Dan,

> You raise the provability issue about BBS (which is different from the two issues about BBS that I previously raised, which were some attacks), and also extend it to Dual_EC, and perhaps any "public-key" DRBG.


I recently had built a DRBG or PRNG.  I tasked an intern (3rd year comp
sci) to do it.  I instructed ChaCha.  That was about it.

I was able to do that because (a ) I know what ChaCha does, enough for
this task, (b ) she was able to learn enough about it to write ChaCha
from the paper and get it up and going, within 3 weeks, also a mixer and
a collector, (c ) we're using it for crypto as well as RNGs, and (d ) if
anything goes wrong with it we'll hear about it.  Oh, and it comes with
some pedigree, call that (e ).

These are very simple engineering things.  They give me confidence.
And, none of the above characteristics are true of BBS or Dual_EC.
Provability doesn't change that, it doesn't add to the list, and in my
mind it makes it more suspicious, it gives it an air of mystique and
salesmanship.

This isn't saying anything that Jon didn't say, it's just adding some
anecdotal flesh -- out in the coding world we'll do what is practical as
engineers, we add tires on so we can kick them.  We typically wouldn't
touch things we don't understand with a barge pole.

It's really a pragmatic approach I suppose, very humdrum, but it is what
we do.



iang


From nobody Tue Mar 18 10:21:47 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 607281A06F3 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 10:21:45 -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, HTML_MESSAGE=0.001] 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 YoZsBgOKIqX2 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 10:21:42 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id EF2341A0728 for <dsfjdssdfsd@ietf.org>; Tue, 18 Mar 2014 10:21:22 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 18 Mar 2014 13:21:06 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT101CNC.rim.net ([fe80::9c22:d9c:c906:c488%16]) with mapi id 14.03.0174.001; Tue, 18 Mar 2014 13:21:06 -0400
From: Dan Brown <dbrown@certicom.com>
To: "dsfjdssdfsd@ietf.org" <dsfjdssdfsd@ietf.org>
Thread-Topic: Should we/4086 focus on key generation, and defer key derivation and key streaming to elsewhere?
Thread-Index: Ac9CzlkkvLlGCzN4TiODOz6M+NoFrA==
Date: Tue, 18 Mar 2014 17:21:05 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C59ED3@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0049_01CF42AC.EAFD2320"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/hstfQmtdFDJnRpMk5RaPZTC9cSg
Subject: [dsfjdssdfsd] Should we/4086 focus on key generation, and defer key derivation and key streaming to elsewhere?
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 17:21:45 -0000

------=_NextPart_000_0049_01CF42AC.EAFD2320
Content-Type: multipart/related;
	boundary="----=_NextPart_001_004A_01CF42AC.EAFEA9C0"


------=_NextPart_001_004A_01CF42AC.EAFEA9C0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_004B_01CF42AC.EAFEA9C0"


------=_NextPart_002_004B_01CF42AC.EAFEA9C0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Random List Members,

 

What classes of "RNGs" are useful (or just used) in cryptography? / Should
4086bis cover them?

 

I provide my three answers to these questions below, but am also interested
in others' answers.

 

Key streams. / No.

 

Key streams take a short shared secret and generate a long key stream
apparently indistinguishable from random. RFC 4086 seems to also cover key
stream (cipher) generation, in Section 6.2 (third paragraph xor'ing one-time
pads) , but it seems too far out of scope for 4086.  CFRG, or each
individual IETF WGs, now covers stream cipher, at least when as one-time
pads.    Beyond one-time pads, key streams may be useful for side-channel
protection, i.e. blinding (or for general purpose non-crypto applications,
in which case, they not crypto security properties may be required).   My
thought; let's exclude key streaming applications from 4086bis and instead
the focus on the more fundamental task of key generation (further below,
after derivation). 

 

Key derivation. / No.

 

Key derivation function take a (shared or not) short secret key, derive yet
more short keys, often customized for a single purpose.  Examples: from TLS
master_key to encryption key; DH raw shared secret conversion to a session
key; perhaps even private DH keys to session keys; passwords to key
conversion via slow, costly function; -- perhaps also even key wrap as in
S/MIME, nonce generation, and even ephemeral secret key generation.  These
seem to be covered by various other specs, so ought not to be included in
4086.  Again, 4086bis ought best to focus of key generation (below).

 

Key generation. / Yes.

 

With no pre-existing short key, this is a task that actually requires some
genuine secret entropy gathering, and perhaps a persistent state (whereas
the streams and derivations are stateless functions).  The output here could
be quite short, since streaming and derivation can easily generate more
keys.  I think it would be good for 4086bis to focus more on this task.  The
term "generation" is a little awkward, because it is does not distinguish
itself well from key derivation.  Note that key derivation and key streaming
already rely on good key generation, so key generation is unavoidable, and
fundamental.

 

///

 

The approach above is task-oriented.  

 

An opposite approach would be tool-oriented: describe RNGs as a general
purpose tool, and how to build them well and so on, and try to target every
possible security goal.  That approach may have poorly defined (or at least
poorly prioritized) set of requirements, but may also have more realistic
implementability.  Perhaps both approaches should be pursued, but I'd hope
for at least a clearly defined set of task-oriented requirements that is
especially careful about key generation.

 

An approach similar to the tool-oriented approach is an attack-oriented
approach, which has been started already in a different thread here, by Nick
M. 

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_004B_01CF42AC.EAFEA9C0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:440953732;
	mso-list-type:hybrid;
	mso-list-template-ids:2009877344 1128052830 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:2;
	mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Hi Random List Members,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>What classes of &#8220;RNGs&#8221; =
are useful (or just used) in cryptography? / Should 4086bis cover =
them?<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>I provide my three answers to these questions below, but am =
also interested in others&#8217; answers.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Key streams. / =
No.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Key streams take a short shared secret and generate a long =
key stream apparently indistinguishable from random. RFC 4086 seems to =
also cover key stream (cipher) generation, in Section 6.2 (third =
paragraph xor&#8217;ing one-time pads) , but it seems too far out of =
scope for 4086.&nbsp; CFRG, or each individual IETF WGs, now covers =
stream cipher, at least when as one-time pads. &nbsp;&nbsp;&nbsp;Beyond =
one-time pads, key streams may be useful for side-channel protection, =
i.e. blinding (or for general purpose non-crypto applications, in which =
case, they not crypto security properties may be required). =
&nbsp;&nbsp;My thought; let&#8217;s exclude key streaming applications =
from 4086bis and instead the focus on the more fundamental task of key =
generation (further below, after derivation). <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Key derivation. / =
No.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Key derivation function take a (shared or not) short secret =
key, derive yet more short keys, often customized for a single =
purpose.&nbsp; Examples: from TLS master_key to encryption key; DH raw =
shared secret conversion to a session key; perhaps even private DH keys =
to session keys; passwords to key conversion via slow, costly function; =
-- perhaps also even key wrap as in S/MIME, nonce generation, and even =
ephemeral secret key generation.&nbsp; These seem to be covered by =
various other specs, so ought not to be included in 4086.&nbsp; Again, =
4086bis ought best to focus of key generation =
(below).<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Key generation. / Yes.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>With no pre-existing short key, =
this is a task that actually requires some genuine secret entropy =
gathering, and perhaps a persistent state (whereas the streams and =
derivations are stateless functions).&nbsp; The output here could be =
quite short, since streaming and derivation can easily generate more =
keys.&nbsp; I think it would be good for 4086bis to focus more on this =
task.&nbsp; The term &#8220;generation&#8221; is a little awkward, =
because it is does not distinguish itself well from key =
derivation.&nbsp; Note that key derivation and key streaming already =
rely on good key generation, so key generation is unavoidable, and =
fundamental.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>///<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>The approach above is task-oriented.&nbsp; =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>An opposite approach would be tool-oriented: describe RNGs =
as a general purpose tool, and how to build them well and so on, and try =
to target every possible security goal.&nbsp; That approach may have =
poorly defined (or at least poorly prioritized) set of requirements, but =
may also have more realistic implementability.&nbsp; Perhaps both =
approaches should be pursued, but I&#8217;d hope for at least a clearly =
defined set of task-oriented requirements that is especially careful =
about key generation.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>An approach similar to the tool-oriented approach is an =
attack-oriented approach, which has been started already in a different =
thread here, by Nick M. <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Best regards,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in =
3.0pt 0in'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF42AC.E9135480"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_004B_01CF42AC.EAFEA9C0--

------=_NextPart_001_004A_01CF42AC.EAFEA9C0
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF42AC.E9135480>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3qW6t
4W2yzxRn0dwKV7iGOMSPNG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k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_004A_01CF42AC.EAFEA9C0--

------=_NextPart_000_0049_01CF42AC.EAFD2320
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ4wDAYDVQQLEwVVc2Vy
czESMBAGA1UEAxMJRGFuIEJyb3duMSIwIAYJKoZIhvcNAQkBFhNkYnJvd25AY2VydGljb20uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRc70RE0/FL9ZbfN64YjA0lkQOLR9ipGebc9nH
jB93OfYfR7CVsCUYy3+v9PO1DiUS9MeWWR4nxB9Ztee32d3syDxGg3PGFwSrms/ORAW9pgiS/yKH
An9SKRKyqMz9LSn/VQrEgoyPBPT0S/vg521MGH58MwMXyLm1cLBQU5gtCQIDAQABo4IDmDCCA5Qw
CwYDVR0PBAQDAgWgMEQGCSqGSIb3DQEJDwQ3MDUwDgYIKoZIhvcNAwICAgCAMA4GCCqGSIb3DQME
AgIAgDAHBgUrDgMCBzAKBggqhkiG9w0DBzAdBgNVHQ4EFgQUAlQmTNpWxnzoCUVjxGTtDz2JvLww
FwYJKwYBBAGCNxQCBAoeCABV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5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwCQYFKw4D
AhoFAKCCAaYwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwMzE4
MTcyMTA2WjAjBgkqhkiG9w0BCQQxFgQUJKX5kPLVUZASLhupkAZJBG/qOJEwZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgC8SWVadiy55
ZOgQ/WM9t++cIMvEIwOdsDQGDJsVeIIrQnjwrlzsKnq1O1P5I5OjpMqemUSF6zGAp3z9RrQtXEaL
WIKtaDxl4LkJJw0ethSB08T6fYliCF6ewg+DnGFQcnGnzpqL2HBxvlQgligtRH7yGcU3swx/hl/m
AkzIwLlqAAAAAAAA

------=_NextPart_000_0049_01CF42AC.EAFD2320--


From nobody Tue Mar 18 13:57:38 2014
Return-Path: <agr@me.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C62C91A0427 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 13:57:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 KzZCdjvvWbj8 for <dsfjdssdfsd@ietfa.amsl.com>; Tue, 18 Mar 2014 13:57:35 -0700 (PDT)
Received: from nk11p00mm-asmtp001.mac.com (nk11p00mm-asmtp001.mac.com [17.158.161.0]) by ietfa.amsl.com (Postfix) with ESMTP id 76A3E1A0125 for <dsfjdssdfsd@ietf.org>; Tue, 18 Mar 2014 13:57:34 -0700 (PDT)
MIME-version: 1.0
Content-type: text/plain; charset=windows-1252
Received: from [192.168.1.134] (c-66-31-43-48.hsd1.ma.comcast.net [66.31.43.48]) by nk11p00mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N2N00HCUGVO8V60@nk11p00mm-asmtp001.mac.com> for dsfjdssdfsd@ietf.org; Tue, 18 Mar 2014 20:57:26 +0000 (GMT)
From: Arnold Reinhold <agr@me.com>
In-reply-to: <20140318023932.GA7144@thunk.org>
Date: Tue, 18 Mar 2014 16:57:25 -0400
Content-transfer-encoding: quoted-printable
Message-id: <642B9BBD-A39E-4842-AE84-FEB71545F631@me.com>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com> <56491888.20140315165037@gmail.com> <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com> <20140316171716.GD31988@thunk.org> <D1CAFBA9-92AB-4CE6-871E-740A428DA859@me.com> <20140318023932.GA7144@thunk.org>
To: tytso@mit.edu
X-Mailer: Apple Mail (2.1874)
x-icloud-spam-score: 34444444 f=me.com; e=me.com; is=no; ir=yes; pp=ham; spf=n/a; dkim=n/a; dmarc=n/a; wl=n/a; pwl=n/a; clxs=n/a; clxl=n/a
X-MANTSH: 1TEIXREEbG1oaGkdHB0lGUkdDRl5PWBoaGBEKTEMXGx0EGx8SBBscHwQdHhAbHho fGhEKWE0XSxEKbX4XGhEKTFkXGxobGxEKWUkXEQpZXhdoY3kRCkNOF0sbHhpiTk0ZBBtCQxl4c wcYYxgaHx17ExEKWFwXGQQaBB0HTUsdEkhJHEwFGx0EGx8SBBscHwQdHhAbHhofGxEKXlkXYXJ GTHgRCkxGF2xraxEKQ1oXHBwEGRsEHhkEHhIRCkRYFxkRCkRJFxgRCkJGF2x9TER+fWUTaV4TE QpCRRd6f314WmxMXkNiQBEKQk4XbHBgeUAdYlJpGmIRCkJMF21oe2BOY0UFBWFoEQpCbBdnfnB FRFl6SEF9HBEKQkAXZGZdZm5LfkscWV4RCnBoF2FwGl15YnNlGXxGEQpwaBdpRW9DAUYfSH4eR REKcGgXbERbY2xjXRNrGmMRCnBoF2BHZWB4fEsSZl5JEQpwaBdjbWgSRUNHQnxJZREKcGwXbn9 kQ21zfkQebhMR
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/b4I2jC7LMIg0R_Y3SF9IIwTcTfs
Cc: dsfjdssdfsd@ietf.org, =?windows-1252?Q?=22Kriszti=E1n_Pint=E9r_=40thunk=2Eorg=22?= <pinterkr@thunk.org>
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 20:57:37 -0000

On Mar 17, 2014, at 10:39 PM, tytso@mit.edu wrote:

> On Mon, Mar 17, 2014 at 08:43:36PM -0400, Arnold Reinhold wrote:
>> 2. The personal privacy threat model, which fears the mass
>> surveillance society, doesn=92t trust corporate vendors and =
certifying
>> bodies, and considers state actors principal threats. I=92d put
>> Bitcoin and the like here.
>=20
> ... and this also needs to separated into the "proof against a
> targetted attack" and "protect against mass surveillance".
>=20
> There's a big difference between NSA or FBI cutting a deal with AT&T
> so that they get to put an Carnivore style keyword monitoring device
> in a telephone closet at a fiber exchange point, and the FBI deciding
> to park a Tempest van outside of your house.
>=20
> Cheers,
>=20
> 						- Ted

What used to require a Tempest van, today probably fits in a briefcase =
or even a shirt pocket. And the hardware, in terms of of wide band =
digitizing and signal processing is now widely available and =
inexpensive.=20

The targeted attack vs mass surveillance/war =
driving/bang-on-every-exposed-port model should be another dimension to =
the threat model, but the former shouldn=92t be ignored.  Trillions of =
dollars already flow through financial systems daily and the Internet of =
Things is just getting started. There will be ever more high value =
systems to attack, and increasingly sophisticated evil-doers with the =
means to go after them. (My nightmare sees drug cartels wishing to =
develop new revenue streams to replace market share lost to legalization =
and following Sutton=92s Law in its most literal sense.)

Before eliminating any capability, such as rapid recovery from PRNG =
state compromise, based on a claim that the requirement is unreasonable =
under the threat models being addressed, those threat models (and the =
claim) should be made fully explicit and subjected to review like any =
other aspect of the proposed standard.

Arnold Reinhold=


From nobody Fri Mar 28 13:33:27 2014
Return-Path: <agr@me.com>
X-Original-To: dsfjdssdfsd@ietfa.amsl.com
Delivered-To: dsfjdssdfsd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4456D1A0303 for <dsfjdssdfsd@ietfa.amsl.com>; Fri, 28 Mar 2014 13:33:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.035
X-Spam-Level: 
X-Spam-Status: No, score=-0.035 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no
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 aAVzch3DUCS8 for <dsfjdssdfsd@ietfa.amsl.com>; Fri, 28 Mar 2014 13:33:23 -0700 (PDT)
Received: from mail-yh0-f61.google.com (mail-yh0-f61.google.com [209.85.213.61]) by ietfa.amsl.com (Postfix) with ESMTP id E68D41A0177 for <dsfjdssdfsd@ietf.org>; Fri, 28 Mar 2014 13:33:22 -0700 (PDT)
Received: by mail-yh0-f61.google.com with SMTP id f73so1227658yha.6 for <dsfjdssdfsd@ietf.org>; Fri, 28 Mar 2014 13:33:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=vOLJ2rqRWW73NoZge5tRVmSag/wuEZkhQ3TFJpEIt1s=; b=W4zqKi6oHipkjU1gJW3lNLYfE5luW9fRM065UJKCI4n+En/iDv0+X0Z8v1SkGNAJZX jeR6rUMUbgeVCNERkqwvJs6pX8HWiQne58+Kuv4Yo10QQZ2JG4z9pU23qcV2MAmzqUXj uNrmu+C6ZU2FuuD+BbHtjOjWDuHTa/2GdPEJykaQWVkAl4ufeJbH+biayvsaH1x614Pv mPI0ExxDMk8UMk9ghoLPVUTNo6ObWpCCIewVT4IACo44x5hE9PiJ+D/QlqDCpDcVgoHd F+2D0SrD2XpGoE1pzuKX6c+wiMLYpW66U4jLYvruhJjtgz4vObOFetYq7ZsHZ5e/iVWA ZNPw==
X-Received: by 10.140.97.117 with SMTP id l108mr82701qge.1.1396038800606; Fri, 28 Mar 2014 13:33:20 -0700 (PDT)
X-Google-Doc-Id: 19dbf5bf4fd173cf
X-Google-Web-Client: true
Date: Fri, 28 Mar 2014 13:33:19 -0700 (PDT)
From: Arnold Reinhold <agr@me.com>
To: randomness-generation@googlegroups.com
Message-Id: <1cff5bc9-ef0e-4cdd-bf12-f2f10a397976@googlegroups.com>
In-Reply-To: <20140318231731.12700.qmail@cr.yp.to>
References: <531F6068.4080907@akr.io> <20140311195443.GD2190@thunk.org> <F3B65184-1544-48FA-8C20-52FEAC208D8A@me.com> <56491888.20140315165037@gmail.com> <DF42CACF-3AC7-4FA9-934C-18D4A0504FB9@me.com> <20140318231731.12700.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_983_4332624.1396038799692"
X-Google-Token: EI-515kFtpzPk97PGj00
X-Google-IP: 66.31.43.48
Archived-At: http://mailarchive.ietf.org/arch/msg/dsfjdssdfsd/X8_va4oE5PJxrV3pf6wOavPMmdY
Cc: dsfjdssdfsd@ietf.org, djb@cr.yp.to
Subject: Re: [dsfjdssdfsd] Discussion: Malicious Entropy Attacks: Eggs, and Baskets
X-BeenThere: dsfjdssdfsd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The dsfjdssdfsd list provides a venue for discussion of randomness in IETF protocols, for example related to updating RFC 4086." <dsfjdssdfsd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dsfjdssdfsd/>
List-Post: <mailto:dsfjdssdfsd@ietf.org>
List-Help: <mailto:dsfjdssdfsd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dsfjdssdfsd>, <mailto:dsfjdssdfsd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Mar 2014 20:33:25 -0000

------=_Part_983_4332624.1396038799692
Content-Type: multipart/alternative; 
	boundary="----=_Part_984_5305979.1396038799692"

------=_Part_984_5305979.1396038799692
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



On Tuesday, March 18, 2014 7:17:31 PM UTC-4, D. J. Bernstein wrote:
>
> Arnold Reinhold writes:=20
> > A determined attacker might be willing to absorb the effort and risk=20
> > to covertly penetrate physical security barriers if doing so will lead=
=20
> > to a permanent compromise of a one-time-seeded PRNG=20
>
> You misunderstand the argument that you're responding to.=20
>
> The argument, in the case of side-channel attacks, is _not_ "Don't worry=
=20
> about side-channel attacks---you aren't being targeted by those."=20
>
> The argument is "When a side-channel attacker is stealing your long-term=
=20
> PGP key, your long-term SSH key, your long-term SSL key, etc., what=20
> exactly do you think you're accomplishing by dribbling fresh entropy=20
> into your RNG? It's too late! You've already lost! Try paying attention=
=20
> to the actual problem: go back to the system design and start applying=20
> side-channel countermeasures."=20
>
> There's an extensive public literature on side-channel attacks and=20
> defenses, notably in the proceedings of the top-tier Cryptographic=20
> Hardware and Embedded Systems conference series. The attacks are much=20
> more expensive for RNGs than for long-term keys (RNG state has far less=
=20
> interaction with attacker-controlled input, and each state is used only=
=20
> once), and the defenses are correspondingly easier; anyone capable of=20
> protecting the long-term keys is also capable of protecting the RNG.=20
>
> Similar comments apply to other "RNG state compromise" attacks. Sure,=20
> there have been security failures that allowed attackers to read the=20
> system's RNG state, but those failures also allowed attackers to read=20
> long-term keys, and that's a much worse problem. Viewing this as an RNG=
=20
> issue, and trying to "recover" from it by complicating the RNG, doesn't=
=20
> make any sense. What makes sense is to address the underlying security=20
> failures, protecting _all_ of the secrets stored in the system.=20
>
> > We now have something we never had before, an apparently thorough=20
> > rigorous analysis of the reseeding issue.=20
>
> I see no connection between "the reseeding issue" and actual security.=20
>
> ---Dan=20
>

I was answering what I perceived as skepticism about the Tempest attack=20
threat, but I would like to respond to your broader point.=20

A random number generator (RNG) is a component of security systems.=20
Electronic signature, symmetric and asymmetric encryption algorithms are=20
other components. The argument seems to be that component A need not be=20
resistant to attack X because critical component B is even more susceptible=
=20
to X than A is. A counter position is that we should make component A as=20
resistant to X as it can safely be, with reasonable effort, and also try to=
=20
improve the resistance of component B to X.=20

It=E2=80=99s at least conceivable that credentials can be made less subject=
 to side=20
channel attack. One  might, for example, use multi-layer credentials, with=
=20
the operational credentials changed regularly. Transactions would be signed=
=20
and encrypted using working keys with a short lifespan. The top level=20
credential would be used very infrequently, limiting its exposure to side=
=20
channels. The top level credential might also subject to further=20
protections, perhaps stored in a separate module, or encrypted after=20
signing second level credentials, perhaps using a public key of some remote=
=20
station. That station might then authorize decryption for signing only when=
=20
the system is under direct supervision. Such a system could recover from a=
=20
compromise of its short term and intermediate term keys, perhaps in in a=20
time frame comparable to an RNG recovery or even synchronized with the RNG=
=20
reseeds.

It might be argued that any credential compromise is damaging, but the=20
damage from a short term compromise can be limited. A seed-only-once RNG=20
can never recover from a state compromise.=20

The context here is a proposed revision for RFC 4086 Randomness=20
Requirements for Security. If all goes smoothly the new RFC might come out=
=20
in 2015 or 2016. Any new RNG recommendations it makes will take several=20
years to appear in common operating systems and crypto libraries. Secure=20
systems based on those components will then likely be in the field for a=20
decade or more. That means systems influenced by the new RFC will be=20
operating well into the 2030s. I don=E2=80=99t think we can predict all the=
 uses=20
for unpredictable quantities and possible attacks in that long a time=20
frame.=20

The Dodis paper suggests a sound basis for designing RNGs that recover from=
=20
state compromise. It remains to be seen if flaws in their reasoning surface=
=20
and if practical code based on their ideas will emerge free of intellectual=
=20
property restrictions. But I think it is much too soon to rule out=20
inclusion of such a scheme in the proposed RFC.

Arnold Reinhold=20

------=_Part_984_5305979.1396038799692
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Tuesday, March 18, 2014 7:17:31 PM UTC-4, D. J.=
 Bernstein wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Arnold Reinho=
ld writes:
<br>&gt; A determined attacker might be willing to absorb the effort and ri=
sk
<br>&gt; to covertly penetrate physical security barriers if doing so will =
lead
<br>&gt; to a permanent compromise of a one-time-seeded PRNG
<br>
<br>You misunderstand the argument that you're responding to.
<br>
<br>The argument, in the case of side-channel attacks, is _not_ "Don't worr=
y
<br>about side-channel attacks---you aren't being targeted by those."
<br>
<br>The argument is "When a side-channel attacker is stealing your long-ter=
m
<br>PGP key, your long-term SSH key, your long-term SSL key, etc., what
<br>exactly do you think you're accomplishing by dribbling fresh entropy
<br>into your RNG? It's too late! You've already lost! Try paying attention
<br>to the actual problem: go back to the system design and start applying
<br>side-channel countermeasures."
<br>
<br>There's an extensive public literature on side-channel attacks and
<br>defenses, notably in the proceedings of the top-tier Cryptographic
<br>Hardware and Embedded Systems conference series. The attacks are much
<br>more expensive for RNGs than for long-term keys (RNG state has far less
<br>interaction with attacker-controlled input, and each state is used only
<br>once), and the defenses are correspondingly easier; anyone capable of
<br>protecting the long-term keys is also capable of protecting the RNG.
<br>
<br>Similar comments apply to other "RNG state compromise" attacks. Sure,
<br>there have been security failures that allowed attackers to read the
<br>system's RNG state, but those failures also allowed attackers to read
<br>long-term keys, and that's a much worse problem. Viewing this as an RNG
<br>issue, and trying to "recover" from it by complicating the RNG, doesn't
<br>make any sense. What makes sense is to address the underlying security
<br>failures, protecting _all_ of the secrets stored in the system.
<br>
<br>&gt; We now have something we never had before, an apparently thorough
<br>&gt; rigorous analysis of the reseeding issue.
<br>
<br>I see no connection between "the reseeding issue" and actual security.
<br>
<br>---Dan
<br></blockquote><div><br></div><div style=3D"color: rgb(0, 0, 0); font-fam=
ily: Helvetica;">I was answering what I perceived as skepticism about the T=
empest attack threat, but I would like to respond to your broader point.&nb=
sp;</div><div style=3D"color: rgb(0, 0, 0); font-family: Helvetica;"><br></=
div><div style=3D"color: rgb(0, 0, 0); font-family: Helvetica;">A random nu=
mber generator (RNG) is a component of security systems. Electronic signatu=
re, symmetric and asymmetric encryption algorithms are other components. Th=
e argument seems to be that component A need not be resistant to attack X b=
ecause critical component B is even more susceptible to X than A is. A coun=
ter position is that we should make component A as resistant to X as it can=
 safely be, with reasonable effort, and also try to improve the resistance =
of component B to X.&nbsp;</div><div style=3D"color: rgb(0, 0, 0); font-fam=
ily: Helvetica;"><br></div><div style=3D"color: rgb(0, 0, 0); font-family: =
Helvetica;">It=E2=80=99s at least conceivable that credentials can be made =
less subject to side channel attack. One &nbsp;might, for example, use mult=
i-layer credentials, with the operational credentials changed regularly. Tr=
ansactions would be signed and encrypted using working keys with a short li=
fespan. The top level credential would be used very infrequently, limiting =
its exposure to side channels. The top level credential might also subject =
to further protections, perhaps stored in a separate module, or encrypted a=
fter signing second level credentials, perhaps using a public key of some r=
emote station. That station might then authorize decryption for signing onl=
y when the system is under direct supervision. Such a system could recover =
from a compromise of its short term and intermediate term keys, perhaps in =
in a time frame comparable to an RNG recovery or even synchronized with the=
 RNG reseeds.</div><div style=3D"color: rgb(0, 0, 0); font-family: Helvetic=
a;"><br></div><div style=3D"color: rgb(0, 0, 0); font-family: Helvetica;">I=
t might be argued that any credential compromise is damaging, but the damag=
e from a short term compromise can be limited. A seed-only-once RNG can nev=
er recover from a state compromise.&nbsp;</div><div style=3D"color: rgb(0, =
0, 0); font-family: Helvetica;"><br></div><div style=3D"color: rgb(0, 0, 0)=
; font-family: Helvetica;">The context here is a proposed revision for RFC =
4086&nbsp;Randomness Requirements for Security. If all goes smoothly the ne=
w RFC might come out in 2015 or 2016. Any new RNG recommendations it makes =
will take several years to appear in common operating systems and crypto li=
braries. Secure systems based on those components will then likely be in th=
e field for a decade or more. That means systems influenced by the new RFC =
will be operating well into the 2030s. I don=E2=80=99t think we can predict=
 all the uses for unpredictable quantities and possible attacks in that lon=
g a time frame.&nbsp;</div><div style=3D"color: rgb(0, 0, 0); font-family: =
Helvetica;"><br></div><div style=3D"color: rgb(0, 0, 0); font-family: Helve=
tica;">The Dodis paper suggests a sound basis for designing RNGs that recov=
er from state compromise. It remains to be seen if flaws in their reasoning=
 surface and if practical code based on their ideas will emerge free of int=
ellectual property restrictions. But I think it is much too soon to rule ou=
t inclusion of such a scheme in the proposed RFC.</div><div style=3D"color:=
 rgb(0, 0, 0); font-family: Helvetica;"><br></div><div><span style=3D"color=
: rgb(0, 0, 0); font-family: Helvetica;">Arnold Reinhold</span>&nbsp;</div>=
</div>
------=_Part_984_5305979.1396038799692--

------=_Part_983_4332624.1396038799692--

