Re: Requesting some help
- From: Bodo Moeller <bmoeller@xxxxxxx>
- Date: 22 Sep 2006 11:26:14 GMT
David Wagner <daw@xxxxxxxxxxxxxxxxxxxxxxxx>:
Kristian Gjøsteen wrote:
David Wagner <daw-usenet@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I don't follow. I thought your original attack was valid. The attack
doesn't need to know phi(n); the matrix inversion is over the integers.
I always thought this attack would work, so I was confused when I could
not explain to myself why it worked. I guess I am missing a trick
here. Why should the matrix be invertible over the integers?
To be more precise, it only has to be invertible modulo e, where e
is the public modulus.
I guess you mean "public exponent", but actually it isn't about
invertibility modulo e or modulo n. Invertibility modulo phi(n)
went into the right direction, we just luckily don't *need* to know
phi(n) (if we knew it, this way of attack would be pointless).
Let me repeat Kristian's attack sketch:
(find enough smooth hashes
to get the RSA-decryptions of smooth primes, then you can fake signatures
of new smooth hashes;
"Smooth primes" here means small primes below some smoothness bound, B.
We need the matrix step to obtain RSA decryptions of these primes
from the RSA decryptions of smooth hashes: Every smooth hash h_i is
a multiplicative linear combination h_i = \prod p_j^{e_ij} where
p_1, ..., p_b denotes the primes up to B. Applying column
transformations to the matrix (e_ij) corresponds to obtaining some
multiplicative linear combinations of the h_i, and this is where
we arrive at the issue of a matrix inversion (take up to b rows of the
matrix, keep the same number of columns of this; if you can invert
this quadratic matrix, then you know how to get a subset of p_1, ..., p_b
as multiplicative linear combinations of the h_i; thus, given the
e-th roots modulo n of the h_i, you similarly can compute the
roots of the p_j as linear combinations).
Since ultimately this is about computations mudulo n, you could
consider this is a matrix with elements modulo phi(n). Well,
in that case even a 1x1 matrix would usually be invertible, since you
can invert its only element modulo phi(n) unless it is zero or has a
common divisor with phi(n). But for this attack, we don't need any
modular reduction of the matrix elements -- considering the matrix as
a matrix of integers is fine. We can multiply modulo n, we can invert
modulo n, and that's all we need.
.
- Follow-Ups:
- Re: Requesting some help
- From: David Wagner
- Re: Requesting some help
- References:
- Requesting some help
- From: robeholmes
- Re: Requesting some help
- From: Kristian Gjøsteen
- Re: Requesting some help
- From: David Wagner
- Re: Requesting some help
- From: Kristian Gjøsteen
- Re: Requesting some help
- From: David Wagner
- Requesting some help
- Prev by Date: Re: Secure 128-bit hash?
- Next by Date: Re: XOR javascript implementation
- Previous by thread: Re: Requesting some help
- Next by thread: Re: Requesting some help
- Index(es):
Relevant Pages
|
Loading