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

File contents

abelrguezr/hacktricks-skills/tree/main/skills/binary-exploitation/arbitrary-write-2-exec/www2exec-atexit commit 21a1c78903

Frequently asked questions

npx skillmds@latest add abelrguezr/atexit-exploitation