Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch > #32783 > unrolled thread
| Started by | william.edwards@mblox.com |
|---|---|
| First post | 2016-01-14 23:38 -0800 |
| Last post | 2016-04-27 22:18 +0300 |
| Articles | 17 — 12 participants |
Back to article view | Back to comp.arch
Intel Skylake's transparent DRAM encryption william.edwards@mblox.com - 2016-01-14 23:38 -0800
Re: Intel Skylake's transparent DRAM encryption Quadibloc <jsavard@ecn.ab.ca> - 2016-01-15 02:53 -0800
Re: Intel Skylake's transparent DRAM encryption "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-15 03:00 -0800
Re: Intel Skylake's transparent DRAM encryption timcaffrey@aol.com - 2016-01-15 10:27 -0800
Re: Intel Skylake's transparent DRAM encryption William Edwards <willvarfar@gmail.com> - 2016-01-16 06:58 -0800
Re: Intel Skylake's transparent DRAM encryption Noob <root@127.0.0.1> - 2016-01-16 20:00 +0100
Re: Intel Skylake's transparent DRAM encryption Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-18 12:09 -0500
Re: Intel Skylake's transparent DRAM encryption anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-18 17:23 +0000
Re: Intel Skylake's transparent DRAM encryption Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-18 14:08 -0500
Re: Intel Skylake's transparent DRAM encryption Piotr Wyderski <peter.pan@neverland.mil> - 2016-02-07 23:48 +0100
Re: Intel Skylake's transparent DRAM encryption timcaffrey@aol.com - 2016-01-15 10:29 -0800
Re: Intel Skylake's transparent DRAM encryption Quadibloc <jsavard@ecn.ab.ca> - 2016-01-15 10:56 -0800
Re: Intel Skylake's transparent DRAM encryption Aleksandar Kuktin <akuktin@gmail.com> - 2016-01-16 13:19 +0000
Re: Intel Skylake's transparent DRAM encryption William Edwards <willvarfar@gmail.com> - 2016-01-31 22:21 -0800
Re: Intel Skylake's transparent DRAM encryption William Edwards <willvarfar@gmail.com> - 2016-04-27 04:01 -0700
Re: Intel Skylake's transparent DRAM encryption Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2016-04-27 16:16 +0000
Re: Intel Skylake's transparent DRAM encryption Kalle Olavi Niemitalo <kon@iki.fi> - 2016-04-27 22:18 +0300
| From | william.edwards@mblox.com |
|---|---|
| Date | 2016-01-14 23:38 -0800 |
| Subject | Intel Skylake's transparent DRAM encryption |
| Message-ID | <dbf73068-1299-47db-a7f3-4d6c1934990b@googlegroups.com> |
A very nice slide deck describing this: https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit What are people's thoughts? -- *NOTE: This message and any attached files may contain information that is confidential and/or subject of legal privilege. If you are not the intended recipient or the person responsible for delivering the message, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message.*
[toc] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2016-01-15 02:53 -0800 |
| Message-ID | <bb8d2773-ef7b-4b98-b483-9e807d85e176@googlegroups.com> |
| In reply to | #32783 |
On Friday, January 15, 2016 at 12:38:31 AM UTC-7, william...@mblox.com wrote: > A very nice slide deck describing this: > > https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit > > What are people's thoughts? I don't understand your title. The slides don't claim it is insecure, or point out a weakness - they simply explain the scheme, and it is claimed to be strong. And it's not clear to me that there is a weakness. The data is encrypted using AES, and the key is kept on the chip. The only thing that might be suspected is that the validity of the encrypted data is verified using only a 56-bit hash. However, the number of tries someone has to tamper with the encrypted data is limited - more than one failure means the computer has to be rebooted, leading to a new key being chosen. So there is no opportunity to rapidly search for a solution. John Savard
[toc] | [prev] | [next] | [standalone]
| From | "Rick C. Hodgin" <rick.c.hodgin@gmail.com> |
|---|---|
| Date | 2016-01-15 03:00 -0800 |
| Message-ID | <ec50bf91-8227-490e-9aa1-895de9774bb0@googlegroups.com> |
| In reply to | #32784 |
John Savard wrote: > I don't understand your title. It's not a claim of weakness, but that we can see it. The general algorithm isn't kept secret, but is on display for inspection and understanding. Or possibly that it happens automatically, without complex setup. Best regards, Rick C. Hodgin
[toc] | [prev] | [next] | [standalone]
| From | timcaffrey@aol.com |
|---|---|
| Date | 2016-01-15 10:27 -0800 |
| Message-ID | <ef88ea0e-0d47-4a8f-8a97-5a0ccaa6176d@googlegroups.com> |
| In reply to | #32784 |
On Friday, January 15, 2016 at 5:53:15 AM UTC-5, Quadibloc wrote:
> On Friday, January 15, 2016 at 12:38:31 AM UTC-7, william...@mblox.com wrote:
> > A very nice slide deck describing this:
> >
> > https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit
> >
> > What are people's thoughts?
>
> I don't understand your title.
>
> The slides don't claim it is insecure, or point out a weakness - they simply
> explain the scheme, and it is claimed to be strong.
>
I think he meant "transparent" as in your software doesn't have to be
modified to use it.
- Tim
[toc] | [prev] | [next] | [standalone]
| From | William Edwards <willvarfar@gmail.com> |
|---|---|
| Date | 2016-01-16 06:58 -0800 |
| Message-ID | <2f051ba4-6577-458e-957e-092fec550bf9@googlegroups.com> |
| In reply to | #32784 |
I meant "transparent" as in automatic and invisible. Programs and OS don't know it is happening and don't have to do anything special or different. Each reset the MEE picks a new key randomly. Only the MEE ever knows the key. All DRAM read and writes go through the MEE and get encrypted transparently. This is called "transparent encryption" in the business. It's been common to have transparent file encryption, be it full disk or folder encryption, and encrypted swap space, but this is the first mainstream chip to have it for DRAM to my knowledge and I think this an exciting new feature i hope becomes normal. The slides describe how, why and security. I think it very neat, which is why I shared the link :)
[toc] | [prev] | [next] | [standalone]
| From | Noob <root@127.0.0.1> |
|---|---|
| Date | 2016-01-16 20:00 +0100 |
| Message-ID | <n7e3s8$mvl$1@dont-email.me> |
| In reply to | #32802 |
On 16/01/2016 15:58, William Edwards wrote: > This is called "transparent encryption" in the business. It's been > common to have transparent file encryption, be it full disk or folder > encryption, and encrypted swap space, but this is the first > mainstream chip to have it for DRAM to my knowledge and I think this > an exciting new feature i hope becomes normal. The media cartel has been mandating RAM encryption on STB SoCs for as long as I can remember. (And, I kid you not, they also mandate covering up the wire traces between the CPU and DRAM controller with glue.) Regards.
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2016-01-18 12:09 -0500 |
| Message-ID | <jwvy4bmolx8.fsf-monnier+comp.arch@gnu.org> |
| In reply to | #32812 |
>> This is called "transparent encryption" in the business. It's been
>> common to have transparent file encryption, be it full disk or folder
>> encryption, and encrypted swap space, but this is the first
>> mainstream chip to have it for DRAM to my knowledge and I think this
>> an exciting new feature i hope becomes normal.
> The media cartel has been mandating RAM encryption on STB SoCs
> for as long as I can remember. (And, I kid you not, they also
> mandate covering up the wire traces between the CPU and DRAM
> controller with glue.)
Indeed, the main application I can see is to try and harden a bit
further the Digital Restriction Management, so people can't circumvent
them by spying on the communication between CPU and DRAM.
IOW, another kind of anti-feature, like secure-boot.
Stefan
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2016-01-18 17:23 +0000 |
| Message-ID | <2016Jan18.182344@mips.complang.tuwien.ac.at> |
| In reply to | #32855 |
Stefan Monnier <monnier@iro.umontreal.ca> writes: >Indeed, the main application I can see is to try and harden a bit >further the Digital Restriction Management, so people can't circumvent >them by spying on the communication between CPU and DRAM. I have not read up on that feature, but I imagine that it means that the data is encrypted on the way to DRAM and decrypted on the way back, so that it sits in DRAM in encrypted form. One application that I can think of is to secure laptops: Laptops are suspended to RAM much of the time. If they are stolen in that state, there is an attack that works by cooling the DIMMs, taking them from the laptop, putting them on another machine, and reading them. You have a good chance to recover much of the data, e.g., encryption keys for the encrypted file system of the disk on the laptop, and the laptop OS cannot protect against that attack. But encrypted DRAM would. The application you have in mind might be the true driver behind that feature, though. - anton -- M. Anton Ertl Some things have to be seen to be believed anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen http://www.complang.tuwien.ac.at/anton/home.html
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2016-01-18 14:08 -0500 |
| Message-ID | <jwv60yqoggq.fsf-monnier+comp.arch@gnu.org> |
| In reply to | #32857 |
>> Indeed, the main application I can see is to try and harden a bit
>> further the Digital Restriction Management, so people can't circumvent
>> them by spying on the communication between CPU and DRAM.
[...]
> One application that I can think of is to secure laptops:
Just as is the case for secure-boot and OGM, I can come up with
scenarios where such technology could be useful. But that's never the
kind of scenario where that technology is put to use.
Stefan
[toc] | [prev] | [next] | [standalone]
| From | Piotr Wyderski <peter.pan@neverland.mil> |
|---|---|
| Date | 2016-02-07 23:48 +0100 |
| Message-ID | <n98hj1$lbl$1@node2.news.atman.pl> |
| In reply to | #32784 |
Quadibloc wrote: > And it's not clear to me that there is a weakness. The data is encrypted using > AES, and the key is kept on the chip. The only thing that might be suspected is > that the validity of the encrypted data is verified using only a 56-bit hash. No, it's not only that. Your encryption is as secure as the key generation process is and you never know whether after a secret sequence of instructions (which leads to a reboot, as a side effect) the *next* key will be of an NSA-specified value. :-) Best regards, Piotr
[toc] | [prev] | [next] | [standalone]
| From | timcaffrey@aol.com |
|---|---|
| Date | 2016-01-15 10:29 -0800 |
| Message-ID | <d4fce23b-8bbd-49f2-912a-8f3ae2aa2811@googlegroups.com> |
| In reply to | #32783 |
On Friday, January 15, 2016 at 2:38:31 AM UTC-5, william...@mblox.com wrote:
> A very nice slide deck describing this:
>
> https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit
>
> What are people's thoughts?
>
So, this is akin to having money in an ATM and you don't have a card or a pin.
Well, just wait until somebody who does comes up and makes a withdrawl, and then rob them. :(
Seriously, it appears that there are several aspects to this scheme that
are not discussed.
- Tim
[toc] | [prev] | [next] | [standalone]
| From | Quadibloc <jsavard@ecn.ab.ca> |
|---|---|
| Date | 2016-01-15 10:56 -0800 |
| Message-ID | <5e1d6858-48c1-4937-a49e-25fcfbaf0229@googlegroups.com> |
| In reply to | #32794 |
On Friday, January 15, 2016 at 11:29:21 AM UTC-7, timca...@aol.com wrote: > So, this is akin to having money in an ATM and you don't have a card or a pin. > > Well, just wait until somebody who does comes up and makes a withdrawl, and then rob them. :( What is this scheme used for? Basically, one common use would be DVD player software. It comes encrypted from the manufacturer, with copies of the key encrypted by the public key of Intel's Trusted Execution feature, and that for the equivalent from AMD. What does the encrypted part of the program do? It decrypts the movie on the DVD, and then encrypts it again using the HDCP key of your trusted monitor before it lets it out. So there's no "money" outside the encrypted box for someone to rob. John Savard
[toc] | [prev] | [next] | [standalone]
| From | Aleksandar Kuktin <akuktin@gmail.com> |
|---|---|
| Date | 2016-01-16 13:19 +0000 |
| Message-ID | <n7dg14$1eqo$1@gioia.aioe.org> |
| In reply to | #32783 |
On Thu, 14 Jan 2016 23:38:27 -0800, william.edwards wrote: > A very nice slide deck describing this: > > https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit > > What are people's thoughts? How much will this hit latency?
[toc] | [prev] | [next] | [standalone]
| From | William Edwards <willvarfar@gmail.com> |
|---|---|
| Date | 2016-01-31 22:21 -0800 |
| Message-ID | <0fdc1f49-070d-4329-8f36-862a533e2f31@googlegroups.com> |
| In reply to | #32783 |
This Is an excellent analysis of SGX, which may help describe the kind of usecases it may be put to (trusting cloud computing as well as the more obvious music DRM): https://eprint.iacr.org/2016/086.pdf So basically their big attack in this paper is using a hyperthreading to spy on a secure enclave running on the same CPU, this attack being possible not just against the normal SGX enclaves but also against the Quoting Enclave. But the most eye-opening part is about who can use SGX: "perhaps the most troubling finding in our security analysis is that Intel included a licensing mechanism in SGX that prevents software developers who cannot or will not enter a (yet unspecified) business agreement with Intel from authoring software that takes advantage of SGX's protections. All the official documentation carefully sidesteps this issue, and has a minimal amount of hints that lead to the Intel's patents on SGX. Only these patents disclose the existence of licensing plans"
[toc] | [prev] | [next] | [standalone]
| From | William Edwards <willvarfar@gmail.com> |
|---|---|
| Date | 2016-04-27 04:01 -0700 |
| Message-ID | <f836c5c0-5ccf-4022-8d40-7a6f027ae33b@googlegroups.com> |
| In reply to | #32783 |
On Friday, 15 January 2016 08:38:31 UTC+1, william...@mblox.com wrote: > A very nice slide deck describing this: > > https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit > > What are people's thoughts? AMD have transparent DRAM encryption too: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2013/12/AMD_Memory_Encryption_Whitepaper_v7-Public.pdf This is from 2013, but I've only just noticed it.
[toc] | [prev] | [next] | [standalone]
| From | Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> |
|---|---|
| Date | 2016-04-27 16:16 +0000 |
| Message-ID | <5720e5f1$0$5878$e4fe514c@news.xs4all.nl> |
| In reply to | #34647 |
William Edwards <willvarfar@gmail.com> writes: >On Friday, 15 January 2016 08:38:31 UTC+1, william...@mblox.com wrote: >> A very nice slide deck describing this: >> >> https://drive.google.com/file/d/0Bzm_4XrWnl5zOXdTcUlEMmdZem8/edit >> >> What are people's thoughts? >AMD have transparent DRAM encryption too: http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2013/12/AMD_Memory_Encryption_Whitepaper_v7-Public.pdf >This is from 2013, but I've only just noticed it. Isn't this used in the most recent Xbox and PS/4? Casper
[toc] | [prev] | [next] | [standalone]
| From | Kalle Olavi Niemitalo <kon@iki.fi> |
|---|---|
| Date | 2016-04-27 22:18 +0300 |
| Message-ID | <874mamvp1a.fsf@Niukka.kon.iki.fi> |
| In reply to | #34647 |
William Edwards <willvarfar@gmail.com> writes: > AMD have transparent DRAM encryption too: > http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2013/12/AMD_Memory_Encryption_Whitepaper_v7-Public.pdf AMD's Secure Encrypted Virtualization (SEV) reminds me of Intel's Software Guard Extensions (SGX). That whitepaper does not mention SEV having anything like SGX's version arrays though, so I suspect SEV does not prevent a hostile hypervisor from saving parts of the memory of the guest and later restoring them without the guest noticing. I wonder which mode of operation AMD is using with AES. > This is from 2013, but I've only just noticed it. The URL has "2013" in it but the title page of the PDF says "April 21, 2016". Did AMD publish something related in 2013?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.arch
csiph-web