Skip to main content

Static deobfuscator for Themida's mutation-based obfuscation.

Project description

themida-unmutate

GitHub release Minimum Python version CI status

A Python 3 tool to statically deobfuscate functions protected by Themida, WinLicense and Code Virtualizer 3.x's mutation-based obfuscation.
The tool has been tested on Themida up to version 3.1.9. It's expected to work on WinLicense and Code Virtualizer as well.

A Binary Ninja plugin is also available here.

Features

  • Automatically resolve trampolines' destination addresses
  • Statically deobfuscate mutated functions
  • Rebuild fully working binaries

Known Limitations

  • Only supports x86_64 binaries

How to Download

You can install the project with pip:

pip install themida-unmutate

A standalone PyInstaller build is available for Windows in "Releases".

How to Use

Here's what the CLI looks like:

$ themida-unmutate --help
usage: themida-unmutate [-h] -a ADDRESSES [ADDRESSES ...] -o OUTPUT [--no-trampoline] [--reassemble-in-place] [-v] protected_binary

Automatic deobfuscation tool for Themida's mutation-based protection

positional arguments:
  protected_binary      Protected binary path

options:
  -h, --help            show this help message and exit
  -a ADDRESSES [ADDRESSES ...], --addresses ADDRESSES [ADDRESSES ...]
                        Addresses of the functions to deobfuscate
  -o OUTPUT, --output OUTPUT
                        Output binary path
  --no-trampoline       Disable function unwrapping
  --reassemble-in-place
                        Rewrite simplified code over the mutated code rather than in a new code section
  -v, --verbose         Enable verbose logging

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

themida_unmutate-0.1.2.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

themida_unmutate-0.1.2-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file themida_unmutate-0.1.2.tar.gz.

File metadata

  • Download URL: themida_unmutate-0.1.2.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for themida_unmutate-0.1.2.tar.gz
Algorithm Hash digest
SHA256 661afae6ea53bc6adb59748cfef2ef449ed1d12d21ec12751ed5d6341c402f0c
MD5 a090462feb31874dde37600881a39769
BLAKE2b-256 620bf08ba758b34829fd2202eb70acab49075bb329eeaf1cb98144141e0e8da4

See more details on using hashes here.

File details

Details for the file themida_unmutate-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for themida_unmutate-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa8043774db8fd48b46d48518e3aba9dabd744ca29557c74ff302ff436f5690b
MD5 5bef3a843e711da9b2a871a11afa9fbd
BLAKE2b-256 3bb580142ebccdc61d097ad2323cc0ab94a389174615e9e2c43492d6312106e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page