Likes Likes:  0
Resultaten 1 tot 4 van de 4
Geen
  1. #1
    Pavel Machek
    MD5 To Be Considered Harmful Today
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    MD5 To Be Considered Harmful Today


    --jRHKVT23PllUwdXP
    Content-Type: text/plain; charset=iso-8859-1
    Content-Disposition: inline
    Content-Transfer-Encoding: 8bit

    Hi!

    > I've been doing some analysis on MD5 collision announced by Wang et al.
    > Short version: Yes, Virginia, there is no such thing as a safe hash
    > collision -- at least in a function that's specified to be
    > cryptographically secure. The full details may be acquired at the
    > following link:


    Yes, nice paper, and here you have nice story:

    Okay, lets have two friends and one horse. Let's say Pavel and
    Bara. Bara owns a horse, and needs money, so she wants to sell
    it. Horse has some problems with its back, and Bara would be willing
    to sell it for around $1300. Therefore she's quite surprised when
    Pavel offers her $14000, and agrees immediately.

    From: Pavel
    To: Bara

    Hi!

    I'd like to buy Fita. If you accept my offer (msg1), just sign and
    send it back.


    :~/misc/md5$ cat msg1
    I agree to sell you my horse ^Fita^, its saddle and harness for price 14000 dollars. Signed Bara

    :~/misc/md5$ md5sum msg1
    57ce330a6c6ca8e9ffab4f3b36b2a1a5 msg1
    :~/misc/md5$

    (Bara signs msg1 and sends it back to Pavel). Two days later, Pavel
    comes with a car, and $1000. Bara denies she offered Fita for $1000,
    but can not find copy of the e-mail exchange. Fortunately Pavel has a
    copy with him, digitaly signed by Bara. They view it on her computer,
    and verify the signatures. At that point Bara agrees she probably made
    a mistake, and accepts $1000...

    :~/misc/md5$ cat msg2
    I agree to sell you my horse ^Fita^, its saddle and harness for price 1´000 dollars. Signed Bara

    :~/misc/md5$ md5sum msg2
    57ce330a6c6ca8e9ffab4f3b36b2a1a5 msg2
    :~/misc/md5$

    (With apologies to Bara; let's hope she'll never find out).

    Pavel
    PS: I tried it on linux console, and it does some nasty terminal
    tricks. Of course, if Bara investigated, she'd probably found out
    how...

    --
    People were complaining that M$ turns users into beta-testers...
    ....jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

    --jRHKVT23PllUwdXP
    Content-Type: application/octet-stream
    Content-Disposition: attachment; filename=msg1
    Content-Transfer-Encoding: base64

    0THdAsXm7sRpPZoGmK/5XC/KtQcSRn6rQARYPrj7f4lVrTQGCfSzAoPkiIMl8UFaCFEl6PfN
    yZ/ZHb1ygDc8W9iCPjFWNI9brm2s1DbJGcbdU+I0h9oD/QI5YwbSSM2g6Z8zQg9XfujOVLZw
    gCgNHsaYIby2qIOTlvllq2/3KnAICAgICAgICAgICAgICAgICEkgYWdyZWUgdG8gc2VsbCB5
    b3UgbXkgaG9yc2UgXkZpdGFeLCBpdHMgc2FkZGxlIGFuZCBoYX JuZXNzIGZvciBwcmljZSAg
    IDEbW0MwMDAgZG9sbGFycy4gU2lnbmVkIEJhcmEKCg==

    --jRHKVT23PllUwdXP
    Content-Type: application/octet-stream
    Content-Disposition: attachment; filename=msg2
    Content-Transfer-Encoding: base64

    0THdAsXm7sRpPZoGmK/5XC/KtYcSRn6rQARYPrj7f4lVrTQGCfSzAoPkiIMlcUFaCFEl6PfN
    yZ/ZHb3ygDc8W9iCPjFWNI9brm2s1DbJGcbdU+K0h9oD/QI5YwbSSM2g6Z8zQg9XfujOVLZw
    gKgNHsaYIby2qIOTlvllK2/3KnAICAgICAgICAgICAgICAgICEkgYWdyZWUgdG8gc2VsbCB5
    b3UgbXkgaG9yc2UgXkZpdGFeLCBpdHMgc2FkZGxlIGFuZCBoYX JuZXNzIGZvciBwcmljZSAg
    IDEbW0MwMDAgZG9sbGFycy4gU2lnbmVkIEJhcmEKCg==

    --jRHKVT23PllUwdXP--

  2. #2
    Dan Kaminsky
    MD5 To Be Considered Harmful Today
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: MD5 To Be Considered Harmful Today

    >
    >
    >:~/misc/md5$ cat msg1
    >I agree to sell you my horse ^Fita^, its saddle and harness for price 14000 dollars. Signed Bara
    >
    >
    >

    Except you can't do this, since the appended data needs to be identical
    between the two files. That's why I used the encrypted payload -- it
    ties the semantic meaning of the embedded commands to posession of
    vec1's series of bits, which is of course what a cipher is meant to do.

    Your payloads differ but the above line is incorrect. Your actual
    appended files:

    $ cat msg1
    [terminal garbage]I agree to sell you my horse ^Fita^, its saddle and
    harness for price 1 000 dollars. Signed Bara

    $ cat msg2
    [slightly different terminal garbage]I agree to sell you my horse
    ^Fita^, its saddle and harness for price 1 000 dollars. Signed Bara

    --Dan


  3. #3
    Pavel Machek
    MD5 To Be Considered Harmful Today
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: MD5 To Be Considered Harmful Today

    Hi!

    > >:~/misc/md5$ cat msg1
    > >I agree to sell you my horse ^Fita^, its saddle and harness for price
    > >14000 dollars. Signed Bara
    > >
    > >
    > >

    > Except you can't do this, since the appended data needs to be identical
    > between the two files. That's why I used the encrypted payload -- it
    > ties the semantic meaning of the embedded commands to posession of
    > vec1's series of bits, which is of course what a cipher is meant to do.
    >
    > Your payloads differ but the above line is incorrect. Your actual
    > appended files:
    >
    > $ cat msg1
    > [terminal garbage]I agree to sell you my horse ^Fita^, its saddle and
    > harness for price 1 000 dollars. Signed Bara
    >
    > $ cat msg2
    > [slightly different terminal garbage]I agree to sell you my horse
    > ^Fita^, its saddle and harness for price 1 000 dollars. Signed Bara


    Actually, no, it is not. Try catting it on linux console. It takes
    the garbage, overwrites it with ^Hs, then writes ... "its saddle and
    harness for price 1", then shifts cursor right (over 4 or `,
    depending on first block), then continues with "000 dollars".

    My trick does *not* work in Gnome Terminal (I've just verified
    it). You need actuall linux console, press ctrl-alt-F1 on most distros
    to get to one... but if you tell me what terminal you use, I can
    probably create terminal sequence that works there...
    Pavel
    --
    People were complaining that M$ turns users into beta-testers...
    ....jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

  4. #4
    Dan Kaminsky
    MD5 To Be Considered Harmful Today
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: MD5 To Be Considered Harmful Today


    >Actually, no, it is not. Try catting it on linux console. It takes
    >the garbage, overwrites it with ^Hs, then writes ... "its saddle and
    >harness for price 1", then shifts cursor right (over 4 or `,
    >depending on first block), then continues with "000 dollars".
    >
    >My trick does *not* work in Gnome Terminal (I've just verified
    >it). You need actuall linux console, press ctrl-alt-F1 on most distros
    >to get to one... but if you tell me what terminal you use, I can
    >probably create terminal sequence that works there...
    > Pavel
    >
    >

    Whoa. If you can get this working in rxvt, I'll be quite impressed.

    --Dan


Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics