Code pointer masking: hardening applications against code injection attacks

  • Authors:
  • Pieter Philippaerts;Yves Younan;Stijn Muylle;Frank Piessens;Sven Lachmund;Thomas Walter

  • Affiliations:
  • DistriNet Research Group;DistriNet Research Group;DistriNet Research Group;DistriNet Research Group;DOCOMO Euro-Labs;DOCOMO Euro-Labs

  • Venue:
  • DIMVA'11 Proceedings of the 8th international conference on Detection of intrusions and malware, and vulnerability assessment
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we present an efficient countermeasure against code injection attacks. Our countermeasure does not rely on secret values such as stack canaries and protects against attacks that are not addressed by state-of-the-art countermeasures of similar performance. By enforcing the correct semantics of code pointers, we thwart attacks that modify code pointers to divert the application's control flow. We have implemented a prototype of our solution in a C-compiler for Linux. The evaluation shows that the overhead of using our countermeasure is small and the security benefits are substantial.