Re: SHA1 broken

tomstdenis_at_gmail.com
Date: 02/16/05


Date: 16 Feb 2005 09:24:36 -0800


Paul Rubin wrote:
> "tomstdenis@gmail.com" <tomstdenis@gmail.com> writes:
> > It means a given characteristic through the cipher cannot have a
> > probability of occuring above a given threshold. Early today I
quoted
> > 2^-72 [iirc] for 4 rounds... that means any four round differential
> > pattern would hold 2^-72 of the time.
>
> OK, say I check for the pattern 2^20 times. Does that give me a
2^-52
> chance of spotting the differential? Is that a distinguishing
attack?

The distinguisher works like this, if A => B [these are deltas] with
high probability than the values that differ [p xor q == A] to cause A
=> B are known.

When the diff occurs only a limited subset of keys are possible.

So when I rotate through all 2^63 inputs p and their q = p xor A I
expect to see one output difference [B] more than others. For the
specific value of "p" that that occurs I know probable keys.

Therefore, if all output differences are equally probably of resulting
for all p then the attack can't work.

Gets worse than that though, because the attack usually exploits the
last round in a chain, e.g..

A => B => C => D => E

So A => E is what you see, you expect B, C, D because you're really
attacking A => B. So... if B didn't happen but you still got E then
you have "noise".

Then it gets worse than that though.

Suppose you don't care what B,C,D are and just want a distinguisher.
Then you have a "differential" [or hull... though hull was used in
linear crypto the idea applies].

But we change it a bit. We only want A => D to be a sure thing. So
B,C we don't care provided we get A => D. Now if A => D occurs enough
then we can guess the E key and divide and conquer the sucker [e.g.
correct keys would show A => D more often].

...

wide trails really only provably stop the case of A => E where B,C,D
are fixed. In practice it makes hulls harder too since the # of
members of the A => D set are fixed and the sum of their probabilities
is still going to be low [because they're all wide trails].

Tom



Relevant Pages

  • Re: Please explain in simple terms -- key collision attack
    ... Biham paper in question. ... The gentleman asked what the attack was, and I did my best to answer ... keys. ... The probability of hitting one of those keys for each external key is ...
    (sci.crypt)
  • Re: OT: Islam against free Speech
    ... I am not worried about things I cannot control. ... It was a comment on my probability of dying from AIDS ... ':think' the odds of you dying in a terrorist attack are very high. ... Are you willing to give up rights for them? ...
    (rec.audio.opinion)
  • Re: The Last Post At lotterypost
    ... I really don't have any "records in 2000," idiot, but if ... newsgroup that has been, is, and will be. ... See how I attack them? ... The probability that 409 will be drawn ...
    (rec.gambling.lottery)
  • Re: Please help me to find a mistake here
    ... probability of event E equal to about 1.76E-10. ... slightly different from James Waldby's answer. ... thought the answers should differ by only an imperceptible amount. ... Using this second method I get Pr= 1.7611E-10, ...
    (sci.math)
  • Re: Firewall security: Re: Problems with simple Samba file share
    ... but the probability is negligible of it happening the way you ... nothing - there was no attack that could have been produced from ... time until you get the disease. ... The difference is that I understand probability and risk. ...
    (comp.os.linux.misc)