macSubstrate is a platform tool for interprocess code injection on macOS, with the similar function to Cydia Substrate on iOS. Using macSubstrate, you can inject your plugins (
.bundle
or .framework
) into a mac app (including sandboxed apps) to tweak it in the runtime.- All you need is to get or create plugins for your target app.
- No trouble with modification and codesign for the original target app.
- No more work after the target app is updated.
- Super easy to install or uninstall a plugin.
- Loading plugins automatically whenever the target app is relaunched.
- Providing a GUI app to make injection much easier.
Prepare
- Disable SIP
- Why should disable SIP
System Integrity Protection is a new security policy that applies to every running process, including privileged code and code that runs out of the sandbox. The policy extends additional protections to components on disk and at run-time, only allowing system binaries to be modified by the system installer and software updates. Code injection and runtime attachments to system binaries are no longer permitted.
Usage
- download macSubstrate.app, put into
/Applications
and launch it.
- grant authorization if needed.
- install a plugin by importing or dragging into macSubstrate.
- launch the target app.
step 3 and step 4 can be switched
Once a plugin is installed by macSubstrate, it will take effect immediately. But if you want it to work whenever the target app is relaunched or macOS is restarted, you need to keep macSubstrate running and allow it to automatically launch at login.
- uninstall a plugin when you do not need it anymore.
Plugin
macSubstrate supports plugins of
.bundle
or .framework
, so you just need to create a valid .bundle
or .framework
file. The most important thing is to add a key macSubstratePlugin
into the info.plist
, with the dictionary value:Key | Value |
---|---|
TargetAppBundleID | the target app's CFBundleIdentifier , this tells macSubstrate which app to inject. |
Description | brief description of the plugin |
AuthorName | author name of the plugin |
AuthorEmail | author email of the plugin |
Xcode Templates
macSubstrate also provides
Xcode Templates
to help you create plugins conveniently:-
ln -fhs ./macSubstratePluginTemplate ~/Library/Developer/Xcode/Templates/macSubstrate\ Plugin
- Launch Xcode, and there will be 2 new plugin templates for you.
Security
- SIP is a new security policy on macOS, which will help to keep you away from potential security risk. Disable it means you will lose the protection from SIP.
- If you install a plugin from a developer, you should be responsible for the security of the plugin. If you do not trust it, please do not install it. macSubstrate will help to verify the code signature of a plugin, and I suggest you to scan it using VirusTotal. Anyway, macSubstrate is just a tool, and it is your choice to decide what plugin to install.
- Free Pentest Tools For Windows
- Hacker Tools List
- Hacker Tools Hardware
- Hacking Tools For Beginners
- Hacking Tools Name
- Hacker Techniques Tools And Incident Handling
- Hacker Tools For Ios
- Hacking Tools For Beginners
- Nsa Hack Tools
- Hacking Tools Name
- Nsa Hack Tools
- Bluetooth Hacking Tools Kali
- Hack Tools Mac
- Pentest Tools Apk
- Hacking Apps
- Hacker Tools For Mac
- Hacking Tools Kit
- Underground Hacker Sites
- Hacking Tools Free Download
- Hacking Tools Pc
- Hack Tools For Ubuntu
- Tools For Hacker
- How To Hack
- Hacker Tools 2019
- Hack Tools For Mac
- Underground Hacker Sites
- Hack Tools For Pc
- Tools Used For Hacking
- Pentest Automation Tools
- Hacking Tools Windows
- Hacking Tools Software
- Hacking Tools And Software
- Hack Tools Download
- Hack App
- Pentest Box Tools Download
- Hacker Tools For Windows
- Pentest Tools Kali Linux
- Pentest Tools Download
- Hacking Tools Kit
- Hacker Tools Hardware
- Pentest Tools Free
- Wifi Hacker Tools For Windows
- Pentest Tools Online
- Hacking Tools Download
- Ethical Hacker Tools
- Hacking Tools Free Download
- Hack And Tools
- Wifi Hacker Tools For Windows
- Install Pentest Tools Ubuntu
- Best Pentesting Tools 2018
- Hacking Tools 2020
- Hack Tools For Ubuntu
- Hacker Tools Apk
- Free Pentest Tools For Windows
- Hacker Security Tools
- Hacker Security Tools
- Pentest Tools Android
- Hacking Tools Github
- Hacking Tools Windows 10
- Bluetooth Hacking Tools Kali
- Hack Tools Online
- How To Hack
- Hacking Tools
- Hacking Tools Software
- Pentest Tools Website
- How To Hack
- Pentest Tools For Android
- Pentest Tools Github
- Hacker Tools Mac
- Beginner Hacker Tools
- Hacker Tools Free
- Hacker Tools 2020
- Pentest Tools Find Subdomains
- Hack Tools Online
- Hack And Tools
- Nsa Hacker Tools
- Hack Tool Apk No Root
- Hacker Tools Apk
- Hacker Tools Github
- Hacking Tools For Games
- Pentest Tools Github
- Pentest Tools Nmap
- Pentest Tools For Ubuntu
- Physical Pentest Tools
- Hackrf Tools
- Usb Pentest Tools
- Game Hacking
- Underground Hacker Sites
- Hacker Tools Hardware
- Hack Website Online Tool
- Hacking Tools Free Download
- Hack Tools Pc
- Hacker Hardware Tools
- New Hack Tools
- Physical Pentest Tools
- Growth Hacker Tools
- Pentest Tools Windows
- Hacking Tools Usb
- Hack Tool Apk No Root
- Pentest Tools Tcp Port Scanner
- Hacker Tools
- Hacker Tools Online
- Hacking Tools Usb
- Physical Pentest Tools
- Pentest Tools Url Fuzzer
- Hacker Tools Linux
- Hack Tools Pc
- Hacking Tools And Software
- Hacking Tools Hardware
- Hacker Tools For Ios
- Pentest Tools Bluekeep
- New Hacker Tools
- Hacker Search Tools
- Game Hacking
- Hack Tools Download
- How To Hack
- Hacker Tools For Pc