/mozitools

Mozi Botnet related tools helping to unpack a sample, decode a configuration and track active Mozi nodes using DHT.

Primary LanguagePythonApache License 2.0Apache-2.0

Mozitools

Features

  • Repair the UPX p_info structure (p_filesize and p_blocksize are set to null to avoid unpacking)
  • Unpack the sample using UPX
  • Recover and decrypt the configuration of the sample
  • Fake a Mozi node and request config files
  • Find others Mozi nodes and import results in ElasticSearch

Usage

pip install -r requirements.txt
python ./mozitools.py -h

Running requirements

  • This code is tested and maintained using python 3
  • UPX should be installed and available in the PATH

Dev requirements

pip install -r requirements.txt
pip install -r dev-requirements.txt

How does it work?

You can check out this Blog Article for more information.

Submit an issue

Feel free to submit any issue you could encounter. I'll be happy to provide a fix.
Please, do not forget to add details related to your issue (command line , output, sample...).

References