<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using embedded GPU within an Enclave in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147423#M2470</link>
    <description>&lt;P&gt;Is it possible for the embedded GPU to access the enclave just like the CPU and for the enclave to contain code meant for the GPU ?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 13:33:30 GMT</pubDate>
    <dc:creator>SANJAY_S_</dc:creator>
    <dc:date>2017-10-26T13:33:30Z</dc:date>
    <item>
      <title>Using embedded GPU within an Enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147423#M2470</link>
      <description>&lt;P&gt;Is it possible for the embedded GPU to access the enclave just like the CPU and for the enclave to contain code meant for the GPU ?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:33:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147423#M2470</guid>
      <dc:creator>SANJAY_S_</dc:creator>
      <dc:date>2017-10-26T13:33:30Z</dc:date>
    </item>
    <item>
      <title>No...</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147424#M2471</link>
      <description>&lt;P&gt;No...&lt;/P&gt;

&lt;P&gt;More extensively. No device can access SGX memory.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 21:45:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147424#M2471</guid>
      <dc:creator>Simon_J_Intel</dc:creator>
      <dc:date>2017-10-26T21:45:06Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reply !</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147425#M2472</link>
      <description>&lt;P&gt;Thanks for the reply !&lt;/P&gt;

&lt;P&gt;I was of the impression that the secure perimeter was the entire processor, including the embedded GPU. Can you explain why the embedded GPU isn't part of the perimeter and point me to relevant documentation ? Are there plans to include it in the future ?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 04:05:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147425#M2472</guid>
      <dc:creator>SANJAY_S_</dc:creator>
      <dc:date>2017-10-27T04:05:42Z</dc:date>
    </item>
    <item>
      <title>Is this for a specific</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147426#M2473</link>
      <description>&lt;P&gt;Is this for a specific embedded GPU which I can help look up its specification? Or is this just a theoretical question for future plan?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 16:32:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147426#M2473</guid>
      <dc:creator>Hoang_N_Intel</dc:creator>
      <dc:date>2017-10-31T16:32:31Z</dc:date>
    </item>
    <item>
      <title>I would like to know if it</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147427#M2474</link>
      <description>&lt;P&gt;I would like to know if it would be in some future plan. More specifically I am interested if it would be possible to have 3d application fully in enclave. Ideally also ofcourse with a discrete gpu.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Aug 2018 07:44:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147427#M2474</guid>
      <dc:creator>Chi__Chi_Ching</dc:creator>
      <dc:date>2018-08-05T07:44:45Z</dc:date>
    </item>
    <item>
      <title>Good morning, I hope the week</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147428#M2475</link>
      <description>&lt;P&gt;Good morning, I hope the week is starting well for everyone.&lt;/P&gt;

&lt;P&gt;Sanjay raises an interesting question, one that is rooted in the basic security model of SGX, the notion that the root of trust is only the processor die.&amp;nbsp; Simon responded (greetings to Simon from the SGX guys and their dog out in North Dakota), indicating that no device can access SGX memory.&amp;nbsp; Since its inception in 2010 as Intel HD Graphics, the model for Intel Graphics Technology (GT) has been to manufacture the graphics processing unit on the same die as the CPU with shared access to physical memory.&amp;nbsp; At this point in time the common understanding is that more die space is allocated to the graphics engine then the CPU proper.&lt;/P&gt;

&lt;P&gt;So Sanjay in quote #3 above raises a valid issue, why wouldn't the GPU be able to access enclave memory, given that it resides within the physical trusted computing base of SGX.&amp;nbsp; This is a particularly interesting question given the existence, since the Sandy Bridge micro-architecture, of "Intel Insider" which supports DRM through the decryption of a protected media stream within the processor itself.&amp;nbsp; Given the origins of SGX as a DRM technology a suspicious individual would suspect some degree of incestuousness between the two technologies.&amp;nbsp; Of course given the nature and politics of DRM and content protection the details of all that would be more protected then information about the availability of SGX2.... :-)&lt;/P&gt;

&lt;P&gt;So while Simon's statement is correct, no devices can access SGX memory, most devices don't exist within the same physical protection domain as the processor, which does have access to SGX memory.&lt;/P&gt;

&lt;P&gt;If there is an actual physical prohibition of access to SGX protected memory by the integrated GPU, it may be secondary to the hardware protection model that was designed for SGX.&amp;nbsp; Readers who are interested in all this may find our paper/blog post about SGX and micro-architectural vulnerabilities a useful starting point as it discusses the virtual memory model that SGX security is built on:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://idfusionllc.com/2018/01/25/sgx-after-spectre-and-meltdown-status-analysis-and-remediations" target="_blank"&gt;https://idfusionllc.com/2018/01/25/sgx-after-spectre-and-meltdown-status-analysis-and-remediations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;ftp://ftp.idfusion.net/pub/sgx/sgx-spectre-meltdown.pdf&lt;/P&gt;

&lt;P&gt;The physical security guarantee for SGX is built on the notion of a Processor Reserved Memory (PRM) aperture which is a range of physical memory defined by the Processor Reserved Memory Range Registers (PRMRR).&amp;nbsp; The BIOS/firmware defines this memory range when the physical hardware is initialized.&amp;nbsp; This range of physical memory can only be accessed by the processor and serves as the memory which supports the Enclave Page Cache (EPC) and presumably the Enclave Page Cache Map (EPCM).&lt;/P&gt;

&lt;P&gt;The physical security guarantees for SGX memory are implemented by the Memory Encryption Engine (MEE) which supports a rather complex set of confidentiality and integrity guarantees.&amp;nbsp; Shay Geuron's paper, &lt;EM&gt;"A Memory Encryption Engine Suitable for General Purpose Processors"&lt;/EM&gt;, has a complete discussion of the guarantees, their rationale and proofs of correctness.&amp;nbsp; Details are sketchy but one would anticipate that the memory controller is wired/designed in a manner that allows only the MEE to access PRM.&lt;/P&gt;

&lt;P&gt;So while the integrated graphics processor may reside within the same physical trust domain of SGX it presumably does not have access, by design, to the PRM.&amp;nbsp; This doesn't suggest that it couldn't have access to the PRM but a decision was presumably made to not allow that access.&amp;nbsp; Given the potential attack surface represented by a GPU such a decision would not be unwarranted from a security perspective, particularly given the fact that Intel represents SGX as a technology where only highly privileged data and/or code are stored in a protected memory region/enclave.&lt;/P&gt;

&lt;P&gt;Hopefully the above provides a possible framework for future discussion.&lt;/P&gt;

&lt;P&gt;Now back to figuring out why remote attestation has gone awry for a large body of hardware out in the wild....&lt;/P&gt;

&lt;P&gt;Have a good day.&lt;/P&gt;

&lt;P&gt;Dr. Greg&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:02:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Using-embedded-GPU-within-an-Enclave/m-p/1147428#M2475</guid>
      <dc:creator>Dr__Greg</dc:creator>
      <dc:date>2018-08-07T09:02:31Z</dc:date>
    </item>
  </channel>
</rss>

