FazBrowse Wikipedia Viewer | Main Page |
Search Wikipedia:
|
Viewing: https://en.wikipedia.org/wiki/Software_Guard_Extensions

Software Guard Extensions

Contents
    SGAxe
    ÆPIC leak
SGX malware arguments

Intel Software Guard Extensions (SGX) is a set of instruction codes implementing trusted execution environment that are built into some Intel central processing units (CPUs). They allow user-level and operating system code to define protected private regions of memory, called enclaves. SGX is designed to be useful for implementing secure remote computation, secure web browsing, and digital rights management (DRM). Other applications include concealment of proprietary algorithms and of encryption keys.

SGX involves encryption by the CPU of a portion of memory (the enclave). Data and code originating in the enclave are decrypted on the fly within the CPU, protecting them from being examined or read by other code, including code running at higher privilege levels such as the operating system and any underlying hypervisors. While this can mitigate many kinds of attacks, it does not protect against side-channel attacks.

A pivot by Intel in 2021 resulted in the deprecation of SGX from the 11th and 12th generation Intel Core processors, but development continues on Intel Xeon for cloud and enterprise use.

Load Value Injection injects data into a program aiming to replace the value loaded from memory which is then used for a short time before the mistake is spotted and rolled back, during which LVI controls data and control flow. A security advisory and mitigation for this attack was originally issued on March 10, 2020 and updated on May 11, 2021.

SGAxe

edit

SGAxe, an SGX vulnerability published in 2020, extends a speculative execution attack on cache, leaking content of the enclave. This allows an attacker to access private CPU keys used for remote attestation. In other words, a threat actor can bypass Intel's countermeasures to breach SGX enclaves' confidentiality. The SGAxe attack is carried out by extracting attestation keys from SGX's private quoting enclave that are signed by Intel. The attacker can then masquerade as legitimate Intel machines by signing arbitrary SGX attestation quotes. A security advisory and mitigation for this attack, also called a Processor Data Leakage or Cache Eviction, was originally issued January 27, 2020 and updated May 11, 2021.

ÆPIC leak

edit

In 2022, security researchers discovered a vulnerability in the Advanced Programmable Interrupt Controller (APIC) that allows for an attacker with root/admin privileges to gain access to encryption keys via the APIC by inspecting data transfers from L1 and L2 cache. This vulnerability is the first architectural attack discovered on x86 CPUs. This differs from Spectre and Meltdown which use a noisy side channel. This exploit currently affects Intel Core 10th, 11th and 12th generations, and Xeon Ice Lake microprocessors.

SGX malware arguments

edit

There has been a long debate on whether SGX enables creation of superior malware. Oxford University researchers published an article in October 2022 considering attackers' potential advantages and disadvantages by abusing SGX for malware development. Researchers conclude that while there might be temporary zero-day vulnerabilities to abuse in SGX ecosystem, the core principles and design features of Trusted Execution Environments (TEEs) make malware weaker than a malware-in-the-wild, TEEs make no major contributions to malware otherwise.johnm (2017-08-08). "Properly Detecting Intel® Software Guard Extensions (Intel® SGX) in Your Applications". software.intel.com. Archived from the original on 2019-04-24. Retrieved 2019-02-15.

  • ↑ "Intel SGX and Side-Channels". intel.com. 2020-02-28. Archived from the original on 2020-02-28. Retrieved 2020-02-28.
  • 1 2 anrilr (2022-01-20). "Rising to the Challenge — Data Security with Intel Confidential Computing". community.intel.com. Archived from the original on 2022-05-19. Retrieved 2022-04-20.
  • ↑ Intel Architecture Instruction Set Extensions Programming Reference Archived 2015-09-28 at the Wayback Machine, Intel, AUGUST 2015, page 36 "Structured Extended feature Leaf EAX=07h, EBX Bit 02: SGX"
  • ↑ "sslab-gatech/opensgx". GitHub. Archived from the original on 2018-06-11. Retrieved 2016-08-15.
  • ↑ "11th Generation Intel Core Processor Datasheet". Retrieved 2022-01-15.
  • ↑ "CyberLink Support Center".
  • ↑ "Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory" (PDF). USENIX. 2017-08-16. Archived (PDF) from the original on 2020-07-27. Retrieved 2017-10-26.
  • ↑ Peter Bright - Jul 10, 2018 9:00 pm UTC (2018-07-10). "New Spectre-like attack uses speculative execution to overflow buffers". Ars Technica. Archived from the original on 2018-11-23. Retrieved 2018-11-02.{{cite web}}: CS1 maint: numeric names: authors list (link)
  • ↑ Bright, Peter (2019-02-12). "Researchers use Intel SGX to put malware beyond the reach of antivirus software". Ars Technica. Archived from the original on 2019-02-15. Retrieved 2019-02-15.
  • ↑ "Plundervolt steals keys from cryptographic algorithms". Rambus Blog. 2019-12-11. Archived from the original on 2021-10-23. Retrieved 2020-03-20.
  • ↑ "Load Value Injection". software.intel.com. Archived from the original on 2020-07-12. Retrieved 2020-03-12.
  • ↑ "CacheOut". cacheoutattack.com.
  • ↑ "CVE - CVE-2020-0549". cve.mitre.org. Retrieved 2022-10-17.
  • ↑ "ÆPIC Leak". aepicleak.com. Archived from the original on 2022-08-29. Retrieved 2022-08-29.
  • ↑ , Intel (poster)
  • ISCA 2015 tutorial slides for Intel SGX

  • View original on Wikipedia | Back | FazBrowse Home