Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Weird .Net app compression problem (https://forum.exetools.com/showthread.php?t=10362)

iwill 11-13-2006 15:28

Weird .Net app compression problem
 
i m making a small .net compressor, while after i added a small decompressor section in the end of the pe file, while after everything is done, the system reports "Strong name validation failed for assembly
'C:\test\my.exe'. The file may have been
tampered with or it was partially signed but not fully signed with the correct
private key
."

It is really weird, because i did not add any strong name in the exe
any guys met the same problem?

Lunar_Dust 11-15-2006 00:55

.Net apps are very, very strict in their PE layout and structure. I doubt you can reliably connect your own section on to a .NET PE file. It would be better to make a normal launcher EXE, and then embed the .NET app into that in a new section, and use reflection to launch it from memory.

I'm assuming you have read thru the ECMA specs for .NET PE structures. It does make notes like required section alignment, etc. From my experience it is really not possible to modify a .NET PE file in "old" ways of how most protectors work - once you do so, the .NET program will not run.

-Lunar

iwill 11-15-2006 11:25

can reflection be used in normal win32 exe? it's same another way, compress the .Net application and add as new section in the normal win32 lancher exe, when lancher exe starts, it first decompress .Net application and then lanch it from memory by using reflection?

Is my understanding right? While how to lanch .Net from memory by using reflection in win32? i know little about .Net exe and reflection.

Lunar_Dust 11-17-2006 02:25

yes, the method you describe is correct. Google for ".NET protection" and you will get some hits. Also check out ARTEAM's new .NET cracking e-zine (get it from ARTEAM site) and inside that tutorial are many refereces to external information, which will also lead you to what you are looking for.

-Lunar

Shub-Nigurrath 11-17-2006 05:52

this is almost the same trick I saw in the application I used for the tutorial Lunar_Dust told you (primer on .net), see my chapter inside it


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

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX