Dynamic Process Isolation
summary
Cloudflare Workers use in-process isolation for speed but allow Spectre-style transient attacks from JavaScript: a V8-based type‑confusion primitive reads 64‑bit addresses and achieves ~120 bits/hour leakage in a 30s worker. Defense samples hardware events via performance monitoring counters (rdpmc), normalizes by executed code, and uses a ~40K threshold to trigger dynamic process isolation (2% perf hit, ~1% false positives). Defense is implemented and deployed in production at Cloudflare and greatly reduces practical leakage.
AI-written summary · about
chapters (5)
- 0:00Start
- 13:27Pointer Compression
- 14:16How Javascript's Internal Implementation Works
- 18:15Performance Monitoring Counters
- 24:14Conclusion
related talks
29mIsolation without Containers
32mIsolation without Containers
22mHodor: Intra-Process Isolation for High-Throughput Data Plane Libraries
01h 28m“Spectre: Secrets, Side-Channels, Sandboxes, and Security”
43m“Closing Panel: Spectre”
20mIsolation without Containers
24mShielding Software From Privileged Side-Channel Attacks
33mGhosting the Spectre
