Giter Site home page Giter Site logo

dynapstalker's Introduction

Dynapstalker

Generate an IDC script to colorize IDA Pro basic blocks using DynamoRIO's drcov output. Inspired by (and IDC script code) taken from Paimei's Pstalker by Pedram Amini, but this is a lot easier to get the output and DynamoRIO is a lot faster for instrumentation.

Installation

  1. Install Python
  2. Download DynamoRIO 7 or later from dynamorio.org. Unzip to a directory on your system. Dynapstalker will not work with versions of the drcov utility from DynamoRIO prior to DynamoRIO 7.
  3. Launch your target app using drcov, generating ASCII log file output, as shown: drrun.exe -t drcov -dump_text -- targetapp.exe
  4. When targetapp.exe exits, drcov will generate a log file, identifying all the reached blocks.
  5. Convert the drcov log file to IDA Pro scripting format using dynapstalker: $ python dynapstalker.py sample/drcov.Savant.exe.03632.0000.proc.log savant.exe out.idc
  6. From IDA Pro, click File | Script File, navigate to and run the output IDC script. The instrumented blocks identified with drcov will change color to yellow by default, or any other color you specify with an RGB code.

Questions, Comments, Suggestions?

Joshua Wright

[email protected]

@joswr1ght

dynapstalker's People

Contributors

joswr1ght 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.