Skip to content

shiftre/DIE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic IDA Enrichment Framework (aka. DIE)

DIE is an IDA python plugin designed to enrich IDA`s static analysis with dynamic data. This is done using the IDA Debugger API, by placing breakpoints in key locations and saving the current system context once those breakpoints are hit.

The saved context consist of function arguments and register states, and it is saved upon each function CALL and function RETURN.

DIE takes advantage of IDA`s powerfull analysis engine, so that when context is taken DIE is fully aware of known function prototypes, data types, structures, unions, arrays and basically every piece of information IDA provides during static analysis.

In order to take this one step further, once context has been saved, DIE attempts to parse the individual data types based on an integrated (and extendable!) parser framework.

So for example, if the current context has a function argumnent with type 'CHAR *' DIE will dereference its address and show a human readable ASCII string as value.

If the current context holds a argument with unknown value, DIE will not give up and attempt to guess the value using all relevant parsers.

This parser framework is the real power behind DIE, parser plugins can parse anything from BOOL values to image files to injected code.

The resault is a dynamic databse that holds parsed runtime arguments, which are avilable to the user during static analysis.

Installation

Installation Prerequists:

  1. IDA >6.6
  2. Python 2.7
  3. Yapsy - install using 'pip install yapsy' or your favorite package manager
  4. Pywin32 - install via http://sourceforge.net/projects/pywin32/files/pywin32/

Install ida-python patch:

  1. If running under IDA 6.6: Extract the content of the ida-python-patch.zip file into your IDA directory.

  2. If running under IDA 6.7: Replace the binaries found in ida67_patch.zip file with the original IDA binaries

Note that both of this patches are official patches compiled by hex-rays, and were created due to a bug in the relevant version.

Install Plugin:

  1. Copy 'DIE.py' and the 'DIE' dir into your IDA plugin directory.

About

Dynamic IDA Enrichment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages