Visible to the public CapExec: Towards Transparently-Sandboxed Services

TitleCapExec: Towards Transparently-Sandboxed Services
Publication TypeConference Paper
Year of Publication2019
AuthorsJadidi, Mahya Soleimani, Zaborski, Mariusz, Kidney, Brian, Anderson, Jonathan
Conference Name2019 15th International Conference on Network and Service Management (CNSM)
Keywordsapplication security, Capsicum, Cats, Collaboration, compartmentalization, composability, Containers, Libraries, Memory management, policy-based governance, pubcrawl, Runtime, Sandboxing, security, service manager, Tools
AbstractNetwork services are among the riskiest programs executed by production systems. Such services execute large quantities of complex code and process data from arbitrary -- and untrusted -- network sources, often with high levels of system privilege. It is desirable to confine system services to a least-privileged environment so that the potential damage from a malicious attacker can be limited, but existing mechanisms for sandboxing services require invasive and system-specific code changes and are insufficient to confine broad classes of network services. Rather than sandboxing one service at a time, we propose that the best place to add sandboxing to network services is in the service manager that starts those services. As a first step towards this vision, we propose CapExec, a process supervisor that can execute a single service within a sandbox based on a service declaration file in which, required resources whose limited access to are supported by Caper services, are specified. Using the Capsicum compartmentalization framework and its Casper service framework, CapExec provides robust application sandboxing without requiring any modifications to the application itself. We believe that this is the first step towards ubiquitous sandboxing of network services without the costs of virtualization.
DOI10.23919/CNSM46954.2019.9012736
Citation Keyjadidi_capexec_2019