安全与密码学2020arxiv.org
寄存器推测性解引用:复活 Foreshadow
Speculative Dereferencing of Registers: Reviving Foreshadow
专业 · 约 45 分钟读完前置知识:CPU 微架构、推测执行、缓存侧信道
导读
论文研究“寄存器推测解引用”(speculative dereferencing of registers)这一微架构行为,并将其与 Foreshadow(L1TF)类攻击重新联系起来,说明该攻击面可被再次利用。核心在于展示推测执行对寄存器值的解引用如何造成 Foreshadow 式泄漏,提醒现有 CPU 缓解措施需重新评估。
HN 关注点:这类 CPU 侧信道漏洞的现实威胁,以及缓解措施带来的性能损失和能否按进程灵活启用。
HN 评论精选
这几条评论里:质疑 1 补充 2 亲历 1
亲历希望按进程启用缓解,避免编译和测试承受性能损失。
Linux 有开关可以关闭缓解措施来换回性能,macOS 和 Windows 大概也有类似选项。我的开发机上跑未认证工作负载的基本只有浏览器和邮件客户端。有没有办法全局关闭缓解、再按进程启用?浏览时承受 10–30% 性能损失我不太在意,但编译/测试时很在意。
spockz查看英文原文
Linux has flags that allow disabling mitigations to get performance back. MacOS and Windows probably have the same. Pretty much the only thing that is running unauthenticated workloads on my dev machine are my browser and mail client. Is there a way to disable the mitigation’s globally but enable them per process? I don’t mind much getting a 10-30% performance hit on browsing, but I do mind when compiling/testing things.
补充用 30 年前共享 Unix 的类比说明同机侧信道威胁模型并不新鲜。
我突然想到:假设 30 年前,我对一个共用 Unix 系统访问权限的同事说,“你知道我可以用 ps 看到你在跑哪些进程。如果我知道那些二进制程序的某些缺陷细节,我可能能在系统上同时运行一个自定义二进制程序,从而推断出你的一些数据!”对方会惊讶或警觉吗?
diskmuncher查看英文原文
A thought just came to my mind. Let's say 30 years ago, I said to a colleague with whom I shared accesses to some Unix systems, "You know, I can use 'ps' to see what processes you are running. If I know the details about certain flaws of those binaries, I may be able to run a custom binary simultaneously on the system and figure out some of your data!" Would he/she be surprised or alarmed?
补充指出应链接到 arXiv 摘要页而非 PDF。
能不能把链接改成论文正式页面?Speculative Dereferencing of Registers: Reviving Foreshadow,Martin Schwarzl, Thomas Schuster, Michael Schwarz, Daniel Gruss,https://arxiv.org/abs/2008.02307
aspenmayer查看英文原文
Can we change the link to the actual paper? Speculative Dereferencing of Registers:Reviving Foreshadow Martin Schwarzl, Thomas Schuster, Michael Schwarz, Daniel Gruss https://arxiv.org/abs/2008.02307
质疑质疑文章可读性/结构,希望有更好的解读材料。
有没有更好的文章?也许我只是累了,但这篇看起来结构不太连贯。
kristopolous查看英文原文
Is there a better article than this? Maybe I'm just tired but this doesn't seem to be very coherently structured.
相关资源
从这篇论文所有 HN 讨论帖的全部评论里整理出来的链接。
历次讨论
- 2020Hacker News 讨论帖168 分 · 53 评
同领域还值得读
如何入侵一台已关机的电脑:在 Intel ME 中运行未签名代码
How to hack a turned-off computer, or running unsigned code in Intel ME
这篇 Black Hat 2017 白皮书讨论 Intel Management Engine(ME)的安全问题:如何在 ME 中运行未签名代码,以及攻破处于关机状态的电脑的相关…
安全与密码学2017 · 543 分 · 107 评专业 · 约 40 分钟编辑精选比特币:一种点对点的电子现金系统(2008)
Bitcoin: A Peer-to-Peer Electronic Cash System (2008)
中本聪 2008 年发表的比特币白皮书,提出了无需可信第三方的点对点电子现金系统。
安全与密码学2017 · 536 分 · 394 评入门 · 约 45 分钟编辑精选GPRS 加密算法 GEA-1 的密码分析表明存在故意弱点
Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest intentional weakness
首次公开了对 GPRS 加密算法 GEA-1 和 GEA-2 的密码分析攻击。
安全与密码学2021 · 487 分 · 107 评专业 · 约 90 分钟编辑精选Signal 消息协议的形式化安全分析
A Formal Security Analysis of the Signal Messaging Protocol
用形式化方法分析 Signal 消息协议(TextSecure)的安全性:作者在多阶段密钥交换模型下,借助自动化证明工具对协议的密钥协商与 Double Ratchet 密钥更新…
安全与密码学2016 · 353 分 · 230 评专业 · 约 120 分钟编辑精选A2:模拟恶意硬件
A2: Analog Malicious Hardware
论文研究如何在芯片设计阶段植入模拟电路形式的恶意硬件后门,使其难以被常规检测发现。
安全与密码学2016 · 315 分 · 94 评专业 · 约 75 分钟编辑精选