Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > .NET Reverse Engineering
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #341  
Old 01-27-2008, 02:18 PM
rendari rendari is offline
Member
 
Join Date: Aug 2007
Posts: 39
Default

Quote:
Originally Posted by bigmouse View Post
@rendari
http://www.filesend.net/download.php...5647195d47473e

only encrypted pure ilcode? method header leaved as-is?
Well, if I encrypted the method header, then it would crash because method header is being read from mscorwks.dll, before compileMethod, and I haven't found a way to hook mscorwks.dll yet.

GJ, can we expect a tuto, or at least a short explanation?
Reply With Quote
  #342  
Old 01-27-2008, 03:02 PM
bigmouse bigmouse is offline
Senior Member
 
Join Date: Sep 2007
Posts: 125
Default

hook compileMethod function, log each method's ilcode.

virtual enum CorJitResult __stdcall
CILJit::compileMethod(class ICorJitInfo *,
struct CORINFO_METHOD_INFO *,
unsigned int,
unsigned char * *,
unsigned long *) proc near

The second parameter, a pointer to CORINFO_METHOD_INFO, is a structure as follows.

struct CORINFO_METHOD_INFO
{
CORINFO_METHOD_HANDLE ftn;
CORINFO_MODULE_HANDLE scope;
BYTE * ILCode;
unsigned ILCodeSize;
unsigned short maxStack;
unsigned short EHcount;
CorInfoOptions options;
CORINFO_SIG_INFO args;
CORINFO_SIG_INFO locals;
};

Last edited by bigmouse : 01-27-2008 at 03:04 PM.
Reply With Quote
  #343  
Old 01-28-2008, 10:10 AM
JackTheRipper JackTheRipper is offline
Member
 
Join Date: Jan 2008
Posts: 22
Default

Quote:
Originally Posted by Kurapica View Post
Wow this is an interesting tool ! really solves the codeveil problem like a charm...

You can also use it to fix the codeveil 1.3 dump and no need for manual work any more with CFF or Winhex.

@BigMouse : I'm still waiting to see that jithook unpacker you did, It seems very nice work well done my friend and thanks for sharing the Rebuilder.
I've tried this tools on my "preferred" target, a dll assembly protected with CodeVeil 1.3 (here you can find a dumped and CFF-fixed copy hxxp://rapidshare.com/files/80722569/Designer.zip.html) but it fails to load it if I first don't patch it with CFF; after patching with CFF it seems to work ok but Reflector cannot open it anymore, giving an overflow error.
I've tried both with the option "strip Win32 resource" on and off.

Any help is greatly appreciated. Thanx
Reply With Quote
  #344  
Old 01-28-2008, 10:06 PM
rendari rendari is offline
Member
 
Join Date: Aug 2007
Posts: 39
Default

Hello all,

I ran across this article:
http://www.geocities.com/krishnapg/SecureAssembly.html

It turns out, that the native loader of (if I remember correctly) .NET reactor does almost exactly the same as described in the above article. Interesting method to load .NET assemblies out of native exes
Reply With Quote
  #345  
Old 01-29-2008, 01:53 PM
bhu bhu is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Default

Hi
I am new to this.
i think you have all the tut as one bundle. Can you please post it at some please.

I read the article rendari, nice one.
thank you
bhu
Reply With Quote
  #346  
Old 01-29-2008, 03:03 PM
Kurapica Kurapica is offline
Senior Member
 
Join Date: May 2006
Location: Archives
Posts: 357
Default

Quote:
Originally Posted by bhu View Post
Hi
I am new to this.
i think you have all the tut as one bundle. Can you please post it at some please.

I read the article rendari, nice one.
thank you
bhu
All are posted here, maybe a couple of pages before ..
but you can grab all from here...

http://forums.accessroot.com/index.php?showtopic=6627

Greetz
__________________
Life can only be understood backwards but It must be read forwards.
Reply With Quote
  #347  
Old 01-29-2008, 03:41 PM
bhu bhu is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Default

Thank you,
bhu
Reply With Quote
  #348  
Old 01-29-2008, 05:25 PM
Kurapica Kurapica is offline
Senior Member
 
Join Date: May 2006
Location: Archives
Posts: 357
Default DeObfuscator 0.3

Hi everyone ..

I added a new feature which allows you to have more control over renaming pattern for all assembly members.

http://rapidshare.com/files/87652035/DeObfuscator.rar.html

GreetZ
__________________
Life can only be understood backwards but It must be read forwards.

Last edited by Kurapica : 01-29-2008 at 05:34 PM.
Reply With Quote
  #349  
Old 02-01-2008, 06:33 AM
JackTheRipper JackTheRipper is offline
Member
 
Join Date: Jan 2008
Posts: 22
Default

Quote:
Originally Posted by Kurapica View Post
Wow this is an interesting tool ! really solves the codeveil problem like a charm...

You can also use it to fix the codeveil 1.3 dump and no need for manual work any more with CFF or Winhex.

@BigMouse : I'm still waiting to see that jithook unpacker you did, It seems very nice work well done my friend and thanks for sharing the Rebuilder.
Quote:
Originally Posted by JackTheRipper View Post
I've tried this tools on my "preferred" target, a dll assembly protected with CodeVeil 1.3 (here you can find a dumped and CFF-fixed copy hxxp://rapidshare.com/files/80722569/Designer.zip.html) but it fails to load it if I first don't patch it with CFF; after patching with CFF it seems to work ok but Reflector cannot open it anymore, giving an overflow error.
I've tried both with the option "strip Win32 resource" on and off.

Any help is greatly appreciated. Thanx
No news for me?
Reply With Quote
  #350  
Old 02-06-2008, 12:42 AM
mastershake mastershake is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Default

hey guys, newbie here.

I've been a .NET developer for a while, but I have been playing around with reverse engineering lately. I am very interested in .NET assemblies so I will be looking around and following the thread.

thanks guys, keep this going.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump





Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.