![]() |
|
#1
|
|||
|
|||
|
Reverse engineering mixed .NET/native code?
Anyone got any tips for reverse engineering binaries with mixed .NET and native code in them?
I can reverse engineer the .NET part with .NET reflector but how can I reverse engineer the native part? |
|
#2
|
|||
|
|||
|
> how can I reverse engineer the native part?
with Olly/IDA of course :-) |
|
#3
|
|||
|
|||
|
How can I take a call in the .NET part to a native function (as viewed in .NET reflector) and then find the code for that native function with IDA?
|
|
#4
|
|||
|
|||
|
use this:
http://www.smidgeonsoft.prohosting.com/pebrowse-pro-interactive-debugger.html i always use this debugger for obfuscated .net targets or mixed ones |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
You can parse .Net metadata segment in IDA. There is 'function' table with names, types and RVAs. That's all, what we need. Just create needed struct definitions in IDA. If you need only a few functions, use CFF explorer and look for interesting names (and their RVA). This worked for me very nice with BarTender software.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tips on reverse engineering mixed .NET/native binaries? | jonwil | General Discussion | 6 | 11-07-2019 01:31 |
| Reverse engineering x86 linux PIC code with hexrays/IDA | jonwil | General Discussion | 0 | 02-16-2009 12:08 |
| Reverse Engineering WMF Exploit Code | lownoise | General Discussion | 0 | 01-19-2006 20:09 |