macos-process-injection

Community

Inject into macOS processes via DYLD, XPC, Mach.

AuthorlNwNl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides practical guidance for injecting code into macOS processes by leveraging dynamic loader behavior, XPC/Mach IPC surfaces, and Electron/Chromium runtime options.

Core Features & Use Cases

  • DYLD-based injection: Select targets that permit DYLD environment-variable injection and apply DYLD_INSERT_LIBRARIES to preload a dylib at process startup.
  • Dylib hijacking strategies: Identify weak and @rpath-resolved libraries, and use proxy/re-export techniques to execute payloads while preserving expected interfaces.
  • XPC and Mach port manipulation: Evaluate XPC service discovery/validation weaknesses (including PID reuse) and outline Mach port manipulation patterns that enable stronger IPC-level control.
  • Electron/Chromium abuse paths: Use Electron runtime features (e.g., RunAsNode, debugging flags, NODE_OPTIONS, fuse checks) to piggyback on app permissions and developer tooling paths.
  • Decision support and validation: Includes a process injection decision tree plus detection/forensics pointers to reason about feasibility and outcomes.

Quick Start

Ask your AI to map the target app or binary to the best injection vector and give a feasibility checklist for its hardened runtime, entitlements, dylib dependencies, XPC surfaces, and Electron fuses.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: macos-process-injection
Download link: https://github.com/lNwNl/Methodos/archive/main.zip#macos-process-injection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.