Lune

USENIX Security2017顶会

On the effectiveness of mitigations against floating-point timing channels

David Kohlbrenner, Hovav Shacham

摘要

The duration of floating-point instructions is a known timing side channel that has been used to break Same-Origin Policy (SOP) privacy on Mozilla Firefox and the Fuzz differentially private database. Several defenses have been proposed to mitigate these attacks.

We present detailed benchmarking of floating point performance for various operations based on operand values. We identify families of values that induce slow and fast paths beyond the classes (normal, subnormal, etc.) considered in previous work, and note that different processors exhibit different timing behavior.

We evaluate the efficacy of the defenses deployed (or not) in Web browsers to floating point side channel attacks on SVG filters. We find that Google Chrome, Mozilla Firefox, and Apple's Safari have insufficiently addressed the floating-point side channel, and we present attacks for each that extract pixel data cross-origin on most platforms.

We evaluate the vector-operation based defensive mechanism proposed at USENIX Security 2016 by Rane, Lin and Tiwari and find that it only reduces, not eliminates, the floating-point side channel signal.

Together, these measurements and attacks cause us to conclude that floating point is simply too variable to use in a timing security sensitive context.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution Attacks 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
  • Towards Verified, Constant-time Floating Point Operations 引用了 Verifying Constant-Time Implementations
  • Towards Verified, Constant-time Floating Point Operations 引用了 Secure, Precise, and Fast Floating-Point Operations on x86 Processors
  • IODINE: Verifying Constant-Time Execution of Hardware 引用了 Towards Verified, Constant-time Floating Point Operations
  • IODINE: Verifying Constant-Time Execution of Hardware 引用了 Verifying Constant-Time Implementations
  • IODINE: Verifying Constant-Time Execution of Hardware 引用了 Secure, Precise, and Fast Floating-Point Operations on x86 Processors
  • Spook.js: Attacking Chrome Strict Site Isolation via Speculative Execution 引用了 Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution Attacks
  • Spook.js: Attacking Chrome Strict Site Isolation via Speculative Execution 引用了 Trusted Browsers for Uncertain Times
  • Rendered Private: Making GLSL Execution Uniform to Prevent WebGL-based Browser Fingerprinting 引用了 Towards Verified, Constant-time Floating Point Operations
  • Rendered Private: Making GLSL Execution Uniform to Prevent WebGL-based Browser Fingerprinting 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
  • Rendered Private: Making GLSL Execution Uniform to Prevent WebGL-based Browser Fingerprinting 引用了 Secure, Precise, and Fast Floating-Point Operations on x86 Processors
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper22

  1. Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution AttacksHany Ragab, Enrico Barberis, Herbert Bos, Cristiano GiuffridaUSENIX Security 2021 · 76 次引用
  2. IODINE: Verifying Constant-Time Execution of HardwareKlaus von Gleissenthall, Rami Gökhan Kici, Deian Stefan, Ranjit JhalaUSENIX Security 2019 · 45 次引用
  3. Towards Verified, Constant-time Floating Point OperationsMarc Andrysco, Andres Nötzli, Fraser Brown, Ranjit Jhala 等CCS 2018 · 33 次引用
  4. Spook.js: Attacking Chrome Strict Site Isolation via Speculative ExecutionAyush Agarwal, Sioli O'Connell, Jason Kim, Shaked Yehezkel 等S&P 2022 · 32 次引用
  5. Rendered Private: Making GLSL Execution Uniform to Prevent WebGL-based Browser FingerprintingShujiang Wu, Song Li, Yinzhi Cao, Ningfei WangUSENIX Security 2019 · 27 次引用

它引用的 Paper4

  1. ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos 等NDSS 2017 · 276 次引用
  2. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir 等USENIX Security 2016 · 274 次引用
  3. Trusted Browsers for Uncertain TimesDavid Kohlbrenner, Hovav ShachamUSENIX Security 2016 · 83 次引用
  4. Secure, Precise, and Fast Floating-Point Operations on x86 ProcessorsAshay Rane, Calvin Lin, Mohit TiwariUSENIX Security 2016 · 34 次引用

相关 Paper

  1. Pixel Thief: Exploiting SVG Filter Leakage in Firefox and ChromeSioli O'Connell, Lishay Aben Sour, Ron Magen, Daniel Genkin 等USENIX Security 2024 · 5 次引用
  2. Extension Breakdown: Security Analysis of Browsers Extension Resources Control PoliciesIskander Sánchez-Rola, Igor Santos, Davide BalzarottiUSENIX Security 2017 · 67 次引用
  3. Rendering Contention Channel Made Practical in Web BrowsersShujiang Wu, Jianjia Yu, Min Yang, Yinzhi CaoUSENIX Security 2022
  4. Déjà Vu: Side-Channel Analysis of Mozilla's NSSSohaib ul Hassan, Iaroslav Gridin, Ignacio M. Delgado-Lozano, Cesar Pereida García 等CCS 2020 · 4 次引用
  5. Pool-Party: Exploiting Browser Resource Pools for Web TrackingPeter Snyder, Soroush Karami, Arthur Edelstein, Benjamin Livshits 等USENIX Security 2023
黄昏的海面,两侧是细线勾勒的悬崖