Defending Use-After-Free via Relationship Between Memory and Pointer

Xu, Guangquan and Li, Miao and Li, Xiaotong and Chen, Kai and Wang, Ran and Wang, Wei and Liang, Kaitai and Tang, Qiang and Liu, Shaoying (2021) Defending Use-After-Free via Relationship Between Memory and Pointer. In: Collaborative Computing: Networking, Applications and Worksharing. 16th EAI International Conference, CollaborateCom 2020, Shanghai, China, October 16–18, 2020, Proceedings, Part I.

[thumbnail of 77554.pdf] PDF
77554.pdf

Download (1MB)

Abstract

Existing approaches to defending Use-After-Free (UAF) exploits are usually done using static or dynamic analysis. However, both static and dynamic analysis suffer from intrinsic deficiencies. The existing static analysis is limited in handling loops, optimization of memory representation. The existing dynamic analysis, which is characterized by lacking the maintenance of pointer information, may lead to flaws that the relationships between pointers and memory cannot be precisely identified. In this work, we propose a new method called UAF-GUARD without the above barriers, in the aim to defending against UAF exploits using fine-grained memory permission management. In particular, we design a key data structure to support the fine-grained memory permission management, which can maintain more information to capture the relationship between pointers and memory. Moreover, we design code instrumentation to enable UAF-GUARD to precisely locate the position of UAF vulnerabilities to further terminate malicious programs when anomalies are detected. We implement UAF-GUARD on a 64-bit Linux system. We carry out experiments to compare UAF-GUARD with the main existing approaches. The experimental results demonstrate that UAF-GUARD is able to effectively and efficiently defend against three types of UAF exploits with acceptable space overhead and time overhead.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Use-after-free vulnerability, Fine-grained memory permission management, Static instrumentation
Date Deposited: 04 Mar 2026 19:51
Last Modified: 20 Nov 2026 12:05
URI: https://eprints.eai.eu/id/eprint/58210

Actions (login required)

View Item
View Item