• 0

.net application encryption.


Question

Is it possible, using either vb.net or c# to write an onload function that will decrypt the application itself? We used to use polymorphism when I was writing x86 computer virii in the early 90's, but I am not sure that this is possible using the CLR, since the applications themselves don't have a correct PE header. Does anyone know if anything like this is possible, other than using some form of obfuscation? I dont need it for any specific reason, I was just curious if it was possible to encrypt part of a program and decrypt it at run time. Thanks.

Link to comment
https://www.neowin.net/forum/topic/1090837-net-application-encryption/
Share on other sites

4 answers to this question

Recommended Posts

  • 0

VS 2010 came with a free community edition of an obfuscator...it wasn't the greatest, but it was free and works relatively well for preventing RE'ing of your app. Check it out

edit: here you go: http://blogs.msdn.com/b/bethmassi/archive/2010/02/23/dotfuscator-gets-better-and-still-free-in-visual-studio-2010.aspx

  • 0

what you can do is create a dropper. you can use a host app to deploy another app line by line to a buffer and than compile that buffer into a executable.. .net allows inline compilation. you can crypt this code with some algorithm on droppers source and obfuscate the dropped exe, make random calls, inline calls, asm calls, dll calls or whatever to make harder to understand

This topic is now closed to further replies.