Archipelago
Authors:
Open Access
- 25 March 2008
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 36 (1) , 115-124
Abstract
Memory errors are a notorious source of security vulnerabilities that can lead to service interruptions, information leakage and unauthorized access. Because such errors are also difficult to debug, the absence of timely patches can leave users vulnerable to attack for long periods of time. A variety of approaches have been introduced to combat these errors, but these often incur large runtime overheads and generally abort on errors, threatening availability. This paper presents Archipelago, a runtime system that takes advantage of available address space to substantially reduce the likelihood that a memory error will affect program execution. Archipelago randomly allocates heap objects far apart in virtual address space, effectively isolating each object from buffer overflows. Archipelago also protects against dangling pointer errors by preserving the contents of freed objects after they are freed. Archipelago thus trades virtual address space---a plentiful resource on 64-bit systems---for significantly improved program reliability and security, while limiting physical memory consumption by tracking the working set of an application and compacting cold objects. We show that Archipelago allows applications to continue to run correctly in the face of thousands of memory errors. Across a suite of server applications, Archipelago's performance overhead is 6% on average (between -7% and 22%), making it especially suitable to protect servers that have known security vulnerabilities due to heap memory errors.Keywords
This publication has 23 references indexed in Scilit:
- Exterminator2007
- Safe manual memory management in CycloneScience of Computer Programming, 2006
- DieHard2006
- Rx2005
- Quantifying the performance of garbage collection vs. explicit memory management2005
- Improving software security with a C pointer analysis2005
- Protecting C programs from attacks via invalid pointer dereferences2003
- Sharing and protection in a single-address-space operating systemACM Transactions on Computer Systems, 1994
- Garbage collection in an uncooperative environmentSoftware: Practice and Experience, 1988
- The working set model for program behaviorCommunications of the ACM, 1968