A taste of Capsicum: practical capabilities for UNIX

  • Authors:
  • Robert N. M. Watson;Jonathan Anderson;Ben Laurie;Kris Kennaway

  • Affiliations:
  • University of Cambridge, Cambridge, U.K.;University of Cambridge, Cambridge, U.K.;Google UK Ltd., London, U.K.;Google UK Ltd., London, U.K.

  • Venue:
  • Communications of the ACM
  • Year:
  • 2012

Quantified Score

Hi-index 48.22

Visualization

Abstract

Capsicum is a lightweight operating system (OS) capability and sandbox framework planned for inclusion in FreeBSD 9. Capsicum extends, rather than replaces, UNIX APIs, providing new kernel primitives (sandboxed capability mode and capabilities) and a userspace sandbox API. These tools support decomposition of monolithic UNIX applications into compartmentalized logical applications, an increasingly common goal that is supported poorly by existing OS access control primitives. We demonstrate our approach by adapting core FreeBSD utilities and Google's Chromium Web browser to use Capsicum primitives, and compare the complexity and robustness of Capsicum with other sandboxing techniques.