SpecTaint: Speculative Taint Analysis for Discovering Spectre Gadgets

48Citations
Citations of this article
39Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Software patching is a crucial mitigation approach against Spectre-type attacks. It utilizes serialization instructions to disable speculative execution of potential Spectre gadgets in a program. Unfortunately, there are no effective solutions to detect gadgets for Spectre-type attacks. In this paper, we propose a novel Spectre gadget detection technique by enabling dynamic taint analysis on speculative execution paths. To this end, we simulate and explore speculative execution at system level (within a CPU emulator). We have implemented a prototype called SpecTaint to demonstrate the efficacy of our proposed approach. We evaluated SpecTaint on our Spectre Samples Dataset, and compared SpecTaint with existing state-of-the-art Spectre gadget detection approaches on real-world applications. Our experimental results demonstrate that SpecTaint outperforms existing methods with respect to detection precision and recall by large margins, and it also detects new Spectre gadgets in real-world applications such as Caffe and Brotli. Besides, SpecTaint significantly reduces the performance overhead after patching the detected gadgets, compared with other approaches.

Cite

CITATION STYLE

APA

Qi, Z., Feng, Q., Cheng, Y., Yan, M., Li, P., Yin, H., & Wei, T. (2021). SpecTaint: Speculative Taint Analysis for Discovering Spectre Gadgets. In 28th Annual Network and Distributed System Security Symposium, NDSS 2021. The Internet Society. https://doi.org/10.14722/ndss.2021.24466

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free