Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2105.00033v1

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Cryptography and Security

arXiv:2105.00033v1 (cs)
[Submitted on 30 Apr 2021 (this version), latest version 18 Nov 2021 (v3)]

Title:Isolation Without Taxation: Near Zero Cost Transitions for SFI

Authors:Matthew Kolosick, Shravan Narayan, Conrad Watt, Michael LeMay, Deepak Garg, Ranjit Jhala, Deian Stefan
View a PDF of the paper titled Isolation Without Taxation: Near Zero Cost Transitions for SFI, by Matthew Kolosick and Shravan Narayan and Conrad Watt and Michael LeMay and Deepak Garg and Ranjit Jhala and Deian Stefan
View PDF
Abstract:Almost all SFI systems use heavyweight transitions that incur significant performance overhead from saving and restoring registers when context switching between application and sandbox code. We identify a set of zero-cost conditions that characterize when sandboxed code is well-structured enough so that security can be guaranteed via lightweight zero-cost transitions. We show that using WebAssembly (Wasm) as an intermediate representation for low-level code naturally results in a SFI transition system with zero-cost transitions, and modify the Lucet Wasm compiler and its runtime to use zero-cost transitions. Our modifications speed up font and image rendering in Firefox by up to 29.7% and 10% respectively. We also describe a new purpose-built fast SFI system, SegmentZero32, that uses x86 segmentation and LLVM with mostly off-the-shelf passes to enforce our zero-cost conditions. While this enforcement incurs some runtime cost within the sandboxed code, we find that, on Firefox image and font rendering benchmarks, the time saved per transition allows SegmentZero32 to outperform even an idealized hardware isolation system where memory isolation incurs zero performance overhead but the use of heavyweight transitions is required.
Subjects: Cryptography and Security (cs.CR)
Cite as: arXiv:2105.00033 [cs.CR]
  (or arXiv:2105.00033v1 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2105.00033
arXiv-issued DOI via DataCite

Submission history

From: Matthew Kolosick [view email]
[v1] Fri, 30 Apr 2021 18:21:32 UTC (1,847 KB)
[v2] Tue, 16 Nov 2021 20:57:12 UTC (2,716 KB)
[v3] Thu, 18 Nov 2021 17:57:24 UTC (2,716 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Isolation Without Taxation: Near Zero Cost Transitions for SFI, by Matthew Kolosick and Shravan Narayan and Conrad Watt and Michael LeMay and Deepak Garg and Ranjit Jhala and Deian Stefan
  • View PDF
  • Other Formats
view license
Current browse context:
cs.CR
< prev   |   next >
new | recent | 2021-05
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Conrad Watt
Michael LeMay
Deepak Garg
Ranjit Jhala
Deian Stefan
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack