Slideshare.net (beta)

 

All comments

Add a comment on Slide 1

If you have a SlideShare account, login to comment; else you can comment as a guest


Showing 1-50 of 0 (more)

Two very small reverse engineering tools: a python disassembling engine and an iterative reverse engineering framework - Gera

From nsbuttar, 1 month ago

125 views  |  0 comments  |  0 favorites  |  0 downloads
Embed
options

More Info

This slideshow is Public
Total Views: 125
on Slideshare: 125
from embeds: 0

Slideshow transcript

Slide 1: Two small RE tools Iterative Decompilation Python disassembling engine June 2008  Montreal  Gerardo Richarte  gera@corest.com

Slide 2: Iterative decompilation why? how? – very simple compile new C to DLL add new import entry VirtualProtect() + patch on DLL startup demo 1 – normal use case demo 2 – for instrumentation June 2008  Montreal  Gerardo Richarte  gera@corest.com

Slide 3: Python disassembling “engine” why? how? pgraph as graph backend (PAIMEI compatibility) pydasm (libdasm) as disassembly backend pefile for parsing PEs functions and basic blocks queues demo 1 – breaking on every function or block demo 2 – graphing June 2008  Montreal  Gerardo Richarte  gera@corest.com

Slide 4: Python disassembling “engine” debugging m = module() m.load('notepad.exe') m.analyze() for function in m.nodes: dbg.bp_set(function.ea_start) for basic_block in function.nodes: dbg.bp_set(basic_block.ea_start) June 2008  Montreal  Gerardo Richarte  gera@corest.com

Slide 5: Python disassembling “engine” graph compared to IDA's one byte – many basic blocks PAIMEI / PIDA June 2008  Montreal  Gerardo Richarte  gera@corest.com

Slide 6: Questions? Thank you Thanks for ReCon keep doing it we love it! @corest.com http://oss.corest.com June 2008  Montreal  Gerardo Richarte  gera@corest.com