ZombieLoad: Leaking Data on Intel CPUs

Presented at ToorCon San Diego TwentyOne (2019), Nov. 9, 2019, 2:30 p.m. (25 minutes).

Meltdown (BlackHat USA 2018) was the first instance of a hardware vulnerability which broke the security guarantees of modern CPUs. Meltdown allowed attackers to leak arbitrary memory by exploiting that Intel CPUs use lazy fault handling and continue transient execution with data retrieved by faulting loads. With stronger kernel isolation, a software workaround to prevent Meltdown attacks, and new CPUs with this vulnerability fixed, Meltdown seemed to be a solved issue. In this talk, we show that Meltdown is still an issue, on current off-the-shelf CPUs. We present ZombieLoad, a Meltdown-type attack which leaks data across multiple privilege boundaries: processes, kernel, SGX, hyperthreads, and even across virtual machines. We show that Meltdown mitigations do not affect ZombieLoad. The ZombieLoad attack can be mounted without any user interactions from an unprivileged application, both on Linux and Windows. To demonstrate the danger of the ZombieLoad attack, we present multiple attacks, such as monitoring the browsing behavior, stealing cryptographic keys, and leaking the root-password hash on Linux. In a live demo, we show that such attacks are not only practical but also easy to mount. We will then discuss mitigations against the ZombieLoad attack. We outline challenges for future research on Meltdown-type attacks and mitigations. Finally, we will discuss the short-term and long-term implications for hardware vendors, software vendors, and users. 1. Introduction to Meltdown-type Attacks We briefly recap the history of Meltdown-type attacks (Meltdown, Foreshadow, LazyFP), their impact, and their current state in terms of mitigations and vulnerable hardware. 2. Background We explain transient execution and transient instructions, the basis of all Meltdown attacks. We show how transient execution enabled Spectre and Meltdown attacks and how it was used in previous attacks to leak data. 3. ZombieLoad Overview We introduce ZombieLoad, a novel Meltdown-type attack which works on a wide range of Intel CPUs even in the presence of Meltdown patches. We illustrate how and why ZombieLoad works, and explain how it can be used to leak data across all security boundaries (including the kernel, SGX, hypervisor, and virtual machines). 4. Attacks We present several attacks showing the power of the ZombieLoad attack. The attacks show amongst others how user-behavior can be monitored, data can be leaked, and that even AES-NI keys can be extracted using ZombieLoad. 5. Live Demo In a live demo, we demonstrate data leakage with ZombieLoad. 6. Mitigations We overview mitigation strategies against ZombieLoad. We discuss both software mitigations as well as the official microcode updates and analyze how effective they are. 7. Closing Remarks Although it was widely believed that Meltdown was a single hardware vulnerability which could be easily fixed, we show that this is not the case and that there are more unfixed variants of Meltdown-type attacks.

Presenters:

  • Daniel Moghimi
    Daniel Moghimi is a Computer Security Researcher working toward a Doctorate Degree in the Electrical & Computer Engineering (ECE) Department at Worcester Polytechnic Institute (WPI). Before that, He received a Master of Science Degree from Computer Science (CS) Department at WPI. His research interests include system security, side channels and applied cryptography. He has been co-advised by Prof. Berk Sunar and Prof. Thomas Eisenbarth as a member of the Vernam Group. He has published a few papers on new CPU attacks: MemJam, SPOILER, ZombieLoad; Intel’s TEE environment, Intel SGX: CacheZoom and CacheQuote; and side-channel analysis and detection tools: MicroWalk and FortuneTeller. Daniel enjoy reverse engineering, finding vulnerabilities and fuzzing things.

Links:

Similar Presentations: