public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Hans-Werner Hilse <hilse@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can RAM render useless the encryption of the / and swap partitions?
Date: Fri, 5 Oct 2007 13:38:39 +0200	[thread overview]
Message-ID: <20071005133839.a83efe0e.hilse@web.de> (raw)
In-Reply-To: <68b1e2610710041133q2908483cu7877a6b197460922@mail.gmail.com>

Hi,

On Thu, 4 Oct 2007 20:33:40 +0200 "Liviu Andronic"
<landronimirc@gmail.com> wrote:

> On 10/4/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
> > On Thursday 04 October 2007, Hans-Werner Hilse wrote:
> > > However, it makes sense to clean up memory after having
> > > critical data in it -- e.g. a reboot doesn't necessarily clean up
> > > RAM.
> >
> > Yes, this is very true
> 
> BUT
> 
> On 10/4/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
> > Pray tell, how does RAM manage to retain data when the power is off?
> 
> ...and...
> On 10/4/07, Volker Armin Hemmann
> <volker.armin.hemmann@tu-clausthal.de> wrote:
> > In practice, after power is cut, everything in ram is lost.
> 
> So, my eternal question, is it realistic for the "lost" RAM data to be
> recovered? That is, after system shutdown, does the data still
> physically reside on the RAM and can someone with a decent technology
> and know-how recover it? In other words, is this a serious breach in
> any encrypted system?

No, it isn't. Well, I didn't had the full circuit design of today's
DRAMs in mind, and yes, since there's the resistor, the capacitor will
lose its load (very) soon (/me scratches his head, wasn't there
something asymptotically in that graph? But in any way, it would be a
difference of very few electrons on the sides of the capacitor) --
that's not a security breach.

But: We are talking about _powering_ _off_ the DRAM. You are talking
about shutting down. That might be two different things and completely
depend on hardware design. Make shure that RAM's gonna get powered off
and you're save. So pulling the plug should give you a warm good
feeling in that regard. Doing a "sudo halt", however, _might_ have
other consequences and we cannot make a general assumption on that.
Even pulling the plug might have problems: There's such thing as
battery-buffered RAM (although I think they've used it mainly in the
pre-Flash era).

The thing is: You never can guarantee security, that's absolutely
impossible (well, of course you can, but you would automatically be
wrong). You can do all your best, but that's about it. Having security
is a thing you can falsify, but never verify, since theorys can't be
verified without dogmas (and there are no accepted dogmas that would
help here).

-hwh
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-10-05 11:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04  6:42 [gentoo-user] Can RAM render useless the encryption of the / and swap partitions? Liviu Andronic
2007-10-04 13:47 ` Alan McKinnon
2007-10-04 14:34   ` Hans-Werner Hilse
2007-10-04 15:52     ` Volker Armin Hemmann
2007-10-04 16:04       ` Liviu Andronic
2007-10-04 17:49         ` Volker Armin Hemmann
2007-10-04 18:28           ` Liviu Andronic
2007-10-04 19:48           ` Mick
2007-10-05 20:57       ` Daniel Pielmeier
2007-10-06  4:22         ` Liviu Andronic
2007-10-06  9:04           ` Daniel Pielmeier
2007-10-04 16:57     ` Alan McKinnon
2007-10-04 18:33       ` Liviu Andronic
2007-10-05 11:38         ` Hans-Werner Hilse [this message]
2007-10-05 18:57           ` Randy Barlow
2007-10-05 20:44           ` Liviu Andronic
2007-10-09  1:51         ` Alex Schuster
2007-10-15 21:45           ` Liviu Andronic
2007-10-04 18:53     ` Randy Barlow

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=20071005133839.a83efe0e.hilse@web.de \
    --to=hilse@web.de \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox