Skip to main content

# VivisectION Emulation-Driven Reversing Toolset

Project description

VivisectION Emulation-Driven Reversing Toolset

VivisectION is the cross-section of GUI Reversing, Emulation and Debugging, with an emphasis on using Emulation and other powerful Vivisect toys to aid in Reverse Engineering and Vulnerability Research.

Among other things, VivisectION (aka Ion) is a Vivisect Extension (or plugin).

Primarily this plugin allows the GUI to easily setup an emulator for Functions (right click on the Function address)

Installation:

Install Vivisect and make sure it works before installing VivisectION.

On Ubuntu, install PyQt5 and PyQtWebkit via apt:

    $ sudo apt install python3-pyqt5 python3-pyqt5.qtwebkit

On other Linux, you may find either of these work. On Ubuntu, PyPi's PyQt5 installation somehow breaks things.

On Windows (and possibly some Linuxes), be sure to include the [gui] option (it includes the PyQt5 components):

    $ pip install vivisect[gui]

Then install VivisectION using Pip:

    $ pip install VivisectION

Alternately, you can install from the latest Github repo (or using a modified form on your local drive):

    $ git clone https://github.com/atlas0fd00m/VivisectION
       #(possibly modify anything)
    $ pip install ./VivisectION

You must first activate the plugin:

The following tools will manage a symlink to the plugin directory into $HOME/.viv/plugins/ (or the last directory in your VIV_EXT_PATH)

    $ vivisection_activate      # to install the plugin
        # and 
    $ vivisection_deactivate    # to remove the plugin

Features:

  • Ion Toolbar in Vivisect
  • Function Emulation (console) - Right click on a function address and choose "SmartEmu-Console" to emulate using the console (how you started Vivisect)
  • Function Recon - Right click on a function and choose FuncRecon to emulate through all instructions and return interesting bits
  • CLI - by clicking the button, users get an interactive python shell in the console (cli you started Vivisect from)

Future:

  • It will also glue debuggers together with Vivisect Server/Shared Workspace

  • Debugger attach, dump, and prep for Emulation

    • Import VSNAP, convert to Emu
    • Import GDB Core file, convert to Emu
  • Other goodies as I decide to release them (C++ helpers, anyone?)

Getting Started

  • "Activate" the plugin
  • Start vivbin from a console (not an icon that hides the console)
  • Click the CLI button to get an interactive python session in the console with vw as the VivWorkspace
  • Right Click on a Function address and choose SmartEmu - console from the context menu. ** Modify (if desired) the emulator setup in the pop-up window ** Get a NinjaEmulator in the console window ** After you quit the NinjaEmulator, you'll get dropped into iPython. Ctrl-D or exit to get out (before emulating anything else)

FAQ:

  • happened and now my command line won't show me typing anything ** Type (blind, I know) stty sane and press enter. This normally sets the terminal back to normal (sane).

  • I can't get a CLI and a Function Emulator at the same time! ** Sorry, I haven't created code required for Multi-function emulation. Currently we only support using the main CLI used to start Vivisect.

  • I can't get a CLI or a Function Emulator! ** Sometimes, the state of the CLI gets mucked up and we track that it's in use when it is not. You can Reset this state using Plugins->Ion->Reset Console In Use

Blessing

go forth and hack great things!

@

greetz

  • Invisig0th
  • Rakuy0
  • Sk0d0
  • mechanicalnull
  • la familia
  • the GRIMM team
  • Samurai CTF

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

VivisectION-1.0.0.tar.gz (67.9 kB view details)

Uploaded Source

Built Distribution

VivisectION-1.0.0-py3-none-any.whl (72.8 kB view details)

Uploaded Python 3

File details

Details for the file VivisectION-1.0.0.tar.gz.

File metadata

  • Download URL: VivisectION-1.0.0.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.12 CPython/3.10.12

File hashes

Hashes for VivisectION-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e16972bdc03b4e59871d6eabedeb505377cc6002242e308b84fca9780ce294b4
MD5 6ed65780149f38df68e1f337341e3476
BLAKE2b-256 9c54665cc45f896fff4e6843c47d8bfcd31961cfdc79420b43a71a0b41673064

See more details on using hashes here.

File details

Details for the file VivisectION-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: VivisectION-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 72.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.12 CPython/3.10.12

File hashes

Hashes for VivisectION-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f3d58b9b2fba477133132c59fb32f27f24e443e5f70be3d12f033c04e5d7e91
MD5 2951871044b19b95d51988f528f22809
BLAKE2b-256 dd4da9abeb8f163de1895081b21d83d10f66c9e32f1adf5cab0436a8fc97ecc7

See more details on using hashes here.

Supported by

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