LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
Open accessThe DOI matches its Crossref record; 46 of the 46 references it cites were found in a registry or an index.
Abstract
The recent Spectre attack first showed how to inject incorrect branch targets into a victim domain by poisoning microarchitectural branch prediction history. In this paper, we generalize injection-based methodologies to the memory hierarchy by directly injecting incorrect, attacker-controlled values into a victim's transient execution. We propose Load Value Injection (LVI) as an innovative technique to reversely exploit Meltdown-type microarchitectural data leakage. LVI abuses that faulting or assisted loads, executed by a legitimate victim program, may transiently use dummy values or poisoned data from various microarchitectural buffers, before eventually being re-issued by the processor. We show how LVI gadgets allow to expose victim secrets and hijack transient control flow. We practically demonstrate LVI in several proof-of-concept attacks against Intel SGX enclaves, and we discuss implications for traditional user process and kernel isolation. State-of-the-art Meltdown and Spectre defenses, including widespread silicon-level and microcode mitigations, are orthogonal to our novel LVI techniques. LVI drastically widens the spectrum of incorrect transient paths. Fully mitigating our attacks requires serializing the processor pipeline with lfence instructions after possibly every memory load. Additionally and even worse, due to implicit loads, certain instructions have to be blacklisted, including the ubiquitous x86 ret instruction. Intel plans compiler and assembler-based full mitigations that will allow at least SGX enclave programs to remain secure on LVI-vulnerable systems. Depending on the application and optimization strategy, we observe extensive overheads of factor 2 to 19 for prototype implementations of the full mitigation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Spectre Attacks: Exploiting Speculative Execution
Kocher, P., Genkin, D., Gruss, D., Haas, W., Hamburg, M., Lipp, M., Mangard, S., Prescher, T., Schwarz, M., & Yarom, Y. (2018) · arXiv · doi:10.48550/arxiv.1801.01203 · Cited by 1,850
Self-citationSpectre Attacks: Exploiting Speculative Execution
Kocher, P., Horn, J., Fogh, A., Genkin, D., Gruss, D., Haas, W., Hamburg, M., Lipp, M., Mangard, S., Prescher, T., et al. (2019) · 2019 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2019.00002 · Cited by 1,780
Self-citationMeltdown: reading kernel memory from user space
Lipp, M., Schwarz, M., Gruss, D., Prescher, T., Haas, W., Fogh, A., Horn, J., Mangard, S., Kocher, P. C., Genkin, D., et al. (2018) · USENIX Security Symposium · Cited by 1,498
Self-citation(2016) · IACR Cryptology ePrint Archive · Cited by 1,288
The geometry of innocent flesh on the bone: return-into-libc without function calls (on the x86)
Shacham, H. (2007) · Proceedings of the 14th ACM conference on Computer and communications security · doi:10.1145/1315245.1315313 · Cited by 1,280
Flipping bits in memory without accessing them: an experimental study of DRAM disturbance errors
Kim, Y., Daly, R., Kim, J., Fallin, C., Lee, J. H., Lee, D., Wilkerson, C., Lai, K., & Mutlu, O. (2014) · ACM SIGARCH Computer Architecture News · doi:10.1145/2678373.2665726 · Cited by 921 · cited 1×
“…transient window: A final challenge is that, unlike traditional fault-injection attacks that cause persistent bit flips at the architectural level [36, 47, 59], LVI attackers can only disturb victim computations for a limited time interval before the CPU eventually catches up, detects the fault,…”
Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems
Xu, Y., Cui, W., & Peinado, M. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.45 · Cited by 713 · cited 5×
“However, previous work showed that Intel SGX root attackers can mount high-resolution, low-noise side-channel attacks through the cache [7, 46, 52], branch predictors [15, 24, 40], page-table accesses [63, 65, 71], or interrupt timing [64].”
BackgroundMethodInfluentialValue locality and load value prediction
Lipasti, M. H., Wilkerson, C. B., & Shen, J. P. (1996) · Proceedings of the seventh international conference on Architectural support for programming languages and operating systems · doi:10.1145/237090.237173 · Cited by 672 · cited 1×
“…affected by Spectre-STL mitigations, which disable the memory disambiguation predictor in microcode or hardware. c) LVI vs. value prediction: While value prediction has already been proposed more than two decades ago [41, 69], commercial CPUs do not implement it yet due to complexity concerns [49].”
BackgroundJump-oriented programming: a new class of code-reuse attack
Bletsch, T., Jiang, X., Freeh, V. W., & Liang, Z. (2011) · Proceedings of the 6th ACM Symposium on Information, Computer and Communications Security · doi:10.1145/1966913.1966919 · Cited by 553 · cited 1×
“Adopting established techniques from jump-oriented [5] and return-oriented programming (ROP) [56], second-stage gadgets can further be chained together to compose arbitrary transient instruction sequences.”
MethodA survey of microarchitectural timing attacks and countermeasures on contemporary hardware
Ge, Q., Yarom, Y., Cock, D., & Heiser, G. (2018) · Journal of Cryptographic Engineering · doi:10.1007/s13389-016-0141-6 · Cited by 368 · cited 1×
“Hence, LVI can even target side-channel resistant constant-time code [16].”
BackgroundSelf-citation{CLKSCREW}: Exposing the Perils of Security-Oblivious Energy Management
Tang, A., Sethumadhavan, S., & Stolfo, S. J. (2017) · USENIX Security Symposium · Cited by 342
Malware Guard Extension: Using SGX to Conceal Cache Attacks
Schwarz, M., Weiser, S., Gruss, D., Maurice, C., & Mangard, S. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-60876-1_1 · Cited by 339 · cited 2×
“However, previous work showed that Intel SGX root attackers can mount high-resolution, low-noise side-channel attacks through the cache [7, 46, 52], branch predictors [15, 24, 40], page-table accesses [63, 65, 71], or interrupt timing [64].”
BackgroundSelf-citationZombieLoad: Cross-Privilege-Boundary Data Sampling
Schwarz, M., Lipp, M., Moghimi, D., Van Bulck, J., Stecklina, J., Prescher, T., & Gruss, D. (2019) · Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3319535.3354252 · Cited by 328 · cited 10×
“Finally, more recent works showed that Meltdown-type effects are not limited to architectural exceptions, but also exist for assisted loads [9, 53, 67].”
BackgroundMethodInfluentialSelf-citationTelling your secrets without page faults: stealthy page table-based attacks on enclaved execution
Bulck, J. V., Weichbrodt, N., Kapitza, R., Piessens, F., & Strackx, R. (2017) · Lirias · Cited by 325
Self-citationSgxPectre: Stealing Intel Secrets from SGX Enclaves Via Speculative Execution
Chen, G., Chen, S., Xiao, Y., Zhang, Y., Lin, Z., & Lai, T. H. (2019) · 2019 IEEE European Symposium on Security and Privacy (EuroS&P) · doi:10.1109/eurosp.2019.00020 · Cited by 319 · cited 5×
“The attacker now succeeded to redirect transient control flow to an arbitrary P3 gadget address in the enclave code, which may subsequently lead to QE private key disclosure [11].”
BackgroundMethodInfluentialPlundervolt: Software-based Fault Injection Attacks against Intel SGX
Murdock, K., Oswald, D., Garcia, F. D., Van Bulck, J., Gruss, D., & Piessens, F. (2020) · 2020 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp40000.2020.00057 · Cited by 314 · cited 2×
“In this case study, we show that LVI-NULL can be exploited to perform a cryptographic fault attack [47, 59] on Intel’s constant-time AES-NI hardware extension.”
BackgroundMethodSelf-citationRIDL: Rogue In-Flight Data Load
van Schaik, S., Milburn, A., Osterlund, S., Frigo, P., Maisuradze, G., Razavi, K., Bos, H., & Giuffrida, C. (2019) · 2019 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2019.00087 · Cited by 310
A Systematic Evaluation of Transient Execution Attacks and DefensesPreprint
Canella, C., Bulck, J. V., Schwarz, M., Lipp, M., von Berg, B., Ortner, P., Piessens, F., Evtyushkin, D., & Gruss, D. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1811.05441 · Cited by 298
Self-citationOn the power of simple branch prediction analysis
Aciiçmez, O., Koç, Ç. K., & Seifert, J.-P. (2007) · Proceedings of the 2nd ACM symposium on Information, computer and communications security · doi:10.1145/1229285.1266999 · Cited by 254 · cited 1×
“BTB SBPA [1], BranchShadow [40] Spectre-BTB [38]”
InvisiSpec: Making Speculative Execution Invisible in the Cache Hierarchy
Yan, M., Choi, J., Skarlatos, D., Morrison, A., Fletcher, C., & Torrellas, J. (2018) · 2018 51st Annual IEEE/ACM International Symposium on Microarchitecture (MICRO) · doi:10.1109/micro.2018.00042 · Cited by 254 · cited 2×
“While potentially harder to exploit than previous Meltdown-type attacks, LVI shows that Meltdown-type incorrect transient forwarding effects are not as easy to fix as expected [10, 42, 72].”
BackgroundResultCacheZoom: How SGX Amplifies the Power of Cache Attacks
Moghimi, A., Irazoqui, G., & Eisenbarth, T. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-66787-4_4 · Cited by 237
Software Grand Exposure: SGX Cache Attacks Are Practical
Brasser, F., Müller, U., Dmitrienko, A., Kostiainen, K., Čapkun, S., & Sadeghi, A. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1702.07521 · Cited by 234 · cited 1×
“However, previous work showed that Intel SGX root attackers can mount high-resolution, low-noise side-channel attacks through the cache [7, 46, 52], branch predictors [15, 24, 40], page-table accesses [63, 65, 71], or interrupt timing [64].”
BackgroundInferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
Lee, S., Shih, M.-W., Gera, P., Kim, T., Kim, H., & Peinado, M. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1611.06952 · Cited by 227 · cited 2×
“However, previous work showed that Intel SGX root attackers can mount high-resolution, low-noise side-channel attacks through the cache [7, 46, 52], branch predictors [15, 24, 40], page-table accesses [63, 65, 71], or interrupt timing [64].”
BackgroundFallout: Leaking Data on Meltdown-resistant CPUs
Canella, C., Genkin, D., Giner, L., Gruss, D., Lipp, M., Minkin, M., Moghimi, D., Piessens, F., Schwarz, M., Sunar, B., et al. (2019) · Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3319535.3363219 · Cited by 215 · cited 10×
“Finally, more recent works showed that Meltdown-type effects are not limited to architectural exceptions, but also exist for assisted loads [9, 53, 67].”
BackgroundMethodInfluentialSelf-citationRetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
Dinesh, S., Burow, N., Xu, D.-Y., & Payer, M. (2020) · IEEE Symposium on Security and Privacy · doi:10.1109/sp40000.2020.00009 · Cited by 214 · cited 1×
“A compiler, or even a binary rewriter [14], can add an lfence instruction to ensure that any dependent operations can only be executed after the load instruction has successfully retired.”
BackgroundSpeculative Buffer Overflows: Attacks and DefensesPreprint
Kiriansky, V., & Waldspurger, C. A. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1807.03757 · Cited by 207 · cited 1×
“Following a recent classification [10], we refer to attacks exploiting misprediction [23, 37, 38, 39, 44] as Spectre-type, and attacks exploiting transient execution after a fault or microcode assist [9, 42, 53, 57, 61, 67] as Meltdown-type.”
MethodSMoTherSpectre: Exploiting Speculative Execution through Port Contention
Bhattacharyya, A., Sandulescu, A., Neugschwandtner, M., Sorniotti, A., Falsafi, B., Payer, M., & Kurmus, A. (2019) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3319535.3363194 · Cited by 206 · cited 1×
“The first category, Spectre-type attacks [4, 23, 38, 39, 44], trick a victim into transiently diverting from its intended execution path.”
Backgroundret2spec: Speculative Execution Using Return Stack Buffers
Maisuradze, G., & Rossow, C. (2018) · Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3243734.3243761 · Cited by 199 · cited 7×
“PHT BranchScope [15], Bluethunder [24] Spectre-PHT [38] BTB SBPA [1], BranchShadow [40] Spectre-BTB [38] RSB Hyper-Channel [8] Spectre-RSB [39, 44] STL — Spectre-STL [23] P r og r a m d a t a”
BackgroundMethodInfluentialSpectre Returns! Speculation Attacks Using the Return Stack Buffer
Koruyeh, E. M., Khasawneh, K. N., Song, C., & Abu-Ghazaleh, N. (2024) · IEEE Design & Test · doi:10.1109/mdat.2024.3352537 · Cited by 196
KASLR is Dead: Long Live KASLR
Gruss, D., Lipp, M., Schwarz, M., Fellner, R., Maurice, C., & Mangard, S. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-62105-0_11 · Cited by 195 · cited 1×
“Consequently, existing Meltdown mitigations focus on restricting the attacker’s point of view, e.g., placing victim data out of reach [20], flushing buffers after victim execution [25, 29], or zeroing unauthorized data flow directly at the silicon level [28].”
BackgroundSelf-citationSGX-Step: A Practical Attack Framework for Precise Enclave Execution Control
Van Bulck, J., Piessens, F., & Strackx, R. (2017) · Proceedings of the 2nd Workshop on System Software for Trusted Execution · doi:10.1145/3152701.3152706 · Cited by 179 · cited 5×
“…LVI gadget requires a more precise temporal granularity, privileged SGX attackers can leverage a single-stepping interrupt attack framework like SGX-Step [63] to manipulate PTEs and revoke enclave-page permissions precisely at instruction-level granularity. b) Generalization to other environments.”
BackgroundMethodInfluentialSelf-citationA Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding Runtimes
Bulck, J. V., Oswald, D., Marin, E., Aldoseri, A., Garcia, F. D., & Piessens, F. (2019) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3319535.3363206 · Cited by 178 · cited 5×
“As a generic software hardening measure, we suggest that pointer sanitization logic [62] further restricts the attacker’s control over page offset address bits for unprotected input and output buffers.”
BackgroundInfluentialSelf-citationBranchScope: A New Side-Channel Attack on Directional Branch Predictor
Evtyushkin, D., Riley, R., Abu-Ghazaleh, N. C. A. E., & Ponomarev, D. (2018) · Proceedings of the Twenty-Third International Conference on Architectural Support for Programming Languages and Operating Systems · doi:10.1145/3173162.3173204 · Cited by 177 · cited 2×
“However, previous work showed that Intel SGX root attackers can mount high-resolution, low-noise side-channel attacks through the cache [7, 46, 52], branch predictors [15, 24, 40], page-table accesses [63, 65, 71], or interrupt timing [64].”
BackgroundNemesis: Studying Microarchitectural Timing Leaks in Rudimentary CPU Interrupt Logic
Bulck, J. V., Piessens, F., & Strackx, R. (2018) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3243734.3243822 · Cited by 171
Self-citationLazyFP: Leaking FPU Register State using Microarchitectural Side-ChannelsPreprint
Stecklina, J., & Prescher, T. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1806.07480 · Cited by 124 · cited 7×
“Furthermore, we found that certain software mitigations, which were deployed to prevent Meltdown-type data leakages, also unintentionally thwart their LVI counterparts, e.g., eager FPU switching [57] and PTE inversion [12].”
BackgroundMethodInfluentialForeshadow-NG: Breaking the virtual memory abstraction with transient out-of-order execution
Weisse, O., Bulck, J. V., Minkin, M., Genkin, D., Kasikci, B., Piessens, F., Silberstein, M., Strackx, R., Wenisch, T. F., & Yarom, Y. (2018) · Lirias · Cited by 119
Self-citationPractical Enclave Malware with Intel SGX
Schwarz, M., Weiser, S., & Gruss, D. (2019) · Lecture notes in computer science · doi:10.1007/978-3-030-22038-9_9 · Cited by 93
Self-citationSgxPectre Attacks: Stealing Intel Secrets from SGX Enclaves via Speculative ExecutionPreprint
Chen, G., Chen, S., Xiao, Y., Zhang, Y., Lin, Z., & Lai, T. H. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1802.09085 · Cited by 84 · cited 5×
“The attacker now succeeded to redirect transient control flow to an arbitrary P3 gadget address in the enclave code, which may subsequently lead to QE private key disclosure [11].”
BackgroundMethodInfluentialBluethunder: A 2-level Directional Predictor Based Side-Channel Attack against SGX
Huo, T., Meng, X., Wang, W., Hao, C., Zhao, P. H., Zhai, J., & Li, M. (2019) · IACR Transactions on Cryptographic Hardware and Embedded Systems · doi:10.46586/tches.v2020.i1.321-347 · Cited by 83
SPOILER: Speculative Load Hazards Boost Rowhammer and Cache AttacksPreprint
Islam, S., Moghimi, D., Bruhns, I., Krebbel, M., Gülmezoğlu, B., Eisenbarth, T., & Sunar, B. (2019) · arXiv (Cornell University) · doi:10.13140/rg.2.2.19122.15041 · Cited by 82
Self-citationGruss, D., Kraft, E., Tiwari, T., Schwarz, M., Trachtenberg, A., Hennessey, J., Ionescu, A., & Fogh, A. (2019) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3319535.3339809 · Cited by 62 · cited 2×
“Depending on the underlying OS or hypervisor implementation and configuration, an attacker can forcefully evict selected virtual memory pages belonging to the victim via legacy interfaces or by increasing physical memory utilization [19].”
BackgroundSelf-citationExSpectre: Hiding Malware in Speculative Execution
Wampler, J., Martiny, I., & Wustrow, E. (2019) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2019.23409 · Cited by 33 · cited 4×
“Note that prior research [68] on Spectre-type attacks has shown that transient execution may fit a significant number of AES-NI decryptions (over 100 rounds on modern Intel processors).”
BackgroundMethodInfluentialOn the Spectre and Meltdown Processor Security Vulnerabilities
Hill, M. D., Masters, J., Ranganathan, P., Turner, P. A., & Hennessy, J. L. (2019) · IEEE Micro · doi:10.1109/mm.2019.2897677 · Cited by 30 · cited 1×
“Our findings challenge prior views that, unlike Spectre, Meltdown-type threats could be eradicated straightforwardly at the operating system or hardware levels [10, 18, 22, 45, 72].”
ResultStore-to-Leak Forwarding: Leaking Data on Meltdown-resistant CPUsPreprint
Schwarz, M., Canella, C., Giner, L., & Gruss, D. (2019) · arXiv (Cornell University) · Cited by 24
Self-citationConTExT: Leakage-Free Transient ExecutionPreprint
Schwarz, M., Schilling, R., Kargl, F., Lipp, M., Canella, C., & Gruss, D. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.09100 · Cited by 23 · cited 1×
“To inhibit transient null-pointer dereferences in LVI-NULL exploits, we propose that microcode marks the memory page at virtual address zero as uncacheable [6, 54, 58].”
BackgroundSelf-citation(2018) · Lirias (KU Leuven)
Cited by
A survey on the (in)security of trusted execution environments
Muñoz, A., Ríos, R., Román, R., & López, J. (2023) · Computers & Security · doi:10.1016/j.cose.2023.103180 · Cited by 131
“Foreshadow (Weisse et al., 2018), Micro-architectural Data Sampling (Van Schaik et al., 2019; Minkin et al., 2019; Schwarz et al., 2019) and Load Value Injection (LVI) (Van Bulck et al., 2020) are attacks that belong to this category.”
BackgroundInfluential(2021) · doi:10.1109/isca52012.2021.00032 · Cited by 33
“, power-based fault injection [38]) are out of scope.”
BackgroundSoK: SGX.Fail: How Stuff Gets eXposed
Van Schaik, S., Seto, A., Yurek, T., Batori, A., AlBassam, B., Genkin, D., Miller, A., Ronen, E., Yarom, Y., & Garman, C. (2024) · 2024 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp54263.2024.00260 · Cited by 31
Self-citation
Metadata
- Authors
- Van Bulck, J., Moghimi, D., Schwarz, M., Lippi, M., Minkin, M., Genkin, D., Yarom, Y., Sunar, B., Gruss, D., & Piessens, F.
- Venue
- 2020 IEEE Symposium on Security and Privacy (SP)
- Publisher
- IEEE
- Published
- 2020-05
- Pages
- 54-72
- ISSN
- 1081-6011 (ISSN-L)
- OpenAlex
- W3015844221
- Cited by
- 205
- References
- 46
- FWCI
- 12.90
- Type
- conference paper
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.