All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles PIETRI <contact+dev@gilouweb.com>
To: Marek Stopka <mstopka@opensuse.org>, dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS password forgoten, any way how to change it?
Date: Sat, 06 Mar 2010 13:16:26 +0100	[thread overview]
Message-ID: <4B92479A.5020800@gilouweb.com> (raw)
In-Reply-To: <ab6ee74d1003051612j3468bf10n97fa92251a07fab6@mail.gmail.com>

Le 06/03/2010 01:12, Marek Stopka a écrit :
> 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 tools..

Good luck,
Gilou

  reply	other threads:[~2010-03-06 12:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06  0:12 [dm-crypt] LUKS password forgoten, any way how to change it? Marek Stopka
2010-03-06 12:16 ` Gilles PIETRI [this message]
2010-03-06 15:39   ` Marek Stopka
2010-03-06 17:52     ` Bryan Kadzban
2010-03-06 14:58 ` Heinz Diehl
2010-03-06 18:57 ` Milan Broz
2010-03-06 20:18   ` Heinz Diehl
2010-03-06 20:41     ` Milan Broz
2010-03-06 21:04       ` Arno Wagner
2010-03-06 21:01     ` Arno Wagner
2010-03-06 22:07       ` Heinz Diehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B92479A.5020800@gilouweb.com \
    --to=contact+dev@gilouweb.com \
    --cc=dm-crypt@saout.de \
    --cc=mstopka@opensuse.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.