Capsicum: Practical Capabilities for UNIX

Channel:USENIX · Length:34:51 · Published:2010-08-18 · Views:11261

Watch on YouTube

Summary

Robert Watson presents the Capsicum paper at USENIX Security 2010, describing practical capability-based sandboxing for UNIX. The paper won Best Student Paper.

Why HN recommends it

Referenced as the authoritative talk on Capsicum, including comparisons of how little code it takes to sandbox programs versus SELinux.

to sandbox chromium with capsicum it took 100 LOC, to sandbox chromium with SELinux it took 200 LOC — HN, 2017

Operating systems & kernels · Security & hacking

Subtitles (excerpt)

So, good morning. Uh, my name is Robert Watson. I'll be telling you about Capsicum, practical capabilities for Unix. I'd like to start by acknowledging my co-authors, John Anderson, also at the University of Cambridge, uh, and Ben Luri and Chris Kennaway, who are at Google's London office. Uh, and also to thank, uh, Google for their sponsorship. Uh, this work is done collaboratively, uh, including with the Freeb project and a number of other open source projects. We tried to kind of explore the space uh of what was possible here. Uh the project's been going on for about two and a half years now. So we're kind of at a a midpoint and a good point to break and and talk about what we've been up to. Uh so Capsicum uh is a hybrid Unix capability operating system and there have been plenty of hybrids between Unix systems and capability systems before uh including uh mock certainly uh but also a number of other experiments. What we're interested in uh is the requirements of complex securityware applications. These are applications that have their own security models uh and are trying to do something complicated and interesting such as uh map the single origin policy found in the world web into local security primitives.

On Hacker News

> Sounds like a good use case for SELinux kinda, although you could implement sandboxing with SELinux it's going to take much more effort. SELinux is a Mandatory Access Control Framework and Capsicum is a hybrid Unix capabilities system. While there is overlap in what you can do with them they really our different sets of tools. Mandatory access controls are for system administrators to lock down… — 2trill2spill, 2017-11
I can't even tell what this does. I just woke up but is this like capsicum on freebsd, [VIDEO] , or jails in the FS, or both? Clearly I need to wake up. — X86BSD, 2016-12
Some background on Capsicum, from [LINK] Capsicum is a lightweight OS capability and sandbox framework developed at the University of Cambridge Computer Laboratory, supported by a grant from Google. Capsicum extends the POSIX API, providing several new OS primitives to support object-capability security on UNIX-like operating systems: * capabilities - refined file descriptors with fine-grained ri… — emaste, 2013-04

Related videos