Transparent runtime randomization for security
Jun Xu, Zbigniew Kalbarczyk, Ravishankar K. Iyer · Proceedings/Proceedings - Symposium on Reliable Distributed Systems · 2004
A large class of security attacks exploit software implementation vulnerabilities such as unchecked buffers. This paper proposes transparent runtime randomization (TRR), a generalized approach for protecting against a wide range of security attacks. TRR dynamically and randomly relocates a program's stack, heap, shared libraries, and parts of its runtime control data structures inside the application memory address space. Making a program's memory layout different each time it runs foils the attacker's assumptions about the memory layout of the vulnerable program and makes the determination of critical address values difficult if not impossible. TRR is implemented by changing the Linux dynamic program loader, hence it is transparent to applications. We demonstrate that TRR is effective in defeating real security attacks, including malloc-based heap overflow, integer overflow, and double-free attacks, for which effective prevention mechanisms are yet to emerge. Furthermore, TRR incurs less than 9% program startup overhead and no runtime overhead.
Cited by 241 works. doi:10.1109/reldis.2003.1238076 Open-access PDF
Authors
References
- StackGuard: Automatic Adaptive Detection and Prevention of Buffer-Overflow Attacks
- Smashing The Stack For Fun And Profit
- A First Step Towards Automated Detection of Buffer Overrun Vulnerabilities.
- Lint, a C Program Checker
- Building diverse computer systems
- Optimistic incremental specialization
- Static detection of dynamic memory errors
- Transparent run-time defense against stack smashing attacks
- Statically detecting likely buffer overflow vulnerabilities
- FormatGuard: Automatic Protection From printf Format String Vulnerabilities