Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Mach-O is built around a command list that has to be run to load the file. So instead of an entry point address in a table somewhere, mach-o has a 'start a thread with this address' command in the command list. Really composable, which means binaries can do a lot of nasty things with that command list.

ELF isn’t immune to doing nasty things at link time. https://www.usenix.org/system/files/conference/woot13/woot13... has an example where they make ping call execl on arbitrary executables as root by tweaking such a declarative table.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: