Posts

Showing posts from November, 2022

macOS Frida Setup

On an M1 Mac, Frida needs some extra steps to be able to attach to system processes. Mainly writing this down here because it was spread across multiple GitHub issues. Hope it helps some of you who are working with Frida on M1 Macs :) Versions macOS Ventura 13.0.1 Frida 16.0.2 Apple M1 Pro Setup Disable System Integrity Protection (SIP). Power off Mac, power on with very long press to get the advanced boot options, open the Terminal from the Utilities, enter #  csrutil disable ... and confirm that this bricks your system's security. Disable some dialogues popping up and asking for permissions, further reducing the security of your system with #  sudo security authorizationdb write system.privilege.taskport allow ... this might be optional but needed if you use Frida via SSH. Change boot arguments as follows: sudo nvram boot-args=-arm64e_preview_abi ... and reboot. Now you should be able to attach to system services, e.g., run: # frida identityservicesd Debugging The first two steps