evdokimov python arsenal for re

15
Python Arsenal for Reverse Engineering Dmitry “D1g1Evdokimov DSecRG, Security Researcher

Post on 21-Oct-2014

1.462 views

Category:

Documents


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Evdokimov   python arsenal for re

Python Arsenal for Reverse

Engineering

Dmitry “D1g1″ Evdokimov

DSecRG, Security Researcher

Page 2: Evdokimov   python arsenal for re

#whoami

• Security Researcher in DSecRG

– RE

– Fuzzing

– Mobile security

• Organizer: DCG #7812

• Editor in “XAKEP”

2 ZeroNights 2012

Page 3: Evdokimov   python arsenal for re

Intro

3 ZeroNights 2012

Page 5: Evdokimov   python arsenal for re

Ruby?

• Metasm - the Ruby assembly manipulation suite

• Idarub - Ruby plugin for IDAPro • Ragweed - scriptable Win32/Linux/OSX

debugger written in ruby • frasm - Ruby bindings for distorm64 • LeafRub - x86 ELF Analysis and Debugging • rbkb - A miscellaneous collection of command-

line tools and ruby library helpers related to pen-testing and reversing

• jdi_hook - JRuby based scriptable Java debugger using the JDI interface

• ???

ZeroNights 2012 5

Page 6: Evdokimov   python arsenal for re

Python!

6 ZeroNights 2012

BeaEnginePython bochs-python-

instrumentation Buggery Ctypes Deviare dislib diStorm FrASM IDAPython ImmLIB libdisassemble lldb llvmpy Macholib Miasm OllyPython PDBparse PEEL pefile PIDA

PinPy ProcessTap pyasm PyBox PyCodin pydasm Pydb PyDBG PyDbgEng pydbgr PyDevTools pydot pydusa PyEA PyELF Pyelftools PyEMU pyew pygdb pyHIEW

pykd Pylibemu pylibscizzle pyMem pymsasid pyREtic PySTP python-adb python-haystack python-ptrace PythonGdb pytracer radapy ramooflax uhooker Vivisect vtrace WinAppDbg Z3-python Z3Py …

Page 7: Evdokimov   python arsenal for re

Example

ZeroNights 2012 7

Target Monitor

Fuzzer TestCase

Generator

CodeCoverage analyzer

ProcessTap

Z3Py

vtrace

IDA Pro

IDAPython

Target

Page 8: Evdokimov   python arsenal for re

The first idea

ZeroNights 2012 8

Page 9: Evdokimov   python arsenal for re

Web portal

ZeroNights 2012 9

http://pythonarsenal.dsecrg.ru/

http://pythonarsenal.erpscan.com/

Page 10: Evdokimov   python arsenal for re

Site:Main

10 ZeroNights 2012

Page 11: Evdokimov   python arsenal for re

Library:Description

11 ZeroNights 2012

Page 12: Evdokimov   python arsenal for re

Site:Search

12 ZeroNights 2012

Page 13: Evdokimov   python arsenal for re

Site:Feedback

13 ZeroNights 2012

Page 14: Evdokimov   python arsenal for re

Conclusion

- Gratz!

- Anton Astafiev

- Future work

- Update/implementation/fix

- Development

- News

- Statistics/graph/chart

14 ZeroNights 2012

Page 15: Evdokimov   python arsenal for re

Contact

Twitter: @evdokimovds

E-mail: [email protected]

15 ZeroNights 2012