Preventing decompilers in .NET

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Mar 2008
Posts: 12
Reputation: noktasizvirgul is an unknown quantity at this point 
Solved Threads: 0
noktasizvirgul noktasizvirgul is offline Offline
Newbie Poster

Preventing decompilers in .NET

 
0
  #1
Aug 15th, 2008
Today I found 2 distinct program which can takes .exe's and gives sorce code exactly, same method names, same class names, same variables also. I am trying to find a solution which can stop this decompilers. I found solutions but they just make the decompiling job harder. I need to make it impossible to see C# source code. Do you know any solution for this ?

Not only solution, if you have any idea we can discuss it ?

I am waiting for your replies.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,606
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 130
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: Preventing decompilers in .NET

 
0
  #2
Aug 15th, 2008
If you have an ASP.NET server, then create a service with a set of methods for you application that the client will call, so the "valuable" code will be stored on the server.

My point is, once the machine code is available to the client, reverse engineering is always possible.

If you're not looking for a 98% foolproof way, then there are several .NET obfuscation tools available for a charge.
Last edited by scru; Aug 15th, 2008 at 1:13 pm.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,162
Reputation: dickersonka will become famous soon enough dickersonka will become famous soon enough 
Solved Threads: 137
dickersonka dickersonka is offline Offline
Veteran Poster

Re: Preventing decompilers in .NET

 
0
  #3
Aug 15th, 2008
I'm sure you have already looked at obfuscation. That is about the best solution. If you are writing managed code, as in C#, it can be decompiled.

Here is a program that makes it harder than just plain obfuscation, but still doable, think its outdated now, but there might be something like it floating around.

http://www.remotesoft.com/salamander/protector.html
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 269
Reputation: sarehu is on a distinguished road 
Solved Threads: 22
sarehu's Avatar
sarehu sarehu is offline Offline
Posting Whiz in Training

Re: Preventing decompilers in .NET

 
0
  #4
Aug 15th, 2008
Have you ever actually had problems with people decompiling your code?
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 58
Reputation: vckicks is an unknown quantity at this point 
Solved Threads: 9
vckicks vckicks is offline Offline
Junior Poster in Training

Re: Preventing decompilers in .NET

 
0
  #5
Aug 18th, 2008
This is a pretty big issue when it comes to .Net applications. In case you haven't, I would read up on .Net Obfuscation, which is the simplest way to protect your applications.

RemoteSoft's Protector is more advanced, but definitely more powerful. I have used it in the past and it's very good. But nowadays Xenocode is a more up-to-date company with also some impressive software.

Just watch out for simple .Net encryptors, they don't really protect applications as well as they say.
Visual C# Kicks - Free C# code resources and articles.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 12
Reputation: noktasizvirgul is an unknown quantity at this point 
Solved Threads: 0
noktasizvirgul noktasizvirgul is offline Offline
Newbie Poster

Re: Preventing decompilers in .NET

 
0
  #6
Aug 19th, 2008
Yes I have problems with people decompiling my code now.

I found a program which works well to now, CodeVeil. Anybody has any idea about this program??
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 58
Reputation: vckicks is an unknown quantity at this point 
Solved Threads: 9
vckicks vckicks is offline Offline
Junior Poster in Training

Re: Preventing decompilers in .NET

 
0
  #7
Aug 19th, 2008
Looks interesting, although I've never heard of it before. Just as long as it encrypts .Net programs by parts instead of the entire application and then running it on memory, it should be okay.
Visual C# Kicks - Free C# code resources and articles.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Preventing decompilers in .NET

 
0
  #8
Aug 20th, 2008
Only potential downside to that app is that it uses native code, as a result anyone trying to use mono or such would find it wouldnt run.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 12
Reputation: noktasizvirgul is an unknown quantity at this point 
Solved Threads: 0
noktasizvirgul noktasizvirgul is offline Offline
Newbie Poster

Re: Preventing decompilers in .NET

 
0
  #9
Aug 20th, 2008
Originally Posted by LizR View Post
Only potential downside to that app is that it uses native code, as a result anyone trying to use mono or such would find it wouldnt run.
I cannot understand clearly. What do you mean "potential downside to that app is that is uses native code"

Can you explain it a little bit? (I'm not a native speaker so maybe the reason of the problem is me, sory )
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Preventing decompilers in .NET

 
0
  #10
Aug 20th, 2008
"Native code" is a very common term. Hence their website says so without explaination.

.net relys on a framework and is compiled and run at runtime. Native code is platform specific.. eg win32, linux etc, so as it compiles win32 ONLY code in, it wouldnt run on anything other than windows.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC