recover old crypt partition
Quoted 4 lines
"sign"? Do you mean "character"? If so, 13 known, 6 unknown and another 4 from 5 possibilities gives you 256^6 * 5^4 = 1.76*10^17 possibilities, which is a bit outside of what you can just try. Anything more known about the uunknowen ones?
the password is in the From:
UKKKKKKKKKKKKKUUU where U in %,#,$,_,!,^
Quoted 1 line
Is this plain dm-crypt?
i used cryptsetup in debian sid
PS: I did not receive a mail jet so please excuse that i am not replying i a proper way.
Jan
Quoted 8 lines · Jan Christoph Uhde
Quoted 4 lines
"sign"? Do you mean "character"? If so, 13 known, 6 unknown and another 4 from 5 possibilities gives you 256^6 * 5^4 = 1.76*10^17 possibilities, which is a bit outside of what you can just try. Anything more known about the uunknowen ones?
the password is in the From:
UKKKKKKKKKKKKKUUU where U in %,#,$,_,!,^
Ah. And KK...KK is known? What are the other unknowns besides the Us? The Us give you 6^4 possibilities, which is about 1300.
Quoted 3 lines
Quoted 1 line
Is this plain dm-crypt?
i used cryptsetup in debian sid
Yes, but did you create a LUKS partition or a plain dm-crypt one? The default would have been dm-crypt. Hmm. That would mean the cipher is probably the old default of aes-cbc-plain. Can anybody confirm that for Debian SID?
Quoted 2 lines
PS: I did not receive a mail jet so please excuse that i am not replying i a proper way.
You will not get one. This list is actually also for discussing these questions. If you want to have a private discussion, you can reach me at [email protected]
Arno
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier
Hey,
Quoted 9 lines · On 06/01/2011 Arno Wagner wrote:
Quoted 3 lines · Jan Christoph Uhde
Quoted 1 line
Is this plain dm-crypt?
i used cryptsetup in debian sid
Yes, but did you create a LUKS partition or a plain dm-crypt one? The default would have been dm-crypt. Hmm. That would mean the cipher is probably the old default of aes-cbc-plain. Can anybody confirm that for Debian SID?
what do you mean with "the default". it highly depends on the method that was used to encrpyt the device. was it done during installation process (debian-installer), with the shipped luksformat script, with some graphical frontend (gnome-device-manager, gnome-disk-utility, ...) or by invoking cryptsetup directly (with which commandline arguments?).
the default cipher depends on the cryptsetup package version used when the decive was encrypted.
greetings,
jonas
Quoted 13 lines · Jonas Meurer
Hey,
Quoted 9 lines · On 06/01/2011 Arno Wagner wrote:
Quoted 3 lines · Jan Christoph Uhde
Quoted 1 line
Is this plain dm-crypt?
i used cryptsetup in debian sid
Yes, but did you create a LUKS partition or a plain dm-crypt one? The default would have been dm-crypt. Hmm. That would mean the cipher is probably the old default of aes-cbc-plain. Can anybody confirm that for Debian SID?
Quoted 8 lines
what do you mean with "the default". it highly depends on the method that was used to encrpyt the device. was it done during installation process (debian-installer), with the shipped luksformat script, with some graphical frontend (gnome-device-manager, gnome-disk-utility, ...) or by invoking cryptsetup directly (with which commandline arguments?).
the default cipher depends on the cryptsetup package version used when the decive was encrypted.
That is why I asked. And you are right, a commandline default does not cut it, more information is needed.
Well, at least whether it was LUKS or not is easily answered. A look into a hexdump of the start of the device will show the magic string "LUKS" right at the start. Options to get that:
- hd /dev/<device> | head - hexdump /dev/<device> | head - hex /dev/<device> | head
and possibly a few others. Example from my LUKS test container in a file:
R gatewagner:~/f/luks# hd luksfile | head 00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS��..aes.....| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 63 62 63 2d 65 73 73 69 |........cbc-essi| 00000030 76 3a 73 68 61 32 35 36 00 00 00 00 00 00 00 00 |v:sha256........| 00000040 00 00 00 00 00 00 00 00 73 68 61 31 00 00 00 00 |........sha1....|
If it looks completely random though, it is likely plain dm-crypt.
Arno
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier
Hey,
Quoted 34 lines · On 07/01/2011 Arno Wagner wrote:
Quoted 13 lines · Jonas Meurer
Hey,
Quoted 9 lines · On 06/01/2011 Arno Wagner wrote:
Quoted 3 lines · Jan Christoph Uhde
Quoted 1 line
Is this plain dm-crypt?
i used cryptsetup in debian sid
Yes, but did you create a LUKS partition or a plain dm-crypt one? The default would have been dm-crypt. Hmm. That would mean the cipher is probably the old default of aes-cbc-plain. Can anybody confirm that for Debian SID?
Quoted 8 lines
what do you mean with "the default". it highly depends on the method that was used to encrpyt the device. was it done during installation process (debian-installer), with the shipped luksformat script, with some graphical frontend (gnome-device-manager, gnome-disk-utility, ...) or by invoking cryptsetup directly (with which commandline arguments?).
the default cipher depends on the cryptsetup package version used when the decive was encrypted.
That is why I asked. And you are right, a commandline default does not cut it, more information is needed.
Well, at least whether it was LUKS or not is easily answered. A look into a hexdump of the start of the device will show the magic string "LUKS" right at the start. Options to get that:
(quoted diff) +0
-3- hd /dev/<device> | head - hexdump /dev/<device> | head - hex /dev/<device> | head
Quoted 2 lines
and possibly a few others. Example from my LUKS test container in a file:
even better would be a luksDump: 'cryptsetup luksDump /dev/<device>'.
If the device is a luks device, you even get information about cipher, hash, and key size. If it's not a luks device, it'll simply output:
Device /dev/vg_int/ctemp1 is not a valid LUKS device.
greetings,
jonas