What problem does it solve?
This Skill provides expert-level techniques for injecting code into macOS processes, enabling advanced attacks such as dylib hijacking, XPC exploitation, and Mach port manipulation.
Core Features & Use Cases
- DYLD Injection: Use DYLD environment variables to preload attacker-controlled dylibs.
- DYLIB Hijacking: Exploit the dynamic linker's library search order to load malicious libraries.
- XPC Exploitation: Abuse macOS's XPC mechanism for cross-process communication.
- Mach Port Manipulation: Directly manipulate Mach ports for kernel-level IPC.
- MIG Abuse: Exploit vulnerabilities in MIG subsystems for code injection.
- Electron/Chromium Injection: Target Electron and Chromium-based applications for code injection.
- Application Scripting: Use AppleScript to control applications and inject code.
- Process Injection Decision Tree: A comprehensive guide for selecting the right injection technique based on the target application's characteristics.
Quick Start
Load the macos-process-injection skill and target the application 'target.app' with the injection technique 'DYLD_INSERT_LIBRARIES'.