Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2011, 15:36
LaBBa LaBBa is offline
VIP
 
Join Date: Jul 2003
Posts: 150
Rept. Given: 0
Rept. Rcvd 16 Times in 4 Posts
Thanks Given: 0
Thanks Rcvd at 11 Times in 11 Posts
LaBBa Reputation: 16
issue with .NET strong name remove

Hi,
I have hard time with a target that is writen in .NET it's a big application with alot of DLLs and i have manually done the strong name removing by using the reflexil plugin of reflector.
I have also used "nt core" SNSRemover on one of the executables of the target.

After that i have removed the signatured files, when i try to run the executable it crashes, and i get that it can't find some of the dll of the application. those DLL are within folders that are not in the same level of dir with the executable file.

but if i copy all the dll files to the same dir of the executable then the file run normaly.

does anyone knows why removing the public RSA keys will inpact the path of where to find the refrence files ?

Regards,
Labba.
Reply With Quote
  #2  
Old 04-07-2011, 09:56
Sailor_EDA Sailor_EDA is offline
Friend
 
Join Date: Nov 2004
Posts: 68
Rept. Given: 8
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 50
Thanks Rcvd at 4 Times in 2 Posts
Sailor_EDA Reputation: 2
Hi LaBBa,

I had a question on a similar .NET signing issue but mine was perhaps even more basic. I tried some removing the strongname signatures in the dll using this
hxxp: // www.codeproject.com/KB/security/StrongNameRemove20.aspx

Even though it didn't work for me, you may have better luck.

Cheers
Reply With Quote
  #3  
Old 04-29-2011, 02:30
tonyweb tonyweb is offline
Family
 
Join Date: Jan 2009
Posts: 199
Rept. Given: 200
Rept. Rcvd 96 Times in 37 Posts
Thanks Given: 2,201
Thanks Rcvd at 305 Times in 125 Posts
tonyweb Reputation: 96
If dependent assemblies are in subfolders, I guess they are pointed by manifest with relative publickey token (that now you changed).

Try updating publickey token in manifest for dependent assemblies ... look here for more info:

Code:
http://msdn.microsoft.com/en-us/library/0ash1ksb.aspx
and here

Code:
http://msdn.microsoft.com/en-us/library/4191fzwb.aspx
Regards,
Tony

Last edited by tonyweb; 04-29-2011 at 02:32. Reason: more specific url
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Patching strong name .NET assembly jjhsd General Discussion 9 01-30-2005 14:45


All times are GMT +8. The time now is 03:47.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )