Security News > 2022 > August > APIC/EPIC! Intel chips leak secrets even the kernel shouldn’t see…

APIC/EPIC! Intel chips leak secrets even the kernel shouldn’t see…
2022-08-10 18:59

What is an APIC, and why do I need it? How can you have data that even the kernel can't peek at? What causes this epic failure in APIC? Does the ÆPIC Leak affect me? What to do about it? What's an APIC?

How can you have data that even the kernel can't peek at?

This feature is supported by namy recent Intel CPUs, and it provides a way for the operating system kernel to "Seal" a chunk of code and data into a physical block of RAM so as to form what's known as an enclave, much like the special security chips in mobile phones that are used to store secrets such as decryption keys.

The researchers behind the ÆPIC Leak paper discovered that by arranging to read out APIC data via a cunning and unusual sequence of memory accesses.

They could trick the processor into filling up the APIC MMIO space not only with data freshly received from the APIC itself, but alsowith data that just happened to have been used by the CPU recently for some other purpose.

Regular users can't access the APIC MMIO data block, and therefore have no way of peeking at anything at all in there, let alone secret data that might have leaked out from an SGX enclave.


News URL

https://nakedsecurity.sophos.com/2022/08/10/apic-epic-intel-chips-leak-secrets-even-the-kernel-shouldnt-see/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Intel 6314 31 755 708 45 1539
Kernel 3 0 7 4 1 12