Reverse engineering with python
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Reverse engineering with python

on

  • 1,414 views

Learn reverse engineering with python

Learn reverse engineering with python

Statistics

Views

Total Views
1,414
Views on SlideShare
1,414
Embed Views
0

Actions

Likes
0
Downloads
13
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Reverse engineering with python Presentation Transcript

  • 1. Reverse Engineering with By – Abhay Vaish twitter.com/abhaythehero
  • 2. Reverse Engineer probably …
  • 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. 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. http://pythonarsenal.erpscan.com/ Oh yeah it is an arsenal. No sweat !
  • 6. Magic of ctypes
  • 7. calling windows api using ctypes
  • 8. pydbg
  • 9. Python and Immunity Debugger
  • 10. pefile – to parse PE headers and other sections From https://code.google.com/p/pefile/wiki/UsageExamples
  • 11. pydasm – disassembling machine code to assembly  Python wrapper for libdasm.
  • 12. Thank You