Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Custom cracking algorithm #1730
we are trying to add a new custom cracking algorithm to bruteforce a disk encrypted using the crypto apis on linux kernel 2.4
Could someone give us some pointers on where to put our hands in order to implement this new algorithm?
@jsteube yes, it's different. The encryption scheme used is the one before LUKS, using the cryptoapi of the 2.4 kernel.
The old disk can be mounted with the current kernel using the command
in our case we know that the encrypted data contains an ext3 file system and this information is useful to know if the tried password is a correct guess or not.
Decrypting 16 bytes at offset 600h in a ext2/ext3 file system should produce 16 bytes of 00h.
Unlike LUKS, that has an header with the information of the cipher used and the keys encrypted, in the 2.4 kernel there is no header but only raw data.