Log in

View Full Version : MSIL Dumper


Kurapica
June 11th, 2008, 18:02
This tool uses profiling APIs to dump MSIL on the fly.

1- Select an executable assembly
2- Click "Start"
3- Check the "\Dump" folder in target directory for MSIL code.

Kurapica
June 12th, 2008, 15:11
The idea of this tool is to achieve two objects:

1 - It will dump the body of every Method (Function, Procedure) called by the executable assembly you select, The dumping occurs whenever compiler enters that method, for example if you Click some button and this button calls method "CheckLicense" then you will find a file named "CheckLicense.txt" in the "\Dump" folder.

2 - It will show you in details the methods being called and also the modules that your application loads so it could be used as a simple tracing utility for .net assemblies.

I wrote this tool to help me rebuild assemblies protected with JIT hooking technique, those assemblies can't be explored in Reflector because their methods' body is encrypted and only decrypted in runtime when the method is called so you will see no code in reflector, I assumed that I will have access to the encrypted MSIL code of the methods using Profiling APIs, there was a 50% chance of success but it turned out to be only useful against certain protections like the one that LibX coded which depends on System.Reflection.Emit.DynamicMethod to excute protected methods.

you can find more on LibX protection here
hxxp://www.reteam.org/board/showthread.php?t=799

Enjoy

dELTA
June 13th, 2008, 08:36
Nice.

CRCETL:
http://www.woodmann.com/collaborative/tools/MSIL_Dumper

Kurapica
December 28th, 2008, 09:43
What's NEW ?

1- fixed a major bug that could cause an overflow while dealing with huge functions
2- The "Log loading modules" has been fixed and can be disabled now to increase speed.

To do :

In next release I will add the ability to dump native compiled code of MSIL functions on the fly. I hope it's worth the effort

You can get this tool from our portal : http://portal.b-at-s.info/download.php

dELTA
December 29th, 2008, 19:05
Nice, CRCETL updated.

Looking forward to that next version too.