The Community for Technology Leaders
RSS Icon
May 18, 2008 to May 21, 2008
ISBN: 978-0-7695-3168-7
pp: 263-277
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.
static analysis, instrumentation, attack detection, memory errors
Periklis Akritidis, Cristian Cadar, Costin Raiciu, Manuel Costa, Miguel Castro, "Preventing Memory Error Exploits with WIT", SP, 2008, 2012 IEEE Symposium on Security and Privacy, 2012 IEEE Symposium on Security and Privacy 2008, pp. 263-277, doi:10.1109/SP.2008.30
19 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool