From: fc@all.net (Dr. Frederick B. Cohen)
To: cypherpunks@toad.com
Message Hash: 7032e8371dd85610d198d196324b03f5017808f78d859208194709ee304c6032
Message ID: <9510242001.AA16913@all.net>
Reply To: <199510241554.LAA27916@opine.cs.umass.edu>
UTC Datetime: 1995-10-24 20:04:15 UTC
Raw Date: Tue, 24 Oct 95 13:04:15 PDT
From: fc@all.net (Dr. Frederick B. Cohen)
Date: Tue, 24 Oct 95 13:04:15 PDT
To: cypherpunks@toad.com
Subject: Re: MD5 weakness ? [was Re: Netscape Logic Bomb detailed by IETF]
In-Reply-To: <199510241554.LAA27916@opine.cs.umass.edu>
Message-ID: <9510242001.AA16913@all.net>
MIME-Version: 1.0
Content-Type: text
...
> I believe Dr. Cohen's point is that no-one knows, AFAIK, how to prove that a
> one-way hash is truly one-way (uninvertible). We cannot prove that MD5 is
> secure, ergo we cannot (completely) trust it. [Please correct if this is a
> substantially incorrect inference.]
>
> One of the standard responses is "it's the best we can do". When people said
> this about PGP, FBC made some (IMHO) interesting comments about the
> encryption he uses in various circumstances. Perhaps he would like to share
> his personal choices of one-way hash functions with us.
Since you asked:
It's a really complex issue.
As a fundamental, we know that any "one-way" hash function must
be many-to-one, which means that, in practice, there are always large
numbers (2^large numbers) of sources for any given hash. This means
that forgeries are always possible.
I know of no way to prove that (and no convincing argument that
the workload for creating) a forgery is hard for any "one-way" hash
function. This seems to mean that we are always betting on faith about
these things.
The techniques that seem to be reasonably good are; modular
exponentiation in a modulus that's the product of two appropriate primes
(a.k.a. RSA but throw out the private key when you create it); certain
classes of non-linear feedback shift registers of high degree; and some
general class of mixing algorithms like MD5.
The RSA-type hash is slow, and some great mathematician may show
up tomorrow and lay waste to the whole thing. Non-linear feedback shift
registers have the advantage that we don't know how to factor
high-degree equations, so we don't know how to make simple closed form
solutions to find output values. MD5-type systems are good because they
combine diffusion and confusion and avoid a lot of the more well-known
flaws as far as we know.
None of these reasons are particularly convincing, so I think we
have to take a risk management approach. So the ultimate question here
is, how much are we willing to bet that nobody can break one of these in
the intended application over a particular time frame.
I trust the RSA and NLFSR systems, if reasonably well
implemented, for a single short time-frame low-valued transaction. For
example, pick a good pseudo-random number and create an RSA one-way hash
of 512 bits (the random number issue is of course another whole area),
encrypt the first bloack, Xor with the second block, encrypt the result,
etc. till done, then Xor again with the original random seed, send the
file and the hash along with the one-way key, and get a confirmation
back within a few days.
I don't trust any of them as a basis for running a major part of
an economy over open communications links, and I especially don't trust
them when combined or when the security of one depends on another. To
run an economy, I think you need more redundancy, more personnel
security, more stop-loss capabilities, physically secure devices,
independent checks and balances, etc.
Someone on this list mentioned that the banking system trusts
the RSA and MD5, etc. but this seems to me to be a mischaracterization.
They trust these systems to an extent, but they have key change
requirements, regular audits, physical security, relatively secured
communications lines (when compared to the Internet), strong procedural
controls (most of the time), and other such protections, and they still
get hammered for a few million now and then.
This is probably enough for now, since the list is probably
getting tired of my posts and I have made the major points.
--
-> See: Info-Sec Heaven at URL http://all.net
Management Analytics - 216-686-0090 - PO Box 1480, Hudson, OH 44236
Return to October 1995
Return to “Simon Spero <ses@tipper.oit.unc.edu>”