Ancestors

Toot

Written by Frederik Braun � on 2025-01-19 at 11:05

Let's say I forgot my disk encryption key (linux, luks, cryptsetup) and have a vague idea with a couple of permutations.

What is the live system I should boot to go through the candidates?

Bonus points if it supports some sort of expression syntax such that it can build the permutations by itself.

=> More informations about this toot | More toots from freddy@security.plumbing

Descendants

Written by Tim Philipp Schäfers on 2025-01-19 at 11:11

@freddy

I would choose Kali Linux (because most important stuff pre-installed).

Extract the header + keys:

cryptsetup luksHeaderBackup --header-backup-file header.img /dev/sdX

"Bruteforce" with hashcat:

hashcat -m 14600 header.img wordlist.txt --rules-file=myrules.rule

=> More informations about this toot | More toots from TimPhSchaefers@chaos.social

Written by Olivier Mehani on 2025-01-19 at 11:15

@freddy I just tend to boot on the Arch install system. Not sure it has very advanced programming tools, but bash (or is it zsh) would probably work well enough.

=> More informations about this toot | More toots from shtrom@piaille.fr

Written by Frederik Braun � on 2025-01-19 at 11:34

@shtrom this seems like SUCH a common use case, I would hope someone would have done the looping and scripting for me. :-)

=> More informations about this toot | More toots from freddy@security.plumbing

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113854694975366895
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
257.067602 milliseconds
Gemini-to-HTML Time
0.635824 milliseconds

This content has been proxied by September (ba2dc).