by bdash · 2y ago · 0 comments
Entitlements aren't stored in Info.plist. They're embedded in a binary's code signature.
It demonstrates code injection via Mach APIs starting with `task_for_pid` when `task_for_pid` is only usable by root or by a process signed with specific entitlements.
VeraCrypt does use the hardened runtime and so the `DYLD_INSERT_LIBRARIES` example cannot work with it.
It gives an example of using `emond` for persistence, but that was removed from macOS several releases ago.