Giter Site home page Giter Site logo

vivisect's Introduction

Vivisect / Vdb / Vtrace

A combined disassembler/static analysis/symbolic execution/debugger framework. More documentation is in the works :)

Vdb

As in previous vdb releases, the command python vdbbin from the checkout directory will drop you into a debugger prompt on supported platforms. ( Windows / Linux / FreeBSD / OSX... kinda? )

Commands in vdb grow/refine quickly, so use in-line help such as:

vdb> help

or...

vdb> help writemem

to show available commands and options.

Vivisect

Fairly un-documented static analysis / emulation / symbolik analysis framework for PE/Elf/Mach-O/Blob binary formats on various architectures. To start with, you probably want to run a "bulk analysis" pass on a binary using:

python2 -m vivisect.vivbin -B <binaryfile>

which will leave you with .viv

Then run:

python2 -m vivisect.vivbin <binaryfile>.viv

to open the GUI and begin reverse engineering. As with most vtoys, the ui relies fairly heavily on right-click context menus and various memory views.

For the binary ninjas, all APIs used during automatic analysis ( and several that aren't ) are directly accessible for use writing your own custom research tools... The interface should be nearly the same when dealing with a real process ( via vdb/vtrace ) and dealing with an emulator / viv workspace.

UI Dependencies

The vivisect UI can be run under either PyQt4 and PyQt5

For running via PyQt4, first you'll need to install Qt4 and Qt4-Webkit libraries. On Ubuntu, you can do this via:

sudo apt-get install libqt4-dev libqtwebkit-dev

If you're on an older version of python, you may be able to pip install PyQt4 and SIP like so:

pip install PyQt4 SIP

However, on recent (tested on 2.7.15 December 2018) versions of pip, that pip install fails. To get around this, you'll need to download the sources for both PyQt4 and SIP from Riverbank.

  • SIP can be found here
  • PyQt4 can be found here

Untar them to their respective directories and cd in the directory for SIP:

tar -xf sip-4.19.13.tar.gz
tar -xf PyQt4_gpl_x11-4.12.3.tar.gz
cd sip-4.19.13/

Then build the SIP module. Due to the recent version of SIP we're using, we have to build it as a private module like so:

python configure.py --sip-module PyQt4.sip
make
make install

Now cd back to the PyQt4 module and build that one:

cd ../PyQt4_gpl_x11-4.12.3/
python configure-ng.py
make -j4
make install

If you run into an Error 2 status code on the make install line, replace that line with sudo make install, and things should work out fine.

And then you should be able to open up your vivisect workspace with the vivbin script.

PyQt5

Installing PyQt5 via pip is not supported in Python 2.x. So similar steps must be followed to install PyQt5 to get the UI working that way as well.

Install qt5 and the webkit dependency:

sudo apt-get install qt5-default libqt5webkit5-dev

Install the dependencies that PyQt5 needs:

pip install enum34

The rest of the build/install steps are the same, save for changing out the version numbers from PyQt4 to PyQt5.

Dependencies:

To enable proper networking:

pip install msgpack

To enable Posix C++ demangling:

pip install cxxfilt

Build Status

Build Status

vivisect's People

Contributors

atlas0fd00m avatar calebmadrigal avatar chompie-vertex avatar cmaruti avatar demoray avatar etke avatar evil-e avatar hexadecimoose avatar invisig0th avatar jhsmith avatar joshuahoman avatar jroimartin avatar l1berty avatar mr-tz avatar rakuy0 avatar redheadedrod avatar repete avatar spresec avatar sroberts avatar strictlymike avatar upside2 avatar uxmal avatar williballenthin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.