Atexit Exploitation

Guide for exploiting arbitrary write vulnerabilities through atexit handlers, link_map manipulation, and TLS dtor_list overwrites. Use this skill whenever the user mentions atexit, exit handlers, link_map, TLS destructors, PTR_MANGLE, __run_exit_handlers, or needs to convert an arbitrary write primitive into code execution via program exit. Also use when analyzing binaries for exit handler vulnerabilities or crafting exploits that trigger code execution on program termination.

abelrguezr Updated 23 repo stars

File contents

abelrguezr/hacktricks-skills commit 21a1c78903

Frequently asked questions

npx get-skill add abelrguezr/atexit-exploitation