Heap Attacks¶
links: ED TOC - Memory Layout - Index
Buffer overflow¶
Inter-chunk overflow
Inter-chunk overflow with management chunk
- can modify management data of heap allocator \(\rightarrow\) can modify behaviour of heap allocator
Inter-chunk overflow with chunk metadata
- can modify management data of heap allocator \(\rightarrow\) can modify behaviour of heap allocator
- create fake chunks
Use after free (UAF)¶
Use an object after the memory it has been pointing to has been freed, and now a different object is stored at that location.
links: ED TOC - Memory Layout - Index