Your SlideShare is downloading. ×
Reverse engineering with python
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Reverse engineering with python

1,483
views

Published on

Learn reverse engineering with python

Learn reverse engineering with python

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,483
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
30
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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