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
  1. download macSubstrate.app, put into /Applications and launch it.
    StatusBar
  2. grant authorization if needed.
  3. install a plugin by importing or dragging into macSubstrate.
    ToInstall
  4. 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.
  5. uninstall a plugin when you do not need it anymore.
    Installed

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
Please check the demo plugins demo.bundle and demo.framework for details.

Xcode Templates
macSubstrate also provides Xcode Templates to help you create plugins conveniently:
  1. ln -fhs ./macSubstratePluginTemplate ~/Library/Developer/Xcode/Templates/macSubstrate\ Plugin
  2. Launch Xcode, and there will be 2 new plugin templates for you.

Security
  1. 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.
  2. 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.


Related posts


  1. Tools 4 Hack
  2. Hacking Tools For Games
  3. Pentest Tools Subdomain
  4. Pentest Tools Port Scanner
  5. Black Hat Hacker Tools
  6. Hacker Tools Software
  7. Hacking Tools Online
  8. Hacking Tools Online
  9. Hackers Toolbox
  10. Hacking Tools Kit
  11. Hackers Toolbox
  12. Hacking Tools Pc
  13. Hack Tools
  14. Hacking Tools For Pc
  15. Hacking Tools And Software
  16. Hacking Tools For Games
  17. Blackhat Hacker Tools
  18. Hack Tools 2019
  19. Hacking Tools Software
  20. Hacker Techniques Tools And Incident Handling
  21. Pentest Tools For Ubuntu
  22. New Hacker Tools
  23. Usb Pentest Tools
  24. Nsa Hack Tools
  25. Hack Tools
  26. Pentest Tools Bluekeep
  27. Hacker Hardware Tools
  28. Hacking App
  29. Pentest Tools Linux
  30. Hack Tool Apk
  31. Hackrf Tools
  32. Beginner Hacker Tools
  33. Hacker Tools Free Download
  34. Hacker Tools For Mac
  35. Hacker Tools Windows
  36. Pentest Tools Alternative
  37. Hack Tools Github
  38. Hacking Tools Usb
  39. Pentest Tools Open Source
  40. Hacking Tools For Windows Free Download
  41. Wifi Hacker Tools For Windows
  42. Hacker Tools Windows
  43. Pentest Tools Review
  44. Hack Tool Apk
  45. Hack Tools
  46. Hacker Tools Free Download
  47. Android Hack Tools Github
  48. Hacker Tools Software
  49. Hacker Tools Free
  50. Pentest Automation Tools
  51. Pentest Tools Website Vulnerability
  52. Hacking Apps
  53. How To Hack
  54. Tools Used For Hacking
  55. Hacking Tools 2020
  56. Hack Tools 2019
  57. Hacking Tools 2020
  58. Beginner Hacker Tools
  59. Termux Hacking Tools 2019
  60. Hack Tools Github
  61. Pentest Tools Windows
  62. New Hack Tools
  63. Hacker Tools For Mac
  64. How To Hack
  65. Pentest Tools Subdomain
  66. Black Hat Hacker Tools
  67. Pentest Tools Website
  68. Pentest Tools Alternative
  69. Hacker Tools For Ios
  70. Hacker Techniques Tools And Incident Handling
  71. Github Hacking Tools
  72. Hacking Apps
  73. Hacker Tools
  74. Hacker Tools Mac
  75. Hacking Tools Windows 10
  76. Hacker Tool Kit
  77. Hacking Tools
  78. Hacking Tools Usb
  79. Hacker Tools Software
  80. Pentest Tools For Android
  81. Hacker Tools Free Download
  82. Hack Tools Mac
  83. Hacker Tools List
  84. Pentest Tools Nmap
  85. Usb Pentest Tools
  86. Wifi Hacker Tools For Windows
  87. Black Hat Hacker Tools
  88. Hacker Tools Apk
  89. Hacker Tools Github
  90. Hackrf Tools
  91. Pentest Recon Tools
  92. Pentest Tools Github
  93. Hacking Tools Software
  94. Pentest Tools Framework
  95. Hack Tools Pc

Leave a Reply