security issues with dm-crypt below/above MD or below btrfs/ZFS RAID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey.

Perhaps, the following should go to the FAQ as well...

I'm using dm-crypt with aes-xts-plain64 and wondered whether it has any
security implications on whether it is used
- above MD RAID (i.e. multiple devices, forming a single block device
via MD/mdadm, on which dm-crypt/LUKS is used)...
- below MD RAID or e.g. btrfs/ZFS RAID (i.e. multiple devices, each with
it's own dm-crypt/LUKS, either with the same or different master keys,
and on top of the opened devices a RAID formed by MD/mdadm or btrfs/ZFS.


I wondered that because, RAID (and especially that of MD, where the
layout of blocks is far more deterministic than with btrfs/ZFS RAID)
always has some fixed (and known) structure...  where it e.g. known
where blocks and corresponding parity blocks (in RAID5/6 or similar
levels) ... or at least how adjacent blocks are striped over devices
(RAID 1, 10 and similar).

I mean especially with btrfs/ZFS the only choice it to have dm-crypt
below the RAID... while in a "traditional" MD/dmcrypt/ext4 setup I'd
usually have placed MD at the lowest level, and dm-crypt just above
it... with LVM, ext4/xfs/etc. above.


So are there any known ways to exploit this in crypto analysis,
especially statistical attacks, that are e.g. only possible if dmcrypt
is below the RAID (or vice versa)? Or that become possible, if all the
underlying dm-crypt devices of a RAID would be configured to use the
same master key?

Or is this mitigated by XTS? And what about the other block cipher
modes?


Cheers,
Chris.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux