• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Scopus
  4. HWASanIO: Detecting C/C++ Intra-object Overflows with Memory Shading
 
  • Details
  • Full
Options
2023
Conference Paper
Title

HWASanIO: Detecting C/C++ Intra-object Overflows with Memory Shading

Abstract
C/C++ are often used in high-performance areas with critical security demands, such as operating systems, browsers, and libraries. One major drawback from a security standpoint is their susceptibility to memory bugs, which are often hard to spot during development. A possible solution is the deployment of a memory safety framework such as the memory tagging framework Hardware-Assisted AddressSanitizer (HWASan). The dynamic analysis tool instruments object allocations and inserts additional check logic to detect memory violations during runtime. A current limitation of memory tagging is its inability to detect intra-object memory violations i.e., over-and underflows between fields and members of structs and classes. This work addresses the issue by applying the concept of memory shading to memory tagging. We then present HWASanIO, a HWASan-based sanitizer implementing the memory shading concept to detect intra-object violations. Our evaluation shows that this increases the bug detection rate from 85.4% to 100% in the memory corruptions test cases of the Juliet Test Suite while maintaining high interoperability with existing C/C++ code.
Author(s)
Hohentanner, Konrad
Fraunhofer-Institut für Angewandte und Integrierte Sicherheit AISEC  
Kasten, Florian Maximilian
Fraunhofer-Institut für Angewandte und Integrierte Sicherheit AISEC  
Auer, Lukas  orcid-logo
Fraunhofer-Institut für Angewandte und Integrierte Sicherheit AISEC  
Mainwork
SOAP 2023, 12th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis. Proceedings  
Conference
International Workshop on the State Of the Art in Program Analysis 2023  
International Conference on Programming Language Design and Implementation 2023  
Open Access
DOI
10.1145/3589250.3596139
Additional link
Full text
Language
English
Fraunhofer-Institut für Angewandte und Integrierte Sicherheit AISEC  
Keyword(s)
  • memory safety

  • memory tagging

  • sub-object overflows

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024