
Code injection library for OS X with cross-architecture support.
Checked October 2026.
Yet another code injection library for OS X. $ git clone --recursive https://github.com/rodionovd/task_vaccine.git task_vaccine $ cd ./task_vaccine $ rake test $ rake build # will build an x86_64 dynamic library and place it into ./build/x86_64 #include "task_vaccine.h" task_t target = ...; int err = task_vaccine(target, "./payload0.dylib"); if (err != KERN_SUCCESS) { fprintf(stderr, "task_vaccine() failed with error: %d\n", err); } see Usage for details.
Why should I use this thing instead of mach_inject? Well, for a couple of reasons actually: mach_inject's codebase is old and it hasn't been updated for a while. You can not inject i386 targets from x86_64 hosts and vice versa using mach_inject, so you should use two different injectors. With task_vaccine you can actually do it. I have automated tests 🚦
How it works: Pretty straightforward, see: At first, we create a new thread inside a target task (process) and execute _pthread_set_self() function on it. We can only create a raw Mach thread inside a target task. But many functions (such as dlopen()) rely on pthread stuff (locks, etc), so we have to initialize a pthread first and only then execute dlopen() for lo
No core features are listed for this product yet, so check the vendor's documentation for the full feature list.
No integrations are listed for this product yet. Check the vendor's documentation, or ask the vendor which integrations and APIs it supports.
Common questions about task_vaccine: features, pricing and alternatives.
task_vaccine is a product in the Red-Team & Adversary Emulation category. It covers OS X and Code Injection.
task_vaccine is free. Download and setup instructions are at https://github.com/rodionovd/task_vaccine/.
Alternatives to task_vaccine listed on CybersecTools:
Compare all task_vaccine alternatives at https://cybersectools.com/alternatives/taskvaccine
task_vaccine is available as on-premises software. It is listed for startups, small businesses, mid-market companies and enterprises. It is free.
Side by side: features, pricing model and the company behind each one.
Skyhook is an HTTP-based file transfer tool that uses obfuscation techniques to evade detection by Intrusion Detection Systems.
Adversary emulation framework for testing security measures in network environments.
SourcePoint generates customizable C2 profiles for Cobalt Strike servers to enhance evasion capabilities against security defenses.
A Python script that detects and removes Thinkst Canary Tokens from files using signature-based detection methods.
TikiTorch is a process injection tool that executes code within the address space of other processes using various injection techniques.
Platform for offensive security operations including ASM, VA, and DAST
Mandos MCP: ask about all 9,032 products.
Connect your AI