HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Capsicum: Practical Capabilities for UNIX

USENIXCited 3× on HN, 2013-2017
YouTube
11K views · 16 years ago · talk · evergreen

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

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

Security & hackingOperating systems & kernels#capsicum#freebsd#capabilities#sandboxing#unixsecurity

3 comments from Hacker News

@2trill2spill2017 · in “Application Container Security Guide [pdf]”

> 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 and control access on a machine. Capsicum is for application authors to sandbox their application. Ideally they should be used together. Back to my point that while MAC(SELinux) can be used for sandboxing but will take more effort then using something like capsicum or pledge. With MAC you have to think of all the things you don't want an application to do. With Capsicum or Pledge you only have to think of the things you want your application to do and everything else will be blocked automatically. So for example to sandbox chromium with capsicum it took 100 LOC, to sandbox chromium with SELinux it took 200 LOC so not bad but it doesn't stop IPC primitives. So half the code and more protection. [1]: ▶ this video

CitesView on HN
@X86BSD2016 · in “Show HN: FSSB – A filesystem sandbox for Linux”

I can't even tell what this does. I just woke up but is this like capsicum on freebsd, ▶ this video , or jails in the FS, or both? Clearly I need to wake up.

CitesView on HN
@emaste2013 · in “FreeBSD Foundation Announces Capsicum Framework Project”

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 rights * capability mode - process sandboxes that deny access to global namespaces * process descriptors - capability-centric process ID replacement * anonymous shared memory objects - an extension to the POSIX shared memory API to support anonymous swap objects associated with file descriptors (capabilities) * rtld-elf-cap - modified ELF run-time linker to construct sandboxed applications * libcapsicum - library to create and use capabilities and sandboxed components * libuserangel - library allowing sandboxed applications or components to interact with user angels, such as Power Boxes. * chromium-capsicum - a version of Google's Chromium web browser that uses capability mode and capabilities to provide effective sandboxing of high-risk web page rendering. There's also a video of Robert Watson's 2010 Capsicum talk at ▶ this video Edited to add: The FreeBSD Foundation plans to significantly increase spending on projects (such as this one) as well as full-time staff members in 2013: link

CitesView on HN
Linux for Chromebooks: Secure Development (Google I/O ’19)33:53

Linux for Chromebooks: Secure Development (Google I/O ’19)

Chrome for Developers
239K views • 7 years ago
Bryan Cantrill on Jails and Solaris Zones1:45:47

Bryan Cantrill on Jails and Solaris Zones

PapersWeLove
34K views • 10 years ago
The State of Kernel Self Protection Project by Kees Cook, Google45:47

The State of Kernel Self Protection Project by Kees Cook, Google

The Linux Foundation
7K views • 9 years ago
"Liberating the Smalltalk lurking in C and Unix" by Stephen Kell40:56

"Liberating the Smalltalk lurking in C and Unix" by Stephen Kell

Strange Loop Conference
25K views • 12 years ago
36C3 -  A systematic evaluation of OpenBSD's mitigations53:02

36C3 - A systematic evaluation of OpenBSD's mitigations

media.ccc.de
18K views • 6 years ago
MINIX 3: a Modular, Self-Healing POSIX-compatible Operating System56:19

MINIX 3: a Modular, Self-Healing POSIX-compatible Operating System

FOSDEM
90K views • 16 years ago
Run containers on bare metal already!41:12

Run containers on bare metal already!

Bryan Cantrill
40K views • 10 years ago
Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans42:39

Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans

Linux.conf.au 2012 -- Ballarat, Australia
21K views • 14 years ago
USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware1:06:20

USENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware

USENIX
46K views • 5 years ago
"What UNIX Cost Us" - Benno Rice (LCA 2020)34:14

"What UNIX Cost Us" - Benno Rice (LCA 2020)

linux.conf.au
218K views • 6 years ago
Speakeasy JS - Redbean: Actually Portable Executable Web Server (Justine Tunney)1:00:40

Speakeasy JS - Redbean: Actually Portable Executable Web Server (Justine Tunney)

Feross
18K views • 5 years ago
Benno Rice: The Tragedy of systemd -- BSDCan 201832:30

Benno Rice: The Tragedy of systemd -- BSDCan 2018

BSDCan
25K views • 8 years ago
RustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe Duffy42:45

RustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe Duffy

Confreaks
2K views • 9 years ago
The Tragedy of systemd47:18

The Tragedy of systemd

linux.conf.au
1.3M views • 7 years ago
Unix and Google7:16

Unix and Google

FOAM
9K views • 10 years ago
Qubes OS: The Operating System That Can Protect You Even If You Get Hacked51:13

Qubes OS: The Operating System That Can Protect You Even If You Get Hacked

Micah Lee
63K views • 8 years ago
Ruby Conf 12 - Boundaries by Gary Bernhardt45:55

Ruby Conf 12 - Boundaries by Gary Bernhardt

Confreaks
58K views • 13 years ago
The Unix Chainsaw - Gary Bernhardt31:12

The Unix Chainsaw - Gary Bernhardt

timmonta
25K views • 11 years ago
BlueHat IL 2023 - David Weston - Default Security54:35

BlueHat IL 2023 - David Weston - Default Security

Microsoft Israel R&D Center
47K views • 3 years ago
NixOS VM on Mac Setup9:03

NixOS VM on Mac Setup

Mitchell Hashimoto
31K views • 5 years ago