High System-Code Security with Low Overhead
Authors:
- Jonas WagnerJWJonas Wagner
- Volodymyr KuznetsovVKVolodymyr Kuznetsov
- George CandeaGCGeorge Candea
- Johannes KinderJKJohannes Kinder
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10816011,p. 866-879
Abstract
Security vulnerabilities plague modern systems because writing secure systems code is hard. Promising approaches can retrofit security automatically via runtime checks that implement the desired security policy, these checks guard critical operations, like memory accesses. Alas, the induced slowdown usually exceeds by a wide margin what system users are willing to tolerate in production, so these tools are hardly ever used. As a result, the insecurity of real-world systems persists. We present an approach in which developers/operators can specify what level of overhead they find acceptable for a given workload (e.g., 5%), our proposed tool ASAP then automatically instruments the program to maximize its security while staying within the specified "overhead budget." Two insights make this approach effective: most overhead in existing tools is due to only a few "hot" checks, whereas the checks most useful to security are typically "cold" and cheap. We evaluate ASAP on programs from the Phoronix and SPEC benchmark suites. It can precisely select the best points in the security-performance spectrum. Moreover, we analyzed existing bugs and security vulnerabilities in RIPE, Open SSL, and the Python interpreter, and found that the protection level offered by the ASAP approach is sufficient to protect against all of them.Keywords
This publication has 9 references indexed in Scilit:
- Towards optimization-safe systems2013
- A compiler-level intermediate representation based binary analysis and rewriting system2013
- Profile-guided automated software diversity2013
- RIPE2011
- SAFECode2006
- CCured2002
- Assertions: A Personal Perspective2002
- Efficient detection of all pointer and array access errors1994
- Adding run‐time checking to the portable C compilerSoftware: Practice and Experience, 1992