You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dmg2john extracts uncrackable hashes from current DMG files #6028
During the 2026 Crack Me If You Can contest, challenge 4 contained four password-protected DMG files. dmg2john extracts hashes from all four without reporting an error, but the resulting hashes cannot be cracked even when the correct password is included in the wordlist.
Tested with bleeding-jumbo at commit 9a336d8 (latest as of this writing).
$ run/john -pot:defcon.pot -w:defcon-expanded.lst dmg.john
Warning: detected hash type "dmg", but the string is also recognized as "dmg-opencl"
Use the "--format=dmg-opencl" option to force loading these as that type instead
Using default input encoding: UTF-8
Loaded 4 password hashes with 4 different salts (dmg, Apple DMG [PBKDF2-SHA1 256/256 AVX2 8x 3DES/AES])
Loaded hashes with cost 1 (iteration count) varying from 400000 to 476190
Cost 2 (version) is 2 for all loaded hashes
Will run 12 OpenMP threads
Press 'q' or Ctrl-C to abort, 'h' for help, almost any other key for status
0g 0:00:00:46 DONE (2026-08-13 04:03) 0g/s 43.27p/s 173.1c/s 173.1C/s Defcon1944..D3fc0n1900
Session completed
Hans Leininger (hlein) wrote in the post contest discord:
Minga probably knows more details, but IIRC it's bad in a bad way: it will extract a hash from current DMG formats w/o complaint, but what it spits out is not actually crackable. So you'll think you succeeded, but can't crack a DMG with password d3fc0n
Same results with dmg2john.py
Either these DMG formats should be supported correctly, or dmg2john should detect unsupported/incompatible DMG formats and report an error instead of silently producing uncrackable hashes.
Activity
AlbertVeli commentedon Aug 13, 2026
If I remember correctly from the post-contest Google meeting, d3fc0n is the password for start_with_this_one.dmg.
AlbertVeli commentedon Aug 13, 2026
It seems like dmgwiz doesn't support the files either.
for f in *.dmg; do target/release/dmgwiz info -p "d3fc0n" $f; done
error: unsupported encryption parameters: unsupported blob encryption parameters algorithm=2147483649 mode=6 padding=7
error: unsupported encryption parameters: unsupported blob encryption parameters algorithm=2147483649 mode=6 padding=7
error: unsupported encryption parameters: unsupported blob encryption parameters algorithm=2147483649 mode=6 padding=7
error: unsupported encryption parameters: unsupported blob encryption parameters algorithm=2147483649 mode=6 padding=7
kholia commentedon Aug 13, 2026
Quick patch to reject the currently unsupported DMG files:
kholia commentedon Aug 13, 2026
I have added support for such DMG files in #6029.