Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Reverse Engineering
with
By –
Abhay Vaish
twitter.com/abhaythehero
Reverse Engineer probably …
Lets brush up some basics !
 General-Purpose CPU Registers
 The Stack, The Heap
 Breakpoints
 1. Software Breakpoints...
How can python help ?
 Portability to various systems and architectures.
 Easy to code. I mean damn easy. Tools for RE o...
http://pythonarsenal.erpscan.com/
Oh yeah it is an arsenal. No sweat !
Magic of ctypes
calling windows api using
ctypes
pydbg
Python and Immunity
Debugger
pefile – to parse PE headers
and other sections
From https://code.google.com/p/pefile/wiki/UsageExamples
pydasm – disassembling
machine code to assembly
 Python wrapper for libdasm.
Thank You
Upcoming SlideShare
Loading in …5
×

Reverse engineering with python

3,902 views

Published on

Learn reverse engineering with python

Published in: Technology
  • Be the first to comment

Reverse engineering with python

  1. 1. Reverse Engineering with By – Abhay Vaish twitter.com/abhaythehero
  2. 2. Reverse Engineer probably …
  3. 3. Lets brush up some basics !  General-Purpose CPU Registers  The Stack, The Heap  Breakpoints  1. Software Breakpoints  2. Memory Breakpoint  3. Hardware Breakpoints
  4. 4. How can python help ?  Portability to various systems and architectures.  Easy to code. I mean damn easy. Tools for RE often need to be made on short deadlines  Quick Networking protocols implementation  Great libraries and online community  Leverage multiple projects and chain them  Automation ninja.  RE related code sometimes (almost every time !) is too painful to understand. Enter python m/
  5. 5. http://pythonarsenal.erpscan.com/ Oh yeah it is an arsenal. No sweat !
  6. 6. Magic of ctypes
  7. 7. calling windows api using ctypes
  8. 8. pydbg
  9. 9. Python and Immunity Debugger
  10. 10. pefile – to parse PE headers and other sections From https://code.google.com/p/pefile/wiki/UsageExamples
  11. 11. pydasm – disassembling machine code to assembly  Python wrapper for libdasm.
  12. 12. Thank You

×