Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BJaYGVlpGyiE for ; Thu, 14 Jul 2011 19:14:25 +0200 (CEST) Received: from ngcobalt23.manitu.net (ngcobalt23.manitu.net [217.11.48.123]) by mail.saout.de (Postfix) with ESMTP for ; Thu, 14 Jul 2011 19:14:24 +0200 (CEST) Received: from ngcobalt23.manitu.net (localhost [127.0.0.1]) by localhost (8.10.2/8.10.2) with ESMTP id p6EHEWD20059 for ; Thu, 14 Jul 2011 19:14:32 +0200 Received: from server.passau (188-193-70-182-dynip.superkabel.de [188.193.70.182]) (Authenticated sender: pwendler) by ngcobalt23.manitu.net (Postfix) with ESMTPSA id 3916E2F008F for ; Thu, 14 Jul 2011 19:14:32 +0200 (CEST) Received: from [IPv6:2001:6f8:1c32:600:e2cb:4eff:feb8:b2d0] (unknown [IPv6:2001:6f8:1c32:600:e2cb:4eff:feb8:b2d0]) by server.passau (Postfix) with ESMTPS id B541581083 for ; Thu, 14 Jul 2011 19:14:23 +0200 (CEST) Message-ID: <4E1F23EA.1030308@philippwendler.de> Date: Thu, 14 Jul 2011 19:14:18 +0200 From: Philipp Wendler MIME-Version: 1.0 References: <20110711231732.596b8622.ldarby@tuffmail.com> <20110712124717.GC31326@tansi.org> <20110714110425.GB13900@tansi.org> <20110714133533.GA19714@tansi.org> <4E1EF95D.40406@web.de> <4E1F014E.40508@andregall.de> <4E1F116D.50402@redhat.com> <4E1F1BCA.9000807@philippwendler.de> <4E1F1ED7.8040808@redhat.com> In-Reply-To: <4E1F1ED7.8040808@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Status of trim for SSds? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi, Am 14.07.2011 18:52, schrieb Milan Broz: > But if you fill disk by random and someone later run fstrim while > device was mounted, it will uncover various patterns there. This is new problem. > > I am almost sure that filesystem type could be detected from ciphertext device > by using non-discarded block pattern analysis. What else depends on situation. I agree on that. But then again, just guessing the filesystem would probably be easier (I guess that most people use ext3/4). And you could even look at the content of the initrd to see which filesystem is used for /, for example. I was thinking that perhaps you can guess some of the metadata of the filesystem (free-block list etc.), but as far as I known there are no relevant known-plaintext attacks on AES, so I'd be willing to take that risk. > If you have some analysis what is possible to recover, please post it to the list, > it could be very interesting. No, unfortunately I have never heard of such an analysis, that's why I was asking. Greetings, Philipp