Preventing Memory Error Exploits with WIT
Periklis Akritidis, Cristian Cadar, Costin Raiciu et al. · Proceedings - IEEE Symposium on Security and Privacy/Proceedings of the ... IEEE Symposium on Security and Privacy · 2008
Attacks often exploit memory errors to gain control over the execution of vulnerable programs. These attacks remain a serious problem despite previous research on techniques to prevent them. We present write integrity testing (WIT), a new technique that provides practical protection from these attacks. WIT uses points-to analysis at compile time to compute the control-flow graph and the set of objects that can be written by each instruction in the program. Then it generates code instrumented to prevent instructions from modifying objects that are not in the set computed by the static analysis, and to ensure that indirect control transfers are allowed by the control-flow graph. To improve coverage where the analysis is not precise enough, WIT inserts small guards between the original program objects. We describe an efficient implementation with optimizations to reduce space and time overhead. This implementation can be used in practice because it compiles C and C++ programs without modifications, it has high coverage with no false positives, and it has low overhead. WIT's average runtime overhead is only 7% across a set of CPU intensive benchmarks and it is negligible when IO is the bottleneck.
Cited by 306 works. doi:10.1109/sp.2008.30
Authors
References
- Inside the Slammer worm
- Dynamic Taint Analysis for Automatic Detection, Analysis, and Signature Generation of Exploits on Commodity Software
- A First Step Towards Automated Detection of Buffer Overrun Vulnerabilities.
- Intrusion detection via static analysis
- Detecting format string vulnerabilities with type qualifiers
- Vigilante
- Secure Execution Via Program Shepherding
- Countering code-injection attacks with instruction-set randomization
- Cyclone: A Safe Dialect of C
- Program Analysis and Specialization for the C Programming Language