↓ Skip to main content

macOS

The desktop side. Debugger work, and the things the OS sends home without asking.

2015

patrik.re Archive

Stop OS X Spotlight Leaking Your Location

Proxying OS X Spotlight through Burp showed it shipping the user's latitude and longitude to api.smoot.apple.com on every search, with two ways to block the request.

2013

patrik.re

iTunes anti-debugging bypass with GDB and LLDB

Defeating iTunes' ptrace-based anti-debugging on OS X by breaking on ptrace and rewriting the rdi register, and porting the bypass from Apple's GDB to LLDB to get a Python-capable debugger.