folder Tahribat.com Forumları
linefolder Bilişim Güvenliği
linefolder Kendi MD5 Değerini Gösteren GIF Resim



Kendi MD5 Değerini Gösteren GIF Resim

  1. KısayolKısayol reportŞikayet pmÖzel Mesaj
    cukurova
    cukurova's avatar
    Kayıt Tarihi: 21/Aralık/2003
    Erkek

    Uzun süredir kafa yorduğum bir konu, bir pdf veya resim içinde son satırda kendi hash imzası bulunan bir yapı üzerine. Tabii sonuç şimdilik husran.

    Aşağıdaki gif resmin md5 kodu, kendi içerisinde yer alıyor. tabii aynısını sha için yapmak imkansız gibi.

    md5 = F5CA4F935D44B85C431A8BF788C0EACA


    Merak edenler için mantığı; https://news.ycombinator.com/item?id=20453498

     

  2. KısayolKısayol reportŞikayet pmÖzel Mesaj
    telekom
    telekom's avatar
    Kayıt Tarihi: 28/Temmuz/2005
    Erkek

    Tatli ugras, guzelmis.


    vatandaşa kafam girsin!..
  3. KısayolKısayol reportŞikayet pmÖzel Mesaj
    yolbulucu
    yolbulucu's avatar
    Kayıt Tarihi: 06/Nisan/2007
    Homo

    okudum ama anlamadim nasi yaptığını 

    kahvaltı yapıp bi daha okucam


    29.99cm, titanyum kaplamalı, çift damarlı, su ve yağ soğutmalı.
  4. KısayolKısayol reportŞikayet pmÖzel Mesaj
    Çömez
    underzero
    underzero's avatar
    Üstün Hizmet Madalyası
    Kayıt Tarihi: 20/Ocak/2003
    Erkek

    up,

    ilgimi cekti konu


    pist bak bi ! - Ban Golu Canavari
  5. KısayolKısayol reportŞikayet pmÖzel Mesaj
    2021 Talihlisi
    Deleted001
    Deleted001's avatar
    Kayıt Tarihi: 22/Kasım/2020
    Erkek

    Anlaşılır ve takdiri hakeden bir uğraş :)

     

    Here is the explanation:
    1. Generate a gif for each possible digit in the first column
    
    2. Append collision blocks to each gif to make a 16 way collision
    
    3. Repeat for each digit
    
    4. Hash the final product
    
    5. Replace each digit with the correct digit
    
    From https://www.reddit.com/r/programming/comments/5y03g9/animate...
    
    
    	
    Manishearth on Mar 9, 2017 [–]
    
    Some more info on why the 16 way collision isn't hard:
    This is a Nostradamus attack. For any Merkle-Damgard hash function (MD5, SHA1, SHA2 -- this is a crucial part of why the recent SHA1 collision can be used to create arbitrary colliding pdfs), if hash(A) = hash(B), hash(A+C) = hash(B+C) assuming A and B are at block size boundaries (pad them if not). So you can always add the same suffix to colliding strings and get new colliding strings.
    
    Now, a preimage attack is beyond your means. Given a string, it's hard to find something that hashes to the same thing.
    
    But, given two strings, it's possible to mix crap with both of them till they give you the same hash. This is reasonably fast for MD5, and expensive (but still within the means of folks like Google) for SHA1.
    
    So what you do is you first create images for each digit. Pair them up.
    
    Now, take each pair, and append crap to both instances till you find a collision. Now you have 8 colliding pairs. Now, applying the hash(digit0 + crap0) = hash(digit1 + crap1), hash(digit0 + crap0 + crap01) = hash(digit1 + crap1 + crap01). Appending the same suffix (crap01) to both will still get you a collision.
    
    Now, pair up each pair. Let's say we take the digit0/digit1 pair and pair it with digit2/digit3. Find a collision between digit0+crap0 and digit2+crap2. Let's say that hash(digit0 + crap0 + morecrap0) = hash(digit2 + crap2 + morecrap2). Realize that this is also equal to hash(digit1 + crap1 + morecrap0) and hash(digit3 + crap3 + morecrap2) (since we can add the morecrap suffix to the already-colliding digit+crap combinations to get new collisions).
    
    Now, we have a four-way collision. Repeat with the other pairs and you have 4 of these. Now do the same process, and get 2 8 way collisions. Repeat to get 1 16 way collision. Ultimately you'll have something like
    
    - hash(digit0 + crap0 + crap01 + crap0123 + crap01234567)
    
    - hash(digit1 + crap1 + crap01 + crap0123 + crap01234567)
    
    - hash(digit2 + crap2 + crap23 + crap0123 + crap01234567)
    
    - ...
    
    - hash(digit6 + crap6 + crap67 + crap4567 + crap01234567)
    
    - ...
    
    - hash(digitF + crapF + crapEF + crapCDEF + crap9ABCDEF)
    
    which is a 16 way collision, of 16 gifs of different digits, followed by some crap for each one.
    
    This only requires 15 collision attacks, which isn't hard with MD5. Needs more than a million dollars for SHA1, though.

     

Toplam Hit: 6775 Toplam Mesaj: 5
hash md5 kriptoloji sha