On the power of simple branch prediction analysis
The DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.
Abstract
Very recently, a new software side-channel attack, called Branch Prediction Analysis (BPA) attack, has been discovered and also demonstrated to be practically feasible on popular commodity PC platforms. While the above recent attack still had the flavor of a classical timing attack against RSA, where one uses many execution-time measurements under the same key in order to statistically amplify some small but key-dependent timing differences, we dramatically improve upon the former result. We prove that a carefully written spy-process running simultaneously with an RSA-process, is able to collect during one single RSA signing execution almost all of the secret key bits. We call such an attack, analyzing the CPU's Branch Predictor states through spying on a single quasi-parallel computation process, a Simple Branch Prediction Analysis (SBPA) attack --- sharply differentiating it from those one relying on statistical methods and requiring many computation measurements under the same key. The successful extraction of almost all secret key bits by our SBPA attack against an openSSL RSA implementation proves that the often recommended blinding or so called randomization techniques to protect RSA against side-channel attacks are, in the context of SBPA attacks, totally useless. Additional to that very crucial security implication, targeted at such implementations which are assumed to be at least statistically secure, our successful SBPA attack also bears another equally critical security implication. Namely, in the context of simple side-channel attacks, it is widely believed that equally balancing the operations after branches is a secure countermeasure against such simple attacks. Unfortunately, this is not true, as even such "balanced branch" implementations can be completely broken by our SBPA attacks. Moreover, despite sophisticated hardware-assisted partitioning methods such as memory protection, sandboxing or even virtualization, SBPA attacks empower an unprivileged process to successfully attack other processes running in parallel on the same processor. Thus, we conclude that SBPA attacks are much more dangerous than previously anticipated, as they obviously do not belong to the same category as pure timing attacks.
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
Handbook of applied cryptography
(1997) · Choice Reviews Online · doi:10.5860/choice.34-4512 · Cited by 10,357
Computer Architecture: A Quantitative Approach
Hennessy, J. L., & Patterson, D. A. (1989) · UCLA - Biblioteca de Ciencias y Tecnologia Felix Morales Bueno · Cited by 9,374
Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems
Kocher, P. C. (1996) · Lecture Notes in Computer Science · doi:10.1007/3-540-68697-5_9 · Cited by 4,387
Proceedings of the 11th USENIX Security Symposium
Boneh, D. (2002) · Cited by 2,530
Silberschatz, A., Galvin, P., & Gagne, G. (1983) · Cited by 1,578
Cache Attacks and Countermeasures: The Case of AES
Osvik, D. A., Shamir, A., & Tromer, E. (2006) · Lecture Notes in Computer Science · doi:10.1007/11605805_1 · Cited by 1,352
IEEE Symposium on Security and Privacy
(2023) · IT Professional · doi:10.1109/mitp.2023.3246667 · Cited by 1,167
Computer Architecture: A Quantitative Approach, 2nd Edition
Hennessy, J. L., & Patterson, D. A. (1996) · Cited by 1,015
Remote timing attacks are practical
Brumley, D., & Boneh, D. (2005) · Computer Networks · doi:10.1016/j.comnet.2005.01.010 · Cited by 871
Intel virtualization technology
Uhlig, R., Neiger, G., Rodgers, D., Santoni, A. L., Martins, F. C. M., Anderson, A. V., Bennett, S., Kägi, A., Leung, F., & Smith, L. M. (2005) · Computer · doi:10.1109/mc.2005.163 · Cited by 757
Cited by
Hey, you, get off of my cloud: exploring information leakage in third-party compute clouds
Ristenpart, T., Tromer, E., Shacham, H., & Savage, S. (2009) · Proceedings of the 16th ACM conference on Computer and communications security · doi:10.1145/1653662.1653687 · Cited by 2,053
Last-Level Cache Side-Channel Attacks are Practical
Liu, F., Yarom, Y., Ge, Q., Heiser, G., & Lee, R. B. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.43 · Cited by 1,009
Cross-VM side channels and their use to extract private keys
Zhang, Y., Juels, A., Reiter, M. K., & Ristenpart, T. (2012) · Proceedings of the 2012 ACM conference on Computer and communications security · doi:10.1145/2382196.2382230 · Cited by 787
Efficient Cache Attacks on AES, and Countermeasures
Tromer, E., Osvik, D. A., & Shamir, A. (2010) · Journal of Cryptology · doi:10.1007/s00145-009-9049-y · Cited by 444
A 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
HomeAlone: Co-residency Detection in the Cloud via Side-Channel Analysis
Zhang, Y., Juels, A., Oprea, A., & Reiter, M. K. (2011) · 2011 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2011.31 · Cited by 340
CacheZoom: 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
Yet another MicroArchitectural Attack: exploiting I-Cache
Aciiçmez, O. (2007) · Proceedings of the 2007 ACM workshop on Computer security architecture · doi:10.1145/1314466.1314469 · Cited by 232
“On simultaneous multi-threading systems, the spy routine does not even need to interrupt the cipher execution and can observe it “on-the-fly” as done in [32, 1].”
BackgroundMethodInfluentialInferring 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
“, the LBR) or measuring branch misprediction penalty [3, 12, 13].”
BackgroundPractical Mitigations for Timing-Based Side-Channel Attacks on Modern x86 Processors
Coppens, B., Verbauwhede, I., De Bosschere, K., & De Sutter, B. (2009) · 2009 30th IEEE Symposium on Security and Privacy · doi:10.1109/sp.2009.19 · Cited by 215
“Similar attacks have been devised by means of shared branch prediction tables [11], and by means of contention for functional units in modern processors that support simultaneous multithreading.”
BackgroundMethodLVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
Van Bulck, J., Moghimi, D., Schwarz, M., Lippi, M., Minkin, M., Genkin, D., Yarom, Y., Sunar, B., Gruss, D., & Piessens, F. (2020) · 2020 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp40000.2020.00089 · Cited by 205
“BTB SBPA [1], BranchShadow [40] Spectre-BTB [38]”
Düppel: retrofitting commodity operating systems to mitigate cache side channels in the cloud
Zhang, Y., & Reiter, M. K. (2013) · Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13 · doi:10.1145/2508859.2516741 · Cited by 189
“The attacker program monitors usage of a shared hardware component to learn information about the key, e.g., the data cache [27, 25, 24, 31, 13], instruction cache [1, 2, 38], floating-point multiplier [5], or branch-prediction cache [4, 3].”
BackgroundBranchScope: 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
“Previous work has specifically targeted the BTB to create side channels [1, 3, 21, 36].”
BackgroundNew Results on Instruction Cache Attacks
Acıiçmez, O., Brumley, B. B., & Grabher, P. (2010) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-15031-9_8 · Cited by 168
“In: Topics in Cryptology — CT-RSA 2007.”
BackgroundMicrowalk: A framework for finding side channels in binaries
Wichelmann, J., Moghimi, A., Eisenbarth, T., & Sunar, B. (2018) · Proceedings of the 34th Annual Computer Security Applications Conference · doi:10.1145/3274694.3274741 · Cited by 74
“e.g. shared FPGA platforms [81, 106], and microarchitectural attacks [36]. Microarchitectural attacks exploit shared hardware features such as cache [13, 16, 74, 78, 99], branch prediction unit (BPU) [2, 3, 33], memory order buffer (MOB) [69, 92] and speculative execution engine [58, 64] to extract secrets from a proc…”
Background
Metadata
- Authors
- Aciiçmez, O., Koç, Ç. K., & Seifert, J.-P.
- Venue
- Proceedings of the 2nd ACM symposium on Information, computer and communications security
- Publisher
- ACM
- Published
- 2007-03-20
- Pages
- 312-320
- OpenAlex
- W2056778557
- Cited by
- 254
- References
- 31
- FWCI
- 9.54
- Type
- conference paper
- Language
- en
- Open access
- closed
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.