VTABLE HIJACKING: OBJECT TYPE INTEGRITY FOR RUN- TIME TYPE INFORMATION

Abstract:

Attackers try to hijack the control-flow of a victim’s process by exploiting a run-time vulnerability. Vtable hijacking is a state-of-the-art technique adversaries use to conduct control-flow hijacking attacks. It abuses the reliance of language constructs related to polymorphism on dynamic type information. The Control Flow Integrity (CFI) security policy is a well-established solution designed to prevent attacks that corrupt the control-flow. Deployed defense mechanisms based on CFI are often generic, which means that they do not consider high-level programming language semantics. This makes them vulnerable to vtable hijacking attacks. Object Type Integrity (OTI) is an orthogonal security policy that specifically addresses vtable hijacking. CFIXX is a Clang compiler extension that enforces OTI in the context of dynamic dispatch, which prevents vtable hijacking in this setting. However, this extension does not enforce OTI in context of polymorphism. The contribution of this work is a practical implementation to enable OTI in the context of C++’s run-time type information for the dynamic_cast expressions and the typeid operator.

SEEK ID: https://publications.h-its.org/publications/1801

DOI: 10.11588/emclpp.2023.1.94354

Research Groups: Data Mining and Uncertainty Quantification

Publication type: Journal

Journal: Preprint Series of the Engineering Mathematics and Computing Lab

Citation:

Date Published: 2nd Mar 2023

URL: https://journals.ub.uni-heidelberg.de/index.php/emcl-pp/article/view/94354

Registered Mode: manually

Authors: Marco Schröder, Stefan Machmeier, Vincent Heuveline

help Submitter
Citation
Schröder, M., Machmeier, S., & Heuveline, V. (2023). Vtable hijacking: Object Type Integrity for run- time type information. Preprint Series of the Engineering Mathematics and Computing Lab, Nr. 1 (2023): Vtable hijacking: Object Type Integrity for run-time type information. https://doi.org/10.11588/EMCLPP.2023.1.94354
Activity

Views: 367

Created: 16th Feb 2024 at 13:01

Last updated: 5th Mar 2024 at 21:25

help Tags

This item has not yet been tagged.

help Attributions

None

Powered by
(v.1.14.2)
Copyright © 2008 - 2023 The University of Manchester and HITS gGmbH