Unit Description
Explore how ptmalloc2 manages memory, then learn about the Use-After-Free vulnerability and how to exploit it.
Objectives
Topics Covered
- ptmalloc2 memory allocation structure and efficient memory management
- Principles and risks of Use-After-Free (UAF) vulnerabilities
- Hands-on practice exploiting UAF to gain a system shell
Recommended For
- Those interested in memory management and security vulnerabilities
- Learners who want to study system security and exploitation techniques
Prerequisite Knowledge
- Basic understanding of Linux OS and memory management
- Familiarity with C/C++ programming and pointers
Environment
- Linux environment based on x86-64 architecture (Ubuntu 18.04 with glibc 2.27)
Composition
ptmalloc2
Background: ptmalloc2
Quiz: ptmalloc2
Use-After-Free
Memory Corruption: Use After Free
[Exercise] Use-After-Free
Exploit Tech: Use After Free
uaf_overwrite
Rating
All items must be completed before leaving a rating feedback.
Use-After-Free (UAF)
0% Completed
Total 0 completed
Lecture
0 /3
Wargame
0 /1
1
Quiz
0 /1
1
The Lab is a practice and is not included in the overall progress.