ARM64 stack internals and obfuscation on Apple Silicon
MDSec reverse-engineers how major EDR vendors detect malicious activity on macOS by walking call stacks using the spindump utility, then explores call-stack obfuscation techniques adapted for ARM64 architecture. The article provides deep technical foundation on ARM64 stack mechanics—register roles (sp, x29/FP, x30/LR), branch instructions (bl/blr vs b/br), and prologue/epilogue patterns using stp/ldp paired instructions—as groundwork for demonstrating how adversaries can corrupt or synthesize stack frames to evade detection. This is relevant for red teamers targeting Apple Silicon systems and defenders understanding ARM64-specific post-exploitation evasion vectors.
This post is licensed under CC BY 4.0 by the author.