Friday, August 21, 2020

macSubstrate - Tool For Interprocess Code Injection On macOS


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 word


  1. Hack Rom Tools
  2. Pentest Tools Framework
  3. Hacking Tools Name
  4. Hacker Tools Mac
  5. Pentest Tools Port Scanner
  6. Hacker Search Tools
  7. Best Hacking Tools 2019
  8. Pentest Reporting Tools
  9. Tools For Hacker
  10. New Hacker Tools
  11. Hack Tools Pc
  12. How To Install Pentest Tools In Ubuntu
  13. Pentest Tools Kali Linux
  14. Android Hack Tools Github
  15. Pentest Tools Alternative
  16. Top Pentest Tools
  17. Pentest Tools Kali Linux
  18. Hacking Tools Pc
  19. Computer Hacker
  20. How To Make Hacking Tools
  21. Pentest Tools For Windows
  22. Best Hacking Tools 2019
  23. Pentest Tools Android
  24. Hacking Tools 2019
  25. Pentest Tools Website Vulnerability
  26. Hack Tools For Ubuntu
  27. Hacking Tools Online
  28. Hack Website Online Tool
  29. Free Pentest Tools For Windows
  30. Install Pentest Tools Ubuntu
  31. Hacking Tools Github
  32. What Is Hacking Tools
  33. Hacking Tools And Software
  34. Hacking Tools Windows 10
  35. Nsa Hack Tools
  36. Hacking Tools For Beginners
  37. How To Hack
  38. Wifi Hacker Tools For Windows
  39. Pentest Tools Bluekeep
  40. Pentest Tools Port Scanner
  41. Hacker Tools Software
  42. Hack Tool Apk
  43. Hack Tools
  44. Pentest Tools For Android
  45. Hacking Tools For Windows 7
  46. Ethical Hacker Tools
  47. Hacking Tools Hardware
  48. Hacking Apps
  49. Hacking Tools Download
  50. Computer Hacker
  51. Hacker Tools For Ios
  52. Hack Tools Mac
  53. Hacking Tools 2019
  54. Tools For Hacker
  55. Easy Hack Tools
  56. Hacker Tools 2020
  57. Hacking Tools Kit
  58. Hack And Tools
  59. Pentest Tools For Ubuntu
  60. Hacker Tools Free
  61. Hacker Tools Free
  62. Hacker Tools Apk Download
  63. Hacker
  64. Github Hacking Tools
  65. Bluetooth Hacking Tools Kali
  66. Install Pentest Tools Ubuntu
  67. Hacker Tools For Pc
  68. New Hacker Tools
  69. Nsa Hack Tools
  70. Hack Tools Download
  71. Hacking Tools For Mac
  72. Hack Tools For Mac
  73. Hacker Tools Free
  74. Hacking Tools For Windows Free Download
  75. Hacker Tools List
  76. Wifi Hacker Tools For Windows
  77. Hacker Tools Apk Download
  78. Hacker Tools Hardware
  79. Free Pentest Tools For Windows
  80. Hacking Tools Windows
  81. Pentest Tools Download
  82. Hacking Tools Windows
  83. Hacker Tools Free
  84. What Are Hacking Tools
  85. Hack Tool Apk
  86. Hack Tools Online
  87. Pentest Tools Website Vulnerability
  88. Hack Apps
  89. Hacker Search Tools
  90. Hacking Tools And Software
  91. Hacker Tools Windows
  92. Hacking Tools For Windows 7
  93. Tools For Hacker
  94. Bluetooth Hacking Tools Kali
  95. Hack Tool Apk
  96. Hacking Tools
  97. Blackhat Hacker Tools
  98. Game Hacking
  99. How To Make Hacking Tools
  100. Github Hacking Tools
  101. Hack Tools Pc
  102. Hacking Tools For Windows
  103. Hacking Tools For Windows 7
  104. Hack Tools For Mac
  105. Tools For Hacker
  106. Nsa Hack Tools
  107. Hacker Tool Kit
  108. Hacker Tools Windows
  109. Hacker Tools
  110. Hacking Tools Github
  111. Hacking Tools Name
  112. Hack Tools 2019
  113. Hacker Tools For Ios
  114. Computer Hacker
  115. Hacker Tools For Ios
  116. Hack And Tools
  117. Pentest Tools Bluekeep
  118. Hacker Tools For Windows
  119. Hack Tools Pc
  120. Pentest Tools Website Vulnerability
  121. Free Pentest Tools For Windows
  122. Hacker Tools Apk Download
  123. How To Install Pentest Tools In Ubuntu
  124. Pentest Tools Review
  125. Best Pentesting Tools 2018
  126. Pentest Tools Apk

No comments:

Post a Comment