Re: How do I stop my software from getting cracked?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in
message news:ex7deZvnHHA.2596@xxxxxxxxxxxxxxxxxxxxxxx
Hi,


"Ashot Geodakov" <a_geodakov@xxxxxxxxxxxxxxxxxx> wrote in message
news:%23sjeyQanHHA.4552@xxxxxxxxxxxxxxxxxxxxxxx
If it was made by a human, it can be broken by a human.

You can not protect your software 100%, but you can make the process of
cracking it quite difficult for an inexperienced cracker.

My recommendation would be to place your critical functionality into a
separate DLL. Write that DLL in a good ole C. Make calls into that DLL
from your C# UI.

Once your DLL is created, you can do all sorts of tricks.

You can write self-modifying code to confuse the cracker. You may encrypt
pieces of the binary and decrypt them "on the fly" and execute them after
they are decrypted. Write some 'decoy' code that looks like a real one
but does nothing in particular. Place a time bomb into your code that
does something harsh once it detects that your product is not being used
accordingly. Write in your license agreement that "you are not
responsible for any damages if the copy is unlicensed". Use your fantasy.


What is the cost of this?

And how this compare to just buying and using a good obfuscator?


I never said this would be cheap or easy, and most of all, hacker-proof.

And it all depends on the software that you try to protect. I wouldn't use a
commercial obfuscator for missile defence system software...


.



Relevant Pages

  • Re: ASP.NET 2005 hack-proof?
    ... Obfuscation is not fool-proof once the DLL is obtained. ... So, the amount of trouble, time, and expense to protect intellectual ... >> It will deter the casual decompiler, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Word VBA obfuscation?
    ... > reason to protect your efforts. ... > Takes less than 5 minutes, without a password cracker. ... > Write code that installs the DLL, ... How do I create a DLL from a Word VBA project in Word? ...
    (microsoft.public.word.vba.general)
  • Re: Program protection - can not be copied
    ... The reason I cannot retrieve a dll from the image, ... That kind of thing might involve a filter driver or something ... I am trying to extract a DLL from an existing build. ... It seems that there is no any direct method to protect the program from ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Decompiling C#?!?!? Where is the privacy?
    ... > C# back as a managed C++ DLL because he thinks that he can protect the ... No one will want to decompile *all* of your code, ... lengthen the amount of time, it will not remove it completely. ... > like that even his DLL will be reverse engineerable. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: PostMessage from a DLL
    ... One way around this that I've used is to subclass within the DLL. ... class CMyPublicInterface: public CSomeWndClass { ... but it let me protect all the interface information so I could change the ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)