Return-Path: Received: from partidopirata.com.ar (partidopirata.com.ar [IPv6:2a03:f80:354:ca7:ea75:b12d:18:e967]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Tue, 7 Jun 2016 16:25:48 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by partidopirata.com.ar (Postfix) with ESMTPSA id 750952A1167 for ; Tue, 7 Jun 2016 10:25:37 -0400 (EDT) References: <574CB690.5030401@partidopirata.com.ar> <574DA5AB.4020406@partidopirata.com.ar> <57502D55.5060700@partidopirata.com.ar> <20160603214220.GC6423@tansi.org> <20160604080636.GA12882@tansi.org> From: fauno Message-ID: <5756D93A.2080703@partidopirata.com.ar> Date: Tue, 7 Jun 2016 11:24:58 -0300 MIME-Version: 1.0 In-Reply-To: <20160604080636.GA12882@tansi.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SMQm3BOigJe5t3c7n9FpO2RlR5Cqq07rg" Subject: Re: [dm-crypt] LVM on LUKS: volumes missing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SMQm3BOigJe5t3c7n9FpO2RlR5Cqq07rg Content-Type: multipart/mixed; boundary="L53ODljFGPEFgf5JEl8io4bNQC6IchloO" From: fauno To: dm-crypt@saout.de Message-ID: <5756D93A.2080703@partidopirata.com.ar> Subject: Re: [dm-crypt] LVM on LUKS: volumes missing References: <574CB690.5030401@partidopirata.com.ar> <574DA5AB.4020406@partidopirata.com.ar> <57502D55.5060700@partidopirata.com.ar> <20160603214220.GC6423@tansi.org> <20160604080636.GA12882@tansi.org> In-Reply-To: <20160604080636.GA12882@tansi.org> --L53ODljFGPEFgf5JEl8io4bNQC6IchloO Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 04/06/16 05:06, Arno Wagner wrote: >> If the ASCII strings "LABELONE" and "LVM2" cannot be seen in the >> first few sectors of the volume, then that volume is either >> overwritten or not being decrypted correctly. LVM keeps quite a bit >> of easily recognized ASCII data in the volume header. >> >> In this case the fragile link seems to be the LUKS detached header, >> as I believe there is nothing to associate that header with a device >> and precise starting point for the payload. Yes, there is a check >> that the master key was reconstructed correctly. Now the question is >> what, if anything, does this key decrypt. >=20 > That is the one thing with a detached header: As the sector > number goes into the decryption, decryption must start at the > right place. If it does, it will becorrect with LUKS. If not, > "random" data should result with XTS mode, I agree. >=20 > Now, in theory it would be possible to try each possible offset=20 > from the start of the device (depends on how the partition > for the LUKS container was created), until some (later) part > of the decrypted data has some deviation from uniform=20 > distribution in byte-counts. Hi! Thanks for all the feedback. I ran out of time for recovering this, but as soon as I can I'll get back with the results :) --=20 :> --L53ODljFGPEFgf5JEl8io4bNQC6IchloO-- --SMQm3BOigJe5t3c7n9FpO2RlR5Cqq07rg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQF8BAEBCgBmBQJXVtk7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0OUY3MDdBMUNCMzY2QzU4MEU2MjVCM0M0 NTYwMzJENzE3QTRDRDlDAAoJEEVgMtcXpM2cWv0IALn9pw4CoOapzPEv64S6kZJK iKtoDkCEHtqHSarbHgdGcvZ7x3pnwaa/dr8SIdtCsgV5kmQHfakXJjfCGDxk0ZEP DsAJV0bH0WBok1W7w+0tE53QEEsnD9AC9C4vdcX/zALlwYX2n/EU5cMGvmBlrVm1 5a4QQA+O/4zCrJYV/y4v6qABO7ApxzIruUdp7q1W92ajNWzjsgAUDr7cW8MCoNNP 408n9w0j+yF4qiET4L8JTPDylT2mWehfrx4lB9SGwymdQi6z6Hlh/IAz7HwXUo/a 6rxB4a2X9sEfiA/QkSjV4HzyHzRimT4U3M1uE2OrYHhgGetFPvzrlCkI/ymecUk= =oUMI -----END PGP SIGNATURE----- --SMQm3BOigJe5t3c7n9FpO2RlR5Cqq07rg--