<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: dram]]></title>
    <link>http://securityratty.com/tag/dram</link>
    <description></description>
    <pubDate>Thu, 21 Feb 2008 10:29:18 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[To sleep, power off or hibernate - cold boot and user behaviour..]]></title>
      <link>http://securityratty.com/article/62b1845f692d10507684e208c289d7a9</link>
      <guid>http://securityratty.com/article/62b1845f692d10507684e208c289d7a9</guid>
      <description><![CDATA[Interesting weeks - the last couple. Lots of folks debating whether the cold boot risk is real - is it too esoteric? Who do we know lugs around cans of liquid nitrogen to bring DRAM to 0 degree...]]></description>
      <content:encoded><![CDATA[Interesting weeks - the last couple. Lots of folks debating whether the cold boot risk is real - is it too esoteric? Who do we know lugs around cans of liquid nitrogen to bring DRAM to 0 degree Kelvin!?! Maybe the guy who makes the Terminator movies...<br /><br />I must admit the <a href="http://youtube.com/watch?v=JDaicPIgn9U">video</a> was cool to watch - frozen chips... And therefore, most of the focus seems to have gone in that direction - thinking that one needs to cool the chips to extract the memory contents. But in reality, one needs only a USB drive with code to peek into DRAM - no need to even cool the chips! And <a href="http://www.mcgrewsecurity.com/projects/msramdmp/">Mr McGrew </a>already has a tool - check out his comments "I did this as a <strong><em>small side project</em></strong>..." Nice!<br /><br />Got me thinking on another topic - would be cool to do a survey on this. How many of us who lug around our laptops, travelling the country, shut it down? I personally never do - I only shut down my laptop when it starts to behave a bit erratic and slow. Else, I keep it on and when I travel just shut the lid.<br /><br />I prefer sleep since it awakes quickly, hibernation seems to take longer. And with FDE enabled systems, this becomes more interesting:<br />-More RAM, larger hibernation file<br />-Larger hibernation file -> longer time to encrypt, i.e. close<br />-Larger hibernation file-> much longer time to decrypt and open<br /><br />Hmm... I see sleep or power off as the only viable options for most folks with FDE!!<br /><br />Now how does that compute with the risk scenario from the cold boot attack.. If I were an IT pro in a large organization, I would take a serious look at the power modes my mobile users use on their laptops...<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/BitArmor1?a=nm8gIXF"><img src="http://feeds.feedburner.com/~f/BitArmor1?i=nm8gIXF" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BitArmor1?a=5uQ1qnf"><img src="http://feeds.feedburner.com/~f/BitArmor1?i=5uQ1qnf" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/BitArmor1?a=jqpylGF"><img src="http://feeds.feedburner.com/~f/BitArmor1?i=jqpylGF" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BitArmor1/~4/251492439" height="1" width="1"/>]]></content:encoded>
      <pubDate>Fri, 14 Mar 2008 13:14:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/larger hibernation file">larger hibernation file</category>
      <category domain="http://securityratty.com/tag/hibernation">hibernation</category>
      <category domain="http://securityratty.com/tag/larger hibernation file-">larger hibernation file-</category>
      <category domain="http://securityratty.com/tag/power">power</category>
      <category domain="http://securityratty.com/tag/cool">cool</category>
      <category domain="http://securityratty.com/tag/chips">chips</category>
      <category domain="http://securityratty.com/tag/cold boot attack">cold boot attack</category>
      <category domain="http://securityratty.com/tag/power modes">power modes</category>
      <category domain="http://securityratty.com/tag/cold boot risk">cold boot risk</category>
      <source url="http://feeds.feedburner.com/~r/BitArmor1/~3/251492439/to-sleep-power-off-or-hibernate-cold.html">To sleep, power off or hibernate - cold boot and user behaviour..</source>
    </item>
    <item>
      <title><![CDATA[Encryption defeated, still an advocate?]]></title>
      <link>http://securityratty.com/article/f32a86ae68fb4bff0a71ce361e16c5c5</link>
      <guid>http://securityratty.com/article/f32a86ae68fb4bff0a71ce361e16c5c5</guid>
      <description><![CDATA[Technorati Tag: Encryption

Originally I was not going to write about this because it is not a breach (incident), but

Yesterday, researchers from Princeton University, the Electronic Frontier...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/encryption" rel="tag">Encryption</a><br><br>
<img src="http://breachblog.com/images/95781-88451/citp.jpg" align="right" height="50" width="201"><font size="2">Originally I was not going to write about this because it is not a breach (incident), but...<br><br>Yesterday,
researchers from Princeton University, the Electronic Frontier
Foundation, and Wind River Systems released an eye-opening report
labeled "<a target="_blank" href="http://citp.princeton.edu.nyud.net/pub/coldboot.pdf">Lest We Remember: Cold Boot Attacks on Encryption Keys</a>" in
which they "present a suite of attacks that exploit DRAM remanence [<span style="font-style: italic;">sic</span>]
effects to recover cryptographic keys held in memory".<br><br>OK.&nbsp; What does this mean to the non-geek?&nbsp; It means that there are now successful attacks against many encryption implementations, including those most commonly used on mobile devices (laptop, thumb drive, etc.).&nbsp; Here
at <span style="font-style: italic;">The Breach Blog</span> I have advocated the use of hard drive encryption in
many posts and pointed out the fact that storing confidential
information on unencrypted laptops is bad security and poor business.&nbsp; So, what does this all mean?<br><br></font><font size="2"><span style="font-weight: bold;">From <a target="_blank" href="http://citp.princeton.edu/memory/faq/">Princeton University's Center for Information Technology Policy FAQs</a>:</span><br><br><strong>Q. What encryption software is vulnerable to these attacks?</strong><br><strong>A. </strong>We have demonstrated practical attacks against
several popular disk encryption systems: BitLocker (a feature of
Windows Vista), FileVault (a feature of Mac OS X), dm-crypt (a feature
of Linux), and TrueCrypt (a third-party application for Windows, Linux,
and Mac OS X). Since these problems result from common design
limitations of these systems rather than specific bugs, most similar
disk encryption applications, including many running on servers, are
probably also vulnerable.<br><br><strong>Q. What can users do to protect themselves?<br>
A. </strong>The
most effective way for users to protect themselves is to fully shut
down their computers several minutes before any situation in which the
computers’ physical security could be compromised. On most systems,
locking the screen or switching to “suspend” or “hibernate” mode does
not provide adequate protection. (Exceptions exist; some systems may
not be protected even when powered off. Check with the developer of
your disk encryption software for further guidance.)<br><br><strong>Q. Isn’t your attack difficult to carry out?  Don’t you need materials like liquid nitrogen?<br>
A. </strong>We
found that information in most computers’ RAMs will persist from
several seconds to a minute even at room temperature. We also found a
cheap and widely available product — “canned air” spray dusters — can
be used to produce temperatures cold enough to make RAM contents last
for a long time even when the memory chips are physically removed from
the computer. The other components of our attack are easy to automate
and require nothing more unusual than a laptop and an Ethernet cable,
or a USB Flash drive. With only these supplies, someone could carry out
our attacks against a target computer in a matter of minutes.<br><br style="font-weight: bold;"><span style="font-weight: bold;">And from "</span><a style="font-weight: bold;" target="_blank" href="http://citp.princeton.edu.nyud.net/pub/coldboot.pdf">Lest We Remember: Cold Boot Attacks on Encryption Keys</a><span style="font-weight: bold;">" Conclusion:</span><br>"There seems to be no easy remedy for these vulnerabilities. Simple software changes are likely to be ineffective; hardware changes are possible but will require time and expense; and today’s Trusted Computing technologies appear to be of little help because they cannot protect keys that are already in memory. The risk seems highest for laptops, which are often taken out in public in states that are vulnerable to our attacks. These risks imply that disk encryption on laptops may do less good than widely believed."<br><br><span style="font-style: italic;">[Evan]&nbsp; Well, if this ain't a shot to the gut!&nbsp; On the surface I am miffed by research that leaves me wondering what in the world am I supposed to do now?&nbsp; When I think about it more, I am extremely grateful for the work these people do and I'm not really surprised by the findings.&nbsp; People that have been in the information security field for a while, understand some of the concepts that (we think) make us effective in what we do.&nbsp; Nobody can rightfully claim that full disk encryption or any other single technology is the one that protects against everything.&nbsp; We are never 100% secure will all technologies, let alone one.&nbsp; Security is a holistic discipline that is about defense in depth, continual analysis and improvement, systems and backup systems, threats, countermeasures, etc. etc.&nbsp; This is just another attack vector that wasn't widely known or accepted until now.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-weight: bold; font-style: italic;">I am still an advocate for using full disk encryption</span><span style="font-style: italic;"> (and encryption in general) as good information security practice.&nbsp; It is another essential cog in the bigger information security machine.&nbsp; Recognize the technology for what it is and understand that it's use does reduce risk when compared to the alternative of using clear-text.&nbsp; Obtaining the encryption keys is obviously very possible, but obtaining clear text information is completely trivial.&nbsp; Long-term this is a great problem to have.&nbsp; I have seen many, many good "out of the box" ideas being kicked around by information security professionals, debating possible solutions.&nbsp; It's the out of the box thinking that spurs creative solutions.</span><br><br><span style="font-weight: bold;">Other News Sources:</span><br><a target="_blank" href="http://www.news.com/8301-13578_3-9876060-38.html?tag=nefd.pop">CNET.com News story</a><br><a target="_blank" href="http://www.nytimes.com/2008/02/22/technology/22chip.html?em&amp;ex=1203829200&amp;en=fcb9fd1d351c8d5e&amp;ei=5087">The New York Times story</a><br><a target="_blank" href="http://www.securityfocus.com/brief/686">SecurityFocus story</a><br><a target="_blank" href="http://www.informationweek.com/news/showArticle.jhtml?articleID=206801184">InformationWeek story</a></font>
<br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/02/22/encrypt.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Fri, 22 Feb 2008 13:15:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/encryption">encryption</category>
      <category domain="http://securityratty.com/tag/disk encryption software">disk encryption software</category>
      <category domain="http://securityratty.com/tag/encryption software">encryption software</category>
      <category domain="http://securityratty.com/tag/information security field">information security field</category>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/hard drive encryption">hard drive encryption</category>
      <category domain="http://securityratty.com/tag/disk encryption">disk encryption</category>
      <category domain="http://securityratty.com/tag/text information">text information</category>
      <category domain="http://securityratty.com/tag/encryption keys">encryption keys</category>
      <source url="http://breachblog.com/2008/02/22/citp.aspx">Encryption defeated, still an advocate?</source>
    </item>
    <item>
      <title><![CDATA[Cold Boot Attacks Against Disk Encryption]]></title>
      <link>http://securityratty.com/article/1e75222801d309c379e8b36bfac65757</link>
      <guid>http://securityratty.com/article/1e75222801d309c379e8b36bfac65757</guid>
      <description><![CDATA[Nice piece of research : We show that disk encryption, the standard approach to protecting sensitive data on laptops, can be defeated by relatively simple methods. We demonstrate our methods by using...]]></description>
      <content:encoded><![CDATA[<p>Nice <a href="http://www.freedom-to-tinker.com/?p=1257">piece of research</a>:</p>

<blockquote>We show that disk encryption, the standard approach to protecting sensitive data on laptops, can be defeated by relatively simple methods. We demonstrate our methods by using them to defeat three popular disk encryption products: BitLocker, which comes with Windows Vista; FileVault, which comes with MacOS X; and dm-crypt, which is used with Linux.

<p>[...]</p>

<p>The root of the problem lies in an unexpected property of today’s DRAM memories. DRAMs are the main memory chips used to store data while the system is running. Virtually everybody, including experts, will tell you that DRAM contents are lost when you turn off the power. But this isn’t so. Our research shows that data in DRAM actually fades out gradually over a period of seconds to minutes, enabling an attacker to read the full contents of memory by cutting power and then rebooting into a malicious operating system.</p>

<p>Interestingly, if you cool the DRAM chips, for example by spraying inverted cans of “canned air” dusting spray on them, the chips will retain their contents for much longer. At these temperatures (around -50 °C) you can remove the chips from the computer and let them sit on the table for ten minutes or more, without appreciable loss of data. Cool the chips in liquid nitrogen (-196 °C) and they hold their state for hours at least, without any power. Just put the chips back into a machine and you can read out their contents.</p>

<p>This is deadly for disk encryption products because they rely on keeping master decryption keys in DRAM. This was thought to be safe because the operating system would keep any malicious programs from accessing the keys in memory, and there was no way to get rid of the operating system without cutting power to the machine, which “everybody knew” would cause the keys to be erased.</p>

<p>Our results show that an attacker can cut power to the computer, then power it back up and boot a malicious operating system (from, say, a thumb drive) that copies the contents of memory. Having done that, the attacker can search through the captured memory contents, find any crypto keys that might be there, and use them to start decrypting hard disk contents. We show very effective methods for finding and extracting keys from memory, even if the contents of memory have faded somewhat (i.e., even if some bits of memory were flipped during the power-off interval). If the attacker is worried that memory will fade too quickly, he can chill the DRAM chips before cutting power.</p>

<p>There seems to be no easy fix for these problems. Fundamentally, disk encryption programs now have nowhere safe to store their keys. Today’s Trusted Computing hardware does not seem to help; for example, we can defeat BitLocker despite its use of a Trusted Platform Module.</blockquote></p>

<p>The paper is <a href="http://citp.princeton.edu.nyud.net/pub/coldboot.pdf">here</a>; more info is <a href="http://citp.princeton.edu/memory/">here</a>.  <a href="http://www.news.com/8301-13578_3-9876060-38.html">Articles</a> <a href="http://blog.wired.com/27bstroke6/2008/02/researchers-dis.html">here</a>.</p>

<p>There is a general security problem illustrated here: it is very difficult to secure data when the attacker has physical control of the machine the data is stored on.  I talk about the general problem <a href="http://www.schneier.com/essay-142.html">here</a>, and it's a hard problem.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=SGcGWEE"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=SGcGWEE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=jXdC1UE"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=jXdC1UE" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Thu, 21 Feb 2008 10:29:18 +0000</pubDate>
      <category domain="http://securityratty.com/tag/main memory chips">main memory chips</category>
      <category domain="http://securityratty.com/tag/memory">memory</category>
      <category domain="http://securityratty.com/tag/todays dram memories">todays dram memories</category>
      <category domain="http://securityratty.com/tag/dram">dram</category>
      <category domain="http://securityratty.com/tag/dram contents">dram contents</category>
      <category domain="http://securityratty.com/tag/memory contents">memory contents</category>
      <category domain="http://securityratty.com/tag/disk encryption">disk encryption</category>
      <category domain="http://securityratty.com/tag/hard">hard</category>
      <category domain="http://securityratty.com/tag/hard disk contents">hard disk contents</category>
      <source url="http://www.schneier.com/blog/archives/2008/02/cold_boot_attac.html">Cold Boot Attacks Against Disk Encryption</source>
    </item>
  </channel>
</rss>
