Return-Path: Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 6 Mar 2010 16:39:19 +0100 (CET) Received: by wwc33 with SMTP id 33so2480258wwc.37 for ; Sat, 06 Mar 2010 07:39:18 -0800 (PST) MIME-Version: 1.0 Sender: marekstopka@gmail.com In-Reply-To: <4B92479A.5020800@gilouweb.com> References: <4B92479A.5020800@gilouweb.com> Date: Sat, 6 Mar 2010 17:39:18 +0200 Message-ID: From: Marek Stopka Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] LUKS password forgoten, any way how to change it? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles PIETRI Cc: dm-crypt@saout.de Hmm I have succeeded (probably) in getting master key from memory (yeah! :) ) but it seems that there is no way how to tell cryptsetup to use supplied key as a master key, damn. :-/ On Sat, Mar 6, 2010 at 2:16 PM, Gilles PIETRI wr= ote: > Le 06/03/2010 01:12, Marek Stopka a =C3=A9crit : >> >> Hi guys, I have forgotten password to my luks encrypted disk, I have >> lost no data (yet :) ), because system is still running with unlocked >> device, but problem is, that I have a scheduled hardware maintanance >> window quite soon, so I was wondering is it somehow easily possible to >> luksAddKey without knowing a password or recover password from memory >> or it will be much more easier to copy those data somewhere else and >> create a new encrypted disk? It is like 12TB of data so I would really >> prefer not to copy those data somewhere else, but if I will have to, I >> can pull that off... >> >> But I am wondering since key need to be in a memory somewhere there >> could be a way... :) >> > > You could probably launch a "hot cold boot attack" then.. I have no idea = if > luks/dmcrypt allows you to do it, but you could use that kind of tools: > http://citp.princeton.edu/memory/code/ that were made to look for the key= in > RAM after a "cold boot". > > I guess the code or the idea behind it will work even better on an alive > system! Yet, maybe there is a simple way to do so using the standard tool= s.. > > Good luck, > Gilou > --=20 S pozdravem / Best regards Marek Stopka Kontakty / Contacts Mobil/Cell phone: +420 608 149 955 E-mail: mstopka@opensuse.org WEB: www.m4r3k.org