83 words
1 minutes
Demonstrating MD5 Hash Collision with Binary Files
Video
MD5 Binary Çarpışma Örneği
{% include embed/youtube.html id=‘AHjVO2E-FTU’ %}
POC - Proof of Concept
-
Get sample files from releases (
evil
andgood
files.) -
Run like bellow:
-
The files have same md5:
2c88a72315854541c00d38a04962ba8d
Steps
-
Download and extract repo as zip:
-
Edit the
main_good()
andmain_evil()
functions inhello-erase.c
as you want. Like bellow: -
make
it in terminal: -
Compile your program and link against goodevil.o with
gcc hello-erase.c goodevil.o -o hello-erase
-
Execute
./evilize hello-erase -g good -e evil
and wait several hours: -
Check the MD5 checksums of the files “good” and “evil”; they should be the same.
Demonstrating MD5 Hash Collision with Binary Files
https://b1rdfr0st.github.io/posts/2024-05-11-md5-hash-collision-binary-example/