threads / discuss / 52586

SHA-1 chosen-prefix colission attack

Subject: SHA-1 chosen-prefix colission attack

## tl;dr

3 messages between Jan 7, 2020 and Jan 8, 2020.

replies: 2people: 3as markdown or json

Kevin Daudt· Jan 7, 2020, 17:31 UTC · lore

Researchers published new advances in creating collisions in SHA-1 hashes: https://sha-mbles.github.io/

> As a side result, this shows that it now costs less than 100k USD to
> break cryptography with a security level of 64 bits (i.e. to compute
> 264 operations of symmetric cryptography).
Kevin
Santiago Torres Arias· Jan 7, 2020, 20:31 UTC · re: Kevin Daudt · lore

Re: SHA-1 chosen-prefix colission attack

> > As a side result, this shows that it now costs less than 100k USD to
> > break cryptography with a security level of 64 bits (i.e. to compute
> > 264 operations of symmetric cryptography).
Just to clarify:
    As a stopgap measure, the collision-detection library of Stevens and Shumow [SS17]
    can be used to detect attack attempts (it successfully detects our attack).
At the end of section 7.0,

Cheers -Santiago

Jeff King· Jan 8, 2020, 07:30 UTC · re: Santiago Torres Arias · lore

Re: SHA-1 chosen-prefix colission attack

On Tue, Jan 07, 2020 at 03:31:48PM -0500, Santiago Torres Arias wrote:
Show 10 quoted lines
> > > As a side result, this shows that it now costs less than 100k USD to
> > > break cryptography with a security level of 64 bits (i.e. to compute
> > > 264 operations of symmetric cryptography).
> 
> Just to clarify:
> 
>     As a stopgap measure, the collision-detection library of Stevens and Shumow [SS17]
>     can be used to detect attack attempts (it successfully detects our attack).
> 
> At the end of section 7.0,

And if anyone is curious, you can test your build of Git against their sample files by running:

  $ t/helper/test-tool sha1 <messageA
  fatal: SHA-1 appears to be part of a collision attack: 8ac60ba76f1999a1ab70223f225aefdc78d4ddc0

Unfortunately you can't test with actual Git objects, because their chosen-prefixes don't have object headers. They do estimate that a classical collision is down to ~11k USD to compute, so maybe we'll see one eventually. :)

-Peff

← back to recent threads