mach_inject enables you to "inject" code into an arbitrary process on Mac OS X. "Injection" means both 1) copying over the necessary code into the target's address space and 2) remotely creating a new thread to execute the code. Code injection is tricky business. You should be familiar with assembly and runtime calling conventions (ABIs) before using mach_inject. mach_inject is certainly not bug free and patches are extremely welcome, but the onus is on you when things don't work. Please don't file a bug report stating mach_inject is crashing for you when you try to use it -- you have to be hard-core enough to debug the problem yourself. Contributing: Please base your work off the unstable branch. Then submit your Pull Request. Version History: - mach_inject 1.3: Nov 08 2016 [NEW] Add demo project (Erwan Barrier) [CHANGE] Switch from __pthread_set_self to _pthread_set_self on 10.12. (wzqcongcong, rentzsch) [FIX] Adjust stack alignment for 10.9 to avoid crash. issue 5 (Giovanni Donelli) [FIX] Comment out fprintf for 10.10 and genericize CODE_SIGN_IDENTITY. issue 13 (Rainburst) [FIX] Add error check. (Nat!) - mach_inject 1.2: Aug 10 2012 [NEW] i386 and
FEATURES
EXPLORE BY TAGS
SIMILAR TOOLS
The official security guide for Red Hat Enterprise Linux 7, providing detailed information on securing the operating system.
CrowdStrike Falcon Insight XDR is an AI-powered endpoint detection and response solution that provides comprehensive protection, visibility, and automated response capabilities.
Unified defense platform providing endpoint protection, extended detection and response, threat hunting, and digital forensics and incident response.
Android Loadable Kernel Modules for reversing and debugging on controlled systems/emulators.
A free, open-source tool that uncovers persistently installed software on macOS, helping to generically reveal malware.
AhnLab PLUS is a unified security platform providing comprehensive cybersecurity solutions for businesses.
Toolkit for building custom minimal, immutable Linux distributions with secure defaults.
A Python library for loading and executing Beacon Object Files (BOFs) in-memory.
An endpoint monitoring tool for Linux and macOS that reports file, socket, and process events to Zeek.
PINNED

Mandos
Fractional CISO service that helps B2B companies implement security leadership to win enterprise deals, achieve compliance, and develop strategic security programs.

Checkmarx SCA
A software composition analysis tool that identifies vulnerabilities, malicious code, and license risks in open source dependencies throughout the software development lifecycle.

Orca Security
A cloud-native application protection platform that provides agentless security monitoring, vulnerability management, and compliance capabilities across multi-cloud environments.

DryRun
A GitHub application that performs automated security code reviews by analyzing contextual security aspects of code changes during pull requests.