943,862 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 1121
  • C# RSS
You are currently viewing page 1 of this multi-page discussion thread
Aug 15th, 2008
0

Preventing decompilers in .NET

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
noktasizvirgul is offline Offline
13 posts
since Mar 2008
Aug 15th, 2008
0

Re: Preventing decompilers in .NET

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.
Featured Poster
Reputation Points: 975
Solved Threads: 140
Posting Virtuoso
scru is offline Offline
1,624 posts
since Feb 2007
Aug 15th, 2008
0

Re: Preventing decompilers in .NET

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
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008
Aug 15th, 2008
0

Re: Preventing decompilers in .NET

Have you ever actually had problems with people decompiling your code?
Reputation Points: 98
Solved Threads: 22
Posting Whiz in Training
sarehu is offline Offline
269 posts
since Oct 2007
Aug 18th, 2008
0

Re: Preventing decompilers in .NET

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.
Reputation Points: 11
Solved Threads: 9
Junior Poster in Training
vckicks is offline Offline
58 posts
since Jun 2008
Aug 19th, 2008
0

Re: Preventing decompilers in .NET

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??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
noktasizvirgul is offline Offline
13 posts
since Mar 2008
Aug 19th, 2008
0

Re: Preventing decompilers in .NET

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.
Reputation Points: 11
Solved Threads: 9
Junior Poster in Training
vckicks is offline Offline
58 posts
since Jun 2008
Aug 20th, 2008
0

Re: Preventing decompilers in .NET

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.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Aug 20th, 2008
0

Re: Preventing decompilers in .NET

Click to Expand / Collapse  Quote originally posted by LizR ...
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 )
Reputation Points: 10
Solved Threads: 0
Newbie Poster
noktasizvirgul is offline Offline
13 posts
since Mar 2008
Aug 20th, 2008
0

Re: Preventing decompilers in .NET

"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.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Client to client connection using ms sql server
Next Thread in C# Forum Timeline: Problem in Conversion of data





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC