<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Fashion-aware disk encryption</title>
	<atom:link href="http://radian.org/notebook/fashionable-crypto/feed" rel="self" type="application/rss+xml" />
	<link>http://radian.org/notebook/fashionable-crypto</link>
	<description>Code. Culture. Clarity.</description>
	<pubDate>Wed, 07 Jan 2009 12:26:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Faré</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-408</link>
		<dc:creator>Faré</dc:creator>
		<pubDate>Mon, 31 Mar 2008 20:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-408</guid>
		<description>If the boot parameters are password-protected and the boot configuration is to only boot from the configured on-board HD or SSD, then no EFI upgrade is really necessary. If the attacker could take away the disk, they could as well take away the RAM.

In any case, all that makes me wonder why I'm taking the pains of encrypting my hard disk. Do I have any lazy and unprepared enemies?</description>
		<content:encoded><![CDATA[<p>If the boot parameters are password-protected and the boot configuration is to only boot from the configured on-board HD or SSD, then no EFI upgrade is really necessary. If the attacker could take away the disk, they could as well take away the RAM.</p>
<p>In any case, all that makes me wonder why I&#8217;m taking the pains of encrypting my hard disk. Do I have any lazy and unprepared enemies?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Krstić</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-244</link>
		<dc:creator>Ivan Krstić</dc:creator>
		<pubDate>Mon, 25 Feb 2008 16:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-244</guid>
		<description>Morgan -- it's a matter of economics and complexity. Obviously, organizations that are sufficiently interested in protecting their employees' data will find a way around these attacks, but doing so is neither cheap nor convenient. Given that security is an uphill battle even when it is cheap and fairly convenient, this doesn't bode well for real-world scenarios.</description>
		<content:encoded><![CDATA[<p>Morgan &#8212; it&#8217;s a matter of economics and complexity. Obviously, organizations that are sufficiently interested in protecting their employees&#8217; data will find a way around these attacks, but doing so is neither cheap nor convenient. Given that security is an uphill battle even when it is cheap and fairly convenient, this doesn&#8217;t bode well for real-world scenarios.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morgan Collett</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-240</link>
		<dc:creator>Morgan Collett</dc:creator>
		<pubDate>Mon, 25 Feb 2008 09:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-240</guid>
		<description>This is why CAs and others who want to protect their keys commercially use &lt;a href="http://en.wikipedia.org/wiki/Hardware_Security_Module" rel="nofollow"&gt;HSMs&lt;/a&gt; where the key is on a removable device that implements AES (or whatever) and never exposes the key in RAM. Smartcards and USB crypto tokens do this for a single user.</description>
		<content:encoded><![CDATA[<p>This is why CAs and others who want to protect their keys commercially use <a href="http://en.wikipedia.org/wiki/Hardware_Security_Module" rel="nofollow">HSMs</a> where the key is on a removable device that implements AES (or whatever) and never exposes the key in RAM. Smartcards and USB crypto tokens do this for a single user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Krstić</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-238</link>
		<dc:creator>Ivan Krstić</dc:creator>
		<pubDate>Sun, 24 Feb 2008 01:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-238</guid>
		<description>Ben -- one of the major contributions of this attack is indeed to demonstrate that key recovery can commonly be done by someone with a laptop, a network cable and 5 minutes of training. It was previously understood that the economics of mounting this type of attack made it prohibitive for all but government entities. The Princeton attack shows the bar is dramatically lower than that, and is thus a very real, practical threat.</description>
		<content:encoded><![CDATA[<p>Ben &#8212; one of the major contributions of this attack is indeed to demonstrate that key recovery can commonly be done by someone with a laptop, a network cable and 5 minutes of training. It was previously understood that the economics of mounting this type of attack made it prohibitive for all but government entities. The Princeton attack shows the bar is dramatically lower than that, and is thus a very real, practical threat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Schwartz</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-237</link>
		<dc:creator>Ben Schwartz</dc:creator>
		<pubDate>Sat, 23 Feb 2008 18:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-237</guid>
		<description>OK.  So the upshot is that encryption should always be per-user, not just systemwide, and there should not be middle ground between logged in and logged out.  That seems fair, and potentially nontrivial.

I would still argue that this would be possible even if RAM didn't hold its charge, since the hacker could simply attach their equipment to the leads of the RAM on a running system.  This paper just describes a way to make that work without the need for extra fancy equipment and highly skilled technicians.  I'm willing to accept that that's important to know.</description>
		<content:encoded><![CDATA[<p>OK.  So the upshot is that encryption should always be per-user, not just systemwide, and there should not be middle ground between logged in and logged out.  That seems fair, and potentially nontrivial.</p>
<p>I would still argue that this would be possible even if RAM didn&#8217;t hold its charge, since the hacker could simply attach their equipment to the leads of the RAM on a running system.  This paper just describes a way to make that work without the need for extra fancy equipment and highly skilled technicians.  I&#8217;m willing to accept that that&#8217;s important to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Krstić</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-236</link>
		<dc:creator>Ivan Krstić</dc:creator>
		<pubDate>Sat, 23 Feb 2008 04:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-236</guid>
		<description>Brad -- I haven't used TrueCrypt, but the password caching it offers is likely an end-user convenience. The commercial PGP clients, for instance, feature an option to retain the user's passphrase in memory for some amount of time so you don't have to re-enter it every time you send an encrypted e-mail. This is irrelevant to the Princeton attacks. TrueCrypt, like every other software-based FDE system, must keep the actual key material in RAM in order to be able to keep your encrypted volume active. If it didn't keep the key material resident, it would have to ask you to enter your password every time you wanted to perform any operation whatsoever on the encrypted disk -- be it listing directory contents, reading a file, or writing one.</description>
		<content:encoded><![CDATA[<p>Brad &#8212; I haven&#8217;t used TrueCrypt, but the password caching it offers is likely an end-user convenience. The commercial PGP clients, for instance, feature an option to retain the user&#8217;s passphrase in memory for some amount of time so you don&#8217;t have to re-enter it every time you send an encrypted e-mail. This is irrelevant to the Princeton attacks. TrueCrypt, like every other software-based FDE system, must keep the actual key material in RAM in order to be able to keep your encrypted volume active. If it didn&#8217;t keep the key material resident, it would have to ask you to enter your password every time you wanted to perform any operation whatsoever on the encrypted disk &#8212; be it listing directory contents, reading a file, or writing one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-233</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 22 Feb 2008 22:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-233</guid>
		<description>I think they may be mistaken as far as TrueCrypt goes, but I'm not a computer science major. When mounting a TrueCrypt volume, there is an option for caching the password and (possible) keyfiles. 

My understanding is that, if not checked, the password and keyfiles will be used and referenced once, upon the mounting of the encrypted drive. It seems that they would not then be stuck in the memory unless the attack was done immediately after the mounting. With Bitlocker and File Vault there doesn't seem to be any way to prevent caching of the passwords and keyfiles; TrueCrypt, however, has the direct option of caching. Is my understanding wrong?</description>
		<content:encoded><![CDATA[<p>I think they may be mistaken as far as TrueCrypt goes, but I&#8217;m not a computer science major. When mounting a TrueCrypt volume, there is an option for caching the password and (possible) keyfiles. </p>
<p>My understanding is that, if not checked, the password and keyfiles will be used and referenced once, upon the mounting of the encrypted drive. It seems that they would not then be stuck in the memory unless the attack was done immediately after the mounting. With Bitlocker and File Vault there doesn&#8217;t seem to be any way to prevent caching of the passwords and keyfiles; TrueCrypt, however, has the direct option of caching. Is my understanding wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Krstić</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-227</link>
		<dc:creator>Ivan Krstić</dc:creator>
		<pubDate>Fri, 22 Feb 2008 18:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-227</guid>
		<description>Ben -- you're underestimating the result. Most laptops merely need a reboot to fall to this attack; no liquid nitrogen required. It was previously a reasonable expectation that a running but locked laptop with FDE was quite secure, data-wise, even in the wrong hands. Now, leaving a locked running laptop in your hotel room while you get lunch is no longer an option; the housekeeping staff could trivially obtain your key(s). The same goes for an eager &lt;a href="http://www.pcworld.com/article/id,142298-c,privacy/article.html" rel="nofollow"&gt;customs and border protection&lt;/a&gt; agent.</description>
		<content:encoded><![CDATA[<p>Ben &#8212; you&#8217;re underestimating the result. Most laptops merely need a reboot to fall to this attack; no liquid nitrogen required. It was previously a reasonable expectation that a running but locked laptop with FDE was quite secure, data-wise, even in the wrong hands. Now, leaving a locked running laptop in your hotel room while you get lunch is no longer an option; the housekeeping staff could trivially obtain your key(s). The same goes for an eager <a href="http://www.pcworld.com/article/id,142298-c,privacy/article.html" rel="nofollow">customs and border protection</a> agent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Schwartz</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-226</link>
		<dc:creator>Ben Schwartz</dc:creator>
		<pubDate>Fri, 22 Feb 2008 14:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-226</guid>
		<description>I don't understand why anyone is talking about this attack.

So the scenario is: I'm logged into my Thinkpad (non-macbook-air laptop), accessing my securely encrypted drive, using my 4096-bit private key, which I've stored on a USB stick.  Someone runs up and steals my laptop, and inside their white van they turn it off, rip it open, and drop the DRAM into liquid nitrogen pending further analysis.

OR, they could just read my private key of the USB stick.

Ok, let's say that I've memorized my key, or I'm using some kind of unusually secure password-based system.  So they've taken my laptop, they want access to my encrypted disk, they don't have the private key... but I'm logged in!  They can just open a terminal and cp -r * /media/Evil_USB_drive/.

Ok, maybe they don't just want my data.  They want the private key, for some reason.  And maybe the private key is only stored in kernelspace, and they really can't think of any local root exploits, even though they can plug in arbitrary devices.  Even then, &lt;em&gt;the RAM is still powered&lt;/em&gt;.  They don't have to turn it off.  Given a little bit of appropriate hardware, they can read it out without ever interrupting the power supply.  Heck, they can probably twiddle bits in RAM to give themselves root, and then copy out the contents of memory from inside.

I can maybe come up with a scenario where this exploit provides the attacker some new advantage, but it's a pretty implausible one.  Local hardware access == total control.  Surprise!</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand why anyone is talking about this attack.</p>
<p>So the scenario is: I&#8217;m logged into my Thinkpad (non-macbook-air laptop), accessing my securely encrypted drive, using my 4096-bit private key, which I&#8217;ve stored on a USB stick.  Someone runs up and steals my laptop, and inside their white van they turn it off, rip it open, and drop the DRAM into liquid nitrogen pending further analysis.</p>
<p>OR, they could just read my private key of the USB stick.</p>
<p>Ok, let&#8217;s say that I&#8217;ve memorized my key, or I&#8217;m using some kind of unusually secure password-based system.  So they&#8217;ve taken my laptop, they want access to my encrypted disk, they don&#8217;t have the private key&#8230; but I&#8217;m logged in!  They can just open a terminal and cp -r * /media/Evil_USB_drive/.</p>
<p>Ok, maybe they don&#8217;t just want my data.  They want the private key, for some reason.  And maybe the private key is only stored in kernelspace, and they really can&#8217;t think of any local root exploits, even though they can plug in arbitrary devices.  Even then, <em>the RAM is still powered</em>.  They don&#8217;t have to turn it off.  Given a little bit of appropriate hardware, they can read it out without ever interrupting the power supply.  Heck, they can probably twiddle bits in RAM to give themselves root, and then copy out the contents of memory from inside.</p>
<p>I can maybe come up with a scenario where this exploit provides the attacker some new advantage, but it&#8217;s a pretty implausible one.  Local hardware access == total control.  Surprise!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Krstić</title>
		<link>http://radian.org/notebook/fashionable-crypto/comment-page-1#comment-224</link>
		<dc:creator>Ivan Krstić</dc:creator>
		<pubDate>Fri, 22 Feb 2008 11:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://radian.org/notebook/fashionable-crypto#comment-224</guid>
		<description>Nick -- I read the paper quite carefully. It lists three imaging vectors: simple reboot, DRAM module transfer, and remote network attacks (which cause a reboot). The MacBook Air's DRAM chips are soldered to the logicboard, making the second attack vector extremely difficult. If a RAM zeroizer was present in the firmware as a forced boot step, the other two vectors cease to work, leaving no easy way to mount this type of attack.</description>
		<content:encoded><![CDATA[<p>Nick &#8212; I read the paper quite carefully. It lists three imaging vectors: simple reboot, DRAM module transfer, and remote network attacks (which cause a reboot). The MacBook Air&#8217;s DRAM chips are soldered to the logicboard, making the second attack vector extremely difficult. If a RAM zeroizer was present in the firmware as a forced boot step, the other two vectors cease to work, leaving no easy way to mount this type of attack.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
