A hex patching tool made for crackers, by crackers.
-
App Selector: Choose a bundle for patching.
-
List Executables: Displays a list of executable files within the selected bundle, including files from the
MacOS
andFrameworks
directories. -
Patch Hex: Find and replace hexadecimal strings in the selected executable, with support for multiple patches and confirmation when multiple matches are detected.
-
Hex Notes Import: Import and apply multiple hex patches, simplifying batch patching.
-
Wildcard Support: Use wildcards (
??
) in your hex patterns to match any byte in the target file, with strict validation to ensure correct usage in both "find" and "replace" patterns. -
Error Handling: Provides detailed error messages to assist users in identifying and rectifying any issues, including invalid hex strings, mismatches, or improper wildcard usage.
-
Progress Indicator: Displays a progress indicator while the patching process is in progress, keeping the user informed of the current status.
This section will guide you through the different ways to use Amimod, including manual hex patching, importing hex notes, and using wildcard bytes.
-
Launch Amimod.
-
Click the "Select File" button to open a file dialog.
-
Choose the bundle you want to patch. Amimod will automatically scan the bundle and list all executable files under
Contents/MacOS
andContents/Frameworks
. -
Select the executable you want to patch from the dropdown list.
Amimod allows you to manually input hex patterns to find and replace within the selected executable.
-
In the "Find Hex" field, enter the hex pattern you want to search for. For example,
48 89 E5
. -
In the "Replace Hex" field, enter the hex pattern you want to replace it with. For example,
90 90 90
(NOP instructions). -
Click "Patch Hex" to apply the patch.
Amimod supports wildcard bytes (??
) in the "Find Hex" field. Wildcards allow you to specify a byte that can match any value, which is useful if the target pattern contains variable or unknown bytes.
- Find Hex:
48 89 ?? 5D
- Replace Hex:
90 90 90 90
In this case, the ??
will match any byte in the third position, allowing for flexibility in the search pattern.
Important: Wildcards (??
) can also be used in the "Replace Hex" field, but only when the corresponding byte in the "Find Hex" field is also a wildcard. This ensures that you are not accidentally replacing a specific byte with an undefined value.
- Find Hex:
48 89 ?? 5D
- Replace Hex:
90 90 ?? 90
In this case, the ??
in both the "Find Hex" and "Replace Hex" fields ensures that the third byte remains unchanged, while the other bytes are replaced.
- If Amimod finds multiple matches for the provided hex pattern, it will ask for confirmation before proceeding. You will be notified of the number of matches, and you can choose whether to continue or cancel the patching process.
Amimod allows you to import multiple hex patches from a text file or manual input. This is useful for applying a series of patches at once.
Hex notes should follow a loose format for Amimod to recognize them:
<find hex>
to
<replace hex>
Each patch should consist of the hex string you want to find, followed by the keyword to
, and then the hex string you want to replace it with. As long as the chunk(s) of 3 lines are together, any other text will be ignored and will not cause any errors.
x86_64:
31 C0 ?? ?? C3
to
31 C0 90 90 C3
ARM64:
?? ?? 80 52 C0 03 5F D6
to
20 00 80 52 C0 03 5F D6
-
Click the "Import" button (represented by a square and arrow down icon in the toolbar).
-
Paste your hex notes into the provided text editor in the import sheet.
-
Click "Import" to load the patches.
-
Amimod will now use the imported patches instead of manual input.
-
Click "Patch Hex" to apply all imported patches to the selected executable.
Once you've either manually entered hex patterns or imported hex notes, click the "Patch Hex" button to apply the patch to the selected executable.
-
If the patch is successful, Amimod will display a success message.
-
If there are any errors (e.g., no matches found, invalid hex string, improper wildcard usage, etc.), Amimod will show a detailed error message to help you troubleshoot.
While the patch is being applied, a progress indicator will appear at the bottom of the window, informing you that the patching process is in progress. Once completed, you'll receive a success or error notification.
- A Mac with an Intel or Apple Silicon processor
- macOS 11.0 (Big Sur) or later
-
Grab the latest release from here.
-
Mount the DMG.
-
Drag
Amimod.app
to the Applications folder.
-
Clone the repository.
-
Open the Xcode project.
-
Build and archive the
Amimod
target. -
Copy the generated
Amimod.app
to the/Applications
directory.
-
This tool is provided free of charge for everyone. If you paid for this, you were scammed.
-
The tool can be forked and modified so long as original credit is given. All rights reserved.
-
Code: eD! / EshayDev
-
Graphics: eD! / EshayDev
-
Music: OMICRON
-
Testing: eD! / EshayDev, Sneethan, BruhgDev