Reinventing the Privilege Drop: How Principled Preservation of Programmer Intent Would Prevent Security Bugs
Title | Reinventing the Privilege Drop: How Principled Preservation of Programmer Intent Would Prevent Security Bugs |
Publication Type | Conference Paper |
Year of Publication | 2018 |
Authors | Jenkins, Ira Ray, Bratus, Sergey, Smith, Sean, Koo, Maxwell |
Conference Name | Proceedings of the 5th Annual Symposium and Bootcamp on Hot Topics in the Science of Security |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-6455-3 |
Keywords | Collaboration, comparability, ELFbac, Human Behavior, langsec, Metrics, openssh, privilege separation, pubcrawl, Resiliency, Scalability, science of security, vulnerability mitigation |
Abstract | The principle of least privilege requires that components of a program have access to only those resources necessary for their proper function. Defining proper function is a difficult task. Existing methods of privilege separation, like Control Flow Integrity and Software Fault Isolation, attempt to infer proper function by bridging the gaps between language abstractions and hardware capabilities. However, it is programmer intent that defines proper function, as the programmer writes the code that becomes law. Codifying programmer intent into policy is a promising way to capture proper function; however, often onerous policy creation can unnecessarily delay development and adoption. In this paper, we demonstrate the use of our ELF-based access control (ELFbac), a novel technique for policy definition and enforcement. ELFbac leverages the common programmer's existing mental model of scope, and allows for policy definition at the Application Binary Interface (ABI) level. We consider the roaming vulnerability found in OpenSSH, and demonstrate how using ELFbac would have provided strong mitigation with minimal program modification. This serves to illustrate the effectiveness of ELFbac as a means of privilege separation in further applications, and the intuitive, yet robust nature of our general approach to policy creation. |
URL | https://dl.acm.org/citation.cfm?doid=3190619.3190635 |
DOI | 10.1145/3190619.3190635 |
Citation Key | jenkins_reinventing_2018 |