当前位置:首页 > 报告详情

爱德华·波钦与陶燕与曲波_让缓存缓存让WebAssembly组装敲响Chrome的壳.pdf

上传人: 张** 编号:175546 2024-09-13 102页 3.50MB

1、#BHUSA BlackHatEventsLet the Cache Cache and Let the WebAssembly Assemble:Knocking on Chromes ShellEdouard Bochin(le_douds),Tao Yan(Ga1ois)and Bo QuPalo Alto Networks#BHUSA BlackHatEvents2About UsSecurity Researchers Offensive Research:MSRC Top 10*times100+CVEs in Browser,Office,Windows,PDF,etc.Defe

2、nsive research:Threat analysis,detection researchPatent Inventors:New defense and detection techniquesPwn2Own Winners Chrome/MSEdgeDouble Tap Pwn2Own 2024 Vancouver Windows Escalation of Privilege Pwn2Own 2021 Vancouver Conference Speakers Black Hat(USA,EU,Asia,MEA)CanSecWest Blue Hat POC HITCON Vir

3、us Bulletin REcon Etc.#BHUSA BlackHatEvents3Agenda Introduction Let the Cache Cache Tricking V8 engine enum cache Exploiting the enum cache vulnerability Let the WebAssembly Assemble The V8 Sandbox and WebAssembly internals Escaping the V8 Sandbox with the novel“field confusion”technique Putting It

4、All Together Summary&Takeaways#BHUSA BlackHatEvents4IntroductionTypical V8 exploit chain targeting Google Chrome without V8 SandboxChrome Sandbox Escape/OS KernelVulnV8 VulnMemory CorruptionArbitrary Read/WriteRenderer Code ExecutionCode Execution Outside Chrome#BHUSA BlackHatEvents5IntroductionTypi

5、cal V8 exploit chain targeting Google Chrome with V8 SandboxExploit Primitives outside V8 SandboxV8 VulnMemory CorruptionArbitrary Read/WriteV8 Sandbox EscapeCode Execution Outside ChromeRenderer Code ExecutionChrome Sandbox Escape/OS KernelVuln(Inside V8 Sandbox)#BHUSA BlackHatEvents6V8 SandboxExte

6、rnal ObjectObject1Object2Raw 64bits pointerRaw 64bits pointerBefore V8 Sandbox Beta(Chrome M123)all existing sandbox escape techniques relied on raw pointers stored inside the V8 Sandbox.V8 Sandbox Beta release removed all the raw pointers from the Sandbox,killing all the publicly available techniqu

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文主要介绍了如何利用Chrome的V8引擎中的枚举缓存漏洞(CVE-2023-4427)和WebAssembly的内部机制来逃逸V8沙箱。关键点包括: 1. 介绍了V8沙箱的内部结构,包括外部对象表和可信指针表。 2. 利用枚举缓存漏洞(CVE-2023-4427)通过控制OOB读的偏移量,创建了一个伪造对象(fakeobj)的原语。 3. 通过高级的堆操作技术,从fakeobj原语中派生出更强大的原语:任意地址读写(addrOf, arbitrary read, arbitrary write),解决了利用的稳定性问题。 4. 使用这些原语进行“字段混淆”,劫持WASM的调用目标地址,跳转到WASM RWX内存中的一个可控偏移量,直接执行沙箱外的shellcode。 5. 展示了如何将这种利用方式应用于Chrome和基于Chromium的Edge浏览器,实现了一次攻击影响两个浏览器的效果。 总结:本文通过深入研究V8引擎和WebAssembly的内部机制,提出了一种新的V8沙箱逃逸方法,展示了如何将一个OOB读漏洞转化为强大的代码执行能力,对浏览器安全研究具有重要的参考价值。
如何利用V8引擎枚举缓存漏洞实现沙箱逃逸? 如何通过字段混淆技术实现V8沙箱的代码执行? 如何将V8沙箱逃逸与WebAssembly结合实现更强大的攻击?
客服
商务合作
小程序
服务号
折叠